:root {
    --couleur-primaire: 206 73 80;
    --couleur-primaire-hover: 177 53 61;
    --couleur-primaire-clair: 246 224 225;
    --charbon: #18181b;
    --creme: #f7f1e8;
}

body {
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    line-height: 1.65;
}

.font-display,
main h1,
main h2,
main h3 {
    font-family: "Playfair Display", Georgia, serif;
}

.font-label {
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.06em;
}

.eyebrow {
    font-family: "Oswald", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

header nav a:not(.font-display),
footer h3,
footer .flex.flex-col.space-y-3 a {
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.08em;
}

footer h3,
footer .flex.flex-col.space-y-3 a {
    text-transform: uppercase;
}

a.rounded-full.font-bold,
a.rounded-full.font-semibold,
button.rounded-full {
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.05em;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 2px solid rgb(var(--couleur-primaire));
    border-radius: 9999px;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
}

.brand-text {
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.hero-restaurant {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--charbon);
    min-height: min(72vh, 620px);
    display: flex;
    align-items: center;
}

.contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--charbon);
}

.hero-restaurant::before,
.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.contact-hero::before {
    /* Assombrit la photo elle-même avant le voile */
    filter: brightness(0.72);
    background-image: url("content/Brochettes\ sur\ grill.webp");
}

.hero-restaurant::before {
    filter: brightness(0.55);
    background-image: url("content/terasse\ large.webp");
}

.hero-restaurant::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgb(8 8 10 / 0.88) 0%,
        rgb(8 8 10 / 0.72) 38%,
        rgb(8 8 10 / 0.42) 62%,
        rgb(8 8 10 / 0.18) 100%
    );
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(24, 24, 27, 0.94), rgba(24, 24, 27, 0.8)),
        url("content/terrasse vue sur enseigne.webp") center/cover;
}

.contact-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    /* Voile noir uniforme par-dessus la photo (véritable « filtre » recouvrant toute la zone) */
    background-color: rgb(8 8 10 / 0.4);
}

.hero-text-panel {
    position: relative;
    z-index: 1;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.hero-eyebrow::after {
    content: "";
    width: 2.25rem;
    height: 1px;
    background: rgb(var(--couleur-primaire-clair) / 0.65);
}

.hero-text-panel h1 {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.45),
        0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero-text-panel > p:last-of-type {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 2px 12px rgba(0, 0, 0, 0.3);
}

.service-card,
.info-tile,
.contact-card,
.detail-box {
    border: 1px solid rgba(24, 24, 27, 0.08);
    background: #fff;
    box-shadow: 0 20px 50px rgba(24, 24, 27, 0.08);
}

.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 0;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(24, 24, 27, 0.12);
}

.service-card h3,
.info-tile h2 {
    margin-top: 1rem;
    color: #18181b;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.service-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ebe6df;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.service-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.35rem 1.85rem;
}

.service-card-body .icon-badge {
    margin-bottom: 0.65rem;
}

.service-card-body h3 {
    margin-top: 0;
}

.service-card p,
.info-tile p {
    margin-top: 0.75rem;
    color: #52525b;
    line-height: 1.75;
}

.reservation-section {
    position: relative;
}

.reservation-panel {
    overflow: hidden;
    border: 1px solid rgba(var(--couleur-primaire), 0.16);
    border-radius: 1.75rem;
    background:
        linear-gradient(135deg, rgba(var(--couleur-primaire), 0.08), rgba(255, 255, 255, 0) 42%),
        #fff;
    box-shadow: 0 28px 70px rgba(24, 24, 27, 0.12);
    padding: 1rem;
}

.mobile-reservation-cta {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: auto;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 9999px;
    background: rgb(var(--couleur-primaire));
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.95rem 1.25rem;
    box-shadow: 0 18px 45px rgba(24, 24, 27, 0.28);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.mobile-menu-open .mobile-reservation-cta {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(1rem);
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: rgba(var(--couleur-primaire), 0.12);
    color: rgb(var(--couleur-primaire));
    font-size: 1.2rem;
}

.image-stack {
    position: relative;
    min-height: 520px;
}

.image-stack-main {
    width: min(100%, 680px);
    height: 520px;
    object-fit: cover;
    border-radius: 1.75rem;
    box-shadow: 0 30px 70px rgba(24, 24, 27, 0.18);
}

.image-stack-card {
    position: absolute;
    right: 0;
    bottom: -2rem;
    width: min(58%, 360px);
    height: 260px;
    object-fit: cover;
    border: 10px solid #fff;
    border-radius: 1.5rem;
    box-shadow: 0 24px 60px rgba(24, 24, 27, 0.2);
}

.photo-strip {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1fr 0.85fr;
    gap: 1rem;
}

.photo-strip img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 1.4rem;
    box-shadow: 0 24px 55px rgba(24, 24, 27, 0.14);
}

.photo-strip img:nth-child(even) {
    margin-top: 2rem;
}

.detail-box {
    border-radius: 1rem;
    padding: 1.25rem;
}

.detail-box strong,
.detail-box span {
    display: block;
}

.detail-box strong {
    color: rgb(var(--couleur-primaire));
    font-family: "Oswald", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.detail-box span {
    margin-top: 0.4rem;
    color: #52525b;
    line-height: 1.6;
}

.section-dark {
    background:
        linear-gradient(135deg, rgba(24, 24, 27, 0.98), rgba(39, 39, 42, 0.96)),
        repeating-linear-gradient(90deg, transparent 0 16px, rgba(255, 255, 255, 0.03) 16px 17px);
}

.privatisation-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.privatisation-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.25);
}

.privatisation-portrait {
    height: 360px;
    object-fit: cover;
    object-position: center;
    background: rgba(255, 255, 255, 0.06);
}

.privatisation-wide {
    grid-column: 1 / -1;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(var(--couleur-primaire), 0.16);
    border-radius: 9999px;
    background: rgba(var(--couleur-primaire), 0.08);
    color: rgb(var(--couleur-primaire));
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.6rem 1rem;
}

.terrace-gallery {
    display: grid;
    gap: 1rem;
}

.terrace-gallery-main,
.terrace-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 24px 55px rgba(24, 24, 27, 0.14);
}

.terrace-gallery-landscape {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.terrace-gallery-main {
    grid-row: auto;
}

.cta-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #18181b;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1.25rem;
    padding: 1.2rem;
    color: inherit;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 55px rgba(24, 24, 27, 0.12);
}

.contact-card strong,
.contact-card em {
    display: block;
    font-style: normal;
}

.contact-card strong {
    color: #18181b;
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-card em {
    margin-top: 0.25rem;
    color: #52525b;
    word-break: break-word;
}

.info-tile {
    border-radius: 1.4rem;
    padding: 1.5rem;
}

.info-tile i {
    color: rgb(var(--couleur-primaire));
    font-size: 1.6rem;
}

.scroll-reveal {
    opacity: 0;
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.scroll-reveal--up {
    transform: translate3d(0, 2rem, 0);
}

.scroll-reveal--left {
    transform: translate3d(-2rem, 0, 0);
}

.scroll-reveal--right {
    transform: translate3d(2rem, 0, 0);
}

.scroll-reveal--scale {
    transform: translate3d(0, 1.25rem, 0) scale(0.96);
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 5.5rem;
    }

    .hero-restaurant {
        min-height: min(68vh, 520px);
    }

    .reservation-panel {
        border-radius: 1.25rem;
        padding: 0.75rem;
    }

    .image-stack {
        min-height: auto;
    }

    .image-stack-main {
        height: 360px;
    }

    .image-stack-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 1rem;
        width: 100%;
        height: 260px;
        border-width: 0;
    }

    .privatisation-gallery,
    .photo-strip,
    .terrace-gallery-landscape {
        grid-template-columns: 1fr;
    }

    .privatisation-portrait {
        height: 300px;
    }

    .privatisation-wide {
        height: 160px;
    }

    .photo-strip img,
    .photo-strip img:nth-child(even) {
        height: 240px;
        margin-top: 0;
    }

    .scroll-reveal--up {
        transform: translate3d(0, 1.25rem, 0);
    }

    .scroll-reveal--left {
        transform: translate3d(-1.25rem, 0, 0);
    }

    .scroll-reveal--right {
        transform: translate3d(1.25rem, 0, 0);
    }

    .scroll-reveal--scale {
        transform: translate3d(0, 0.85rem, 0) scale(0.97);
    }
}
