/*
Made by__         ___           ___           ___     
      /__/\       /  /\         /  /\         /  /\    
      \  \:\     /  /::\       /  /::\       /  /:/_   
       \__\:\   /  /:/\:\     /  /:/\:\     /  /:/ /\  
   ___ /  /::\ /  /:/  \:\   ___     ___   /  /:/  \:\   /  /:/ /::\ 
  /__/\  /:/\:\  /__/:/ \__\:\ /__/\   /  /\ /__/:/ \__\:\ /__/:/ /:/\:\
  \  \:\/:/__\/ \  \:\ /  /:/ \  \:\ /  /:/ \  \:\ /  /:/ \  \:\/:/~/:/
   \  \::/       \  \:\  /:/   \  \:\  /:/   \  \:\  /:/   \  \::/ /:/ 
    \  \:\        \  \:\/:/     \  \:\/:/     \  \:\/:/     \__\/ /:/  
     \  \:\        \  \::/       \  \::/       \  \::/        /__/:/   
      \__\/         \__\/         \__\/         \__\/         \__\/_Gouriou Axel
                                      - Built for reality -
*/

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

:root {
    --noir: #1a1a1a;
    --noir-mat: #2d2d2d;
    --bois: #d4a574;
    --bois-clair: #e8c9a0;
    --blanc: #ffffff;
    --gris-clair: #f5f5f5;
    --gris-texte: #e8e8e8;
    --accent-holos: #ff5b14;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;

    --transition: 0.3s ease;
    --radius: 10px;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-sans);
    color: var(--noir);
    background: var(--blanc);
    line-height: 1.5;
    overflow-x: hidden;
}

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

ul { list-style: none; }

a { color: inherit; }

/* ============================================================
   ACCESSIBILITÉ
   ============================================================ */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--noir);
    color: var(--blanc);
    padding: 0.75rem 1rem;
    text-decoration: none;
    z-index: 1000;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

:focus-visible {
    outline: 3px solid var(--bois);
    outline-offset: 3px;
    border-radius: 3px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--noir) 0%, var(--noir-mat) 100%);
    overflow: hidden;
    padding: 2rem 1rem 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.01) 2px, rgba(255,255,255,0.01) 4px),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.01) 2px, rgba(255,255,255,0.01) 4px);
    pointer-events: none;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--blanc);
    max-width: 700px;
}

.logo {
    display: block;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.logo-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 10px 30px rgba(212, 165, 116, 0.3));
}

.logo-subtitle {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bois-clair);
    margin-top: 1rem;
    font-weight: 400;
}

.tagline {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blanc);
    margin: 2rem 0 3rem;
    font-weight: 300;
}

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

.hero-address {
    margin-top: 2rem;
}

.hero-address a {
    color: var(--bois-clair);
    text-decoration: none;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 5px;
    background: rgba(212, 165, 116, 0.1);
    transition: all var(--transition);
}

.hero-address a:hover {
    color: var(--blanc);
    border-color: var(--bois);
    background: rgba(212, 165, 116, 0.2);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-sans);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--bois);
    color: var(--noir);
    border-color: var(--bois);
}
.btn-primary:hover {
    background: var(--bois-clair);
    border-color: var(--bois-clair);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--blanc);
    border-color: var(--bois);
}
.btn-secondary:hover {
    background: var(--bois);
    color: var(--noir);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--bois);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--bois);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0% { transform: translateX(-50%) translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* ============================================================
   SECTIONS : TITRES COMMUNS
   ============================================================ */
.carousel-section,
.menu-section,
.reviews-section {
    padding: 5rem 1.5rem;
}

.carousel-section > h2,
.menu-section > h2,
.reviews-section > h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel-section {
    background: var(--gris-clair);
}

.carousel {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 4rem 2rem 1.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    color: var(--blanc);
    pointer-events: none;
}

.carousel-caption h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 165, 116, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--noir);
    font-size: 1.8rem;
    line-height: 1;
    transition: all var(--transition);
}
.carousel-btn:hover {
    background: var(--bois-clair);
    transform: translateY(-50%) scale(1.1);
}
.carousel-btn--prev { left: 1rem; }
.carousel-btn--next { right: 1rem; }

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--noir-mat);
    opacity: 0.3;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition);
}
.carousel-indicator.is-active {
    opacity: 1;
    background: var(--bois);
    transform: scale(1.3);
}

/* ============================================================
   MENU
   ============================================================ */
.menu-section {
    background: var(--blanc);
}

.menu-intro {
    text-align: center;
    max-width: 700px;
    margin: -2rem auto 4rem;
    color: var(--noir-mat);
    font-size: 1.1rem;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0 auto 4rem;
    max-width: 1000px;
}

.category-btn {
    padding: 0.8rem 1.75rem;
    background: transparent;
    border: 2px solid var(--noir);
    color: var(--noir);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--font-sans);
    transition: all var(--transition);
}

.category-btn:hover,
.category-btn.is-active {
    background: var(--bois);
    border-color: var(--bois);
    color: var(--noir);
    transform: translateY(-2px);
}

.menu-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.menu-category[hidden] {
    display: none;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: var(--gris-clair);
    padding: 2rem;
    border-left: 4px solid var(--bois);
    transition: all var(--transition);
}
.menu-item:hover {
    transform: translateX(10px);
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.1);
}

.menu-item h3,
.menu-item h4 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--noir);
}
.menu-item h4 { font-size: 1.5rem; }

.menu-item .price {
    font-size: 1.2rem;
    color: var(--bois);
    font-weight: 600;
    margin-bottom: 1rem;
}

.menu-item ul {
    margin-top: 0.5rem;
}

.menu-item li {
    padding: 0.4rem 0 0.4rem 1.2rem;
    color: var(--noir-mat);
    font-size: 0.95rem;
    position: relative;
}
.menu-item li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 0.55rem;
    color: var(--bois);
    font-size: 0.7rem;
}

.menu-note {
    font-size: 0.9rem;
    color: var(--noir-mat);
    font-style: italic;
    margin-top: 0.5rem;
}
.menu-note--centered {
    text-align: center;
    margin-bottom: 2rem;
}

.menu-subtitle {
    text-align: center;
    margin: 3rem 0 1rem;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--bois);
}

/* ============================================================
   AVIS
   ============================================================ */
.reviews-section {
    background: var(--noir);
    color: var(--blanc);
}

.reviews-section > h2 {
    color: var(--bois-clair);
}

.reviews-widget {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.reviews-widget iframe {
    display: block;
    margin: 0 auto;
    border: 0;
    overflow: hidden;
}

.google-link {
    text-align: center;
    margin-top: 3rem;
}

.google-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bois-clair);
    text-decoration: none;
    font-size: 1.05rem;
    transition: all var(--transition);
}
.google-link a:hover {
    color: var(--blanc);
    transform: scale(1.03);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--noir-mat);
    color: var(--blanc);
    padding: 4rem 1.5rem 2rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

.footer-section h2 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--bois-clair);
}

.footer-section p,
.footer-section a {
    color: var(--gris-texte);
    text-decoration: none;
    line-height: 1.8;
    transition: color var(--transition);
}

.footer-hours-note {
    font-style: italic;
}

.footer-section a:hover {
    color: var(--bois-clair);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    border: 2px solid var(--bois);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
}
.social-links a:hover {
    background: var(--bois);
    color: var(--noir);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    color: var(--gris-texte);
    font-size: 0.9rem;
}

.footer-sep {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.footer-credit {
    text-decoration: none;
    color: inherit;
}
.footer-credit strong {
    color: var(--accent-holos);
    font-weight: 700;
}
.footer-credit:hover strong {
    text-decoration: underline;
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .carousel-section,
    .menu-section,
    .reviews-section {
        padding: 3.5rem 1rem;
    }

    .logo-image { max-width: 300px; }
    .logo-subtitle { font-size: 0.75rem; }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

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

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    .carousel-btn--prev { left: 0.5rem; }
    .carousel-btn--next { right: 0.5rem; }

    .reviews-widget iframe { height: 270px; }

    .menu-item:hover { transform: none; }
}


/* ============================================================
   MENU V2 — scopé, variables locales, spécificité forcée
   ============================================================ */
.menu-v2 {
    /* Variables LOCALES : n'écrasent pas celles du footer/reviews */
    --v2-text:      #1a1a1a;
    --v2-muted:     #6b6b6b;
    --v2-line:      #e4e4e4;
    --v2-bois:      #c4986c;
    --v2-bois-soft: #d4a574;

    padding: 5rem 1.5rem;
    background: #ffffff;
    max-width: 1400px;
    margin: 0 auto;
    color: var(--v2-text);
}

.menu-v2-header { text-align: center; margin-bottom: 4rem; }
.menu-v2-header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--v2-text);
    margin-bottom: 0.75rem;
}
.menu-v2-header h2::after {
    content: ''; display: block;
    width: 60px; height: 1px;
    background: var(--v2-bois);
    margin: 1.25rem auto 0;
}
.menu-v2-header p {
    color: var(--v2-muted);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}

.menu-v2-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* ---------- NAV DESKTOP ---------- */
.menu-v2 .menu-v2-nav {
    position: sticky;
    top: 2rem;
    align-self: start;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}
.menu-v2 .menu-v2-nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.menu-v2 .menu-v2-nav li { margin: 0; }

.menu-v2 .menu-v2-nav a {
    display: block;
    padding: 0.7rem 0 0.7rem 1rem;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--v2-muted);
    border-left: 2px solid var(--v2-line);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, border-width 0.2s ease;
}
.menu-v2 .menu-v2-nav a:hover {
    color: var(--v2-text);
    border-left-color: var(--v2-bois-soft);
}
.menu-v2 .menu-v2-nav a.is-active,
.menu-v2 .menu-v2-nav a.is-active:hover {
    color: var(--v2-text) !important;
    border-left: 3px solid var(--v2-bois) !important;
    padding-left: calc(1rem - 1px);
    font-weight: 700;
}

/* ---------- CONTENU ---------- */
.menu-v2-content { min-width: 0; }

/* Onglets : une seule section visible */
.menu-v2-section {
    display: none;
    scroll-margin-top: 2rem;
    animation: menuV2FadeIn 0.35s ease;
}
.menu-v2-section.is-visible {
    display: block;
}

@keyframes menuV2FadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.menu-v2 .menu-v2-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--v2-text);
    letter-spacing: 0.03em;
    margin: 0 0 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--v2-line);
    position: relative;
}
.menu-v2 .menu-v2-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: -1px;
    width: 50px; height: 2px;
    background: var(--v2-bois);
}

.menu-v2 .menu-v2-subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--v2-bois);
    margin: 2rem 0 0.75rem;
}

.menu-v2 .menu-v2-note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--v2-muted);
    margin: 0.5rem 0 1.5rem;
}

.menu-v2 .menu-v2-row {
    padding: 1rem 0;
    border-bottom: 1px dotted var(--v2-line);
    transition: background 0.2s ease;
}
.menu-v2 .menu-v2-row:last-child { border-bottom: none; }
.menu-v2 .menu-v2-row:hover { background: rgba(196, 152, 108, 0.05); }

.menu-v2 .menu-v2-row-head {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
}
.menu-v2 .menu-v2-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--v2-text) !important;
    flex-shrink: 0;
    max-width: 70%;
}
.menu-v2 .menu-v2-dots {
    flex: 1;
    min-width: 1.5rem;
    border-bottom: 1px dotted var(--v2-bois);
    margin-bottom: 0.35rem;
    opacity: 0.5;
}
.menu-v2 .menu-v2-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--v2-bois) !important;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.menu-v2 .menu-v2-desc {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 0.9rem;
    color: var(--v2-muted) !important;
    margin: 0.35rem 0 0;
    padding-right: 4rem;
    line-height: 1.5;
}

/* ---------- MOBILE : nav horizontale épurée, sans barre grise ---------- */
@media (max-width: 900px) {
    .menu-v2-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .menu-v2 .menu-v2-nav {
        position: sticky;
        top: 0;
        max-height: none;
        background: #ffffff;
        margin: 0 -1.5rem 2.5rem;
        padding: 0.5rem 0;
        z-index: 10;
        /* Pas de border-bottom, pas de box-shadow : juste un fin liseré bois */
        border-top: 1px solid transparent;
        border-bottom: 1px solid var(--v2-line);
    }
    .menu-v2 .menu-v2-nav ul {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 1.5rem;
        gap: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .menu-v2 .menu-v2-nav ul::-webkit-scrollbar { display: none; }

    .menu-v2 .menu-v2-nav a {
        white-space: nowrap;
        padding: 0.6rem 1.1rem;
        border-left: none;
        border-bottom: 2px solid transparent;
        scroll-snap-align: start;
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }
    .menu-v2 .menu-v2-nav a:hover {
        border-left: none;
    }
    .menu-v2 .menu-v2-nav a.is-active,
    .menu-v2 .menu-v2-nav a.is-active:hover {
        border-left: none !important;
        border-bottom: 2px solid var(--v2-bois) !important;
        padding-left: 1.1rem;
    }

    .menu-v2 .menu-v2-title { font-size: 1.75rem; }
    .menu-v2 .menu-v2-name { font-size: 1.1rem; max-width: 60%; }
    .menu-v2 .menu-v2-price { font-size: 1.05rem; }
    .menu-v2 .menu-v2-desc { padding-right: 0; font-size: 0.85rem; }
    .menu-v2-section { margin-bottom: 3.5rem; }
}
