/**
 * Homepage CSS — Complete redesign
 * Loaded via app.php pageCSS mechanism
 */

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

/* ═══════════════════════════════════════════════════════════ */
/* HERO — Fullscreen Slideshow                                */
/* ═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 55vh;
    max-height: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0a;
}

/* Slideshow */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.7) 100%);
}
/* Wrapper <picture> doit remplir le slide (sinon CLS shift) */
.hero-slide picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
/* Hero slide img (LCP element — replaces background-image on slide 0) */
.hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: 16/9;
}
/* Hero slide captions — removed (using stock photos) */

/* Overlay gradient */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0,50,44,0.25) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}

/* Slide indicators */
.hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
    /* Extend hit area to meet 44px minimum (Apple HIG) */
    position: relative;
    min-width: 8px;
}
.hero-dot::before {
    content: '';
    position: absolute;
    inset: -18px;
}
.hero-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    width: 100%;
    padding: 0 20px 40px;
    /* Hauteur fixée pour fixer CLS (le content fait ~520px avec fonts custom) */
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Stabilise les fonts swap : taille de base intermediate entre fallback et custom */
    font-size: 16px;
    line-height: 1.5;
}
.hero-title {
    font-family: var(--font-serif), Georgia, serif;
    font-size: 46px;
    font-weight: 400;
    color: white;
    line-height: 1.15;
    margin-bottom: 12px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
    color: white;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2f1 60%, #b2dfdb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

/* Vertical tabs */
.hero-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 28px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    padding: 4px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}
.hero-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.25s;
    border: none;
    background: none;
    white-space: nowrap;
}
.hero-tab:hover { color: white; background: rgba(255,255,255,0.1); }
.hero-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.hero-tab i { font-size: 16px; }

/* Search bar */
.hero-search {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--radius-full);
    padding: 6px 6px 6px 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    max-width: 640px;
    margin: 0 auto 20px;
}
.hero-search-inner {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-search-inner i { color: var(--gray-300); font-size: 18px; }
.hero-search-inner input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--gray-900);
    background: transparent;
    padding: 14px 0;
}
.hero-search-inner input::placeholder { color: var(--gray-300); }
.hero-search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
    white-space: nowrap;
    cursor: pointer;
}
.hero-search-btn:hover { background: var(--primary-dark); }

/* ═══════════════════════════════════════════════════════════ */
/* CONCIERGE BANNER — glassmorphism card above search        */
/* ═══════════════════════════════════════════════════════════ */
.hero-concierge-banner {
    position: relative;
    background: rgba(0,0,0,0.40) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 20px;
    padding: 20px 24px 18px;
    max-width: 560px;
    margin: 0 auto 28px;
    cursor: pointer;
    transition: transform 0.25s ease-out, border-color 0.25s ease-out, box-shadow 0.25s ease-out;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.hero-concierge-banner:hover {
    transform: translateY(-2px);
    border-color: rgba(0,137,123,0.4);
    box-shadow: 0 8px 40px rgba(0,137,123,0.15);
}
/* Shimmer sweep on banner */
.hero-concierge-banner::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.06) 45%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.06) 55%, transparent 65%);
    animation: hcbShimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes hcbShimmer {
    0%   { left: -100%; }
    35%  { left: 100%; }
    100% { left: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-concierge-banner::before { animation: none; }
}

/* Top row: branding + tuto */
.hcb-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.hcb-branding {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hcb-icon {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary, #00897b), var(--primary-dark, #00635a));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 0 12px rgba(0,137,123,0.3);
}
.hcb-title {
    font-size: 15px;
    font-weight: 700;
    color: white;
}
.hcb-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary, #00897b);
    background: rgba(0,137,123,0.15);
    border: 1px solid rgba(0,137,123,0.3);
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hcb-tuto {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full, 50px);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.hcb-tuto:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.3);
}
.hcb-tuto i {
    font-size: 9px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(0,137,123,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 1px;
}

/* Description */
.hcb-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    margin: 0 0 14px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* Chips row */
.hcb-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.hcb-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full, 50px);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.hcb-chip:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}
.hcb-chip i { font-size: 12px; opacity: 0.7; }
.hcb-chip-cta {
    background: rgba(0,137,123,0.25);
    border-color: rgba(0,137,123,0.4);
    color: white;
    font-weight: 600;
}
.hcb-chip-cta:hover {
    background: rgba(0,137,123,0.4);
    border-color: rgba(0,137,123,0.6);
}
.hcb-chip-cta i { color: var(--primary-light, #4db6ac); opacity: 1; }

/* Trust badges */
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.hero-trust-item { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust-item i { font-size: 12px; color: rgba(255,255,255,0.65); }
.hero-trust-sep { opacity: 0.4; }

/* Scroll indicator — removed (hero is compact, content visible) */

/* Autocomplete dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: white;
    border-radius: var(--radius-lg);
    max-height: 450px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: var(--shadow-xl);
    display: none;
    border: 1px solid var(--gray-200);
}
.autocomplete-dropdown.show { display: block; }
.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.selected { background: var(--gray-50); }
.autocomplete-item-photo {
    width: 52px; height: 52px; min-width: 52px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--gray-100);
}
.autocomplete-item-content { flex: 1; min-width: 0; text-align: left; }
.autocomplete-item-title { font-weight: 600; color: var(--gray-900); font-size: 15px; }
.autocomplete-item-title mark { background: transparent; font-weight: 700; }
.autocomplete-item-subtitle { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
.autocomplete-item-rating { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.autocomplete-item-rating i { color: var(--accent-amber); font-size: 12px; }
.autocomplete-item-icon-small {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--gray-100);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-500); font-size: 16px;
}
.autocomplete-item-arrow { color: var(--gray-300); font-size: 14px; margin-left: auto; }
.autocomplete-voir-tous-item { background: var(--gray-50); }
.autocomplete-voir-tous-item .autocomplete-item-title { color: var(--primary); }
.autocomplete-loading, .autocomplete-empty { padding: 30px 20px; text-align: center; color: var(--gray-500); font-size: 14px; }
.autocomplete-recent-header {
    padding: 14px 16px 10px;
    font-size: 12px; font-weight: 600; color: var(--gray-500);
    background: var(--gray-50);
    display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid var(--gray-100);
}

/* Concierge hint in autocomplete */
.autocomplete-concierge-hint {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    cursor: default;
}
.autocomplete-concierge-icon {
    width: 44px; height: 44px; min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), #d1fae5);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: var(--primary);
}
.autocomplete-concierge-text {
    flex: 1;
    text-align: left;
}
.autocomplete-concierge-text strong {
    display: block;
    font-size: 14px;
    color: var(--gray-900);
    margin-bottom: 2px;
}
.autocomplete-concierge-text span {
    font-size: 12px;
    color: var(--gray-500);
}
.autocomplete-concierge-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.autocomplete-concierge-btn:hover { background: var(--primary-dark); }

/* Hero mobile */
@media (max-width: 768px) {
    .hero { min-height: 60svh; max-height: 600px; }
    @media (orientation: landscape) { .hero { min-height: auto; max-height: 500px; } }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 14px; margin-bottom: 20px; }
    .hero-tabs { max-width: 100%; margin-bottom: 20px; }
    .hero-tab { padding: 10px 16px; font-size: 13px; }
    .hero-search {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 12px;
        gap: 12px;
    }
    .hero-search-inner { width: 100%; padding: 8px 12px; background: var(--gray-50); border-radius: var(--radius-sm); }
    .hero-search-btn { width: 100%; border-radius: var(--radius-sm); }
    .hero-trust { gap: 6px; font-size: 12px; flex-wrap: wrap; justify-content: center; }
    .hero-concierge-banner { padding: 16px 16px 14px; margin-bottom: 20px; border-radius: 16px; }
    .hcb-desc { font-size: 14px; }
    .hcb-chip { padding: 7px 12px; font-size: 12px; }
    .hcb-tuto span { display: none; }
    .hcb-tuto { padding: 6px 10px; }
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTIONS                                                   */
/* ═══════════════════════════════════════════════════════════ */
.section { padding: 72px 0; }
.section + .section { padding-top: 56px; }
.section-alt { background: linear-gradient(180deg, #fafaf9 0%, #f5f0eb 100%); padding: 80px 0; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}
.section-title {
    font-family: var(--font-serif), Georgia, serif;
    font-size: 30px;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
    border-image: linear-gradient(90deg, var(--primary), transparent) 1;
}
.section-title i { font-size: 24px; }
.section-subtitle {
    font-size: 15px;
    color: var(--gray-500);
    margin-top: 6px;
    font-weight: 400;
    line-height: 1.5;
}
.section-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
    white-space: nowrap;
}
.section-link:hover { gap: 10px; }

/* ═══════════════════════════════════════════════════════════ */
/* MOOD GRID                                                  */
/* ═══════════════════════════════════════════════════════════ */
.mood-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 140px;
    gap: 14px;
}
.mood-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 12px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
}
.mood-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    will-change: transform;
}
.mood-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.2) 60%,
        rgba(0,0,0,0.05) 100%
    );
    transition: opacity 0.3s;
}
.mood-card:hover .mood-card-img { transform: scale(1.08); }
.mood-card:hover .mood-card-overlay { opacity: 0.9; }
.mood-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--mood-color) 30%, transparent), 0 0 0 1px rgba(0,99,90,0.06);
}
.mood-icon {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: white;
    transition: all 0.3s;
}
.mood-card:hover .mood-icon {
    transform: scale(1.1);
    background: rgba(255,255,255,0.3);
}
.mood-label {
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 800;
    color: white;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .mood-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 120px; gap: 10px; }
    .mood-card { padding: 16px 8px; }
    .mood-icon { width: 36px; height: 36px; font-size: 16px; }
    .mood-label { font-size: 12px; }
}
@media (max-width: 480px) {
    .mood-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════ */
/* RESTAURANT CAROUSEL + CARDS                                */
/* ═══════════════════════════════════════════════════════════ */
.carousel-wrapper { position: relative; }
.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 4px 0 8px 0;
}
.carousel-track::after {
    content: '';
    min-width: 1px;
    flex-shrink: 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--gray-700);
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: all 0.2s;
    cursor: pointer;
}
.carousel-arrow:hover { background: var(--gray-900); color: white; border-color: var(--gray-900); }
.carousel-arrow.left { left: -16px; }
.carousel-arrow.right { right: -16px; }
@media (max-width: 768px) { .carousel-arrow { display: none; } }

/* Restaurant card */
.resto-card {
    min-width: 240px;
    flex: 0 0 calc((100% - 60px) / 4);
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    scroll-snap-align: start;
    flex-shrink: 0;
    text-decoration: none;
    display: block;
}
.resto-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,99,90,0.06);
}
.resto-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.resto-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.resto-card:hover .resto-card-image img { transform: scale(1.06); }
.resto-card-image img { will-change: transform; }
.resto-card-image .resto-no-photo {
    width: 100%;
    height: 100%;
    background: var(--gray-100, #f5f5f4);
}
.resto-card-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--accent-amber);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    z-index: 2;
}
.resto-card-wishlist {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    background: white;
    border-radius: 50%;
    border: none;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s;
    cursor: pointer;
    z-index: 2;
}
.resto-card-wishlist:hover { transform: scale(1.15); }
.resto-card-wishlist i { color: var(--gray-300); font-size: 15px; }
.resto-card-wishlist.active i { color: var(--danger); font-weight: 900; animation: heartBeat 0.4s ease; }
.resto-card-content { padding: 16px; }
.resto-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.resto-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.resto-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.resto-card-rating i { font-size: 10px; }
.resto-card-info { font-size: 13px; color: var(--gray-500); margin-bottom: 8px; }
.resto-card-meta {
    display: flex; align-items: center; gap: 12px;
    font-size: 13px; color: var(--gray-500);
}
.resto-card-meta span { display: flex; align-items: center; gap: 4px; }
.resto-card-price { color: var(--primary); font-weight: 600; }


/* ═══════════════════════════════════════════════════════════ */
/* EXPLORER TABS                                              */
/* ═══════════════════════════════════════════════════════════ */
.explorer-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.explorer-tabs::-webkit-scrollbar { display: none; }
.explorer-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    border: 2px solid var(--gray-200);
    background: white;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s;
}
.explorer-tab:hover { border-color: var(--primary); color: var(--primary); }
.explorer-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.explorer-tab i { font-size: 14px; }
.explorer-panel { display: none; }
.explorer-panel.active { display: block; }
.explorer-panel-footer { text-align: right; margin-top: 16px; }
@media (max-width: 768px) {
    .explorer-tab { padding: 8px 16px; font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════ */
/* CATEGORIES                                                 */
/* ═══════════════════════════════════════════════════════════ */
.categories-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0 8px;
}
.categories-grid::-webkit-scrollbar { display: none; }
.category-card {
    min-width: 180px;
    height: 120px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.category-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.category-card:hover img { transform: scale(1.08); }
.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.category-card span {
    position: absolute;
    bottom: 14px;
    left: 14px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    z-index: 1;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}


/* ═══════════════════════════════════════════════════════════ */
/* SOCIAL PROOF TICKER                                        */
/* ═══════════════════════════════════════════════════════════ */
.activity-section {
    background: linear-gradient(90deg, var(--gray-50), white, var(--gray-50));
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 0;
    overflow: hidden;
}
.activity-track {
    display: flex;
    gap: 48px;
    animation: ticker 30s linear infinite;
    will-change: transform;
    width: max-content;
}
.activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-size: 14px;
    color: var(--gray-800, #44403c);
}
.activity-item-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: var(--primary); font-weight: 700;
}
.activity-item strong { color: var(--gray-900); }
.activity-item .activity-stars { color: var(--accent-amber); }
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════ */
/* TOP BANNER                                                 */
/* ═══════════════════════════════════════════════════════════ */
.top-banner {
    display: flex;
    align-items: center;
    background: var(--text);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: white;
    transition: transform 0.3s;
}
.top-banner:hover { transform: translateY(-4px); }
.top-banner-content { flex: 1; padding: 36px 40px; }
.top-banner h2 { font-family: var(--font-serif), Georgia, serif; font-size: 28px; margin-bottom: 8px; color: #fff; }
.top-banner p { font-size: 15px; opacity: 0.7; margin-bottom: 16px; color: #fff; }
.top-banner-link { font-size: 14px; font-weight: 600; color: #5eead4; }
.top-banner-image { width: 320px; height: 160px; overflow: hidden; flex-shrink: 0; }
.top-banner-image img { width: 100%; height: 100%; object-fit: cover; }
.top-banner-gradient {
    background: linear-gradient(135deg, #1c1917 0%, var(--primary) 60%, #0d9488 100%);
}
.top-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    color: var(--accent-amber);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.top-banner-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    flex-shrink: 0;
}
.top-banner-number {
    font-family: var(--font-serif), Georgia, serif;
    font-size: 120px;
    font-weight: 400;
    color: rgba(255,255,255,0.08);
    line-height: 1;
    letter-spacing: -4px;
}
@media (max-width: 768px) {
    .top-banner { flex-direction: column; }
    .top-banner-content { padding: 28px 24px; }
    .top-banner-image { width: 100%; height: 120px; }
    .top-banner-deco { display: none; }
}

/* ═══════════════════════════════════════════════════════════ */
/* CITIES — Mosaic layout                                     */
/* ═══════════════════════════════════════════════════════════ */
.cities-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 170px 170px;
    gap: 14px;
}
.city-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
/* Mosaic: Alger=tall left (1×2), Oran=top-mid, Béjaïa=top-right, Constantine=bottom wide (2×1), Sétif+Annaba=hidden overflow or 3rd row */
.city-card:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}
.city-card:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
.city-card:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}
.city-card:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}
/* 3rd row: Sétif + Annaba */
.city-card:nth-child(5) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}
.city-card:nth-child(6) {
    grid-column: 2 / 4;
    grid-row: 3 / 4;
}
.cities-grid:has(.city-card:nth-child(5)) {
    grid-template-rows: 170px 170px 140px;
}
.city-card:hover {
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,99,90,0.06);
}
@media (max-width: 768px) {
    .cities-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 140px 140px; }
    .city-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; }
    .city-card:nth-child(2) { grid-column: 1 / 2; grid-row: 2 / 3; }
    .city-card:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
    .city-card:nth-child(4) { grid-column: 1 / 3; grid-row: 3 / 4; }
    .city-card:nth-child(5) { grid-column: 1 / 2; grid-row: 4 / 5; }
    .city-card:nth-child(6) { grid-column: 2 / 3; grid-row: 4 / 5; }
    .cities-grid:has(.city-card:nth-child(5)) { grid-template-rows: 180px 140px 140px 120px; }
}
@media (max-width: 480px) {
    .cities-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 140px 110px 110px; }
    .cities-grid:has(.city-card:nth-child(5)) { grid-template-rows: 140px 110px 110px 100px; }
}
.city-card:hover { transform: translateY(-4px); }
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.city-card:hover img { transform: scale(1.08); }
.city-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent 60%);
}
.city-card-info {
    position: absolute;
    bottom: 16px; left: 16px;
    z-index: 1;
}
.city-card-info span {
    color: white;
    font-family: var(--font-serif), Georgia, serif;
    font-weight: 400;
    font-size: 18px;
    display: block;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.city-card:nth-child(1) .city-card-info span { font-size: 26px; }
.city-card-info small {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    font-weight: 500;
}
.city-card-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    font-size: 32px;
    color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════════ */
/* NEARBY MAP                                                  */
/* ═══════════════════════════════════════════════════════════ */
.nearby-map-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    background: linear-gradient(145deg, #e8f5f0 0%, #f0fdf4 40%, #fafaf9 100%);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
}
.nearby-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}
.nearby-map-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(145deg, rgba(232,245,240,0.92) 0%, rgba(240,253,244,0.88) 40%, rgba(250,250,249,0.92) 100%);
    text-align: center;
    padding: 40px 32px;
}
.nearby-map-overlay > i {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.6;
    filter: drop-shadow(0 2px 4px rgba(0,99,90,0.15));
}
.nearby-map-overlay p {
    font-size: 15px;
    color: var(--gray-600);
    max-width: 380px;
    line-height: 1.6;
}
.nearby-geo-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,99,90,0.25);
}
.nearby-geo-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,99,90,0.35);
}
.nearby-geo-btn i { font-size: 15px; }
.nearby-map-cta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: white;
    padding: 24px 20px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    z-index: 500;
}
.nearby-map-cta:hover { text-decoration: underline; }
[data-theme="dark"] .nearby-map-wrapper { background: linear-gradient(145deg, var(--bg-elevated), var(--bg)); }
[data-theme="dark"] .nearby-map-overlay { background: linear-gradient(145deg, rgba(12,10,9,0.92), rgba(28,25,23,0.90)); }
[data-theme="dark"] .nearby-map-overlay i { opacity: 0.5; filter: drop-shadow(0 2px 4px rgba(0,99,90,0.3)); }
[data-theme="dark"] .nearby-map-overlay p { color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════ */
/* BLOG TEASER                                                */
/* ═══════════════════════════════════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,99,90,0.06);
}
.blog-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--gray-100);
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255,255,255,0.7);
    background: linear-gradient(135deg, var(--primary), #10b981);
}
.blog-card-placeholder.blog-ph-guide { background: linear-gradient(135deg, var(--primary), #0d9488); }
.blog-card-placeholder.blog-ph-classement { background: linear-gradient(135deg, #b45309, #d97706); }
.blog-card-placeholder.blog-ph-decouverte { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.blog-card-placeholder.blog-ph-conseil { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.blog-card-placeholder.blog-ph-actualite { background: linear-gradient(135deg, #dc2626, #f87171); }
.blog-card-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-card-content { padding: 20px; }
.blog-card-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-content p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════ */
/* GAMIFICATION CTA                                           */
/* ═══════════════════════════════════════════════════════════ */
.gamification-section {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}
.gamification-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.gamification-text h2 {
    font-family: var(--font-serif), Georgia, serif;
    font-size: 32px;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.gamification-text p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 28px;
}
.gamification-stats {
    display: flex;
    gap: 28px;
    margin-bottom: 24px;
}
.gamification-stat {
    text-align: center;
}
.gamification-stat i {
    font-size: 20px;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}
.gamification-stat span {
    font-size: 24px;
    font-weight: 800;
    color: var(--gray-900);
    display: block;
}
.gamification-stat small {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gamification-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}
.badge-preview {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
    cursor: default;
}
.badge-preview:hover { transform: scale(1.15); }

/* Levels visual */
.gamification-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.gamification-levels {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 320px;
}
.level-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.level-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.level-item.highlighted {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}
.level-icon { font-size: 24px; flex-shrink: 0; }
.level-name { font-weight: 600; font-size: 14px; color: var(--gray-900); flex: 1; }
.level-pts { font-size: 12px; color: var(--gray-500); font-weight: 500; }
.level-item.highlighted .level-name,
.level-item.highlighted .level-pts { color: white; }

/* Logged-in gamification state */
.gamification-user-level {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.gamification-level-icon { font-size: 44px; line-height: 1; }
.gamification-level-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}
.gamification-points {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}
.gamification-progress-wrap { margin-bottom: 24px; }
.gamification-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0,99,90,0.12);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 6px;
}
.gamification-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #10b981);
    border-radius: var(--radius-full);
    transition: width 1s ease;
}
.gamification-progress-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}
.gamification-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-cta-outline-green {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--primary);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    border: 2px solid var(--primary);
    transition: all 0.2s;
    text-decoration: none;
}
.btn-cta-outline-green:hover { background: var(--primary); color: white; }
.level-check {
    color: var(--primary);
    font-size: 14px;
    margin-left: auto;
}
.level-item.highlighted .level-check { color: white; }

@media (max-width: 900px) {
    .gamification-box { grid-template-columns: 1fr; gap: 32px; }
    .gamification-text h2 { font-size: 26px; }
    .gamification-stats { gap: 20px; }
}

/* ═══════════════════════════════════════════════════════════ */
/* CTA RESTAURATEUR                                           */
/* ═══════════════════════════════════════════════════════════ */
.cta-section {
    background: var(--text);
    padding: 80px 0;
}
.cta-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.cta-text { color: white; }
.cta-label {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #5eead4;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.cta-text h2 { font-family: var(--font-serif), Georgia, serif; font-size: 36px; margin-bottom: 16px; }
.cta-text p { font-size: 16px; opacity: 0.8; line-height: 1.7; margin-bottom: 32px; }
.cta-features { list-style: none; margin-bottom: 32px; }
.cta-features li {
    display: flex; align-items: center; gap: 12px;
    font-size: 15px; color: rgba(255,255,255,0.9);
    padding: 8px 0;
}
.cta-features li i { color: #5eead4; font-size: 16px; }
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 15px;
    border: none;
    transition: all 0.25s;
    text-decoration: none;
    cursor: pointer;
}
.btn-cta-primary:hover { background: #00897b; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,99,90,0.3); }
.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 15px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.25s;
    text-decoration: none;
}
.btn-cta-outline:hover { border-color: white; }
.cta-image {
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.cta-image img { width: 100%; height: 100%; object-fit: cover; }
.cta-image-deco {
    background: linear-gradient(135deg, rgba(0,99,90,0.15), rgba(16,185,129,0.08));
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-image-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 280px;
}
.cta-stat-bubble {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 20px 32px;
    text-align: center;
    transition: transform 0.25s, background 0.25s;
}
.cta-stat-bubble:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.1);
}
.cta-stat-bubble span {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #5eead4;
    line-height: 1.2;
}
.cta-stat-bubble small {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
@media (max-width: 900px) {
    .cta-box { grid-template-columns: 1fr; gap: 32px; }
    .cta-image { height: auto; min-height: 200px; }
    .cta-image-stats { flex-direction: row; max-width: 100%; }
    .cta-stat-bubble { padding: 16px 12px; flex: 1; }
    .cta-stat-bubble span { font-size: 24px; }
    .cta-text h2 { font-size: 28px; }
}

/* ═══════════════════════════════════════════════════════════ */
/* CONCIERGE FAB                                              */
/* ═══════════════════════════════════════════════════════════ */
.concierge-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 99, 90, 0.4);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}
.concierge-fab.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.concierge-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(0, 99, 90, 0.5);
    background: var(--primary-dark);
}
@media (max-width: 768px) {
    .concierge-fab { bottom: 80px; right: 16px; }
}

/* ═══════════════════════════════════════════════════════════ */
/* REDUCED MOTION                                             */
/* ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
    .activity-track { animation: none; }
    .mood-card, .resto-card, .blog-card, .city-card, .top-banner,
    .hero-concierge-banner, .carousel-arrow, .category-card img { transition: none; }
    .mood-card:hover, .resto-card:hover, .blog-card:hover, .city-card:hover, .top-banner:hover { transform: none; }
    .resto-card:hover .resto-card-image img, .blog-card:hover .blog-card-image img,
    .category-card:hover img, .city-card:hover img { transform: none; }
}

/* ═══════════════════════════════════════════════════════════ */
/* DARK MODE                                                  */
/* ═══════════════════════════════════════════════════════════ */

/* Section backgrounds */
[data-theme="dark"] .section-alt { background: linear-gradient(180deg, var(--bg) 0%, #1a1412 100%); }
[data-theme="dark"] .activity-section { background: var(--bg-elevated); border-color: var(--border); }

/* Cards */
[data-theme="dark"] .resto-card,
[data-theme="dark"] .blog-card { background: var(--bg-elevated); }
[data-theme="dark"] .resto-card-wishlist { background: var(--border); }
[data-theme="dark"] .resto-card-wishlist i { color: var(--text-muted); }

/* Explorer tabs */
[data-theme="dark"] .explorer-tab {
    background: var(--bg-elevated);
    border-color: var(--border);
    color: var(--text-secondary);
}
[data-theme="dark"] .explorer-tab:hover { border-color: var(--primary); color: var(--primary); }
[data-theme="dark"] .explorer-tab.active { background: var(--primary); border-color: var(--primary); color: white; }

/* Mood grid — images handle dark mode naturally */

/* Blog cards */
[data-theme="dark"] .blog-card-image { background: var(--border); }
[data-theme="dark"] .blog-card-placeholder { background: linear-gradient(135deg, var(--bg-elevated), var(--border)); color: var(--primary); }

/* Gamification */
[data-theme="dark"] .gamification-section {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
}
[data-theme="dark"] .gamification-text h2 { color: white; }
[data-theme="dark"] .gamification-text p { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .gamification-stat i { color: var(--primary-light); }
[data-theme="dark"] .gamification-stat span { color: white; }
[data-theme="dark"] .gamification-stat small { color: rgba(255,255,255,0.6); }
[data-theme="dark"] .badge-preview { background: rgba(255,255,255,0.1); }
[data-theme="dark"] .gamification-level-name { color: var(--primary-light); }
[data-theme="dark"] .gamification-progress-bar { background: rgba(255,255,255,0.12); }
[data-theme="dark"] .btn-cta-outline-green { color: var(--primary-light); border-color: var(--primary-light); }
[data-theme="dark"] .btn-cta-outline-green:hover { background: var(--primary-light); color: var(--bg); }
[data-theme="dark"] .level-item { background: rgba(255,255,255,0.08); }
[data-theme="dark"] .level-name { color: white; }
[data-theme="dark"] .level-pts { color: rgba(255,255,255,0.6); }

/* CTA restaurateur */
[data-theme="dark"] .cta-section { background: var(--bg); }

/* Autocomplete */
[data-theme="dark"] .autocomplete-dropdown { background: var(--bg-elevated); border-color: var(--border); }
[data-theme="dark"] .autocomplete-item { border-color: var(--border); }
[data-theme="dark"] .autocomplete-item:hover,
[data-theme="dark"] .autocomplete-item.selected { background: var(--bg); }
[data-theme="dark"] .autocomplete-recent-header { background: var(--bg); border-color: var(--border); }
[data-theme="dark"] .autocomplete-voir-tous-item { background: var(--bg); }

/* Search bar in dark hero stays white for contrast */
[data-theme="dark"] .hero-search { background: var(--bg-elevated); border: 1px solid var(--border); }
[data-theme="dark"] .hero-search-inner input { color: var(--text); }
[data-theme="dark"] .hero-search-inner input::placeholder { color: var(--text-muted); }
[data-theme="dark"] .hero-search-inner i { color: var(--text-muted); }

/* Top banner */
[data-theme="dark"] .top-banner { background: var(--bg); }
[data-theme="dark"] .top-banner-gradient { background: linear-gradient(135deg, var(--bg) 0%, #064e3b 60%, #065f46 100%); }

/* CTA stat bubbles */
[data-theme="dark"] .cta-image-deco { background: linear-gradient(135deg, rgba(0,99,90,0.2), rgba(16,185,129,0.1)); }

/* Blog placeholders — keep gradients in dark mode */

/* Activity ticker */
[data-theme="dark"] .activity-section { background: linear-gradient(90deg, var(--bg-elevated), var(--bg), var(--bg-elevated)); }

/* ═══════════════════════════════════════════════════════════ */
/* MICRO-INTERACTIONS                                         */
/* ═══════════════════════════════════════════════════════════ */

/* Image blur-up fade-in */
.resto-card-image img, .mood-card-img img {
    opacity: 0;
    transition: opacity 0.4s ease;
}
.resto-card-image img.loaded, .mood-card-img img.loaded {
    opacity: 1;
}

/* Wishlist heartbeat on home cards — see .resto-card-wishlist.active i above */

/* CTA glow pulse */
.concierge-fab {
    animation: glow 2.5s ease infinite;
}
.btn-cta-primary {
    position: relative;
    overflow: hidden;
}
.btn-cta-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}
.btn-cta-primary:hover::after {
    opacity: 0.4;
}

/* Orphan promo CSS removed — start of cleanup marker */
/* ═══════════════════════════════════════════════════════════ */
/* CONCIERGE VIDEO MODAL                                      */
/* ═══════════════════════════════════════════════════════════ */
.concierge-video-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 100003;
    backdrop-filter: blur(4px);
}
.concierge-video-overlay.active { display: block; }
.concierge-video-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 100004;
    background: #0d1b1a;
    border-radius: 20px;
    border: 1px solid rgba(0,137,123,0.3);
    overflow: hidden;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.concierge-video-modal.active {
    display: flex;
    flex-direction: column;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.concierge-video-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.concierge-video-close:hover { background: rgba(0,0,0,0.7); }
.concierge-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    background: #000;
}
.concierge-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.concierge-video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(0,0,0,0.2);
    transition: background 0.2s;
}
.concierge-video-play-btn.hidden { display: none; }
.concierge-video-play-btn:hover { background: rgba(0,0,0,0.35); }
.concierge-video-play-btn i {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary, #00897b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 30px rgba(0,137,123,0.4);
}
.concierge-video-cta {
    padding: 16px 20px;
    text-align: center;
}
.concierge-video-try-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary, #00897b);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.concierge-video-try-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0,137,123,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .concierge-video-modal { max-width: 92vw; }
}
