:root {
    --cream: #f6efe4;
    --paper: #fbf8f2;
    --ink: #1f2326;
    --ink-soft: #4a4744;
    --muted: #7a726a;
    --line: #e4d9c8;
    --terracotta: #a85f55;
    --terracotta-soft: #ecd7cf;
    --orange: #e0773a;
    --orange-dark: #c4612a;
    --slate: #262b2e;
    --chalk: #f3efe6;
    --navy: #1d3450;

    --serif: "Fraunces", Georgia, serif;
    --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --hand: "Kalam", "Comic Sans MS", cursive;

    --radius: 14px;
    --shadow: 0 18px 40px -20px rgba(31, 35, 38, .35);
    --nav-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 17px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.kicker {
    font-family: var(--hand);
    color: var(--orange);
    font-size: 1.35rem;
    margin: 0 0 .2em;
}
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head p:last-child { color: var(--muted); }
.section__head--light h2 { color: var(--chalk); }
.section__head--light p:last-child { color: rgba(243, 239, 230, .7); }

/* Boutons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .9em 1.6em;
    border-radius: 999px;
    border: 2px solid transparent;
    font: 700 1rem/1 var(--sans);
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: #000; }
.btn--small { padding: .65em 1.2em; font-size: .92rem; }
.btn--block { width: 100%; }

/* Navigation */
.nav {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--nav-h);
    transition: background .3s, box-shadow .3s;
}
.nav__inner {
    height: 100%;
    width: min(1240px, 100% - 32px); margin-inline: auto;
    display: flex; align-items: center; justify-content: space-between;
}
.nav__brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: #fff;
    font: 700 1.2rem var(--serif);
}
.nav__mark { width: 44px; height: auto; }
.nav__mark--dark { display: none; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) {
    color: #fff; text-decoration: none; font-weight: 500;
    position: relative;
}
.nav__links a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
    background: var(--orange); transform: scaleX(0); transition: transform .2s;
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav.is-scrolled { background: rgba(251, 248, 242, .96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.nav.is-scrolled .nav__brand, .nav.is-scrolled .nav__links a:not(.btn) { color: var(--ink); }
.nav.is-scrolled .nav__mark--light { display: none; }
.nav.is-scrolled .nav__mark--dark { display: block; }
.nav__toggle { display: none; }

@media (max-width: 860px) {
    .nav__toggle {
        display: flex; flex-direction: column; gap: 5px;
        background: none; border: 0; padding: 10px; cursor: pointer;
    }
    .nav__toggle span { width: 24px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
    .nav.is-scrolled .nav__toggle span, .nav.is-open .nav__toggle span { background: var(--ink); }
    .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
    .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav.is-open { background: var(--paper); }
    .nav.is-open .nav__brand { color: var(--ink); }
    .nav.is-open .nav__mark--light { display: none; }
    .nav.is-open .nav__mark--dark { display: block; }
    .nav__links {
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--paper);
        padding: 8px 16px 20px;
        box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
        display: none;
    }
    .nav.is-open .nav__links { display: flex; }
    .nav__links a:not(.btn) { color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .nav__links .btn { margin-top: 16px; }
}

/* Hero */
.hero {
    position: relative;
    min-height: min(100svh, 980px);
    display: grid; place-items: center;
    color: #fff; text-align: center;
    overflow: hidden;
    padding: calc(var(--nav-h) + 24px) 16px 120px;
}
.hero__bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 60%;
    z-index: -2;
    animation: zoom 18s ease-out both;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse at center, rgba(20, 22, 24, .35), rgba(20, 22, 24, .75)),
        linear-gradient(to bottom, rgba(20, 22, 24, .5), transparent 30%);
}
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__content { max-width: 820px; }
.hero__kicker {
    text-transform: uppercase; letter-spacing: .25em; font-size: .85rem; font-weight: 700;
    opacity: .9;
}
.hero h1 { margin: 10px auto 24px; max-width: 760px; }
.hero h1 img { width: 100%; height: auto; filter: drop-shadow(0 4px 20px rgba(0, 0, 0, .35)); }
.hero__lead { font-size: clamp(1.1rem, 2.4vw, 1.4rem); max-width: 560px; margin: 0 auto 32px; }
.hero__lead strong { color: #ffb27f; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__strip {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px;
    padding: 18px 16px;
    background: rgba(20, 22, 24, .55);
    backdrop-filter: blur(6px);
    font-size: .95rem;
}
.hero__strip a { color: #ffb27f; font-weight: 700; text-decoration: none; }

/* Bandeau marinière */
.mariniere {
    height: 14px;
    background: repeating-linear-gradient(to bottom, var(--navy) 0 3px, var(--paper) 3px 7px);
}

/* La maison */
.maison__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.maison__text > p { color: var(--ink-soft); }
.atouts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.atouts li { display: flex; gap: 16px; align-items: flex-start; }
.atouts strong { display: block; font-size: 1.05rem; }
.atouts span:not(.atouts__icon) { color: var(--muted); font-size: .95rem; }
.atouts__icon {
    flex: none; width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--terracotta-soft); color: var(--terracotta);
}
.atouts__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.maison__photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 3 / 4.4; }
.photo--offset { aspect-ratio: 3 / 4.4; margin-top: 70px; }

/* Menus (ardoises) */
.menus {
    background:
        radial-gradient(circle at 20% 0%, rgba(224, 119, 58, .14), transparent 45%),
        var(--slate);
    color: var(--chalk);
}
.menus__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 980px; margin: 0 auto; }
.ardoise {
    position: relative;
    padding: 44px 40px 36px;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .06), transparent 60%),
        radial-gradient(ellipse at 80% 90%, rgba(255, 255, 255, .04), transparent 50%),
        #2f3436;
    border: 12px solid #15181a;
    border-radius: 6px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, .45), 0 25px 50px -20px rgba(0, 0, 0, .6);
    font-family: var(--hand);
    text-align: center;
}
.ardoise__badge {
    position: absolute; top: -26px; left: 50%; transform: translateX(-50%) rotate(-2deg);
    margin: 0;
    background: var(--orange); color: #fff;
    font: 700 .85rem/1 var(--sans); letter-spacing: .03em;
    padding: 9px 16px; border-radius: 999px;
    white-space: nowrap;
}
.ardoise__head { margin-bottom: 18px; }
.ardoise h3 {
    font-family: var(--hand); font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
    margin: 0;
    text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px;
}
.ardoise__prix {
    display: inline-block; margin: 14px 0 0;
    font-size: 2.6rem; font-weight: 700; line-height: 1;
    color: #ffb27f;
    transform: rotate(-4deg);
}
.ardoise__etapes { list-style: none; padding: 0; margin: 0; font-size: 1.4rem; line-height: 1.35; }
.ardoise__etapes li { padding: 14px 0; }
.ardoise__etapes li + li::before {
    content: ""; display: block; width: 46px; height: 2px; margin: 0 auto 18px;
    background: rgba(243, 239, 230, .75); border-radius: 2px;
}
.ardoise__foot { margin: 14px 0 0; font-size: 1.3rem; opacity: .8; }
.menus__note { text-align: center; margin: 36px 0 0; color: rgba(243, 239, 230, .65); font-size: .92rem; }
.menus__cta { text-align: center; margin-top: 28px; }

/* Carte */
.carte { background: var(--cream); }
.tabs {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    margin-bottom: 48px;
}
.tabs button {
    font: 700 1rem var(--sans);
    padding: .8em 1.4em;
    border-radius: 999px;
    border: 2px solid var(--ink);
    background: transparent; color: var(--ink);
    cursor: pointer;
    transition: background .2s, color .2s;
}
.tabs button:hover { background: rgba(31, 35, 38, .07); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.panel { columns: 2 440px; column-gap: 64px; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.groupe { break-inside: avoid; margin-bottom: 48px; }
.groupe__titre {
    font-size: 1.6rem;
    padding-bottom: 12px; margin-bottom: 8px;
    border-bottom: 2px solid var(--ink);
    display: flex; align-items: center; gap: 12px;
}
.groupe__titre::before {
    content: ""; width: 12px; height: 12px; border-radius: 50%;
    background: var(--orange); flex: none;
}
.groupe__note { color: var(--muted); font-style: italic; font-size: .95rem; margin: 12px 0 0; }
.plats { list-style: none; margin: 0; padding: 0; }
.plat { padding: 14px 0; border-bottom: 1px dashed var(--line); break-inside: avoid; }
.plat:last-child { border-bottom: 0; }
.plat__ligne { display: flex; align-items: baseline; gap: 10px; }
.plat__nom { font-weight: 700; }
.plat__dots { flex: 1; border-bottom: 2px dotted #c9bba5; transform: translateY(-4px); min-width: 20px; }
.plat__prix { font-family: var(--serif); font-weight: 700; color: var(--terracotta); white-space: nowrap; }
.plat__desc { margin: 2px 0 0; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.variantes { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.variantes li {
    font-family: var(--serif); font-weight: 700; color: var(--terracotta); font-size: .95rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
    padding: 3px 12px;
}
.variantes span { font-family: var(--sans); font-weight: 500; color: var(--muted); font-size: .85rem; }
.alerte { text-align: center; padding: 20px; background: var(--terracotta-soft); border-radius: var(--radius); }

/* Réservation */
.resa__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.resa__intro > p { color: var(--ink-soft); }
.resa__tel { margin-top: 24px; }
.resa__phone {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
    font: 700 1.6rem var(--serif); color: var(--ink); text-decoration: none;
}
.resa__phone svg { width: 28px; height: 28px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linejoin: round; }
.resa__photo { margin-top: 32px; aspect-ratio: 16 / 10; }
.resa__photo img { object-position: center 40%; }

.form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: clamp(24px, 4vw, 40px);
    box-shadow: var(--shadow);
    display: grid; gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--3 { grid-template-columns: 1.2fr 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: .9rem; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field select, .field textarea {
    width: 100%;
    font: 400 1rem var(--sans); color: var(--ink);
    padding: .8em .9em;
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--orange); background: #fff;
    box-shadow: 0 0 0 4px rgba(224, 119, 58, .15);
}
.field.is-invalid input, .field.is-invalid select { border-color: #c0392b; background: #fdf3f1; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { margin: 0; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.form__msg--ok { background: #e7f3e8; color: #24572b; }
.form__msg--err { background: #fbe9e6; color: #8c2a1c; }
.form__msg--warn { background: #fdf0dc; color: #7a4210; border-left: 4px solid var(--orange); }
.form__appel { display: flex; width: fit-content; margin-top: 12px; }
.form__legal { margin: 0; text-align: center; font-size: .82rem; color: var(--muted); }
.form button[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Instagram */
.insta { background: var(--cream); }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta__tile { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.insta__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.insta__over {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: rgba(31, 35, 38, .45); opacity: 0; transition: opacity .3s;
}
.insta__over svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 1.8; }
.insta__tile:hover img { transform: scale(1.06); }
.insta__tile:hover .insta__over { opacity: 1; }
.insta__posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; justify-items: center; }
.insta__posts .instagram-media { min-width: 0 !important; width: 100% !important; }
.insta__cta { text-align: center; margin-top: 36px; }

/* Accès */
.acces__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.infos { margin: 24px 0 32px; display: grid; gap: 22px; }
.infos dt { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 4px; }
.infos dt svg { width: 22px; height: 22px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linejoin: round; }
.infos dd { margin: 0 0 0 32px; color: var(--ink-soft); }
.infos dd a { font-weight: 700; color: var(--ink); }
.horaires { border-collapse: collapse; }
.horaires th { text-align: left; font-weight: 500; padding: 2px 24px 2px 0; }
.horaires td { padding: 2px 0; }
.acces__map { border-radius: 20px; overflow: hidden; min-height: 380px; box-shadow: var(--shadow); }
.acces__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Pied de page */
.footer { background: var(--ink); color: rgba(246, 239, 228, .75); padding: 64px 0 40px; text-align: center; font-size: .95rem; }
.footer__logo { width: min(340px, 80%); height: auto; margin: 0 auto 24px; }
.footer a { color: var(--cream); }
.footer__small { margin-top: 28px; font-size: .8rem; opacity: .7; }

/* Responsive */
@media (max-width: 960px) {
    .maison__grid, .resa__grid, .acces__grid { grid-template-columns: 1fr; }
    .maison__photos { max-width: 560px; }
    .insta__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    body { font-size: 16px; }
    .menus__grid { grid-template-columns: 1fr; gap: 48px; }
    .ardoise { padding: 40px 22px 28px; border-width: 9px; }
    .panel { columns: 1; }
    .form__row, .form__row--3 { grid-template-columns: 1fr; }
    .hero__strip { gap: 4px 20px; font-size: .85rem; }
    .photo--offset { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}
