
:root {
    /* Palette Officielle Ty Refuge - Charte Graphique 2025 */
    --ty-navy: #171D24;
    --ty-caramel: #B38662;
    --ty-caramel-bright: #CCA077;
    --ty-terracotta: #B0592B;
    --ty-cream: #EFEDE7;
    --ty-cream-muted: #d8d4cb;
    --ty-wood: #8B6914;

    /* Couleurs héritées pour compatibilité */
    --ty-rust: var(--ty-terracotta);
    --ty-rust-light: #c4693a;
    --ty-night: var(--ty-navy);
    --ty-night-light: #1f2630;
    --ty-deep-wood: #252a33;

    /* Variables de structure */
    --primary: var(--ty-caramel);
    --primary-accent: var(--ty-terracotta);
    --bg-main: var(--ty-navy);
    --bg-alt: var(--ty-night-light);
    --bg-card: var(--ty-deep-wood);
    --text-main: var(--ty-cream);
    --text-muted: var(--ty-cream-muted);

    /* Ombres & Effets */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(179, 134, 98, 0.2);
    --glass: rgba(23, 29, 36, 0.85);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Barlow', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Bloquer le scroll du body quand menu ou modal ouvert */
body.menu-open,
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

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

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

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--ty-cream);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.font-script {
    font-family: 'Barlow', sans-serif;
    font-style: italic;
    color: var(--ty-caramel);
    font-size: 1.4rem;
    font-weight: 500;
    display: block;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

h1 {
    font-size: clamp(3.5rem, 10vw, 5.5rem);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.section-title {
    text-align: center;
    color: var(--ty-caramel);
    margin-bottom: 1rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--ty-caramel);
    margin: 1rem auto 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

section {
    padding: 5rem 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--ty-caramel);
    color: var(--ty-navy);
    box-shadow: 0 4px 15px rgba(179, 134, 98, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: var(--ty-terracotta);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(176, 89, 43, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--ty-cream);
    border: 1px solid var(--ty-cream-muted);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(253, 248, 240, 0.1);
    border-color: var(--ty-cream);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(23, 29, 36, 0.85) 0%, rgba(23, 29, 36, 0.4) 60%, transparent 100%);
}

.navbar.scrolled {
    background: var(--ty-night);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(253, 248, 240, 0.05);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 140px;
    width: auto;
    transition: var(--transition);
    display: block;
    filter: brightness(0) invert(1);
}

.navbar.scrolled .nav-logo img {
    height: 80px;
}

@media (max-width: 768px) {
    .nav-logo img {
        height: 80px;
    }
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

/* Cacher les éléments mobile sur desktop */
.nav-menu-cta,
.nav-menu-info {
    display: none;
}

/* ===== MENU MOBILE PREMIUM ===== */
@media (max-width: 992px) {

    /* Overlay sombre derrière le menu */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: -1;
    }

    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }

    /* Bouton hamburger premium */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1100;
        position: relative;
    }

    .nav-toggle span {
        display: block;
        width: 28px;
        height: 2px;
        background: var(--ty-cream);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        border-radius: 4px;
        transform-origin: center;
    }

    .nav-toggle.active span {
        background: var(--ty-caramel);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Menu fullscreen premium */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        /* Dynamic viewport height pour mobile */
        background: linear-gradient(180deg, var(--ty-navy) 0%, #0d1117 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 80px 2rem 40px;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Logo dans le menu mobile */
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        background: url('images/logo.png') center/contain no-repeat;
        filter: brightness(0) invert(1);
        opacity: 0.3;
    }

    /* Style des liens du menu */
    .nav-menu li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.4s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Animation échelonnée pour chaque lien */
    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-menu a {
        display: block;
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 2rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 4px;
        color: var(--ty-cream);
        padding: 1.25rem 2rem;
        position: relative;
        transition: all 0.3s ease;
    }

    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0.5rem;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--ty-caramel), transparent);
        transform: translateX(-50%);
        transition: width 0.4s ease;
    }

    .nav-menu a:hover,
    .nav-menu a:active {
        color: var(--ty-caramel);
        transform: scale(1.05);
    }

    .nav-menu a:hover::before,
    .nav-menu a:active::before {
        width: 60%;
    }

    /* Cacher le CTA nav dans la navbar mobile */
    .nav-cta {
        display: none;
    }

    /* Animations pour les éléments spéciaux du menu */
    .nav-menu.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-menu.active li:nth-child(7) {
        transition-delay: 0.4s;
    }

    /* Container du bouton réserver mobile */
    .nav-menu-cta {
        display: block;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Bouton réserver dans le menu mobile */
    .mobile-reserve-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 0.75rem;
        padding: 1.1rem 2.5rem;
        font-size: 1rem;
        letter-spacing: 2px;
        border-radius: 50px;
        box-shadow: 0 4px 25px rgba(179, 134, 98, 0.4);
        animation: pulse-glow 2s ease-in-out infinite;
    }

    .mobile-reserve-btn:active {
        transform: scale(0.98);
    }

    @keyframes pulse-glow {

        0%,
        100% {
            box-shadow: 0 4px 25px rgba(179, 134, 98, 0.4);
        }

        50% {
            box-shadow: 0 4px 35px rgba(179, 134, 98, 0.6);
        }
    }

    /* Infos de contact dans le menu mobile */
    .nav-menu-info {
        margin-top: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .mobile-phone-link {
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        color: var(--ty-caramel) !important;
        padding: 0.5rem 1rem !important;
        letter-spacing: 1px !important;
    }

    .mobile-phone-link:hover {
        color: var(--ty-terracotta) !important;
    }

    .mobile-hours {
        font-size: 0.85rem;
        color: var(--ty-cream-muted);
        opacity: 0.7;
        letter-spacing: 1px;
    }
}

.nav-menu a {
    color: var(--ty-cream);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ty-rust);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.navbar.scrolled .nav-menu a {
    color: var(--ty-cream);
}

.nav-cta {
    background: transparent;
    color: var(--ty-cream);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    border: 2px solid var(--ty-caramel);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.nav-cta:hover {
    background: var(--ty-caramel);
    color: var(--ty-navy);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/hero-raclette.png') center/cover no-repeat;
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(23, 29, 36, 0.5) 0%, rgba(23, 29, 36, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 900px;
}

.hero-title {
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    letter-spacing: 2px;
}

.hero-tagline {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--ty-caramel);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-est {
    display: inline-block;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9rem;
    color: var(--ty-cream-muted);
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(239, 237, 231, 0.3);
    border-radius: 4px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.9;
    margin-bottom: 2.5rem;
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.4);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-badge-icon {
    font-size: 1rem;
}

.hero-badge-value {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ty-cream);
}

.hero-badge-label {
    font-size: 0.8rem;
    color: var(--ty-cream-muted);
    font-weight: 400;
}

.hero-badge-sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hero-badges {
        gap: 1rem;
        padding: 0.6rem 1.2rem;
        margin-top: 2rem;
    }

    .hero-badge-value {
        font-size: 0.9rem;
    }

    .hero-badge-label {
        font-size: 0.7rem;
    }

    .hero-badge-icon {
        font-size: 0.85rem;
    }

    .hero-badge-sep {
        height: 16px;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== PRESENTATION ===== */
.presentation {
    background: var(--bg-main);
    position: relative;
    border-bottom: 1px solid rgba(253, 248, 240, 0.05);
}

.presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .presentation-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .presentation-image {
        order: -1;
    }
}

.presentation-content p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

.presentation-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(253, 248, 240, 0.05);
}

.stat {
    text-align: center;
}

.stat-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ty-caramel);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--ty-cream-muted);
}

.presentation-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.mountain-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80'%3E%3Cpath fill='%23FFF8DC' d='M0,80 L0,60 L150,20 L300,50 L450,10 L600,40 L750,5 L900,35 L1050,15 L1200,45 L1200,80 Z'/%3E%3C/svg%3E") center bottom/cover no-repeat;
}

/* ===== SPECIALITES ===== */
.specialites {
    background: var(--bg-main);
}

.specialites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.specialite-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(253, 248, 240, 0.05);
    transition: var(--transition);
}

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

.specialite-image {
    height: 220px;
    overflow: hidden;
}

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

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

.specialite-content {
    padding: 1.5rem;
}

.specialite-content h3 {
    color: var(--ty-caramel);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-size: 1.25rem;
}

.specialite-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.price {
    display: inline-block;
    background: var(--ty-caramel);
    color: var(--ty-navy);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== GROUPES / ÉVÉNEMENTS ===== */
.groupes {
    background: var(--bg-alt);
    position: relative;
}

.groupes-hero-image {
    width: 100%;
    max-height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.groupes-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    transition: transform 0.6s ease;
}

.groupes-hero-image:hover img {
    transform: scale(1.03);
}

.groupes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.groupe-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(253, 248, 240, 0.05);
    transition: var(--transition);
}

.groupe-card:hover {
    transform: translateY(-5px);
    border-color: var(--ty-caramel);
    box-shadow: var(--shadow-lg);
}

.groupe-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.groupe-card h3 {
    color: var(--ty-caramel);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.groupe-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.groupes-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(253, 248, 240, 0.05);
    align-items: center;
}

@media (max-width: 768px) {
    .groupes-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.groupes-info h3 {
    color: var(--ty-caramel-bright);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.groupes-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.groupes-features {
    list-style: none;
    padding: 0;
}

.groupes-features li {
    color: var(--ty-cream);
    padding: 0.5rem 0;
    font-weight: 500;
}

.groupes-contact {
    text-align: center;
}

.groupes-contact p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.groupes-email {
    display: block;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.groupes-email a {
    color: var(--ty-caramel);
    font-weight: 600;
}

.groupes-email a:hover {
    color: var(--ty-terracotta);
}

/* ===== CARTE / MENU ===== */
.carte {
    background: var(--bg-main);
}

.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.menu-tab {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--ty-caramel);
    background: transparent;
    color: var(--ty-caramel);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.menu-tab:hover,
.menu-tab.active {
    background: var(--ty-caramel);
    color: var(--ty-navy);
}

.menu-panel {
    display: none;
}

.menu-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-category {
    color: var(--ty-caramel);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--ty-caramel);
    text-transform: uppercase;
    font-weight: 700;
}

.menu-note {
    background: var(--bg-main);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border-left: 4px solid var(--ty-caramel);
    color: var(--ty-cream-muted);
}

.menu-items {
    display: grid;
    gap: 1rem;
}

.menu-item {
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(253, 248, 240, 0.05);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.menu-item-name {
    font-weight: 600;
    color: var(--ty-cream);
}

.menu-item-price {
    font-weight: 700;
    color: var(--ty-caramel-bright);
    white-space: nowrap;
}

.menu-item-desc {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.menu-special {
    background: var(--ty-charcoal);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 2rem;
}

.menu-special h4 {
    margin-bottom: 0.5rem;
}

.menu-notice {
    background: var(--ty-charcoal-light);
    color: white;
    padding: 1.25rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 2rem;
}

/* ===== AVIS ===== */
.avis {
    background: var(--bg-main);
}

.google-rating {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.google-logo {
    height: 30px;
    width: auto;
    margin-bottom: 0.5rem;
}

.rating-stars-large {
    font-size: 2rem;
    color: #FBBC04;
    letter-spacing: 4px;
}

.google-rating .rating-value {
    font-size: clamp(2rem, 6vw, 2.5rem);
    font-weight: 700;
    color: var(--ty-cream);
    margin: 0.25rem 0;
}

.google-rating .rating-count {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.avis-carousel {
    overflow: hidden;
    margin-bottom: 2rem;
}

.avis-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll 40s linear infinite;
}

.avis-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.avis-card-link {
    text-decoration: none;
    color: inherit;
    flex: 0 0 380px;
}

.avis-card {
    background: var(--bg-card);
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(253, 248, 240, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.avis-card:hover {
    border-color: var(--ty-caramel);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(179, 134, 98, 0.2);
}

.avis-author-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.avis-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.avis-author-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.avis-author-name {
    font-weight: 600;
    color: var(--ty-cream);
    font-size: 0.95rem;
}

.avis-stars {
    color: #FBBC04;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.avis-google-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.avis-text {
    font-style: italic;
    color: var(--ty-cream-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
}

.avis-cta {
    color: var(--ty-caramel);
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition);
}

.avis-card:hover .avis-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ===== INSTAGRAM ===== */
.instagram {
    background: var(--bg-alt);
}

/* Behold Instagram widget — full width */
[data-behold-id] {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 3.5rem;
    min-height: 400px;
}

.instagram .text-center {
    margin-top: 1rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 42, 38, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--bg-main);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.75rem;
}

.contact-text h3 {
    color: var(--ty-caramel);
    margin-bottom: 0.25rem;
    font-size: 1.15rem;
    text-transform: uppercase;
}

.contact-text a {
    color: var(--ty-caramel);
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-text a:hover {
    color: var(--ty-terracotta);
}

.contact-text .small {
    font-size: 0.85rem;
    color: var(--ty-cream-muted);
    margin-top: 0.5rem;
}

.horaires-table {
    border-collapse: collapse;
    margin-top: 0.5rem;
    width: 100%;
}

.horaires-table td {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: var(--ty-cream-muted);
    vertical-align: top;
}

.horaires-table td:first-child {
    font-weight: 600;
    color: var(--ty-caramel);
    padding-right: 1rem;
    white-space: nowrap;
}

.horaires-table tr.closed td {
    opacity: 0.5;
    font-style: italic;
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--ty-navy);
    color: var(--ty-cream);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    margin-top: 0.5rem;
    opacity: 0.8;
    color: var(--ty-cream);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-logo-img {
    height: 120px;
    margin-bottom: 1rem;
    filter: invert(1);
}

.footer-contact {
    text-align: center;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: var(--ty-cream-muted);
    font-weight: 500;
}

.footer-contact a {
    color: var(--ty-caramel);
    font-weight: 700;
}

.footer-contact a:hover {
    color: var(--ty-terracotta);
}

.footer-social {
    text-align: right;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--ty-caramel);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffc107;
}

.footer-links span {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.3);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {

    .presentation-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .presentation-image {
        order: -1;
    }

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

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

@media (max-width: 768px) {
    section {
        padding: 3.5rem 0;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .nav-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: var(--transition);
    }

    .navbar.scrolled .nav-toggle span {
        background: var(--brown-warm);
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white-casse);
        padding: 1.5rem;
        box-shadow: var(--shadow);
        gap: 1rem;
    }

    .nav-menu.active a {
        color: var(--gray-dark);
        padding: 0.75rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .menu-tabs {
        gap: 0.5rem;
    }

    .menu-tab {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .avis-track {
        animation-duration: 20s;
    }

    .avis-card {
        flex: 0 0 280px;
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-social {
        text-align: center;
    }

    .presentation-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .specialite-image {
        height: 180px;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* ===== STICKY RESERVE BUTTON ===== */
.sticky-reserve-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.6rem;
    background: linear-gradient(135deg, var(--ty-caramel-bright), var(--ty-caramel));
    color: var(--ty-navy);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(179, 134, 98, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, opacity 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.sticky-reserve-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-reserve-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 32px rgba(179, 134, 98, 0.55), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sticky-reserve-btn:active {
    transform: scale(0.97);
}

.sticky-reserve-btn svg {
    flex-shrink: 0;
}

/* Hide when modal is open */
.modal.active~.sticky-reserve-btn {
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 768px) {
    .sticky-reserve-btn {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%) translateY(20px);
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
        box-shadow: 0 4px 20px rgba(179, 134, 98, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .sticky-reserve-btn.visible {
        transform: translateX(50%) translateY(0);
    }

    .sticky-reserve-btn:hover {
        transform: translateX(50%) translateY(-2px);
    }
}

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

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

/* ===== MODAL & RESERVATION - LUXE EDITION ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.modal-container {
    position: relative;
    background: var(--bg-main);
    border: 1px solid rgba(253, 248, 240, 0.1);
    width: 100%;
    max-width: 500px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 24px;
    padding: 3rem;
    margin: auto;
    box-shadow: var(--shadow-lg);
    animation: modalAppear 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(40px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--ty-rust);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-header h2 {
    color: var(--ty-rust-light);
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.res-option-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.res-option-card:hover {
    background: rgba(184, 134, 11, 0.1);
    border-color: var(--or-cuivre);
    transform: translateY(-4px);
}

.res-option-icon {
    font-size: 1.5rem;
    margin-right: 1.5rem;
    background: linear-gradient(135deg, var(--or-cuivre), var(--or-clair));
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--noir-profond);
}

.res-option-info h3 {
    font-size: 1rem;
    color: white;
    margin-bottom: 2px;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.res-option-info p {
    font-size: 1.25rem;
    color: var(--ty-rust-light);
    font-weight: 700;
}

.res-badge {
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--ty-rust);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: 6px;
    font-weight: 800;
}

.reservation-form {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
}

/* ===== FORM VALIDATION STATES ===== */

/* Error message below field */
.field-error {
    display: block;
    font-size: 0.75rem;
    color: #ff6b6b;
    margin-top: 5px;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.25s ease;
    line-height: 1.4;
}

.field-error.visible {
    min-height: 1em;
    max-height: 40px;
    opacity: 1;
    margin-top: 6px;
}

/* Invalid field state */
.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.06) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group.has-error label {
    color: #ff6b6b !important;
}

/* Invalid checkbox */
.rgpd-consent.has-error .checkbox-label span {
    color: #ff6b6b;
}

.rgpd-consent.has-error input[type="checkbox"] {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

/* Valid field state */
.form-group.is-valid input,
.form-group.is-valid textarea {
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Shake animation for invalid fields */
@keyframes fieldShake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-6px); }
    30% { transform: translateX(5px); }
    45% { transform: translateX(-4px); }
    60% { transform: translateX(3px); }
    75% { transform: translateX(-2px); }
}

.form-group.shake,
.rgpd-consent.shake {
    animation: fieldShake 0.5s ease;
}

/* Global error banner */
.form-error-banner {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #ff6b6b;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-error-banner.visible {
    display: flex;
    opacity: 1;
}

.form-error-banner svg {
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input,
select,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 18px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.reservation-phone {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reservation-phone p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.phone-link {
    display: inline-block;
    color: var(--ty-caramel);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--ty-terracotta);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--ty-caramel);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(179, 134, 98, 0.15);
}

select option,
select optgroup {
    background: #1f2630;
    color: white;
    padding: 10px;
}

select optgroup {
    font-weight: 700;
    color: var(--ty-caramel);
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

.modal-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* Hover effects for buttons */
.btn-primary {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ty-terracotta);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
    border-radius: inherit;
}

.btn-primary:hover::before {
    opacity: 1;
}

/* ===================================
   NOUVEAU MODAL CALENDRIER
   =================================== */

.modal-calendar {
    max-width: 700px;
}

.modal-header .subtitle {
    margin-top: 10px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 20px;
    padding: 0 5px;
    gap: 6px;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 0;
    cursor: default;
}

.progress-step.completed {
    cursor: pointer;
}

/* Connector line between steps */
.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 16px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
    transition: background 0.4s ease;
}

.progress-step.completed:not(:last-child)::after {
    background: linear-gradient(90deg, var(--ty-caramel), var(--ty-terracotta));
}

/* Rectangular pill step indicator */
.progress-dot {
    width: 100%;
    max-width: 56px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
    transition: all 0.35s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.25);
}

.progress-step.completed .progress-dot {
    background: linear-gradient(135deg, var(--ty-caramel), var(--ty-terracotta));
    border-color: var(--ty-caramel);
    color: white;
    box-shadow: 0 2px 8px rgba(179, 134, 98, 0.25);
}

.progress-step.completed:hover .progress-dot {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(179, 134, 98, 0.4);
}

.progress-step.active .progress-dot {
    background: linear-gradient(135deg, var(--ty-terracotta), var(--ty-caramel));
    border-color: var(--ty-terracotta);
    color: white;
    box-shadow: 0 0 0 3px rgba(176, 89, 43, 0.15), 0 2px 10px rgba(176, 89, 43, 0.35);
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(176, 89, 43, 0.15), 0 2px 10px rgba(176, 89, 43, 0.35);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(176, 89, 43, 0.08), 0 2px 14px rgba(176, 89, 43, 0.45);
    }
}

/* Label under step */
.progress-label {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
    white-space: nowrap;
    transition: color 0.35s ease;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-step.completed .progress-label {
    color: var(--ty-caramel);
}

.progress-step.active .progress-label {
    color: var(--ty-creme);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 480px) {
    .progress-bar {
        padding: 0;
        margin-top: 14px;
        gap: 4px;
    }

    .progress-dot {
        max-width: 48px;
        height: 28px;
        font-size: 10px;
        border-radius: 6px;
    }

    .progress-step:not(:last-child)::after {
        top: 14px;
        left: calc(50% + 24px);
        width: calc(100% - 48px);
    }

    .progress-label {
        font-size: 8px;
        max-width: 50px;
    }
}

/* Hide step titles and step numbers inside steps — progress bar replaces them */
.step-title {
    display: none;
}

/* Hide legacy back buttons — progress bar handles navigation */
.btn-back {
    display: none;
}

.step-container {
    display: none;
}

.step-container.active {
    display: block;
}

.btn-back {
    background: none;
    border: none;
    color: var(--ty-terracotta);
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 5px 0;
}

.btn-back:hover {
    text-decoration: underline;
}

/* Service Select */
.service-select {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(179, 134, 98, 0.3);
    border-radius: 8px;
    font-size: 16px;
    background: #1f2630;
    color: white;
    cursor: pointer;
}

.service-select:focus {
    outline: none;
    border-color: var(--ty-terracotta);
}

/* People Selector */
.people-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.people-selector input {
    width: 80px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid rgba(179, 134, 98, 0.3);
    border-radius: 8px;
    padding: 10px;
    background: #1f2630;
    color: white;
}

.btn-minus,
.btn-plus {
    width: 40px;
    height: 40px;
    border: 2px solid var(--ty-terracotta);
    border-radius: 50%;
    background: transparent;
    color: var(--ty-terracotta);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-minus:hover,
.btn-plus:hover {
    background: var(--ty-terracotta);
    color: white;
}

/* Calendar */
.calendar-container {
    background: #1a1f28;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(179, 134, 98, 0.2);
}

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

.calendar-header h3 {
    margin: 0;
    font-size: 18px;
    color: white;
}

.btn-nav {
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(179, 134, 98, 0.2);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: var(--ty-terracotta);
    transition: all 0.3s;
}

.btn-nav:hover {
    background: var(--ty-terracotta);
    color: white;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
}

.calendar-weekday {
    text-align: center;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    padding: 10px 0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    background: #1f2630;
    border: 2px solid transparent;
    color: white;
}

.calendar-day.disabled {
    color: #555;
    cursor: not-allowed;
    background: #1a1f28;
}

.calendar-day.disponible {
    background: rgba(179, 134, 98, 0.3);
    color: white;
    border-color: var(--ty-caramel);
}

.calendar-day.disponible:hover {
    background: var(--ty-caramel);
    color: #1a1f28;
    transform: scale(1.05);
}

.calendar-day.attente {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border-color: #FF9800;
}

.calendar-day.complet {
    background: #1a1f28;
    color: #555;
    cursor: not-allowed;
}

.calendar-day.selected {
    background: var(--ty-terracotta) !important;
    color: white !important;
    border-color: var(--ty-terracotta) !important;
    transform: scale(1.1);
}

/* Legend */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.disponible {
    background: rgba(179, 134, 98, 0.3);
    border: 2px solid var(--ty-caramel);
}

.legend-dot.attente {
    background: rgba(255, 152, 0, 0.2);
    border: 2px solid #FF9800;
}

.legend-dot.complet {
    background: #1a1f28;
    border: 2px solid #555;
}

/* Services Availability */
.services-availability {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-card {
    border: 2px solid rgba(179, 134, 98, 0.3);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    background: #1a1f28;
}

.service-card:hover {
    border-color: var(--ty-terracotta);
    box-shadow: 0 4px 12px rgba(176, 89, 43, 0.3);
    transform: translateY(-2px);
}

.service-card.disponible {
    background: linear-gradient(135deg, #1a1f28 0%, #1f2630 100%);
}

.service-card.complet {
    background: #151820;
    cursor: not-allowed;
    opacity: 0.5;
}

.service-card.attente {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, #1f2630 100%);
}

.service-card h4 {
    margin: 0 0 10px 0;
    color: var(--ty-terracotta);
    font-size: 18px;
}

.service-card p {
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-badge.disponible {
    background: #4CAF50;
    color: white;
}

.service-badge.attente {
    background: #FF9800;
    color: white;
}

.service-badge.complet {
    background: #666;
    color: white;
}

/* Selection Summary */
.selection-summary {
    background: rgba(179, 134, 98, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(179, 134, 98, 0.2);
}

.selection-summary p {
    margin: 5px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.selection-summary strong {
    color: var(--ty-terracotta);
}

/* Responsive */
@media (max-width: 768px) {

    .calendar-weekday,
    .calendar-day {
        font-size: 12px;
    }

    .calendar-legend {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .modal-calendar {
        max-width: 95%;
    }
}

/* ========================================
   NOUVEAU SYST�ME DE R�SERVATION SAISONNIER
   ======================================== */

/* Step Title */
.step-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--ty-terracotta), var(--ty-caramel));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
}

.step-title h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--ty-creme);
    font-weight: 600;
}

.step-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

/* People Selector Large */
.people-selector-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.people-selector-large .btn-minus,
.people-selector-large .btn-plus {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    background: rgba(179, 134, 98, 0.2);
    border: 2px solid var(--ty-caramel);
    color: var(--ty-caramel);
    cursor: pointer;
    transition: all 0.2s ease;
}

.people-selector-large .btn-minus:hover,
.people-selector-large .btn-plus:hover {
    background: var(--ty-caramel);
    color: white;
    transform: scale(1.1);
}

.people-selector-large input {
    width: 80px;
    height: 60px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(179, 134, 98, 0.3);
    border-radius: 12px;
    color: var(--ty-creme);
}

.helper-text {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 15px;
}

/* Service Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.service-card {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(179, 134, 98, 0.2);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    border-color: var(--ty-caramel);
    background: rgba(179, 134, 98, 0.15);
    transform: translateY(-2px);
}

.service-card.selected {
    border-color: var(--ty-terracotta);
    background: rgba(176, 89, 43, 0.2);
    box-shadow: 0 0 20px rgba(176, 89, 43, 0.3);
}

.service-card .service-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.service-card h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: var(--ty-creme);
    font-weight: 600;
}

.service-card .service-hours {
    font-size: 15px;
    color: var(--ty-caramel);
    margin: 0 0 5px 0;
    font-weight: 600;
}

.service-card .service-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.service-card .service-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--ty-terracotta);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Evening service cards */
.service-card-evening {
    padding-top: 35px;
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.time-slot {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(179, 134, 98, 0.2);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--ty-creme);
    transition: all 0.2s ease;
}

.time-slot:hover {
    border-color: var(--ty-caramel);
    background: rgba(179, 134, 98, 0.15);
    transform: scale(1.05);
}

.time-slot.selected {
    border-color: var(--ty-terracotta);
    background: linear-gradient(135deg, rgba(176, 89, 43, 0.4), rgba(179, 134, 98, 0.3));
    box-shadow: 0 0 15px rgba(176, 89, 43, 0.3);
}

/* Group info message (≥12 guests dinner) */
.group-info-message {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(179, 134, 98, 0.12);
    border: 1px solid rgba(179, 134, 98, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--ty-caramel);
    line-height: 1.5;
}

.group-info-message svg {
    flex-shrink: 0;
    stroke: var(--ty-caramel);
}

/* Selection Badge */
.selection-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.badge-item {
    background: rgba(179, 134, 98, 0.2);
    border: 1px solid rgba(179, 134, 98, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--ty-creme);
}

/* Reservation Summary */
.reservation-summary {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    background: rgba(179, 134, 98, 0.1);
    border: 1px solid rgba(179, 134, 98, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

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

.summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ty-caramel);
    flex-shrink: 0;
}

.summary-item span:last-child {
    font-size: 14px;
    color: var(--ty-creme);
    font-weight: 500;
}

/* Submit Button */
.btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-submit .btn-loading {
    animation: pulse 1s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .service-cards {
        grid-template-columns: 1fr;
    }

    .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }

    .reservation-summary {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .people-selector-large input {
        width: 70px;
        height: 50px;
        font-size: 28px;
    }

    .people-selector-large .btn-minus,
    .people-selector-large .btn-plus {
        width: 45px;
        height: 45px;
    }
}


/* Masquer scrollbar sur modal */
.modal::-webkit-scrollbar,
.modal-container::-webkit-scrollbar {
    display: none;
}

/* Couleurs calendrier */
/* Disponible = VERT */
.calendar-day.disponible {
    background: rgba(76, 175, 80, 0.3) !important;
    color: #4CAF50 !important;
    border-color: #4CAF50 !important;
}

.calendar-day.disponible:hover {
    background: #4CAF50 !important;
    color: white !important;
    transform: scale(1.05);
}

/* Complet = GRIS */
.calendar-day.complet {
    background: #2a2f38 !important;
    color: #666 !important;
    cursor: not-allowed;
}

.legend-dot.disponible {
    background: rgba(76, 175, 80, 0.3) !important;
    border: 2px solid #4CAF50 !important;
}

.legend-dot.complet {
    background: #2a2f38 !important;
    border: 2px solid #666 !important;
}

/* Utility classes */
.ty-phone-highlight {
    color: var(--ty-caramel);
    font-size: 18px;
}

.ty-btn-link {
    display: inline-block;
    padding: 8px 18px;
    border: 1.5px solid var(--ty-caramel);
    border-radius: 20px;
    color: var(--ty-caramel);
    font-size: 0.85em;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 4px;
}

.ty-btn-link:hover {
    background: rgba(179, 134, 98, 0.15);
    color: var(--ty-creme);
    transform: translateY(-1px);
}

/* ===== CENTRAGE MENU DESKTOP ===== */
@media (min-width: 993px) {
    .nav-container {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ========================================
   MODALS CUSTOM TY REFUGE
======================================== */
.ty-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.ty-modal-overlay.ty-modal-visible {
    opacity: 1;
}

.ty-modal-overlay.ty-modal-visible .ty-modal-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ty-modal-box {
    background: #1f2630;
    border: 1px solid rgba(179, 134, 98, 0.25);
    border-radius: 16px;
    padding: 36px 32px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(179, 134, 98, 0.08);
    transform: translateY(16px) scale(0.97);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.28s ease;
}

.ty-modal-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.ty-modal-title {
    font-family: 'Barlow Condensed', 'Barlow', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #EFEDE7;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.ty-modal-message {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    color: #d8d4cb;
    line-height: 1.6;
    margin-bottom: 28px;
}

.ty-modal-confirm-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(179, 134, 98, 0.08);
    border: 1px solid rgba(179, 134, 98, 0.18);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 4px;
    text-align: left;
}

.ty-modal-confirm-details span {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ty-detail-label {
    font-size: 13px;
    color: #d8d4cb;
}

.ty-detail-value {
    font-size: 13px;
    font-weight: 600;
    color: #EFEDE7;
    text-align: right;
}

.ty-modal-actions {
    display: flex;
    gap: 12px;
}

.ty-modal-btn-primary {
    flex: 1;
    padding: 12px 20px;
    background: #B0592B;
    color: #EFEDE7;
    border: none;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.ty-modal-btn-primary:hover {
    background: #c4693a;
    transform: translateY(-1px);
}

.ty-modal-btn-secondary {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    color: #d8d4cb;
    border: 1px solid rgba(179, 134, 98, 0.25);
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.ty-modal-btn-secondary:hover {
    border-color: rgba(179, 134, 98, 0.5);
    color: #EFEDE7;
}

@media (max-width: 480px) {
    .ty-modal-box {
        padding: 28px 20px 24px;
    }

    .ty-modal-actions {
        flex-direction: column;
    }
}

/* ========================================
   MOBILE ERGONOMICS — RESERVATION FLOW
   Optimisé pour usage principal sur téléphone
   ======================================== */

/* ---- Modal wrapper : plein écran sur mobile ---- */
@media (max-width: 640px) {
    .modal {
        padding: 0;
        align-items: flex-end;
    }

    .modal-container {
        border-radius: 24px 24px 0 0;
        max-width: 100%;
        width: 100%;
        max-height: 92dvh;
        padding: 1.5rem 1.25rem 1.75rem;
        /* Safe area pour le home bar iOS */
        padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
        animation: slideUpMobile 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes slideUpMobile {
        from {
            transform: translateY(100%);
        }

        to {
            transform: translateY(0);
        }
    }

    /* Poignée visuelle */
    .modal-container::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 2px;
        margin: 0 auto 1.25rem;
    }

    .modal-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }

    /* ---- Header ---- */
    .modal-header {
        margin-bottom: 1.25rem;
    }

    .modal-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }

    .modal-header p {
        font-size: 0.9rem;
    }

    /* ---- Step title ---- */
    .step-title {
        gap: 10px;
        margin-bottom: 16px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
        flex-shrink: 0;
    }

    .step-title h3 {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .step-subtitle {
        font-size: 13px;
        margin-bottom: 14px;
    }

    /* ---- People selector ---- */
    .people-selector-large {
        gap: 14px;
        margin: 18px 0;
    }

    .people-selector-large .btn-minus,
    .people-selector-large .btn-plus {
        width: 52px;
        height: 52px;
        font-size: 26px;
        /* Grande zone de tap */
        min-width: 52px;
    }

    .people-selector-large input {
        width: 72px;
        height: 56px;
        font-size: 28px;
    }

    .helper-text {
        font-size: 12px;
        margin-top: 10px;
    }

    /* ---- Service cards : 1 colonne ---- */
    .service-cards {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 14px;
    }

    .service-card {
        padding: 16px 14px;
        border-radius: 14px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .service-card-evening {
        padding-top: 16px;
    }

    .service-card .service-icon {
        font-size: 28px;
        margin-bottom: 0;
    }

    .service-card h4 {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    .service-card .service-hours {
        font-size: 13px;
        margin: 0;
    }

    .service-card .service-desc {
        display: none;
        /* Masquer la description sur mobile pour gagner de l'espace */
    }

    .service-card .service-badge {
        position: static;
        font-size: 9px;
        padding: 3px 7px;
        align-self: flex-start;
    }

    /* ---- Calendrier ---- */
    .calendar-container {
        padding: 14px 10px;
        margin: 14px 0;
        border-radius: 12px;
    }

    .calendar-header {
        margin-bottom: 14px;
    }

    .calendar-header h3 {
        font-size: 15px;
    }

    .btn-nav {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .calendar-grid {
        gap: 4px;
    }

    .calendar-weekday {
        font-size: 11px;
        padding: 6px 0;
    }

    .calendar-day {
        border-radius: 8px;
        font-size: 13px;
        /* Garantir une zone de tap suffisante */
        min-height: 36px;
    }

    /* Légende : horizontale compacte */
    .calendar-legend {
        gap: 12px;
        margin-top: 12px;
        justify-content: center;
    }

    .legend-item {
        font-size: 11px;
        gap: 5px;
    }

    .legend-dot {
        width: 12px;
        height: 12px;
    }

    /* ---- Disponibilités par service (step3) ---- */
    .services-availability {
        gap: 10px;
    }

    .service-card {
        padding: 14px 12px;
    }

    .service-card h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .service-card p {
        font-size: 13px;
    }

    .service-badge {
        top: 12px;
        right: 12px;
        font-size: 11px;
        padding: 4px 9px;
    }

    /* ---- Time slots ---- */
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 14px;
    }

    .time-slot {
        padding: 14px 6px;
        font-size: 14px;
        border-radius: 10px;
        min-height: 48px;
    }

    /* ---- Récap de sélection ---- */
    .selection-badge {
        gap: 6px;
        padding: 8px;
        margin-bottom: 14px;
    }

    .badge-item {
        font-size: 12px;
        padding: 5px 10px;
    }

    .reservation-summary {
        gap: 10px;
        padding: 12px 14px;
        margin-bottom: 18px;
    }

    .summary-item span:last-child {
        font-size: 13px;
    }

    .summary-icon {
        font-size: 16px;
    }

    /* ---- Formulaire (step5) ---- */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    label {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }

    input,
    select,
    textarea {
        padding: 13px 14px;
        font-size: 16px;
        /* Empêche le zoom auto iOS */
        border-radius: 10px;
    }

    textarea {
        min-height: 70px;
    }

    /* ---- Bouton retour ---- */
    .btn-back {
        font-size: 13px;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    /* ---- Boutons d'action ---- */
    .btn {
        min-height: 50px;
        font-size: 1rem;
    }

    .btn-full {
        width: 100%;
        margin-top: 0.75rem;
    }

    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* ---- Modal footer ---- */
    .modal-footer {
        margin-top: 1rem;
        font-size: 0.8rem;
    }

    /* ---- Téléphone ---- */
    .reservation-phone {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }

    .phone-link {
        font-size: 1.1rem;
    }

    /* ---- Options réservation (card externes) ---- */
    .res-option-card {
        padding: 1.1rem;
        margin-bottom: 1rem;
        border-radius: 14px;
    }

    .res-option-icon {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
        margin-right: 1rem;
    }

    .res-option-info h3 {
        font-size: 0.9rem;
    }

    .res-option-info p {
        font-size: 1.1rem;
    }
}

/* ---- Très petits écrans (< 380px) ---- */
@media (max-width: 380px) {
    .modal-container {
        padding: 1.25rem 1rem 1.5rem;
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    }

    .calendar-day {
        font-size: 12px;
        min-height: 32px;
    }

    .calendar-weekday {
        font-size: 10px;
    }

    .people-selector-large .btn-minus,
    .people-selector-large .btn-plus {
        width: 46px;
        height: 46px;
    }

    .people-selector-large input {
        width: 60px;
        height: 50px;
        font-size: 24px;
    }

    .time-slot {
        font-size: 13px;
        padding: 12px 4px;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }
}

/* ---- Scroll interne fluide dans la modal ---- */
@media (max-width: 640px) {
    .modal-container {
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .calendar-container {
        overflow: hidden;
    }
}

/* ========================================
   FIX : CONFLIT NAV MENU 992px / 768px
   Le bloc 768px écrasait le menu fullscreen
   avec position:absolute et une variable
   inexistante (--white-casse).
   Ce bloc rétablit le comportement correct.
   ======================================== */
@media (max-width: 768px) {

    /* Rétablir le menu fullscreen correct */
    .nav-menu {
        /* Annuler le display:none du bloc 768px —
           la visibilité est gérée par translateX */
        display: flex !important;
    }

    .nav-menu.active {
        /* Fullscreen, pas un dropdown */
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: linear-gradient(180deg, var(--ty-navy) 0%, #0d1117 100%) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 80px 2rem 40px !important;
        transform: translateX(0) !important;
    }

    /* Couleurs correctes des liens */
    .nav-menu.active a {
        color: var(--ty-cream) !important;
    }

    .nav-menu.active .mobile-phone-link {
        color: var(--ty-caramel) !important;
    }

    /* Section infos téléphone toujours visible */
    .nav-menu.active .nav-menu-info {
        display: flex !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Réserver button toujours visible */
    .nav-menu.active .nav-menu-cta {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Restaurer le slide depuis la droite quand fermé */
    .nav-menu:not(.active) {
        transform: translateX(100%) !important;
    }
}

/* ===== TOUCH OPTIMIZATION ===== */
button,
a,
.btn,
.nav-cta,
.guests-btn,
.menu-tab,
.service-card,
.time-slot,
.calendar-day,
input[type="checkbox"],
input[type="radio"],
label[for],
.nav-toggle,
.scroll-indicator {
    touch-action: manipulation;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    /* Hero zoom — figer l'image */
    .hero-bg {
        animation: none;
        transform: scale(1);
    }

    /* Pulse glow mobile — désactiver */
    .mobile-reserve-btn {
        animation: none;
        box-shadow: 0 4px 25px rgba(179, 134, 98, 0.4);
    }

    /* Scroll indicator — désactiver */
    .scroll-indicator-arrow {
        animation: none;
    }
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    padding: 80px 0;
    background: var(--bg-alt);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(179, 134, 98, 0.15);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(179, 134, 98, 0.3);
}

.faq-item[open] {
    border-color: var(--ty-caramel);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    font-family: 'Barlow Condensed', 'Barlow', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--ty-caramel);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-answer a {
    color: var(--ty-caramel);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 20px 16px;
        font-size: 0.9rem;
    }
}