/* ============================================
   Guide Béjaïa - Styles principaux
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #00AEEF;
    --primary-dark: #0089BC;
    --secondary: #FFF200;
    --accent: #E9C46A;
    --text: #0F172A;
    --text-light: #64748B;
    --bg: #ffffff;
    --bg-alt: #F8FAFC;
    --border: #E2E8F0;
    --shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 50px -10px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --font-body: 'ABeeZee', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'ABeeZee', Georgia, serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: var(--font-body, 'Segoe UI', system-ui, -apple-system, sans-serif);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: clip;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Header
   ============================================ */
/* ============================================
   Header & Navigation (Modern Redesign)
   ============================================ */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* L'en-tête se superpose au contenu (hero) : la marge négative annule exactement
   sa propre hauteur, pour que la page commence au bord haut. Elle doit suivre la
   hauteur de l'en-tête, sinon le passage à .site-header--shrunk au premier
   défilement décalerait toute la page de 12px. */
.site-header--transparent {
    margin-bottom: -77px; /* 18px * 2 (padding .header-inner) + 41px (rangée de nav) */
}

.site-header--transparent.site-header--shrunk {
    /* +12px : .header-inner passe de 18px à 10px de padding (-16px) et
       .site-header gagne 2px de padding haut et bas (+4px). */
    margin-bottom: -65px;
}

/* Transparent mode for immersive pages */
.site-header--transparent:not(.site-header--shrunk) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header--transparent:not(.site-header--shrunk) .logo-text {
    -webkit-text-fill-color: white;
}

.site-header--transparent:not(.site-header--shrunk) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.site-header--transparent:not(.site-header--shrunk) .nav-link:hover {
    color: white;
}

.site-header--shrunk {
    padding: 2px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 30px;
    transition: padding 0.3s ease;
}

.site-header--shrunk .header-inner {
    padding: 10px 0;
}

/* L'en-tête se rejoue à chaque défilement : on supprime la transition pour les
   utilisateurs qui ont demandé moins de animations. Le background, lui, reste. */
@media (prefers-reduced-motion: reduce) {
    .site-header,
    .header-inner {
        transition: none;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    z-index: 1001;
}

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(-5deg);
}

.logo-text {
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav Desktop */
.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    padding: 8px 4px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap; /* Prevent wrapping on desktop */
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}


.nav-link .chevron {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 4px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.2s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Dropdowns & Mega Menu Base */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown:hover .nav-link .chevron {
    transform: rotate(180deg);
}

/* Search Action in Header */
.header-search-action {
    display: flex;
    align-items: center;
}
.header-search-action .search-autocomplete-wrap {
    position: relative;
}

/* Hide / Show Utilities */
@media (min-width: 993px) {
    .hide-on-desktop { display: none !important; }
}
@media (max-width: 992px) {
    .hide-on-mobile { display: none !important; }
}

/* Mega Menu (Desktop) */
@media (min-width: 993px) {
    .mega-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(15px);
        background: rgba(255, 255, 255, 0.88);
        -webkit-backdrop-filter: blur(18px) saturate(1.4);
        backdrop-filter: blur(18px) saturate(1.4);
        box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: var(--radius-lg);
        padding: 18px;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
        min-width: 250px;
        z-index: 1050;
    }

    .mega-menu-wide {
        min-width: 500px;
    }

    /* Panneaux à deux colonnes (Visiter, Hôtels, Restaurants) */
    .mega-menu--tall {
        min-width: 400px;
    }

    .nav-item-dropdown:hover .mega-menu,
    .nav-item-dropdown:focus-within .mega-menu {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(6px);
    }

    .mega-menu-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px;
        list-style: none;
    }

    .mega-menu-grid.cols-2 {
        grid-template-columns: 1fr 1fr;
        column-gap: 8px;
    }

    .mega-menu-grid a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 12px;
        color: var(--text);
        border-radius: var(--radius);
        transition: all 0.18s ease;
        font-weight: 500;
        font-size: 0.92rem;
        white-space: nowrap; /* Prevent wrapping on desktop */
    }

    .mega-menu-grid a:hover {
        background: rgba(0, 174, 239, 0.1);
        color: var(--primary);
        transform: translateX(3px);
    }

    .mega-menu-grid .icon {
        font-size: 1.15rem;
        width: 22px;
        text-align: center;
        flex: 0 0 auto;
    }

    /* ----- Panneau Annuaire : 2 colonnes par défaut, 3 sur grands écrans ----- */
    .annuaire-menu {
        width: 600px;
        min-width: 600px;
    }

    .annuaire-menu .mega-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 6px 12px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
        margin-bottom: 10px;
    }

    .annuaire-menu .mega-menu-title {
        font-weight: 800;
        font-size: 1rem;
        color: var(--text);
        letter-spacing: -0.2px;
    }

    .annuaire-menu .mega-menu-cta {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--primary);
        padding: 6px 14px;
        border-radius: 999px;
        background: rgba(0, 174, 239, 0.1);
        white-space: nowrap;
        transition: background 0.2s ease;
    }
    .annuaire-menu .mega-menu-cta:hover {
        background: rgba(0, 174, 239, 0.18);
        color: var(--primary-dark);
    }

    .annuaire-featured {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px 8px;
    }

    .annuaire-more {
        margin-top: 12px;
        padding: 10px 12px 6px;
        border-radius: var(--radius);
        background: rgba(148, 163, 184, 0.12);
        border: 1px solid rgba(15, 23, 42, 0.05);
    }

    .annuaire-more-title {
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 2px 10px 8px;
    }

    .annuaire-more-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px 8px;
    }

    .annuaire-more-list a {
        font-size: 0.88rem;
        padding: 7px 10px;
    }

    .annuaire-more-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin: 6px 8px 2px;
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--primary);
    }
    .annuaire-more-link:hover {
        color: var(--primary-dark);
    }

    @media (min-width: 1280px) {
        .annuaire-menu {
            width: 720px;
            min-width: 720px;
        }
        .annuaire-featured {
            grid-template-columns: repeat(3, 1fr);
        }
        .annuaire-more-list {
            grid-template-columns: repeat(3, 1fr);
        }
    }
}

/* Mega Menu Accordion (Mobile) */
@media (max-width: 992px) {
    .nav-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        margin-bottom: 10px;
    }
    
    .nav-mobile-title {
        font-weight: 800;
        font-size: 1.2rem;
        color: var(--text);
        letter-spacing: -0.5px;
    }
    
    .mobile-menu-close {
        background: var(--bg-alt);
        border: none;
        width: 44px; /* Larger hit area */
        height: 44px;
        border-radius: 12px;
        font-size: 1.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text);
        cursor: pointer;
        transition: all 0.2s ease;
        z-index: 2001; /* Ensure it's on top */
    }
    
    .mobile-menu-close:active {
        transform: scale(0.9);
        background: var(--border);
    }

    .nav-mobile-search {
        padding: 15px 20px;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .nav-mobile-search .search-form { 
        display: flex; 
        width: 100%;
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(0,0,0,0.1);
    }
    
    /* Sélecteur qualifié : `.search-form input` plus bas dans le fichier a la
       même spécificité (0,1,1) et l'emportait, d'où un champ de 180x33px au
       lieu de pleine largeur. On ajoute `.search-form` pour passer devant. */
    .nav-mobile-search .search-form input {
        width: 100%;
        padding: 12px 52px 12px 15px;
        font-size: 1rem;
        min-height: 44px;
    }

    .nav-mobile-search .search-submit {
        width: 44px;
        height: 44px;
        right: 2px;
    }

    .mega-menu {
        display: none;
        background: rgba(0, 0, 0, 0.03);
        margin: 5px 20px;
        border-radius: var(--radius);
        overflow: hidden;
    }

    .nav-item-dropdown.active .mega-menu {
        display: block;
        animation: fadeInDown 0.3s ease;
    }

    .mega-menu-grid { list-style: none; }

    .mega-menu-grid a {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        color: var(--text-light);
        border-bottom: 1px solid rgba(0,0,0,0.03);
        font-size: 0.95rem;
        white-space: nowrap; /* Prevent wrapping */
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .mega-menu-grid a:last-child { border-bottom: none; }
    .mega-menu-grid a:hover { color: var(--primary); }

    .mega-menu-grid .icon {
        margin-right: 12px;
        font-size: 1.15rem;
    }

    /* En-tête du panneau Annuaire et section "Autres services" (accordéon mobile) */
    .annuaire-menu .mega-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .annuaire-menu .mega-menu-title {
        font-weight: 800;
        font-size: 1rem;
        color: var(--text);
    }
    .annuaire-menu .mega-menu-cta {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--primary);
    }
    .annuaire-more {
        margin-top: 8px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        background: rgba(0, 0, 0, 0.02);
    }
    .annuaire-more-title {
        padding: 14px 16px 4px;
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }
    .annuaire-more-link {
        display: block;
        padding: 10px 16px;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--primary);
    }

    @keyframes fadeInDown {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* Blog Index Layout */
.blog-header {
    background: var(--bg-alt);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.sidebar-widget h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--primary);
    border-bottom: 2px solid var(--bg-alt);
    padding-bottom: 10px;
}

.category-links {
    list-style: none;
    padding: 0;
}

.category-links li a {
    display: block;
    padding: 8px 0;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.category-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.promo-widget {
    background: var(--primary);
    color: white;
}

.promo-widget h3 {
    color: white;
    border-color: rgba(255,255,255,0.2);
}

.promo-widget .btn-primary {
    background: white;
    color: var(--primary);
    width: 100%;
    margin-top: 15px;
}

.promo-widget .btn-primary:hover {
    background: var(--bg-alt);
}

@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}


.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s var(--hp-ease) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 174, 239, 0.4);
}

.nav-cta::after {
    display: none !important;
}

/* Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Search Bar Improvement */
.search-form {
    display: flex;
    position: relative;
    background: var(--bg-alt);
    border-radius: 50px;
    padding: 2px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.search-form:focus-within {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.search-form input {
    padding: 8px 48px 8px 20px;
    border: none;
    background: transparent;
    border-radius: 50px;
    width: 180px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: width 0.3s ease;
}

.search-form input:focus {
    width: 240px;
    outline: none;
}

.search-submit {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.search-submit:hover {
    background: var(--primary);
    color: white;
}

#header-search-spinner {
    position: absolute;
    right: 52px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Autocomplete suggestions (header, mobile, hero, 404) */
.search-autocomplete-wrap { position: relative; }
.suggestions-container {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 300;
}
/* La classe, et non l'id : le fragment est rendu sous des `id` distincts
   (search-suggestions-list-hero, -header, -mobile, -404) pour que plusieurs
   champs de recherche coexistent sur la même page. */
.suggestions-dropdown {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 200;
    max-height: 420px;
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: suggestions-in 0.18s ease-out;
}
.suggestions-dropdown:empty { display: none; }
@keyframes suggestions-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}
.suggestions-summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 16px 10px;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 2px;
    /* Opaque : collé en haut de la liste, il ne doit pas laisser voir les
       lignes qui défilent dessous. */
    background: #fff;
    font-size: 0.78rem;
    color: #7d8f9e;
}
.suggestions-summary strong {
    color: #0f172a;
    font-size: 0.9rem;
}
.suggestions-summary__lead { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggestions-summary__hint { flex-shrink: 0; font-size: 0.7rem; color: #9aabb8; }
.suggestions-group-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 16px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9aabb8;
}
.suggestions-group-count {
    font-weight: 600;
    letter-spacing: 0;
    color: #b4c2ce;
}
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #2c3e50;
    text-decoration: none;
    transition: background 0.15s;
}
.suggestion-item:hover,
.suggestion-item.is-active { background: #f6f8fa; }
.suggestion-icon { font-size: 1rem; flex-shrink: 0; }
.suggestion-name {
    flex: 1;
    min-width: 0;
    font-weight: 500;
    font-size: 0.92rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.suggestion-match {
    background: rgba(0, 174, 239, 0.18);
    color: #0077a8;
    border-radius: 3px;
    padding: 0 1px;
    font-weight: 700;
}
.suggestion-meta { font-size: 0.78rem; color: #9aabb8; flex-shrink: 0; }
.suggestions-empty { display: flex; flex-direction: column; gap: 3px; padding: 16px; }
.suggestions-empty__title { color: #5b6b7a; font-size: 0.9rem; font-weight: 600; }
.suggestions-empty__hint { color: #9aabb8; font-size: 0.82rem; }
/* Résumé et pied collants : la liste est bornée en hauteur, ce sont les deux
   seules zones qui doivent rester lisibles quand elle défile. */
.suggestions-summary { position: sticky; top: 0; z-index: 1; }
.suggestions-footer { position: sticky; bottom: 0; z-index: 1; border-top: 1px solid #f0f4f8; background: #fff; padding: 4px 0; }
.suggestion-see-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #00AEEF;
    text-align: center;
}
.suggestion-see-all svg { flex-shrink: 0; transition: transform 0.2s; }
.suggestion-see-all:hover { background: #f0f7fa; }
.suggestion-see-all:hover svg { transform: translateX(3px); }

/* La hauteur de la liste est bornée en JavaScript sur la place restante sous
   le champ : sur la page 404, au milieu de l'écran, une hauteur fixe la
   faisait sortir de la fenêtre. Le `max-height` ci-dessus n'est que le
   repli, pour le fragment rendu avant que le script ne s'exécute. */

/* Mobile Toggle Animation (Hamburger) */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
    background: var(--bg-alt);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1002;
    transition: background 0.2s;
}

.mobile-menu-toggle:hover {
    background: var(--border);
}

.mobile-menu-toggle .line {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.line-1 { top: 16px; }
.line-2 { top: 21px; width: 14px !important; }
.line-3 { top: 26px; }

.mobile-menu-toggle[aria-expanded="true"] .line-1 {
    transform: translateY(5px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .line-2 {
    opacity: 0;
    transform: translateX(-10px);
}
.mobile-menu-toggle[aria-expanded="true"] .line-3 {
    transform: translateY(-5px) rotate(-45deg);
}

/* Mobile Nav Overlay & Drawer */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 85vw;
        max-width: 380px;
        height: 100vh;
        background: #ffffff; /* Solid white to fix all blur issues */
        z-index: 2000;
        transform: translate3d(100%, 0, 0);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav.drawer-open {
        transform: translate3d(0, 0, 0);
    }

    .main-nav .nav-list {
        flex-direction: column;
        /* `stretch` et non le `center` de la version desktop : dans un conteneur
           flex en colonne, align-items pilote l'axe horizontal. Sans cela les
           <li> se réduisent à la largeur du texte (li "Blog" = 38px de large). */
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 0 20px 40px;
    }

    .main-nav .nav-item-dropdown {
        width: 100%;
    }

    .main-nav .nav-link {
        font-size: 1.1rem;
        font-weight: 700;
        padding: 18px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #1a1a1a !important; /* Force visibility in the white drawer */
        white-space: nowrap;
    }

    .main-nav .nav-link .chevron {
        font-size: 0.9rem;
        opacity: 0.3;
    }

    .main-nav .nav-cta {
        margin-top: 30px;
        width: 100%;
        font-size: 1.1rem !important;
        border-radius: 16px;
    }

    .search-form {
        display: none; 
    }
    
    /* Animation for menu items */
    .main-nav.drawer-open .nav-list > li {
        animation: slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    
    .main-nav.drawer-open .nav-list > li:nth-child(1) { animation-delay: 0.1s; }
    .main-nav.drawer-open .nav-list > li:nth-child(2) { animation-delay: 0.15s; }
    .main-nav.drawer-open .nav-list > li:nth-child(3) { animation-delay: 0.2s; }
    .main-nav.drawer-open .nav-list > li:nth-child(4) { animation-delay: 0.25s; }
    .main-nav.drawer-open .nav-list > li:nth-child(5) { animation-delay: 0.3s; }

    /* Backdrop logic */
    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .mobile-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes slideInRight {
    from { transform: translateX(30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   UI Utilities
   ============================================ */
.section-padding {
    padding: 80px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 10px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    opacity: 0.9;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-outline:active {
    background: var(--primary-dark);
    color: white;
}

.btn-text {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   Hero & Tourism
   ============================================ */
.hero {
    position: relative;
    color: white;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
}

.tourism-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-search form {
    display: flex;
    background: white;
    padding: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
}

.weather-mini {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
}

.weather-icon { font-size: 1.5rem; }
.weather-temp { font-weight: 700; font-size: 1.2rem; }
.weather-city { opacity: 0.8; font-size: 0.9rem; }

/* Incontournables / Cards Custom */
.landmark-card .card-image {
    height: 250px;
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Tourism Specific Elements */
.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e1f5fe;
    color: #0288d1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 10px;
    transition: var(--transition);
}

.btn-maps:hover {
    background: #0288d1;
    color: white;
}

.btn-maps-mini {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.card-badge-top {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffd700;
    color: #2c3e50;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: var(--shadow);
    z-index: 2;
}

.card-footer-tourism {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed var(--border);
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: white;
    padding: 100px 0;
}





.hero-search button {
    padding: 20px 35px;
    background: var(--secondary);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.hero-search button:hover {
    background: #b8935f;
}

.hero-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius);
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.category-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    color: white;
}

.category-card .icon {
    font-size: 2rem;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text);
}

/* ============================================
   Cards
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card a {
    color: inherit;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.95);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.card-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============================================
   Blog Cards
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   Landmarks
   ============================================ */
.landmarks-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.landmark-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.landmark-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.landmark-card h3 {
    position: absolute;
    bottom: 40px;
    left: 20px;
    font-size: 1.5rem;
}

.landmark-card p {
    position: absolute;
    bottom: 20px;
    left: 20px;
    opacity: 0.9;
}

/* ============================================


/* ============================================
   Buttons
   ============================================ */
.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   Footer
   ============================================ */

/* ============================================
   Ads
   ============================================ */
.ad-container {
    text-align: center;
    margin: 30px 0;
}

.ad-header {
    background: var(--bg-alt);
    padding: 10px 0;
    text-align: center;
}

.ad-footer {
    background: var(--bg-alt);
    padding: 20px 0;
    text-align: center;
}

.ad-content {
    margin: 40px 0;
    text-align: center;
}

/*
 * Emplacement « bas de contenu » des pages SEO.
 *
 * La classe s'appelait `ad-content`, nom déjà pris par l'intérieur d'une
 * annonce native (`.ad-native .ad-content`, une grille 2 colonnes dans
 * visit-bejaia.css). Le conteneur de l'emplacement héritait donc de cette
 * grille : la bannière 970px se retrouvait cantonnée à la colonne de gauche
 * et réduite d'environ un tiers. Nom propre pour l'emplacement.
 */
.ad-slot-bottom {
    margin: 40px 0;
    text-align: center;
}

.ad-placeholder {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    margin-inline: auto;

    /*
     * --ad-w / --ad-h arrivent dans le style inline du placeholder (voir
     * AdService::renderLazy). La hauteur est déduite du RATIO et non fixée :
     * un 970×250 sur un écran de 350px ne fait que 90px de haut, un min-height
     * fixe laisserait 160px de vide et ferait sauter la page à l'arrivée de
     * la publicité.
     *
     * `height` ci-dessous n'est qu'un repli pour les navigateurs anciens
     * (Safari < 15), qui ignorent aspect-ratio.
     */
    height: calc(var(--ad-h, 250) * 1px);
    max-width: min(100%, calc(var(--ad-w, 300) * 1px));
}

@supports (aspect-ratio: 1 / 1) {
    .ad-placeholder {
        height: auto;
        aspect-ratio: var(--ad-w, 300) / var(--ad-h, 250);
    }
}

/*
 * Emplacement « native » : la carte finale est pleine largeur (titre + visuel
 * 300×250 côte à côte), pas un cadre de 300px. Le placeholder doit donc
 * réserver la largeur du conteneur et la hauteur du visuel.
 */
.ad-placeholder[data-ad-style="native"] {
    height: calc(var(--ad-h, 250) * 1px);
    max-width: 100%;
    aspect-ratio: auto;
}

/* Annonce sans visuel : lien texte, pour ne jamais facturer un emplacement vide */
.ad-text {
    margin: 0;
    padding: 10px 14px;
    border: 1px dashed var(--border, #e2e8f0);
    border-radius: var(--radius, 10px);
    background: var(--bg-alt, #f8fafc);
}

.ad-text a {
    display: inline-block;
    font-weight: 600;
    color: var(--sea-dark, #003b95);
    text-decoration: none;
}

.ad-text a:hover,
.ad-text a:focus-visible {
    text-decoration: underline;
}

.ad-wrapper {
    width: 100%;
    text-align: center;
}

.ad-container a {
    display: block;
    width: 100%;
}

.ad-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-widget {
    text-align: center;
}

.ad-infeed {
    text-align: center;
    padding: 10px 0;
}

.ad-map-bottom {
    margin: 8px auto 48px;
    /* 970px : le bandeau de carte fait 970 de large. Plafonné à 800px, il
       était réduit d'environ 17% et déformé. */
    max-width: 100%;
    text-align: center;
}

.ad-article-inline {
    margin: 2.5rem 0 1.5rem;
    text-align: center;
}

.ad-article-inline .ad-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: #f8fbff;
}

.ad-fiche-bottom {
    margin: 0 0 40px;
    padding: 18px;
    background: var(--bg-light);
    border-radius: 14px;
    text-align: center;
}

.ad-leaderboard {
    margin: 0 auto;
    /* La largeur du conteneur (1160px), pas 800px : le billboard d'accueil
       fait 970px de large et était donc réduit d'environ 17 %, ce qui
       déformait le ratio annoncé dans width/height. */
    max-width: 100%;
    text-align: center;
}

/* Bandeau publicitaire au-dessus du pied de page (toutes pages publiques) */
.ad-footer-band {
    background: var(--bg-alt);
    padding: 26px 0 6px;
    border-top: 1px solid var(--border);
}

.ad-footer-band .ad-container,
.ad-footer-band .ad-wrapper {
    margin: 0;
}

/* ============================================
   Ads - Banner labels & transparency
   ============================================ */
.ad-label-banner {
    display: block;
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light, #64748B);
    padding-top: 6px;
    margin-bottom: 2px;
}

/* ============================================
   Ads - Native format (global fallback)
   On pages that load visit-bejaia.css the
   fancier .ad-native rules override these.
   ============================================ */
.ad-native {
    background: linear-gradient(135deg, var(--sea, #00AEEF) 0%, var(--sea-dark, #003b95) 100%);
    border-radius: var(--radius, 16px);
    padding: 1.5rem;
    margin: 2rem 0;
    color: var(--white, #fff);
    position: relative;
    overflow: hidden;
}

.ad-native::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, var(--turquoise, #E9C46A) 0%, transparent 70%);
    opacity: 0.18;
    pointer-events: none;
}

.ad-native .ad-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.7;
    margin-bottom: 0.75rem;
    display: block;
}

.ad-native .ad-content {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ad-native .ad-title {
    font-family: var(--font-display, 'ABeeZee', Georgia, serif);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 0.75rem;
    line-height: 1.25;
    /* Carte pleine largeur : sans cette borne, le titre s'étire sur 700px et
       devient illisible. */
    max-width: 30ch;
}

.ad-native .ad-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--turquoise, #E9C46A);
    color: var(--sea-dark, #003b95);
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s var(--ease, cubic-bezier(0.23,1,0.32,1));
}

.ad-native .ad-cta:hover {
    background: var(--white, #fff);
    transform: translateY(-1px);
}

.ad-native .ad-visual {
    flex: 0 0 auto;
    width: 40%;
}

.ad-native .ad-visual img {
    border-radius: var(--radius-sm, 12px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Ads - Responsive
   ============================================ */
@media (max-width: 640px) {
    .ad-container {
        margin: 20px 0;
    }

    .ad-map-bottom {
        margin: 8px auto 32px;
    }

    .ad-article-inline {
        margin: 1.5rem 0 1rem;
    }

    .ad-fiche-bottom {
        padding: 12px;
        margin: 0 0 28px;
        border-radius: 10px;
    }

    .ad-native {
        padding: 1.25rem;
        margin: 1.25rem 0;
        border-radius: var(--radius, 16px);
    }

    .ad-native .ad-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .ad-native .ad-visual {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .ad-native .ad-title {
        font-size: 1.1rem;
    }

    .ad-native .ad-cta {
        margin: 0 auto;
    }
}

/* ============================================
   Category Header & Listing Pages
   ============================================ */
.category-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 110px 0 60px;
    text-align: center;
}

.category-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.category-header p {
    font-size: 1.15rem;
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto;
}

.places-list {
    padding: 50px 0;
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.place-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.place-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.place-card a {
    color: inherit;
    text-decoration: none;
}

.place-card .card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.place-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.place-card:hover .card-image img {
    transform: scale(1.06);
}

.place-card .card-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.95);
    color: var(--text);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
}

.place-card .card-content {
    padding: 20px;
}

.place-card .card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--text);
}

.place-card .card-address {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.place-card .card-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================================
   Business/Place Detail Page
   ============================================ */
.place-detail {
    padding-bottom: 60px;
}

/* Breadcrumb */
.place-detail > nav.breadcrumb {
    background: var(--bg-alt);
    padding: 14px 20px;
    font-size: 0.88rem;
}

.place-detail > nav.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 1200px;
    margin: 0 auto;
}

.place-detail > nav.breadcrumb li {
    display: flex;
    align-items: center;
}

.place-detail > nav.breadcrumb li::after {
    content: '›';
    margin: 0 8px;
    color: var(--text-light);
}

.place-detail > nav.breadcrumb li:last-child::after {
    display: none;
}

.place-detail > nav.breadcrumb a {
    color: var(--primary);
}

.place-detail > nav.breadcrumb span {
    color: var(--text-light);
}

/* Place Header */
.place-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 48px 20px 40px;
}

.place-header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.place-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.place-category {
    background: rgba(255,255,255,0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.badge-verified {
    background: rgba(76, 175, 80, 0.3);
    color: #c8e6c9;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-status.open {
    background: rgba(76, 175, 80, 0.25);
}

.badge-status.closed {
    background: rgba(244, 67, 54, 0.25);
}

.place-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

.place-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.rating-stars {
    color: var(--accent);
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.rating-value {
    font-weight: 700;
    font-size: 1.05rem;
}

.rating-count {
    opacity: 0.8;
    font-size: 0.9rem;
}

.place-address {
    opacity: 0.9;
    font-size: 1rem;
    margin-bottom: 12px;
}

.place-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight-tag {
    background: rgba(255,255,255,0.18);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    backdrop-filter: blur(4px);
}

/* Gallery */
.place-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 26px 20px 0;
}

/* Galerie mosaïque (fiches) */
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 130px;
    gap: 10px;
}

.gallery-mosaic .gallery-tile {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg, 18px);
    overflow: hidden;
    background: var(--bg-alt, #F1F5F9);
    cursor: zoom-in;
}

.gallery-mosaic .gallery-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease, ease);
}

.gallery-mosaic .gallery-tile:hover img {
    transform: scale(1.05);
}

.gallery-mosaic .gallery-tile--main {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-tile-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.gallery-mosaic .gallery-tile--more img {
    filter: brightness(0.55);
}

.gallery-mosaic .gallery-tile--more::after {
    content: 'Voir les ' attr(data-count) ' photos →';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    padding: 0.5rem;
    pointer-events: none;
}

@media (max-width: 860px) {
    .gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
    }
}

@media (max-width: 480px) {
    .place-gallery { padding: 20px 14px 0; }
    .gallery-mosaic { grid-auto-rows: 100px; gap: 8px; }
    .gallery-mosaic .gallery-tile--main { grid-column: span 2; }
    .gallery-tile--more::after { font-size: 0.88rem; }
}

/* Place Grid (main + sidebar) */
.place-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Main Content */
.place-main {
    min-width: 0;
}

/* CTA Mobile */
.cta-mobile-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 20px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
    z-index: 90;
    gap: 10px;
}

.cta-mobile-sticky .btn-cta {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.btn-phone {
    background: var(--primary);
    color: white !important;
}

.btn-whatsapp {
    background: #25d366;
    color: white !important;
}

/* Place Sections */
.place-section {
    margin-bottom: 40px;
}

.place-section h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-alt);
}

.description-content {
    color: var(--text-light);
    font-size: 1.02rem;
    line-height: 1.85;
}

/* Services */
.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.services-list li {
    padding: 10px 14px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    font-size: 0.92rem;
}

/* Practical Info */
.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-symbol {
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 700;
}

.price-label {
    color: var(--text-light);
    font-size: 0.92rem;
}

/* Map */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.btn-directions {
    display: inline-block;
    padding: 10px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--primary) !important;
    text-decoration: none;
    transition: var(--transition);
}

.btn-directions:hover {
    background: var(--primary);
    color: white !important;
}

/* Reviews */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.reviews-header h2 {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.reviews-summary {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.reviews-average {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.reviews-total {
    font-size: 0.9rem;
    color: var(--text-light);
}

.reviews-empty {
    color: var(--text-light);
    font-style: italic;
    padding: 20px 0;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.review-card {
    background: var(--bg-alt);
    padding: 20px;
    border-radius: var(--radius);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-author {
    font-weight: 600;
}

.review-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.review-rating .stars {
    color: var(--accent);
    letter-spacing: 2px;
}

.review-title {
    font-size: 1rem;
    margin: 8px 0;
}

.review-content {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Review Form */
.review-form-container {
    background: var(--bg-alt);
    padding: 28px;
    border-radius: var(--radius-lg);
}

.review-form-container h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.review-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.review-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.review-form label span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.review-form input,
.review-form select,
.review-form textarea {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.btn-submit {
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Similar Grid */
.similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.similar-card {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
    background: white;
}

.similar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.similar-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.similar-info {
    padding: 14px;
}

.similar-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.similar-rating {
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 600;
}

/* ============================================
   Sidebar
   ============================================ */
.place-sidebar {
    min-width: 0;
}

.sidebar-sticky {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-box {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.cta-box h3 {
    font-size: 1.15rem;
    margin-bottom: 18px;
    color: var(--text);
}

.btn-cta-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-cta-primary.btn-phone {
    background: var(--primary);
    color: white !important;
}

.btn-cta-primary.btn-phone:active {
    transform: translateY(0);
    opacity: 0.9;
}

.btn-cta-primary.btn-whatsapp {
    background: #25d366;
    color: white !important;
}

.btn-cta-primary.btn-whatsapp:hover {
    background: #1da851;
}

.btn-cta-primary.btn-whatsapp:active {
    transform: translateY(0);
    opacity: 0.9;
}

.cta-sub {
    font-size: 0.82rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 2px;
}

.btn-cta-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text) !important;
    font-weight: 500;
    margin-bottom: 8px;
    transition: var(--transition);
    text-decoration: none;
    min-height: 44px;
}

.btn-cta-secondary:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
    background: rgba(26, 95, 122, 0.04);
}

.btn-cta-secondary:active {
    background: rgba(26, 95, 122, 0.1);
    transform: translateY(0);
}

/* Social + Info boxes */
.social-box,
.info-box,
.share-box {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.social-box h4,
.info-box h4,
.share-box h4 {
    font-size: 1rem;
    margin-bottom: 14px;
    color: var(--text);
}

.info-box address {
    font-style: normal;
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

.contact-item {
    margin-top: 12px;
    font-size: 0.92rem;
}

.contact-item a {
    color: var(--primary);
}

.hours-compact {
    width: 100%;
    font-size: 0.88rem;
    border-collapse: collapse;
}

.hours-compact td {
    padding: 5px 0;
}

.hours-compact tr.today td {
    font-weight: 700;
    color: var(--primary);
}

/* Share buttons */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.share-btn.fb {
    background: #e7f0ff;
    color: #1877f2;
}

.share-btn.fb:hover {
    background: #1877f2;
    color: white;
}

.share-btn.tw {
    background: #e8f5fd;
    color: #1da1f2;
}

.share-btn.tw:hover {
    background: #1da1f2;
    color: white;
}

.share-btn.wa {
    background: #e7fbe9;
    color: #25d366;
}

.share-btn.wa:hover {
    background: #25d366;
    color: white;
}

.share-btn.copy {
    background: var(--bg-alt);
    color: var(--text-light);
}

.share-btn.copy:hover {
    background: var(--text);
    color: white;
}

/* ============================================
   SEO Pages (Visit, Landmarks, etc.)
   ============================================ */
.page-header {
    padding: 60px 0;
    text-align: center;
}

.page-header h1,
.page-header .display-4 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header .lead {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .place-grid {
        grid-template-columns: 1fr;
    }

    .place-sidebar {
        order: -1;
    }

    .sidebar-sticky {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Contact Page
   ============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-box {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form-box h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.alert-success-box {
    background: #d4edda;
    color: #155724;
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-error-box {
    background: #f8d7da;
    color: #721c24;
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
}

/* Alerts (forms) */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    border: 1px solid transparent;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.alert svg {
    flex-shrink: 0;
}

.loading-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 3px solid rgba(0, 174, 239, 0.25);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.flex { display: flex; }
.items-center { align-items: center; }
.gap-4 { gap: 1rem; }
.mt-4 { margin-top: 1rem; }
.stroke-current { stroke: currentColor; }
.h-6 { height: 1.5rem; }
.w-6 { width: 1.5rem; }
.shrink-0 { flex-shrink: 0; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.inline { display: inline; }
.mr-1 { margin-right: 0.25rem; }
.text-primary { color: var(--primary); }

.contact-info-box {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-info-box h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.contact-info-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   About Page
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
}

.about-features {
    padding: 50px 0;
    border-top: 2px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-alt);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-section {
    margin-bottom: 36px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: none;
    margin-top: 12px;
}

.legal-section li {
    padding: 6px 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animations for grids */
.cards-grid .card:nth-child(2) .fade-in,
.places-grid .place-card:nth-child(2) { transition-delay: 0.1s; }
.cards-grid .card:nth-child(3) .fade-in,
.places-grid .place-card:nth-child(3) { transition-delay: 0.2s; }
.cards-grid .card:nth-child(4) .fade-in,
.places-grid .place-card:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   Mobile Navigation (open state)
   ============================================ */
.main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    padding: 20px;
}

.main-nav.open .nav-list {
    flex-direction: column;
    gap: 0;
}

.main-nav.open .nav-list li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
}

.main-nav.open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 20px;
    border-radius: 0;
}

.main-nav.open .dropdown-menu li a {
    padding: 10px 0;
    font-size: 0.95rem;
    border-bottom: 1px dashed var(--border);
}

.main-nav.open .nav-link-dropdown::after {
    display: none;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 10px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 640px) {
    .lightbox-nav { width: 42px; height: 42px; font-size: 1.8rem; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: 10px; right: 14px; font-size: 2rem; }
}

/* ============================================
   Pagination
   ============================================ */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-link.prev,
.page-link.next {
    background: var(--bg-alt);
}

.page-dots {
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-search form {
        flex-direction: column;
    }
    
    .hero-search input,
    .hero-search button {
        width: 100%;
    }
    
    .hero-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-card {
        flex-direction: row;
        width: 100%;
        max-width: 300px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .landmarks-preview {
        grid-template-columns: 1fr;
    }
    

    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .place-title {
        font-size: 1.7rem;
    }

    .places-grid {
        grid-template-columns: 1fr;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .review-form .form-row {
        grid-template-columns: 1fr;
    }

    .similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-mobile-sticky {
        display: flex;
    }

    .category-header h1 {
        font-size: 1.8rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .section {
        padding: 40px 0;
    }
    

}

/* ============================================================
   Signalement d'une information erronée (fiche établissement)
   ============================================================ */
.report-box {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}
.report-details {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 18px);
    background: var(--bg-alt);
    overflow: hidden;
}
.report-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.1rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
    list-style: none;
    transition: color 0.2s var(--ease);
}
.report-summary::-webkit-details-marker { display: none; }
.report-summary:hover { color: var(--primary); }
.report-details[open] .report-summary {
    color: var(--primary);
    border-bottom: 1px solid var(--border);
}
.report-intro {
    margin: 0;
    padding: 0.9rem 1.1rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
}
.report-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1rem 1.1rem 1.1rem;
}
.report-form > textarea,
.report-contact input {
    width: 100%;
    padding: 0.5rem 0.65rem;
    font: inherit;
    font-size: 0.88rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    resize: vertical;
}
.report-form > textarea:focus-visible,
.report-contact input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
    border-color: var(--primary);
}
.report-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}
.report-hint {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    color: var(--text-light);
}
.report-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
}
.report-contact > div {
    display: grid;
    gap: 0.25rem;
}
/* Piège à robots : invisible, jamais masqué en display:none, que le
   navigateur le signalerait. */
.report-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.report-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
}
.btn-report {
    padding: 0.6rem 1.15rem;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s var(--ease);
}
.btn-report:hover { background: var(--primary-dark); }
.report-note {
    font-size: 0.78rem;
    color: var(--text-light);
}
#suggest-result:not(:empty) { margin-top: 0.8rem; }
.report-result-ok,
.report-result-ko {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    font-size: 0.88rem;
    border: 1px solid var(--border);
    border-radius: 12px;
}
.report-result-ok {
    color: var(--text);
    background: rgba(42, 157, 143, 0.1);
    border-color: rgba(42, 157, 143, 0.35);
}
.report-result-ko {
    color: var(--text);
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.3);
}
@media (max-width: 640px) {
    .report-box { padding: 0 14px; margin-bottom: 2rem; }
}
