/* bento.css - Architecture Premium */
.bento-box {
    padding: 80px 0;
    background: var(--bg-cream);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
}

.bento-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.bento-card.image-card { padding: 0; }
.bento-card.image-card img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease;
}
.bento-card.image-card:hover img { transform: scale(1.05); }

.bento-card.highlight {
    background: var(--primary);
    color: var(--white);
}

.bento-span-2 { grid-column: span 2; }
.bento-row-2 { grid-row: span 2; }

.bento-card h3 {
    font-size: 2.5rem; line-height: 1.1; margin-bottom: 1rem;
    font-family: var(--font-heading); color: inherit;
}
.bento-card h3.primary-text { color: var(--primary); }

.bento-card p { font-size: 1.1rem; opacity: 0.9; }

/* ===== Hero split — animations CSS pures ===== */

/* Logo wrapper : entrée (décalé après la bulle) */
.hero-logo-wrap {
    animation: heroFadeIn 0.9s ease 0.9s both;
}

/* Logo : flottement doux (décalé après l'entrée) */
.hero-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.3));
    animation: heroLogoFloat 8s ease-in-out 1.6s infinite;
}

/* Séparateur ornemental blanc sur terracotta */
.hero-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
    margin: 1.2rem auto 1rem;
    opacity: 0;
    animation: heroFadeIn 1s ease 1.3s both;
}

/* Tagline */
.hero-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.03em;
    margin: 0;
    opacity: 0;
    animation: heroFadeUp 1s ease 1.6s both;
}

/* Boutons */
.hero-cta {
    margin-top: 1.6rem;
    opacity: 0;
    animation: heroFadeUp 1s ease 1.95s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

/* Boutons dans le cercle — pleine largeur, compacts */
.hero-btn-reserve,
.hero-btn-menu {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
}

.hero-btn-reserve {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
    font-weight: 700;
}
.hero-btn-reserve:hover {
    background: transparent;
    color: var(--white);
}

.hero-btn-menu {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.45);
}
.hero-btn-menu:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

/* Keyframes */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-7px); }
}

/* ===== Hero Mosaïque plein écran ===== */

.hero-mosaic {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3px;
    overflow: hidden;
    z-index: 1;
}

.hero-mosaic-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
    will-change: transform;
}

.hero-mosaic-col img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

/* 6 colonnes — vitesses et décalages variés */
.hero-mosaic-col--1 { animation: mosaicUp 110s linear infinite; }
.hero-mosaic-col--2 { animation: mosaicUp 145s linear infinite; animation-delay: -45s; }
.hero-mosaic-col--3 { animation: mosaicUp  85s linear infinite; animation-delay: -18s; }
.hero-mosaic-col--4 { animation: mosaicUp 125s linear infinite; animation-delay: -60s; }
.hero-mosaic-col--5 { animation: mosaicUp  98s linear infinite; animation-delay: -32s; }
.hero-mosaic-col--6 { animation: mosaicUp 118s linear infinite; animation-delay: -10s; }

@keyframes mosaicUp {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

/* ===== Bulle circulaire centrale ===== */

.hero-bubble {
    position: relative;
    z-index: 10;
    background: var(--primary);
    border-radius: 50%;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem;
    text-align: center;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    overflow: hidden;
    flex-shrink: 0;
    opacity: 0;
    animation: heroBubbleIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

/* Cercles décoratifs clippés par le cercle */
.hero-bubble::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    bottom: -140px;
    right: -120px;
    pointer-events: none;
    animation: heroCirclePulse 12s ease-in-out infinite;
}
.hero-bubble::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    top: -70px;
    left: -60px;
    pointer-events: none;
    animation: heroCirclePulse 12s ease-in-out 4s infinite;
}

@keyframes heroBubbleIn {
    from { opacity: 0; transform: scale(0.82); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes heroCirclePulse {
    0%, 100% { transform: scale(1);    opacity: 0.5; }
    50%       { transform: scale(1.08); opacity: 1; }
}

/* ===== Texte circulaire tournant autour de la bulle ===== */

.hero-bubble-container {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 520px;
    height: 520px;
    pointer-events: none;
    z-index: 11;
    animation: heroFadeIn 1s ease 1.8s both, rotateRingText 70s linear infinite;
}

.hero-ring-text text {
    fill: rgba(255, 255, 255, 0.92);
    font-family: 'Outfit', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 5px;
}

@keyframes rotateRingText {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 768px) {
    .hero-ring-text {
        width: 348px;
        height: 348px;
    }
}

/* Texte discret en bas à droite */
.hero-mosaic-caption {
    position: absolute;
    bottom: 2.2rem;
    right: 3rem;
    z-index: 10;
    text-align: right;
    opacity: 0;
    animation: heroFadeIn 1s ease 1.8s both;
}

.hero-mosaic-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-mosaic-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .hero-bubble {
        width: 280px;
        height: 280px;
        padding: 2.5rem;
    }
    .hero-logo { max-width: 190px; }
    .hero-mosaic { grid-template-columns: repeat(3, 1fr); }
    .hero-mosaic-caption { bottom: 1rem; right: 1.2rem; }
}

/* Giant Hero */
.hero-huge h1 {
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.hero-huge .subtitle { font-size: clamp(1.2rem, 2vw, 1.8rem); font-family: var(--font-heading); font-style: italic; }


/* Masonry Art Gallery */
.masonry-grid { 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem; 
}
.masonry-item { 
    border-radius: var(--radius-xl); 
    overflow: hidden; 
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}
.masonry-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); filter: grayscale(30%) contrast(1.1); }
.masonry-item:hover img { transform: scale(1.08); filter: grayscale(0%) contrast(1.2); }

/* Belles proportions de galerie sur 4 items */
.masonry-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.masonry-item:nth-child(2) { grid-column: span 1; grid-row: span 1; }
.masonry-item:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.masonry-item:nth-child(4) { grid-column: span 3; grid-row: span 1; }

/* Mobile Drawer */
.mobile-drawer {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(8, 7, 6, 0.98); backdrop-filter: blur(25px);
    z-index: 999; padding: 120px 30px 60px; display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 1.8rem;
    transform: translateX(100%); transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a {
    font-size: 2.2rem; font-family: var(--font-heading); color: var(--text-main);
    transition: color 0.3s;
}
.mobile-drawer a:hover { color: var(--primary); }
.mobile-drawer .drawer-reserve {
    margin-top: 1rem;
    background: var(--primary); color: var(--white);
    padding: 0.8rem 2.5rem; border-radius: var(--radius-pill);
    font-size: 1rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase;
}
.mobile-toggle { z-index: 1002; position: relative; }
.mobile-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Feature Split Section */
.feature-section { padding: 120px 0; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-image img { border-radius: var(--radius-xl); box-shadow: 0 20px 50px rgba(0,0,0,0.1); width: 100%; }
.feature-content h2 { font-size: 3.5rem; line-height: 1; margin-bottom: 2rem; font-family: var(--font-heading); color: var(--primary); }
.feature-content h2 span { color: var(--text-main); font-style: italic; }
.feature-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; }
.feature-content.reverse { order: -1; }

/* Reviews Section */
.reviews-section { padding: 100px 0; background: transparent; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.review-card {
    background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(25px);
    padding: 3rem; border-radius: var(--radius-xl);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease; position: relative;
    overflow: hidden;
}
.review-card::before {
    content: '"'; position: absolute; top: 10px; right: 30px;
    font-size: 8rem; font-family: var(--font-heading); color: rgba(255,255,255,0.03);
    z-index: 0; line-height: 1; pointer-events: none;
}
.review-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.15); box-shadow: 0 20px 50px rgba(187, 59, 23, 0.15); }
.review-card .stars { color: #f1c40f; font-size: 1.3rem; margin-bottom: 1.5rem; letter-spacing: 3px; position: relative; z-index: 1;}
.review-card .review-text { font-style: italic; color: var(--text-main); margin-bottom: 2rem; font-size: 1.1rem; line-height: 1.7; position: relative; z-index: 1;}
.review-card .review-author { font-weight: 700; color: var(--primary); font-family: var(--font-heading); font-size: 1.3rem; position: relative; z-index: 1;}

/* Opening Hours */
.opening-hours-section { padding: 60px 0; }
.hours-card {
    background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(20px);
    border-radius: var(--radius-xl); padding: 4rem; max-width: 800px; margin: 0 auto;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 20px 50px rgba(0,0,0,0.5);
}
.hours-content h2 { font-size: 3rem; margin-bottom: 2.5rem; text-align: center; color: var(--primary); font-family: var(--font-heading); }
.hours-content h2 span { font-style: italic; color: var(--text-main); }
.hours-list { list-style: none; padding: 0; }
.hours-list li {
    display: flex; justify-content: space-between; padding: 1.2rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05); font-size: 1.2rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li .day { font-weight: 600; color: var(--text-main); letter-spacing: 1px; }
.hours-list li .time { color: var(--text-muted); }
.hours-list li.closed { opacity: 0.4; pointer-events: none;}
.hours-list li.highlight { background: rgba(187, 59, 23, 0.15); border-radius: var(--radius-md); padding: 1.2rem 1.5rem; margin-top: 1rem; border: 1px solid rgba(187,59,23,0.3);}
.hours-list li.highlight .day { color: var(--primary-light); }

/* Section Dividers Subtiles */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    width: 60%;
    margin: 0 auto;
}

/* Menu Brasserie Premium Cards */
.menu-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.menu-list li {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.02);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.menu-list li:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.menu-list .item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 0.75rem;
}

.menu-list .item-header .name { font-weight: 700; color: var(--text-main); }
.menu-list .item-header .price { font-weight: 700; color: var(--primary); font-size: 1.2rem; }
.menu-list .desc { color: var(--text-muted); font-size: 1rem; line-height: 1.5; margin: 0; }

/* Contact / Horaires Hub */
.contact-hub-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.02);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-body);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* Float Animations */
@keyframes floatAnim {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.floating-img {
    animation: floatAnim 6s ease-in-out infinite;
}

/* Eyebrow Label */
.eyebrow {
    display: block;
    width: fit-content;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.2rem;
    padding: 0.35rem 1.1rem;
    border: 1px solid rgba(187,59,23,0.35);
    border-radius: var(--radius-pill);
    background: rgba(187,59,23,0.08);
}

.section-header.center .eyebrow,
.center .eyebrow {
    margin-left: auto;
    margin-right: auto;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0;
    animation: heroFadeIn 1s ease 2.4s both, heroScrollBounce 2.8s ease-in-out 3.4s infinite;
}
.hero-scroll svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.55);
    transition: stroke 0.3s;
}
.hero-scroll:hover svg { stroke: rgba(255, 255, 255, 0.9); }
@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* CTA Reservation Strip */
.cta-reserve-strip {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-reserve-strip::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 25% 50%, rgba(255,255,255,0.07) 0%, transparent 55%);
    pointer-events: none;
}
.cta-reserve-strip h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}
.cta-reserve-strip p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.btn-white {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
    font-weight: 700;
    position: relative;
}
.btn-white:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
}

/* Bento section header */
.bento-header {
    text-align: center;
    margin-bottom: 4rem;
}
.bento-header .section-title {
    display: inline-block;
}

/* Responsive */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .masonry-grid { column-count: 2; }
    .contact-hub-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-span-2, .bento-row-2 { grid-column: span 1; grid-row: span 1; }
    .masonry-grid { column-count: 1; }
    .feature-grid { grid-template-columns: 1fr; gap: 2rem; }
    .feature-content.reverse { order: 0; }
    .feature-content h2 { font-size: 2.5rem; }
    .reviews-grid { grid-template-columns: 1fr; }
}
