/* ==========================================================================
   TABLE DES MATIÈRES :
   1. VARIABLES DE DESIGN (Couleurs, Ombrages, Rayons)
   2. REINITIALISATION & STYLES DE BASE (Reset CSS)
   3. EN-TÊTE ET NAVIGATION (Header & Navbar)
   4. BOUTONS GENERIQUES (Design des boutons)
   5. SECTIONS HERO ET BANNIÈRES DE RECHERCHE
   6. CARTES DE LOGEMENTS & DESTINATIONS
   7. SECTIONS D'AVANTAGES ET TEMOIGNAGES
   8. PAGES AUTHENTIFICATION (Connexion, Inscription, Partenaires)
   9. PAGE DÉTAILS D'UN LOGEMENT (Layout & Carte Prix Sticky)
   10. PAGES LÉGALES & FORMULAIRE DE RÉCLAMATIONS
   11. PIED DE PAGE (Footer)
   12. ADAPTATION ÉCRANS MOBILES & TABLETTES (Responsive Design)
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES DE DESIGN (Couleurs, Ombrages, Rayons)
   ========================================================================== */
:root {
    /* Couleurs principales FOUTELA */
    --primary: #003B70;               /* Bleu principal FOUTELA */
    --primary-dark: #00264a;          /* Bleu foncé au survol des boutons */
    --accent-orange: #E85D04;         /* Orange d'accentuation */
    --accent-orange-hover: #dc5200;   /* Orange au survol */
    
    /* Couleurs de texte et fonds */
    --text-main: #1D2A3A;             /* Couleur du texte principal (sombre) */
    --text-muted: #6C757D;            /* Couleur du texte secondaire (gris) */
    --bg-light: #F8F9FA;              /* Fond de section légèrement grisé */
    --bg-card: #FFFFFF;               /* Fond blanc des cartes */
    --border-color: #E2E8F0;          /* Couleur fine pour les bordures */
    
    /* Ombrages (Effet d'élévation) */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    
    /* Coins arrondis (Border-radius) */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Hauteur de la barre de navigation */
    --header-height: 80px;
}

/* ==========================================================================
   2. REINITIALISATION & STYLES DE BASE (Reset CSS)
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    color: var(--text-main);
    background-color: #FFFFFF;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   3. EN-TÊTE ET NAVIGATION (Header & Navbar)
   ========================================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 22px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-icon {
    color: white;
    width: 80px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-main);
    transition: color 0.2s;
}

nav a.active, 
nav a:hover {
    color: var(--accent-orange);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
}

.burger-btn {
    display: none; /* Caché sur PC, s'affiche uniquement sur mobile */
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

/* ==========================================================================
   4. BOUTONS GENERIQUES (Style global des boutons)
   ========================================================================== */
.btn {
    padding: 9px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background-color: rgba(0, 59, 112, 0.05);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-orange {
    background-color: var(--accent-orange);
    color: white;
}

.btn-orange:hover {
    background-color: var(--accent-orange-hover);
}

/* ==========================================================================
   5. SECTIONS HERO ET BANNIÈRES DE RECHERCHE
   ========================================================================== */
.hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35)), 
                url('/content/img/image_back.jpg') center/cover no-repeat;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 8% 100px 8%;
    color: white;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: var(--accent-orange);
}

.hero p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    opacity: 0.95;
    max-width: 480px;
}

.search-container {
    position: relative;
    margin-top: -40px;
    padding: 0 8%;
    z-index: 10;
}

.search-bar {
    background: white;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1.5fr 1fr 120px;
    gap: 12px;
    align-items: center;
}

.search-item {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    padding-right: 10px;
}

.search-item:nth-child(4) {
    border-right: none;
}

.search-item select, 
.search-item input {
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--text-main);
    background: transparent;
    padding: 6px 0;
    width: 100%;
    font-weight: 500;
}

.date-range-inputs {
    display: flex;
    align-items: center;
    gap: 5px;
}

.date-range-inputs input {
    font-size: 13px;
}

.search-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    transition: background 0.2s;
}

.search-btn:hover {
    background-color: var(--primary-dark);
}

.hero-search-wrapper {
    background-color: var(--primary);
    padding: 50px 0 60px 0;
    margin-bottom: 40px;
}

.hero-search-wrapper .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-header-titles {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
}

.search-header-titles h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.search-header-titles p {
    font-size: 1.05rem;
    font-weight: 400;
    opacity: 0.9;
}

.search-box-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    width: 100%;
}

.advanced-search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    gap: 16px;
    align-items: flex-end;
}

.row-4-cols { grid-template-columns: repeat(4, 1fr); }
.row-3-cols { grid-template-columns: 1fr 1fr 1.3fr; }

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.filter-icon {
    color: var(--primary);
    font-size: 0.95rem;
}

.form-field select,
.form-field input[type="date"] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 0.9rem;
    color: #334155;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field select:focus,
.form-field input[type="date"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 59, 112, 0.15);
}

.btn-submit-field {
    justify-content: flex-end;
}

.btn-blue-search {
    width: 100%;
    height: 46px;
    background-color: #004b8d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-blue-search:hover {
    background-color: var(--primary-dark);
}

/* ==========================================================================
   6. CARTES DE LOGEMENTS & DESTINATIONS
   ========================================================================== */
.section {
    padding: 50px 8%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.see-all {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.see-all:hover {
    text-decoration: underline;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dest-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.dest-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.badge-count {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
}

.dest-info {
    padding: 15px;
    background: white;
}

.dest-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.dest-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.main-content-results {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    justify-content: center;
    margin: 0 auto 40px auto;
    width: 100%;
}

.listing-card, 
.property-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.listing-card:hover, 
.property-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.listing-img-wrapper, 
.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #f1f5f9;
}

.listing-img, 
.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent-orange);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-new {
    background-color: #ffffff;
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    border: 1px solid #cbd5e1;
}

.btn-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.85);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    cursor: pointer;
    font-size: 12px;
    transition: color 0.2s;
}

.btn-heart:hover {
    color: var(--accent-orange);
}

.image-overlay-bottom {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.btn-favorite-overlay {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    font-size: 0.8rem;
}

.btn-favorite-overlay:hover {
    color: #e11d48;
}

.rating-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.rating-badge i {
    color: #FFC107;
    font-size: 10px;
}

.listing-content, 
.card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.listing-location, 
.card-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-location i { font-size: 0.7rem; }

.listing-title, 
.card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.listing-details, 
.specs-summary {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.listing-footer,
.card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    width: 100%;
}

.listing-price, 
.card-footer .price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #004b93;
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 0;
}

.listing-price span, 
.card-footer .price span, 
.price-unit {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
}

.btn-details,
.btn-pill-blue {
    background-color: #004b93;
    color: #ffffff !important;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.btn-details:hover,
.btn-pill-blue:hover {
    background-color: #00366b;
}

/* ==========================================================================
   7. SECTIONS D'AVANTAGES ET TEMOIGNAGES
   ========================================================================== */
.features-section {
    background-color: var(--bg-light);
    padding: 40px 8%;
    text-align: center;
}

.features-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 75, 147, 0.12);
    border-color: #e2e8f0;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 59, 112, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

.mission-banner-container {
    padding: 30px 8%;
}

.mission-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%),
                url('/content/img/image_bas.jpg') center/cover no-repeat;
    padding: 50px 40px;
    color: white;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-badge {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-orange);
    font-weight: 700;
    margin-bottom: 10px;
}

.mission-banner h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    max-width: 500px;
    line-height: 1.2;
}

.mission-banner p {
    font-size: 13px;
    max-width: 480px;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.5;
}

.mission-list {
    list-style: none;
    margin-bottom: 25px;
}

.mission-list li {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mission-list li i {
    color: #2E7D32;
    background: white;
    border-radius: 50%;
    padding: 2px;
    font-size: 10px;
}

.stat-overlay {
    position: absolute;
    right: 50px;
    bottom: 40px;
    text-align: right;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
}

.testimonials-section {
    background-color: var(--bg-light);
    padding: 50px 8%;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 25px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px 15px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info h5 {
    font-size: 13px;
    font-weight: 700;
}

.user-info p {
    font-size: 10px;
    color: var(--text-muted);
}

.stars {
    color: #FFC107;
    font-size: 11px;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-size: 11px;
    color: #4A5568;
    font-style: italic;
    line-height: 1.4;
}

/* ==========================================================================
   8. PAGES AUTHENTIFICATION (Connexion, Inscription, Partenaires)
   ========================================================================== */
.auth-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: #ffffff;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    padding: 10px 20px;
    margin: 0 auto;
}

.auth-header {
    text-align: left;
    margin-bottom: 24px;
}

.auth-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222222;
    margin: 0 0 6px 0;
}

.auth-header p {
    color: #666666;
    font-size: 0.88rem;
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #333333;
}

.input-wrapper,
.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input,
.select-wrapper select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #1a1a1a;
    border-radius: 12px;
    font-size: 0.9rem;
    outline: none;
    color: #222222;
    background-color: #ffffff;
    appearance: none;
    transition: border-color 0.2s;
}

.input-wrapper input::placeholder { color: #888888; }
.input-wrapper input:focus { border-color: #004b93; }

.select-wrapper.field-active select,
.input-wrapper.field-active input {
    border: 2px solid #28a745;
}

.btn-toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: #555555;
    font-size: 1rem;
    padding: 0;
    display: flex;
    align-items: center;
}

.forgot-password-wrapper { margin-top: 2px; }

.forgot-password-link {
    font-size: 0.88rem;
    color: #5577cc;
    text-decoration: none;
}

.forgot-password-link:hover { text-decoration: underline; }

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    cursor: pointer;
    accent-color: #004b93;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
}

.btn-primary-blue,
.btn-submit {
    width: 100%;
    background-color: #004b93;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s ease;
}

.btn-primary-blue:hover,
.btn-submit:hover {
    background-color: #00366b;
}

.password-requirements-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 4px;
}

.requirements-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #555555;
    margin-bottom: 8px;
}

.requirements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.requirements-list li {
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.requirements-list li.invalid { color: #d9534f; }
.requirements-list li.valid { color: #2e7d32; }

.partner-notice-box {
    background-color: #e1f0f7;
    border: 1px solid #bce0ee;
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 4px;
}

.partner-notice-box p {
    font-size: 0.82rem;
    color: #1a566e;
    line-height: 1.4;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.85rem;
    color: #555555;
}

.auth-footer a {
    color: #6c757d;
    font-weight: 500;
}

.auth-footer a:hover { text-decoration: underline; }

/* ==========================================================================
   9. PAGE DÉTAILS D'UN LOGEMENT (Layout & Carte Prix Sticky)
   ========================================================================== */
.property-detail-container {
    padding-top: 30px;
    padding-bottom: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.property-top-bar {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.property-title-card {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

.property-title-card h1 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 6px;
    font-weight: 700;
}

.property-title-card .location {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 12px;
}

.tags-container {
    display: flex;
    gap: 8px;
}

.tag {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.tag-blue { background-color: #0284c7; }
.tag-darkblue { background-color: var(--primary); }

.property-price-card {
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    z-index: 99;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.price-badge {
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
}

.btn-green {
    background-color: #16a34a;
    color: white;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-green:hover { background-color: #15803d; }

.gallery-section {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
}

.main-image-box {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

.thumb {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s;
}

.thumb:hover, 
.thumb.active {
    opacity: 1;
    border: 2px solid var(--primary);
}

.details-section {
    padding: 30px;
    background: #fff;
    border-radius: 10px;
}

.info-block { margin-bottom: 30px; }

.info-block h2 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 16px;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.info-card {
    background-color: #f8fafc;
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card .icon {
    font-size: 1.2rem;
    color: var(--primary);
}

.info-card .label {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    color: #1e293b;
}

.info-card .value {
    font-size: 0.8rem;
    color: #0284c7;
}

.amenities-group { margin-bottom: 16px; }

.amenities-group h4 {
    font-size: 0.8rem;
    color: #334155;
    margin-bottom: 8px;
    font-weight: 700;
}

.amenities-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    background-color: #f1f5f9;
    color: #475569;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-style: italic;
}

.description-text {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   10. PAGES LÉGALES & FORMULAIRE DE RÉCLAMATIONS
   ========================================================================== */
.legal-page {
    padding-top: 40px;
    padding-bottom: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 30px;
}

.legal-header h1 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 8px;
}

.legal-header .subtitle {
    color: #666;
    font-size: 0.9rem;
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.legal-sidebar {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 20px 0;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-color);
}

.legal-sidebar h3 {
    font-size: 0.9rem;
    font-weight: 800;
    color: #334155;
    padding: 0 20px 16px 20px;
    text-transform: uppercase;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-nav a {
    padding: 12px 20px;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    background-color: #edf2f7;
    color: var(--primary);
}

.sidebar-nav a.active {
    background-color: #e2e8f0;
    color: #1e293b;
    font-weight: 600;
    border-left: 3px solid #d97706;
}

.legal-content {
    background: #ffffff;
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.legal-section { margin-bottom: 28px; }

.legal-section h2 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 12px;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 6px;
}

.legal-section p, 
.legal-section li {
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
}

.claims-wrapper {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: #f8fafc;
}

.claims-container {
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto;
}

.claims-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.claims-header-card h1 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.info-alert-box {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 18px 22px;
    color: #92400e;
}

.info-alert-title {
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #b45309;
}

.claims-form-card input,
.claims-form-card select,
.claims-form-card textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1e293b;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.claims-form-card input:focus,
.claims-form-card select:focus,
.claims-form-card textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.btn-submit-dark {
    width: 100%;
    background-color: #334155;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit-dark:hover { background-color: #1e293b; }

/* ==========================================================================
   11. PIED DE PAGE (Footer)
   ========================================================================== */
footer {
    background-color: var(--primary);
    color: white;
    padding: 50px 8% 20px 8%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 12px;
}

.footer-brand .logo-icon {
    background-color: white;
    color: var(--primary);
}

.footer-brand p {
    font-size: 12px;
    color: #CBD5E1;
    line-height: 1.5;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--accent-orange);
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }

.footer-col ul a {
    font-size: 12px;
    color: #CBD5E1;
    transition: color 0.2s;
}

.footer-col ul a:hover { color: white; }

.contact-info li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #CBD5E1;
    margin-bottom: 8px;
}

.contact-info i {
    font-size: 12px;
    color: var(--accent-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #94A3B8;
}

.currency-selector select {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 11px;
    cursor: pointer;
    outline: none;
}

/* ==========================================================================
   12. ADAPTATION ÉCRANS MOBILES & TABLETTES (Responsive Design)
   ========================================================================== */

/* Écrans Moyens / Tablettes en Paysage (Moins de 1024px) */
@media (max-width: 1024px) {
    .search-bar { grid-template-columns: repeat(2, 1fr); }
    .features-grid, 
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

/* Tablettes en Portrait (Moins de 992px) */
@media (max-width: 992px) {
    .row-4-cols { grid-template-columns: repeat(2, 1fr); }
    .row-3-cols { grid-template-columns: 1fr 1fr; }
    .btn-submit-field { grid-column: span 2; }
}

/* Petites Tablettes (Moins de 850px) */
@media (max-width: 850px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-sidebar {
        position: static;
        margin-bottom: 20px;
    }
}

/* Smartphones Grand Format (Moins de 768px) */
@media (max-width: 768px) {
    /* Bouton Burger Visible */
    .burger-btn { display: block; }

    /* Menu caché par défaut */
    nav, #navMenu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: none; /* Masqué par défaut */
        flex-direction: column;
        padding: 20px 5%;
        z-index: 1000;
    }

    /* Règle d'activation déclenchée par le JavaScript */
    nav.active, #navMenu.active {
        display: flex !important;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    /* Repositionnement des grilles pour mobile (Passage à 1 seule colonne) */
    .destinations-grid,
    .search-bar,
    .features-grid,
    .testimonials-grid,
    .footer-content,
    .property-top-bar,
    .info-grid { 
        grid-template-columns: 1fr; 
    }

    .thumbnails-grid { grid-template-columns: repeat(4, 1fr); }

    .search-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 8px;
    }

    .stat-overlay {
        position: relative;
        right: auto;
        bottom: auto;
        text-align: left;
        margin-top: 20px;
    }
}

/* Smartphones Petit Format (Moins de 600px) */
@media (max-width: 600px) {
    .search-results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .hero-search-wrapper { padding: 30px 0 40px 0; }
    .search-header-titles h1 { font-size: 1.6rem; }
    .search-box-card { padding: 20px 16px; }
    
    .row-4-cols,
    .row-3-cols { 
        grid-template-columns: 1fr; 
    }
    
    .btn-submit-field { grid-column: span 1; }
}
/* ==========================================================================
   CORRECTION DES BOUTONS DU HEADER (VERSION MOBILE)
   ========================================================================== */

/* 1. Éviter le retour à la ligne du texte et harmoniser la base des boutons */
.nav-auth .btn {
    white-space: nowrap;          /* Empêche le texte de passer sur 2 lignes */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;          /* ~14px (s'adapte bien aux petits écrans) */
    padding: 0.5rem 1rem;         /* Padding uniforme */
    line-height: 1.2;
    box-sizing: border-box;
}

/* 2. Ajustement spécifique pour les écrans mobiles (< 768px) */
@media (max-width: 768px) {
    .nav-auth {
        display: flex;
        align-items: center;
        gap: 8px;                 /* Espace propre entre les éléments */
    }

    .nav-auth .btn {
        font-size: 0.8rem;        /* Légère réduction pour un rendu très propre */
        padding: 0.4rem 0.75rem;   /* Réduit le padding mobile */
        height: 38px;             /* Hauteur fixe identique pour les deux boutons */
    }
}

/* ==========================================================================
    BLOCS DE NAVIGATION RAPIDES SUR LES PAGES
   ========================================================================== */

     /* Styles du bloc Navigation Rapide */
        .quick-nav-wrapper {
            max-width: 900px;
            margin: 0 auto 35px auto;
            background-color: #f8fafc;
            border-radius: 10px;
            padding: 24px;
            border: 1px solid #f1f5f9;
        }

        .quick-nav-title {
            font-size: 1.25rem;
            font-weight: 800;
            color: #0d4b4d;
            margin-top: 0;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .quick-nav-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
        }

        .quick-nav-card {
            background-color: #ffffff;
            padding: 14px 18px;
            border-radius: 4px;
            border-left: 4px solid #0d4b4d;
            color: #0d4b4d;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.92rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.03);
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
        }

        .quick-nav-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.06);
            background-color: #f1f5f9;
        }

        /* Responsive Mobile pour la Navigation Rapide */
        @media (max-width: 768px) {
            .quick-nav-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Styles du centrage de la page */
        .centered-layout {
            display: flex;
            justify-content: center;
            max-width: 900px;
            margin: 0 auto;
        }

        .legal-content.card {
            width: 100%;
        }

        .faq-item {
            border: 1px solid var(--border-color, #e2e8f0);
            border-radius: var(--radius-sm, 8px);
            margin-bottom: 12px;
            overflow: hidden;
            background-color: #fff;
            transition: border-color 0.2s ease;
        }

        .faq-item:hover {
            border-color: #cbd5e1;
        }

        .faq-question {
            padding: 14px 18px;
            font-weight: 600;
            color: var(--text-main, #1e293b);
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            background-color: #f8fafc;
            user-select: none;
            font-size: 0.95rem;
        }

        .faq-toggle {
            font-size: 0.75rem;
            color: var(--text-muted, #64748b);
            transition: transform 0.3s ease;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            padding: 0 18px;
            color: #475569;
            font-size: 0.9rem;
            line-height: 1.6;
            transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
            background-color: #ffffff;
        }

        .faq-answer ul {
            margin-top: 8px;
            padding-left: 20px;
        }

        .faq-answer li {
            margin-bottom: 4px;
        }

        .faq-item.active {
            border-color: var(--primary, #2563eb);
        }

        .faq-item.active .faq-question {
            color: var(--primary, #2563eb);
            background-color: #f1f5f9;
        }

        .faq-item.active .faq-toggle {
            transform: rotate(180deg);
            color: var(--primary, #2563eb);
        }

        .faq-item.active .faq-answer {
            max-height: 1000px;
            padding: 14px 18px;
            border-top: 1px solid #f1f5f9;
        }