
/* ========================================
   La Bécassine — Style principal
   Inspiré de jfvegancafe.com, adapté
   ======================================== */

:root {
    --color-bg: #0c1117;
    --color-surface: #141b24;
    --color-surface-light: #1c2530;
    --color-text: #f4f1ea;
    --color-text-muted: #b0a99a;
    --color-accent: #c9a962;
    --color-accent-light: #e8d5a3;
    --color-cta: #c9a962;
    --color-cta-hover: #b89a52;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
}

html.lenis, html.lenis body {
    height: auto;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.is-loading {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.container.narrow {
    max-width: 900px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
}

/* ========================================
   Intro overlay
   ======================================== */

.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    pointer-events: none;
}

.intro-frame {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
}

.frame-1 { background-image: url('../assets/photo1.webp'); }
.frame-2 { background-image: url('../assets/2.webp'); }
.frame-3 { background-image: url('../assets/3.webp'); }
.frame-4 { background-image: url('../assets/4.webp'); }

.intro-logo {
    position: relative;
    z-index: 10;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.85);
    border: 3px solid var(--color-accent);
}

.intro-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Header
   ======================================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 40px;
}

.nav-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.left-menu ul,
.right-menu ul {
    display: flex;
    align-items: center;
    gap: 46px;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-top: 12px;
}

.left-menu a,
.right-menu a {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-text);
    transition: opacity var(--transition);
}

.left-menu a:hover,
.right-menu a:hover {
    opacity: 0.7;
}

.logo-text {
    text-align: center;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.95;
}

.logo-line1 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.logo-line2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-text);
    transition: transform var(--transition), opacity var(--transition);
}

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

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

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

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 2rem;
}

.mobile-menu .btn {
    margin-top: 16px;
}

/* ========================================
   Hero
   ======================================== */

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

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(12, 17, 23, 0.35), rgba(12, 17, 23, 0.55));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 140px 24px 160px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6.5vw, 6.5rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--color-text);
    margin-bottom: 60px;
}

.hero-menu-btn {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
    margin-top: auto;
}

.hero-menu-btn::before,
.hero-menu-btn::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.hero-menu-btn::before {
    width: 136px;
    height: 136px;
}

.hero-menu-btn::after {
    width: 152px;
    height: 152px;
}

.hero-menu-btn:hover {
    border-color: var(--color-text);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.hero-menu-btn-text {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.5;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--color-cta);
    color: var(--color-bg);
}

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

.btn-outline {
    background: transparent;
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn-outline:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

/* ========================================
   Split text animation base state
   ======================================== */

.split-text-scroll .char {
    display: inline-block;
    opacity: 0;
    transform: translate(0, -15%) scale(0.7, 1);
    transform-origin: 50% 0%;
    will-change: opacity, transform;
}

.split-text-scroll .word {
    display: inline-block;
    white-space: nowrap;
}

/* ========================================
   About
   ======================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-stack {
    position: relative;
    min-height: 520px;
}

.about-img {
    position: absolute;
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.about-img-1 {
    width: 70%;
    height: 75%;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-img-2 {
    width: 60%;
    height: 55%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 4px solid var(--color-bg);
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--color-accent);
    font-weight: 500;
    transition: gap var(--transition);
}

.link-arrow::after {
    content: '→';
    transition: transform var(--transition);
}

.link-arrow:hover {
    gap: 14px;
}

/* ========================================
   Statement
   ======================================== */

.statement {
    background: var(--color-surface);
    text-align: center;
    padding: 140px 0;
}

.statement-text {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--color-text);
    line-height: 1.35;
}

/* ========================================
   Menu — style cartes clair (inspiré Just Falafel)
   ======================================== */

.menu-light {
    background: #faf8f4;
    color: #1a1a1a;
}

.menu-light .section-header h2,
.menu-light .section-label,
.menu-light .menu-category-title,
.menu-light .menu-item-header h4 {
    color: #1a1a1a;
}

.menu-light .section-header p,
.menu-light .menu-category-subtitle,
.menu-light .menu-item-desc,
.menu-light .menu-category-note {
    color: #555;
}

.menu-light .section-label {
    color: var(--color-accent);
}

/* Category navigation */
.menu-category-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px 0;
    margin-bottom: 48px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: linear-gradient(to bottom, #faf8f4 70%, transparent);
}

.menu-category-nav::-webkit-scrollbar {
    display: none;
}

.menu-category-nav a {
    flex: 0 0 auto;
    padding: 10px 18px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #555;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    transition: all var(--transition);
    white-space: nowrap;
}

.menu-category-nav a:hover,
.menu-category-nav a:focus {
    color: #fff;
    background: var(--color-accent);
    border-color: var(--color-accent);
}

/* Menu sections */
.menu-sections {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.menu-category {
    scroll-margin-top: 90px;
}

.menu-category-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-family: var(--font-heading);
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201, 169, 98, 0.35);
}

.menu-category-subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.menu-category-note {
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 20px;
    padding: 14px 18px;
    background: rgba(201, 169, 98, 0.1);
    border-left: 3px solid var(--color-accent);
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Cards grid */
.menu-items-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.menu-item-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

.menu-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.menu-item-card-featured {
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.18);
}

.menu-item-card-featured:hover {
    box-shadow: 0 16px 40px rgba(201, 169, 98, 0.22);
}

.menu-item-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

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

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

.menu-item-card-content {
    padding: 20px 22px 24px;
    text-align: center;
}

.menu-item-card-content .menu-item-header {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.menu-item-card-content .menu-item-header h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.menu-item-price {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-accent);
    white-space: nowrap;
}

.menu-item-card-content .menu-item-desc {
    font-size: 0.82rem;
    line-height: 1.55;
    max-width: 280px;
    margin: 0 auto;
}

.menu-legal-note {
    text-align: center;
    font-size: 0.75rem;
    color: #777;
    margin-top: 64px;
}

@media (max-width: 1024px) {
    .menu-items-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-items-grid-cards {
        grid-template-columns: 1fr;
    }

    .menu-category-nav {
        justify-content: flex-start;
        margin-bottom: 32px;
    }
}

/* ========================================
   Gallery
   ======================================== */

.gallery {
    background: var(--color-surface);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.gallery-item:first-child {
    aspect-ratio: auto;
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* ========================================
   Video section
   ======================================== */

.video-section {
    padding: 0;
    background: var(--color-bg);
}

.video-container {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drift-video {
    position: absolute;
    inset: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    opacity: 0.7;
}

.video-caption {
    position: relative;
    z-index: 2;
    text-align: center;
}

.video-caption p {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 8px;
}

.video-caption span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
}

/* ========================================
   Reviews
   ======================================== */

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

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid rgba(201, 169, 98, 0.1);
    transition: border-color var(--transition);
}

.review-card:hover {
    border-color: rgba(201, 169, 98, 0.3);
}

.review-stars {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 0.15em;
}

.review-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.7;
}

.review-author {
    font-size: 0.85rem;
    color: var(--color-text);
    font-weight: 500;
}

/* ========================================
   Contact
   ======================================== */

.contact {
    background: var(--color-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.contact-block {
    margin-bottom: 32px;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.contact-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition);
}

.contact-link:hover {
    color: var(--color-accent);
}

.contact-image {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

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

.site-footer {
    background: var(--color-bg);
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-leaf {
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 280px;
    height: 280px;
    opacity: 0.2;
    transform: translateX(150%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 64px;
}

.footer-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent);
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--color-text-muted);
    max-width: 300px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-contact a {
    display: block;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--color-text);
}

.footer-contact p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-credit a {
    color: var(--color-accent);
}

/* ========================================
   Reveal animation helper classes
   ======================================== */

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-item {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-item.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .gallery-item:first-child {
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }

    .left-menu ul,
    .right-menu ul {
        gap: 28px;
    }

    .site-header {
        padding: 24px;
    }
}

@media (max-width: 860px) {
    .left-menu,
    .right-menu {
        display: none;
    }

    .logo-text {
        margin: 0 auto;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-inner {
        justify-content: space-between;
    }
}

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

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 4rem);
        margin-bottom: 40px;
    }

    .hero-menu-btn {
        width: 100px;
        height: 100px;
    }

    .hero-menu-btn::before {
        width: 114px;
        height: 114px;
    }

    .hero-menu-btn::after {
        width: 128px;
        height: 128px;
    }

    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-stack {
        min-height: 360px;
    }

    .about-img-1 {
        width: 80%;
        height: 65%;
    }

    .about-img-2 {
        width: 65%;
        height: 50%;
    }

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

    .menu-card-image {
        aspect-ratio: 16 / 9;
    }

    .menu-highlights {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .highlight {
        padding: 24px 16px;
    }

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

    .video-container {
        height: 60vh;
        min-height: 360px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 18px 16px;
    }

    .logo-line1 {
        font-size: 0.9rem;
    }

    .logo-line2 {
        font-size: 1.45rem;
    }

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

    .review-card {
        padding: 24px;
    }

    .hero-content {
        padding-top: 120px;
        padding-bottom: 140px;
    }
}
