/* Chez Tepano, version 3 « Sous le fare » : nuit chaude de la roulotte, paille du toit de niau,
   jaune du logo, vert de la roulotte et rouge des nappes à tiare.
   Règle de mouvement : on n'anime que transform et opacity (calculés par la carte graphique), jamais hauteur, marge ou position.
   Les couleurs commentées ci-dessous alimentent aussi la page charte.html (générée par build.py). */

@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --night: #17110C;      /* Fond : la nuit sous le fare, brun très sombre */
  --night-2: #1F1811;    /* Sections alternées */
  --night-3: #2B2118;    /* Cartes et champs de formulaire */
  --text: #F6ECD9;       /* Texte principal, crème chaude */
  --muted: #C6B59B;      /* Texte secondaire, gris chaud */
  --sand: #E3C793;       /* Paille du toit de niau : surtitres, prix, filets */
  --gold: #D9A31C;       /* Ambre : petits traits et contours */
  --jaune: #F5C518;      /* Jaune du logo : boutons d'action (texte brun nuit) */
  --jaune-2: #FFD84D;    /* Survol des boutons jaunes */
  --vert: #A8C957;       /* Vert de la roulotte : liens, statut « ouvert », focus clavier */
  --tiare: #E8705C;      /* Rouge des nappes à tiare : erreurs de formulaire */
  --lac: #5FB6EC;        /* Bleu « Le lac bleu » de la pancarte : nom au-dessus de « Chez Tepano » */
  --line: rgba(227, 199, 147, .16);
  --line-2: rgba(227, 199, 147, .32);
  --shadow: 0 18px 36px -18px rgba(0, 0, 0, .6);   /* flou modéré : moins coûteux à dessiner */
  --radius: 24px;
  --bar-h: 64px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);     /* Arrivées douces : apparitions, survols */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);  /* Glissements : menu mobile, changement de page */
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1); /* Petit rebond : épingles et pastilles */
  --dur-fast: .25s;      /* Survols et appuis */
  --dur: .5s;            /* Onglets, menu, en-tête */
  --dur-slow: .9s;       /* Apparitions au défilement, titres mot par mot */
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); background: var(--night); scrollbar-color: rgba(230, 207, 159, .3) var(--night); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--night); -webkit-font-smoothing: antialiased; }
@media (min-width: 900px) { body { font-size: 18px; } }
main { display: block; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { text-wrap: balance; }   /* un seul par page ; h2 et h3 : les deux derniers mots sont collés par build.py (split), c'est bien moins cher */
h2 { font-size: clamp(2.1rem, 5.6vw, 3.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
::selection { background: var(--jaune); color: var(--night); }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; border-radius: 6px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4.5rem, 11vw, 8rem) 0; position: relative; }
.kicker { font: 600 .76rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--sand); margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .7rem; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.todo { background: #fff1bf; color: #5c4400; padding: .05em .4em; border-radius: 5px; font: 600 .86em/1.5 var(--sans); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.skip { position: absolute; left: 1rem; top: -200px; z-index: 100; background: var(--jaune); color: var(--night); padding: .7rem 1rem; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 1rem; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .kicker { justify-content: center; }
.section-foot { margin: 2.4rem 0 0; text-align: center; }

/* ------------------------------------------------------------------ En-tête
   Fixe. En descendant, il remonte de la hauteur du bandeau démo (transform) et son fond apparaît (opacité). Pas de flou. */
.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 50; transition: transform var(--dur) var(--ease-out); view-transition-name: header; }
.site-header.is-scrolled { transform: translate3d(0, calc(-1 * var(--ribbon-h, 0px)), 0); }
.ribbon { background: #120D08; color: var(--sand); font: 500 .74rem/1.35 var(--sans); letter-spacing: .02em; text-align: center; padding: .42rem 1rem; border-bottom: 1px solid var(--line); }
.bar { position: relative; height: var(--bar-h); }
.bar::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: var(--night); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity var(--dur) var(--ease-out); }
.site-header.is-scrolled .bar::before, .menu-open .bar::before { opacity: 1; }
.bar__in { position: relative; height: 100%; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand .logo { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 2px var(--sand); transition: transform var(--dur) var(--ease-out); }
.site-header.is-scrolled .brand .logo { transform: scale(.88); }
.brand span { font: 600 1.18rem/1.05 var(--serif); }
/* « Le lac bleu » au-dessus de « Chez Tepano », en bleu italique comme sur la pancarte */
.lac { display: block; font: italic 600 .78em/1.1 var(--serif); color: var(--lac); letter-spacing: .01em; margin-bottom: .12rem; }
.hero__lac { font: italic 600 clamp(1.5rem, 6vw, 2.6rem)/1 var(--serif); color: var(--lac); margin: 0 0 .1em; text-shadow: 0 2px 14px rgba(10, 7, 4, .7); }
.footer__tag { font-size: .9rem; color: var(--sand); margin: -.4rem 0 1rem; }
.nav { display: none; }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem .2rem; opacity: .85; }
.nav a::after { content: ""; position: absolute; left: .2rem; right: .2rem; bottom: .15rem; height: 1.5px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.nav a:hover, .nav a[aria-current] { opacity: 1; }
/* Astérisque devant chaque lien du menu (demande de Sébastien) ; ignoré par les lecteurs d'écran */
.nav a::before, .mnav__links a::before { content: "*"; content: "*" / ""; color: var(--jaune); font-family: var(--serif); font-weight: 700; margin-right: .3em; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.bar__actions { display: flex; align-items: center; gap: .6rem; }
.langs { display: none; gap: .15rem; font: 600 .74rem/1 var(--sans); letter-spacing: .08em; }
.langs a { text-decoration: none; padding: .5rem .45rem; border-radius: 8px; color: var(--muted); }
.langs a[aria-current] { color: var(--night); background: var(--sand); }
.call-btn { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--night); transition: transform var(--dur-fast) var(--ease-out); }
.call-btn svg { width: 21px; height: 21px; fill: currentColor; }
.call-btn:active { transform: scale(.92); }
.bar__actions .bar__cta { display: none; }   /* sur téléphone : le bouton est dans le haut de page et le menu */
.burger { width: 46px; height: 46px; flex: none; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; padding: 0; }
.burger span { display: block; width: 20px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform var(--dur) var(--ease-out); }
.menu-open .burger span:first-child { transform: translate3d(0, 3.8px, 0) rotate(45deg); }
.menu-open .burger span:last-child { transform: translate3d(0, -3.8px, 0) rotate(-45deg); }
@media (hover: hover) and (pointer: fine) { .call-btn:hover { transform: scale(1.06); } }
@media (min-width: 1000px) {
  .bar__in { justify-content: space-between; }
  .brand { margin-right: 0; }
  .nav { display: flex; gap: 1.7rem; }
  .bar__actions .bar__cta { display: inline-flex; }
  .burger { display: none; }
}
@media (min-width: 1200px) { .bar__actions .langs { display: flex; } }

/* Menu mobile : glisse depuis la droite, liens en cascade */
.mnav { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 45; background: var(--night); padding: calc(var(--ribbon-h, 0px) + var(--bar-h) + 2rem) 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; overflow-y: auto; visibility: hidden; transform: translate3d(100%, 0, 0); transition: transform .55s var(--ease-in-out), visibility 0s linear .55s; }
.menu-open .mnav { visibility: visible; transform: none; transition: transform .55s var(--ease-in-out); }
.mnav__links { display: flex; flex-direction: column; }
.mnav__links a { font: 500 clamp(2rem, 9vw, 2.6rem)/1.2 var(--serif); text-decoration: none; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.mnav__links a[aria-current] { color: var(--sand); font-style: italic; }
.mnav__links a, .mnav__actions, .mnav__langs { opacity: 0; transform: translate3d(32px, 0, 0); transition: opacity .35s var(--ease-out), transform .6s var(--ease-out); }
.menu-open .mnav__links a, .menu-open .mnav__actions, .menu-open .mnav__langs { opacity: 1; transform: none; transition-delay: calc(.2s + var(--i) * .07s); }
.mnav__actions { display: grid; gap: .8rem; }
.mnav__langs { display: flex; gap: .5rem; }
.mnav__langs a { padding: .7rem 1rem; border: 1px solid var(--line-2); }
@media (min-width: 1000px) { .mnav { display: none; } }

/* ------------------------------------------------------------------ Boutons
   Survol : agrandissement de 3 %, couleur plus claire (calque ::before) et ombre douce (calque ::after) en opacité. */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .85rem 1.55rem; border: 0; border-radius: 999px; font: 600 1rem/1.15 var(--sans); letter-spacing: .01em; text-align: center; text-decoration: none; cursor: pointer; transition: transform var(--dur-fast) var(--ease-out); }
.btn::before, .btn::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: inherit; opacity: 0; transition: opacity var(--dur-fast) var(--ease-out); pointer-events: none; }
.btn::before { background: var(--btn-hover); z-index: -1; }
.btn::after { box-shadow: 0 16px 34px -12px var(--btn-glow); z-index: -2; }
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn--jaune { background: var(--jaune); color: var(--night); --btn-hover: var(--jaune-2); --btn-glow: rgba(245, 197, 24, .75); }
.btn--line { background: rgba(255, 255, 255, .02); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); --btn-hover: rgba(230, 207, 159, .13); --btn-glow: rgba(0, 0, 0, .55); }
.btn--sm { min-height: 44px; padding: .6rem 1.15rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: scale(1.03); }
  .btn:hover::before, .btn:hover::after { opacity: 1; }
}
.link-arrow { position: relative; display: inline-flex; align-items: center; gap: .55rem; color: var(--sand); font-weight: 600; text-decoration: none; padding: .35rem 0; }
.link-arrow svg { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: .6; transform: scaleX(.3); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) { .link-arrow:hover::after { transform: scaleX(1); } }

/* ------------------------------------------------------------------ Titres mot par mot
   Chaque mot est dans un masque (overflow) et monte à sa place. Le titre lui-même ne bouge pas. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .03em .16em; margin: -.1em -.03em -.16em; }
.w > span { display: inline-block; }
.js .split .w > span { transform: translate3d(0, 115%, 0); transition: transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--i) * 70ms); }
.js .split.is-visible .w > span { transform: none; }

/* Apparitions au défilement : fondu + montée de 20 px, en cascade (délai --d posé par JS) */
.js .reveal { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .split.reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ Haut de page (accueil) : plein écran */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--bar-h) + 4.5rem) 0 clamp(4rem, 11vh, 7rem); }
.hero__media, .page-hero__media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; overflow: hidden; background: #120D08; }
.frame { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.frame picture { display: block; width: 100%; height: 100%; }
.hero__img, .page-hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.6s var(--ease-out) both; }
.hero__media::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(10, 7, 4, .8) 0%, rgba(10, 7, 4, .32) 18%, rgba(10, 7, 4, .55) 38%, rgba(15, 10, 6, .9) 62%, var(--night) 100%); }
.hero__sub, .hero__meta { text-shadow: 0 1px 8px rgba(10, 7, 4, .8); }
.hero__content { position: relative; }
.hero__logo { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 2px var(--sand), 0 12px 30px rgba(0, 0, 0, .45); margin-bottom: 1.3rem; }
.hero__title { font-size: clamp(3.5rem, 16vw, 8.6rem); font-weight: 600; line-height: .95; letter-spacing: -.02em; margin: 0 0 .3em; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--sand); }
.hero__slogan { font: italic 400 clamp(1.4rem, 4.6vw, 2.1rem)/1.3 var(--serif); margin: 0 0 .8rem; }
.hero__sub { max-width: 56ch; color: #E3D6C0; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__meta { list-style: none; padding: 0; margin: 1.7rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .95rem; color: #E3D6C0; }
.hero__meta li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta svg { width: 18px; height: 18px; fill: var(--sand); }
.hero__meta b { color: var(--text); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; width: 26px; height: 44px; margin-left: -13px; border: 1.5px solid rgba(243, 235, 221, .5); border-radius: 999px; display: none; }
.hero__scroll i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--sand); animation: scrollcue 1.8s var(--ease-in-out) infinite; }
@media (max-width: 560px) { .hero__actions .btn { flex: 1 1 100%; } }
@media (max-width: 560px) and (max-height: 700px) { .hero__sub { display: none; } }
@media (min-width: 900px) {
  .hero { align-items: center; padding-bottom: 6rem; }
  .hero__media::after { background: linear-gradient(90deg, rgba(10, 7, 4, .88) 0%, rgba(10, 7, 4, .5) 48%, rgba(10, 7, 4, .12) 100%), linear-gradient(180deg, rgba(10, 7, 4, .6) 0%, transparent 26%, transparent 72%, var(--night) 100%); }
  .hero__content { max-width: 1200px; }
}
@media (min-width: 900px) and (min-height: 700px) { .hero__scroll { display: block; } }

/* Entrée du haut de page : logo, surtitre, titre mot par mot, accroche, puis les deux boutons ensemble */
.hero__logo { animation: pop 1s var(--ease-out) .1s both; }
.hero__kicker, .page-hero__kicker { animation: rise .7s var(--ease-out) .05s both; }
.hero__lac { animation: rise .9s var(--ease-out) .3s both; }
.hero__title .w > span, .page-hero__title .w > span { animation: word .9s var(--ease-out) both; animation-delay: calc(.15s + var(--i) * .1s); }
.hero__slogan, .page-hero__intro { animation: rise .7s var(--ease-out) .3s both; }
.hero__sub { animation: rise .7s var(--ease-out) .38s both; }
.hero__actions, .page-hero__actions { animation: fade .7s var(--ease-out) .48s both; }
.hero__meta { animation: fade .7s var(--ease-out) .56s both; }
.hero__scroll { animation: fade 1s var(--ease-out) 1.6s both; }
@keyframes settle { from { transform: scale(1.16); } to { transform: scale(1.06); } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes word { from { transform: translate3d(0, 115%, 0); } to { transform: none; } }
@keyframes scrollcue { 0% { opacity: 0; transform: translate3d(0, 0, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate3d(0, 16px, 0); } }

/* Haut des pages intérieures */
.page-hero { position: relative; isolation: isolate; min-height: 64vh; min-height: 64svh; display: flex; align-items: flex-end; padding: calc(var(--bar-h) + 6rem) 0 clamp(3rem, 8vh, 5rem); }
.page-hero__media::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(10, 7, 4, .8) 0%, rgba(10, 7, 4, .45) 35%, rgba(23, 17, 12, .88) 78%, var(--night) 100%); }
.page-hero__title { font-size: clamp(3rem, 12vw, 6.2rem); line-height: 1; margin-bottom: .3em; }
.page-hero__intro { max-width: 56ch; color: #E3D6C0; font-size: 1.08rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
@media (max-width: 560px) { .page-hero__actions .btn { flex: 1 1 100%; } }

/* ------------------------------------------------------------------ L'esprit Tepano */
.story { background: var(--night); }
.story__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .story__grid { grid-template-columns: 1.05fr 1fr; } }
.story__text p:not(.kicker) { color: #DACBB4; }
.story__media { position: relative; padding: 0 14% 20% 0; }
.story__photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__photo--float { position: absolute; right: 0; bottom: 0; width: 50%; border: 6px solid var(--night); border-radius: 20px; }
.pillars { list-style: none; padding: 0; margin-top: clamp(3rem, 7vw, 5rem); margin-bottom: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: 1.6rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent); }
.pillar svg { width: 34px; height: 34px; fill: none; stroke: var(--sand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.pillar h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.pillar p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ------------------------------------------------------------------ Les incontournables : carrousel sur téléphone, grille sur ordinateur */
.signature { background: var(--night-2); }
/* Les 4 incontournables en losange : un plat en haut, deux au milieu, le chao men (vidéo) en bas, sur tous les écrans */
.dishes { --g: .9rem; --w: min(300px, calc((100vw - 2.5rem - var(--g)) / 2)); list-style: none; margin: 0; padding: .4rem 0 0; display: grid; grid-template-columns: repeat(2, var(--w)); justify-content: center; gap: var(--g); }
.dishes > li:first-child, .dishes > li:last-child { grid-column: 1 / -1; justify-self: center; width: var(--w); }
@media (min-width: 700px) { .dishes { --g: 1.4rem; } }
@media (max-width: 560px) {
  .dishes .dish__body { padding: .8rem .75rem .9rem; }
  .dishes .dish__name { font-size: 1.02rem; line-height: 1.2; margin-bottom: .35rem; }
  .dishes .dish__price { padding-top: .6rem; }
  .dishes .dish__price b { font-size: 1.1rem; }
}
.dish { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--night-3); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .6s var(--ease-out); }
.dish::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: inherit; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .75), 0 0 0 1px var(--line-2); opacity: 0; transition: opacity .6s var(--ease-out); pointer-events: none; }
.dish__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.badge { position: absolute; left: .9rem; top: .9rem; display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .8rem; border-radius: 999px; background: rgba(18, 13, 8, .82); color: var(--sand); border: 1px solid var(--line-2); font: 600 .78rem/1 var(--sans); letter-spacing: .03em; }
.badge--static { position: static; }
.dish__body { flex: 1; display: flex; flex-direction: column; padding: 1.4rem 1.4rem 1.5rem; }
.dish__name { font-size: 1.5rem; margin-bottom: .5rem; }
.dish__name a { text-decoration: none; }
.dish__name a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; border-radius: var(--radius); }
.dish__desc { font: italic 400 1.06rem/1.55 var(--serif); color: #DACBB4; }
.dish__quote { font-size: .9rem; color: var(--muted); border-left: 2px solid var(--gold); padding-left: .8rem; }
.dish__price { margin: auto 0 0; padding-top: 1rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); }
.dish__price b { font: 600 1.45rem/1 var(--serif); color: var(--sand); white-space: nowrap; }
.dish__price small { color: var(--muted); font-size: .85rem; text-align: right; }
@media (hover: hover) and (pointer: fine) {
  .dish:hover { transform: translate3d(0, -6px, 0); }
  .dish:hover::after { opacity: 1; }
  .dish:hover .dish__media img { transform: scale(1.05); }
}
/* Vidéo du chao men : carte des incontournables, même cadre 4:5 que les plats */
.dish__media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }


/* ------------------------------------------------------------------ Avis */
.reviews-sec { background: var(--night); }
.reviews { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { position: relative; margin: 0; padding: 2rem 1.7rem 1.6rem; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.review::before { content: "“"; position: absolute; right: 1.2rem; top: -.4rem; font: 700 6rem/1 var(--serif); color: var(--jaune); opacity: .35; }
.review__stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.review__stars svg { width: 16px; height: 16px; fill: var(--sand); }
.review blockquote { margin: 0 0 1.4rem; font: italic 400 1.08rem/1.6 var(--serif); color: #EFE3CE; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; gap: .15rem; font-size: .9rem; color: var(--muted); }
.review figcaption b { color: var(--text); font-weight: 600; }

/* Bandeau final */
.cta-band { background: linear-gradient(135deg, #33240F, var(--night) 62%); text-align: center; border-top: 1px solid var(--line); }
.cta-band__in { max-width: 780px; }
.cta-band h2 { font-size: clamp(2.3rem, 6.5vw, 4rem); }
.cta-band p { color: var(--muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: 1.8rem 0; }
.cta-band .link-arrow svg { width: 1.6em; }

/* ------------------------------------------------------------------ La carte */
.menu-sec { padding-top: clamp(3rem, 7vw, 5rem); }
.combo { display: grid; gap: 1.2rem; padding: 1.8rem; margin-bottom: 2.6rem; border-radius: var(--radius); background: linear-gradient(135deg, rgba(242, 135, 107, .16), rgba(230, 207, 159, .07)); border: 1px solid var(--line-2); }
@media (min-width: 860px) { .combo { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 2.2rem 2.4rem; } }
.combo__title { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: .3em; }
.combo__price { color: var(--jaune); font-style: italic; white-space: nowrap; }
.combo p:last-child { color: #DACBB4; margin: 0; }
.combo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
@media (min-width: 600px) { .combo ul { grid-template-columns: 1fr 1fr; } }
.combo li { padding: .7rem .9rem; border-radius: 14px; background: rgba(23, 17, 12, .6); border: 1px solid var(--line); font-size: .95rem; }
/* Onglets collants sous l'en-tête ; un trait corail glisse sous l'onglet actif (translateX + scaleX) */
.tabs-wrap { position: sticky; top: calc(var(--bar-h) - 1px); z-index: 20; margin: 0 -1.25rem; padding: .6rem 1.25rem 0; background: var(--night); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .tabs-wrap { margin: 0; padding-inline: 0; } }
.tabs { position: relative; display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 48px; padding: .6rem 1rem; border: 0; background: none; color: var(--muted); font: 600 .98rem/1 var(--sans); cursor: pointer; }
.tab[aria-selected="true"] { color: var(--text); }
.tabs__ink { position: absolute; left: 0; bottom: 0; width: 100px; height: 2px; background: var(--jaune); transform-origin: left; transform: scaleX(0); transition: transform var(--dur) var(--ease-out); pointer-events: none; }
.panels { padding-top: 1.6rem; }
.panel { display: grid; gap: 2rem; transition: opacity .17s linear; }
@media (min-width: 860px) { .panel { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 3.4rem; align-items: start; } }
.panel.is-leaving { opacity: 0; }
.panel:focus-visible { outline-offset: 8px; }
.mblock h3 { font-size: 1.55rem; color: var(--sand); margin-bottom: .25rem; }
.mblock__sub { color: var(--muted); font-size: .92rem; margin-bottom: .6rem; }
.mlist { list-style: none; margin: 0; padding: 0; }
/* Les plats entrent de gauche à droite, l'un après l'autre (délai selon --i) */
.mi { display: flex; align-items: baseline; gap: .7rem; padding: .85rem 0; border-bottom: 1px solid var(--line); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(min(var(--i), 12) * 40ms); }
.panel.is-entering .mi { opacity: 0; transform: translate3d(-24px, 0, 0); transition: none; }
.mi__name { font-weight: 500; }
.mi__name small { display: block; font: italic 400 .92rem/1.45 var(--serif); color: var(--muted); margin-top: .15rem; }
.mi__dots { flex: 1; min-width: 1.2rem; border-bottom: 1px dotted rgba(230, 207, 159, .35); transform: translateY(-.3em); }
.mi__price { font: 600 1.05rem/1 var(--serif); color: var(--sand); white-space: nowrap; }
/* Prix et numéros en chiffres alignés (Playfair dessine par défaut des chiffres « à l'ancienne », moins lisibles) */
.mi__price, .dish__price b, .combo__price, .info__phone b, .footer__name { font-variant-numeric: lining-nums; }
.mblock__extra { font-size: .9rem; color: var(--muted); margin-top: .9rem; }
.menu-note { margin-top: 2rem; font-size: .9rem; color: var(--muted); }

/* L'ardoise : photos de clients, zoom de 5 % au survol, agrandissement au clic */
.ardoise-sec { background: var(--night-2); }
.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } }
.shot { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--night-3); transition: transform .6s var(--ease-out); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.shot__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .75rem; background: linear-gradient(180deg, transparent, rgba(10, 7, 4, .9)); color: var(--text); font: 500 .88rem/1.3 var(--sans); text-align: left; }
@media (hover: hover) and (pointer: fine) { .shot:hover { transform: translate3d(0, -5px, 0); } .shot:hover img { transform: scale(1.05); } }
.lightbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 90; display: grid; place-items: center; padding: 1.2rem; background: rgba(12, 8, 5, .95); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.lightbox img { max-height: 86vh; width: auto; max-width: 100%; border-radius: 14px; transform: scale(.96); transition: transform .45s var(--ease-out); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--night-2); color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ------------------------------------------------------------------ Réservation : formulaire qui prépare l'appel */
.booking { padding-top: clamp(3rem, 7vw, 5rem); }
.booking__grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .booking__grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; } }
.resa, .resa-done, .info { background: var(--night-2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.4rem, 4vw, 2.4rem); }
.resa__title { font-size: clamp(1.9rem, 5vw, 2.4rem); }
.resa__todo { margin-bottom: 1.4rem; }
.field { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .45rem; padding: 0; }
.field label small { font-weight: 400; color: var(--muted); }
.field input:not([type="radio"]), .field select, .field textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 14px; border: 1px solid var(--line-2); background-color: var(--night-3); color: var(--text); font: 400 1.0625rem/1.4 var(--sans); color-scheme: dark; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 84px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E3C793' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 22px; padding-right: 2.6rem; }
.field select:disabled { opacity: .6; }
.field input::placeholder, .field textarea::placeholder { color: #9C8E7A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--vert); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--tiare); }
.field__error { color: #ffb4a2; font-size: .9rem; margin: .45rem 0 0; }
.field__error:empty { display: none; }
.field__note { color: var(--sand); font-size: .9rem; margin: .45rem 0 0; padding-left: .8rem; border-left: 2px solid var(--jaune); }
.field__note:empty { display: none; }
.info__parking { display: block; font-weight: 600; margin-top: .3rem; }
.field__hint { color: var(--muted); font-size: .88rem; margin: .45rem 0 0; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.seg input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.seg label { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; padding: .5rem; border-radius: 14px; border: 1px solid var(--line-2); background: var(--night-3); cursor: pointer; transition: transform var(--dur-fast) var(--ease-out); }
.seg label small { font-weight: 400; font-size: .8rem; color: var(--muted); }
.seg input:checked + label { background: var(--sand); border-color: var(--sand); color: var(--night); }
.seg input:checked + label small { color: #4b4330; }
.seg input:focus-visible + label { outline: 2px solid var(--vert); outline-offset: 2px; }
.seg label:active { transform: scale(.97); }
.stepper { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: .5rem; }
.stepper button { min-height: 52px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--night-3); color: var(--text); font-size: 1.4rem; cursor: pointer; transition: transform var(--dur-fast) var(--ease-out); }
.stepper button:active { transform: scale(.92); }
.stepper input { min-width: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.resa__confirm { margin: .9rem 0 0; padding: .7rem .9rem; border-radius: 12px; background: rgba(245, 197, 24, .12); color: var(--text); text-align: center; font-size: .95rem; }
.resa__privacy { margin: .9rem 0 0; font-size: .86rem; color: var(--muted); text-align: center; }
.resa-done h2 { font-size: clamp(2rem, 6vw, 2.6rem); }
.resa-done h2:focus { outline: none; }
.resa-done.is-in { animation: rise .7s var(--ease-out) both; }
.recap { list-style: none; margin: 0 0 1.2rem; padding: 0; border-top: 1px solid var(--line); }
.recap li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.recap span { color: var(--muted); }
.recap b { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.resa-done .btn + .btn { margin-top: .7rem; }
.info__title { font-size: 1.9rem; }
.info h3 { font: 600 .76rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin: 1.6rem 0 .6rem; }
.info__phone { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; margin-bottom: 1rem; border-radius: 18px; background: var(--sand); color: var(--night); text-decoration: none; transition: transform var(--dur-fast) var(--ease-out); }
.info__phone svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.info__phone small { display: block; font-size: .82rem; opacity: .8; }
.info__phone b { font: 600 1.5rem/1.1 var(--serif); }
.info__phone:active { transform: scale(.98); }
@media (hover: hover) { .info__phone:hover { transform: scale(1.02); } }
.info .muted { display: block; margin-top: .3rem; font-size: .92rem; }

/* Horaires et statut « Ouvert / Fermé » (heure de Tahiti, calculé par JS) */
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .7rem; border-radius: 10px; font-size: .95rem; }
.hours li span:last-child { color: var(--muted); text-align: right; }
.hours li.is-today { background: rgba(230, 207, 159, .1); color: var(--sand); font-weight: 600; }
.hours li.is-today span:last-child { color: var(--sand); }
.status { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.status--open { color: var(--vert); }
.status--open .dot { animation: blink 1.6s ease-in-out infinite; }
.status--closed { color: #ffb4a2; }
@keyframes blink { 50% { opacity: .3; } }

/* Questions fréquentes */
.faq-sec { background: var(--night-2); }
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 48px; padding: 1.1rem 0; font: 600 1.15rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--sans); color: var(--sand); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #DACBB4; margin: 0 0 1.3rem; }

/* Étiquettes d'option (annotations de la maquette, pour la présentation au propriétaire) */
.opt-prix { display: inline-block; padding: .2rem .6rem; border-radius: 999px; border: 1px dashed var(--jaune); background: rgba(245, 197, 24, .12); color: var(--jaune); font: 700 .68rem/1.5 var(--sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.opt-ligne { margin: 1.1rem 0 0; font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.opt-ligne--nav { margin-top: .6rem; }
.opt-prix--footer { margin-left: .6rem; vertical-align: middle; }

/* ------------------------------------------------------------------ Pied de page et mini-carte de Tahiti (clic = itinéraire) */
.footer { background: #120D08; border-top: 1px solid var(--line); padding: clamp(3.5rem, 8vw, 5rem) 0 1.5rem; font-size: .95rem; }
.footer__grid { display: grid; gap: 2.4rem; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr 1.15fr; align-items: start; } }
.footer__name { display: flex; align-items: center; gap: .8rem; font: 600 1.35rem/1.1 var(--serif); color: var(--text); }
.footer__name img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 2px var(--sand); }
.footer__name small { display: block; font: 500 .66rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.footer p { color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; }
.footer__links a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: var(--text); text-decoration: none; }
.footer__links svg { width: 18px; height: 18px; fill: var(--sand); }
.footer__phone { font-weight: 600; }
.footer__title { font: 600 .76rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin-bottom: .8rem; }
.footer .hours li { padding: .38rem .6rem; }
.footer__bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: space-between; align-items: center; color: var(--muted); font-size: .85rem; }
.langs--footer { display: flex; }
.minimap { position: relative; display: block; aspect-ratio: 600 / 500; border-radius: 24px; overflow: hidden; text-decoration: none; background: radial-gradient(ellipse at 45% 45%, #1f5a68 0%, #143f4d 45%, #0c2531 85%); border: 1px solid var(--line); contain: paint; }
.map { display: block; width: 100%; height: auto; }
.minimap .pin__label { top: 14px; transform: translate(-72%, 0); }
@media (max-width: 560px) { .minimap .pin__label { font-size: .8rem; padding: .3rem .55rem; } .minimap .pin__label small { font-size: .62rem; } }
.pin { position: absolute; width: 0; height: 0; }
.pin__pulse { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--jaune); opacity: 0; animation: pinPulse 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes pinPulse { from { transform: scale(.5); opacity: .8; } to { transform: scale(3); opacity: 0; } }
.pin__drop { position: absolute; left: -14px; top: -38px; width: 28px; height: 28px; background: var(--jaune); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 12px rgba(0, 0, 0, .3); }
.pin__drop::after { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--night); }
.pin__label { position: absolute; left: 0; top: -46px; transform: translate(-50%, -100%); white-space: nowrap; background: var(--night); color: var(--text); font: 600 .9rem/1.2 var(--serif); padding: .4rem .7rem; border-radius: 10px; border: 1px solid var(--line-2); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.pin__label small { display: block; font: 500 .7rem/1.3 var(--sans); color: var(--sand); }
.minimap__cta { position: absolute; right: .9rem; top: .9rem; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 999px; background: var(--sand); color: var(--night); font: 600 .82rem/1 var(--sans); transition: transform var(--dur-fast) var(--ease-out); }
.minimap__cta svg { width: 16px; height: 16px; fill: currentColor; }
.minimap__credit { position: absolute; right: .8rem; bottom: .45rem; font-size: .65rem; color: rgba(243, 235, 221, .55); }
@media (hover: hover) and (pointer: fine) { .minimap:hover .minimap__cta { transform: scale(1.05); } }

/* ------------------------------------------------------------------ Pages simples (mentions légales, charte) */
.simple { padding: calc(var(--bar-h) + 6rem) 0 4.5rem; }
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(2.4rem, 7vw, 3.4rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; color: var(--sand); }
.legal p { color: #DACBB4; }
.charte h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); max-width: 22ch; }
.charte h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-top: 3.4rem; color: var(--sand); }
.tree p, .journeys li, .anims li { color: #DACBB4; }
.journeys li, .anims li { margin-bottom: .6rem; }
.swatches { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.swatch { display: grid; gap: .25rem; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--night-2); }
.swatch i { height: 72px; border-radius: 12px; margin-bottom: .5rem; border: 1px solid var(--line); }
.swatch code { color: var(--sand); }
.swatch span { font-size: .9rem; color: #DACBB4; }
.swatch small { font-size: .8rem; color: var(--muted); }
.type-demo, .comp, .replay-demo { padding: 1.6rem; border: 1px solid var(--line); border-radius: 18px; background: var(--night-2); }
.type-demo__h1 { font: 600 clamp(3rem, 10vw, 5rem)/1 var(--serif); margin: 0 0 .4rem; }
.type-demo__h1 em { color: var(--sand); font-weight: 500; }
.type-demo__h2 { font: 600 2.2rem/1.1 var(--serif); margin: 1.4rem 0 .5rem; }
.comp { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.motion { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .9rem; margin: 1rem 0 1.4rem; }
.motion th, .motion td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.motion code { color: var(--sand); }
.replay-demo { border-style: dashed; margin-top: 1rem; }

/* Pas de parallaxe liée au défilement : dans Safari en mode économie d'énergie (Mac ou iPhone), ces animations
   tournent à 30 images/s pendant que la page défile à 60, et la photo semble « laguer ». */

/* Fondu enchaîné entre les pages (navigateurs récents ; ignoré ailleurs) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .25s var(--ease-in-out) both; }
  ::view-transition-new(root) { animation: vt-in .5s var(--ease-out) both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } }

/* Animations en boucle en pause hors écran (classe posée par JS) */
.is-offscreen .pin__pulse, .is-offscreen .hero__scroll i, .status.is-offscreen .dot { animation-play-state: paused; }

/* Réglage « réduire les animations » du téléphone ou de l'ordinateur : tout s'affiche directement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .split .w > span { opacity: 1; transform: none; }
}

/* Ardoise du midi (nouvelle carte de septembre 2026) : même bloc que le combo, avec la photo de l'ardoise */
.midi__photo { margin: 1rem 0 0; max-width: 240px; }
.midi__photo img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line-2); }
.combo.midi { margin-bottom: 1.4rem; }
.combo.midi p { color: #DACBB4; margin: 0; }

/* ------------------------------------------------------------------ Retours de Sébastien (01/10/2026)
   Logo = la pancarte de la roulotte ; parking, livraison, DAB et Hinano mis en avant ; calendrier de réservation ; avis Google. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Pancarte : en-tête, haut de page, pied de page */
.brand__sign { width: auto; height: 46px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(245, 197, 24, .35); transform-origin: left center; transition: transform var(--dur) var(--ease-out); }
.site-header.is-scrolled .brand__sign { transform: scale(.88); }
/* Affiche Hinano + pancarte côte à côte, à la même hauteur (largeurs proportionnelles aux formats 534×820 et 1160×850) */
.duo { display: flex; align-items: flex-start; gap: .45rem; }
.duo > :first-child { flex: 651 1 0; min-width: 0; }
.duo > :last-child { flex: 1365 1 0; min-width: 0; }
.duo img { display: block; width: 100%; height: auto; }
.hero__brand { width: min(92vw, 600px); margin: 0 0 1.1rem; animation: pop .8s var(--ease-out) .1s both; }
.hero__sign { margin: 0; }
.hero__brand img { border-radius: 14px; box-shadow: 0 0 0 2px rgba(245, 197, 24, .55), 0 18px 40px rgba(0, 0, 0, .55); }
.hero__brand .hero__hinano { box-shadow: 0 0 0 2px rgba(255, 255, 255, .28), 0 18px 40px rgba(0, 0, 0, .55); }
@media (max-width: 560px) and (max-height: 760px) { .hero__brand { width: min(80vw, 600px); } }
.footer__name.duo { max-width: 400px; gap: .4rem; margin: 0 0 1rem; }
.footer__name.duo img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px rgba(245, 197, 24, .35); }
.footer__name.duo .footer__hinano { box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }

/* Bandeau « à savoir » sous le haut de page */
.infos { padding: clamp(2.6rem, 7vw, 4.5rem) 0; background: var(--night-2); border-block: 1px solid var(--line); }
.infos__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 860px) { .infos__grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } }
.info-card { background: var(--night-3); border: 1px solid rgba(245, 197, 24, .35); border-radius: 22px; padding: 1.4rem 1.4rem 1.2rem; }
.info-card__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--jaune); display: grid; place-items: center; margin-bottom: .9rem; }
.info-card__icon svg { width: 27px; height: 27px; fill: var(--night); }
.info-card__k { font: 600 .74rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin: 0 0 .35rem; }
.info-card h3 { font-size: clamp(1.5rem, 5vw, 1.85rem); line-height: 1.12; color: var(--jaune); margin: 0 0 .55rem; }
.info-card p { color: var(--muted); margin: 0 0 .7rem; }
.info-card .link-arrow { font-size: .95rem; }
.atm { margin-top: .7rem; max-width: 360px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .7rem .85rem; padding: .85rem .95rem; border-radius: 16px; background: radial-gradient(circle at 20% 30%, #1d4a5c, #0f2733 75%); border: 1px solid rgba(245, 197, 24, .25); }
.atm__pic { box-sizing: content-box; width: 40px; height: auto; padding: 8px 10px; border-radius: 12px; background: rgba(245, 197, 24, .1); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.atm__info { min-width: 0; }
.atm__dist { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .45rem; color: var(--muted); font-size: .88rem; }
.atm__dist b { font: 600 1.7rem/1 var(--serif); color: var(--jaune); font-variant-numeric: lining-nums; }
.atm__where { margin: .2rem 0 0; color: var(--text); font-weight: 600; font-size: .88rem; line-height: 1.35; }
.atm__btn { grid-column: 1 / -1; min-height: 44px; padding: .45rem 1rem; font-size: .86rem; }
.atm__body { fill: var(--jaune); }
.atm__screen, .atm__slot { fill: var(--night); }
.atm__txt { fill: var(--jaune); font: 700 15px var(--sans); letter-spacing: .08em; }
.atm__key { fill: rgba(23, 17, 12, .55); }
.atm__note { fill: #8FD3A6; stroke: #2E7D4F; stroke-width: 1.5; }
.atm__coin { fill: none; stroke: #2E7D4F; stroke-width: 1.5; }
.atm__btn svg, .info-card__btn svg { width: 18px; height: 18px; fill: var(--jaune); }
.info-card__hours { display: block; color: var(--text); font-weight: 600; margin-top: .35rem; }
.info-card .btn { margin: .25rem 1rem .45rem 0; }
.delivery__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 560px) { .delivery__actions .btn { flex: 1 1 100%; } }
.callout--hours b { font-size: 1.25rem; }
/* Hinano : bleu de son affiche */

/* Encadrés (réservation, livraison) */
.callout { display: flex; gap: .85rem; align-items: flex-start; background: rgba(245, 197, 24, .08); border: 1px solid rgba(245, 197, 24, .4); border-radius: 16px; padding: .95rem 1.05rem; margin: 0 0 .9rem; color: var(--muted); }
.callout svg { width: 26px; height: 26px; fill: var(--jaune); flex: none; margin-top: .1rem; }
.callout b { display: block; color: var(--jaune); font-size: 1.08rem; line-height: 1.3; margin-bottom: .15rem; }
/* Adresse de la page Réservation : tout le cadre ouvre l'itinéraire Google Maps (12/10/2026) */
.callout--link { text-decoration: none; transition: transform var(--dur-fast) var(--ease-out); }
.callout--link:active { transform: scale(.98); }
@media (hover: hover) { .callout--link:hover { transform: scale(1.02); } }
.delivery .callout { max-width: 520px; }
.delivery__grid { display: grid; gap: .9rem; margin: 0 0 1.1rem; }
.delivery__grid .callout { max-width: none; margin: 0; }
@media (min-width: 860px) { .delivery__grid { grid-template-columns: 1fr 1fr; } }
.delivery--top { padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }

/* Laisser un avis Google */
.review-cta { margin: 2.4rem auto 0; max-width: 640px; text-align: center; background: var(--night-3); border: 1px solid rgba(245, 197, 24, .35); border-radius: 24px; padding: 1.6rem 1.3rem; }
.review-cta__t { font: 600 clamp(1.3rem, 4.6vw, 1.7rem)/1.2 var(--serif); margin: 0 0 .5rem; }
.review-cta__s { color: var(--muted); font-size: .95rem; margin: 0 auto 1.2rem; max-width: 46ch; }
.review-cta__actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
@media (max-width: 560px) { .review-cta__actions .btn { flex: 1 1 100%; } }

/* Calendrier de réservation : mardis grisés (fermé), mardis fériés ouverts (point vert) */
.field__label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .45rem; }
.cal { background: var(--night-3); border: 1px solid var(--line-2); border-radius: 18px; padding: .7rem .6rem .8rem; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .3rem; }
.cal__month { font: 600 1.08rem var(--serif); text-transform: capitalize; }
.cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cal__nav:disabled { opacity: .25; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow span { font: 600 .7rem/1 var(--sans); color: var(--muted); text-transform: capitalize; padding: .45rem 0; }
.cal__grid button { position: relative; min-height: 44px; padding: 0; border: 0; border-radius: 12px; background: rgba(246, 236, 217, .06); color: var(--text); font: 600 .95rem var(--sans); font-variant-numeric: tabular-nums; cursor: pointer; transition: transform var(--dur-fast) var(--ease-out); }
.cal__grid button:active { transform: scale(.94); }
.cal__grid button:disabled { background: transparent; color: rgba(246, 236, 217, .25); cursor: default; }
.cal__grid button.is-closed { color: rgba(255, 180, 162, .55); text-decoration: line-through; }
.cal__grid button.is-today { box-shadow: inset 0 0 0 1.5px var(--sand); }
.cal__grid button.is-ferie::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--vert); }
.cal__grid button[aria-pressed="true"] { background: var(--jaune); color: var(--night); }
@media (hover: hover) and (pointer: fine) { .cal__grid button:not(:disabled):hover { background: rgba(245, 197, 24, .2); } }
.cal__legend { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }
.cal__key { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .4rem; vertical-align: middle; }
.cal__key--closed { background: #ffb4a2; }
.cal__key--ferie { background: var(--vert); }
.cal__next { font-size: .85rem; color: var(--sand); margin: .25rem 0 0; }
.cal__next:empty { display: none; }
.cal__nojs { display: none; }
html:not(.js) .cal, html:not(.js) .cal__legend { display: none; }
html:not(.js) .cal__nojs { display: block; }
/* Téléphone : icône à gauche, cartes plus compactes pour voir les trois infos d'un coup d'œil */
@media (max-width: 859px) {
  .info-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; padding: 1.1rem 1.1rem .9rem; }
  .info-card > * { grid-column: 2; }
  .info-card__icon { grid-column: 1; grid-row: 1 / span 4; width: 48px; height: 48px; margin: 0; }
  .info-card__icon svg { width: 24px; height: 24px; }
  .info-card h3 { font-size: 1.4rem; margin-bottom: .35rem; }
  .info-card .atm { grid-column: 1 / -1; }
  .info-card p { margin-bottom: .45rem; font-size: .98rem; }
  .infos__grid { gap: .75rem; }
}

/* Compteur de la note : boîte figée par le script pendant le décompte, la mise en page de la page ne bouge plus (13/10/2026) */
[data-count].is-counting { display: inline-block; contain: layout; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }

/* Navigateurs d'avant 2021 (sans aspect-ratio) : le cadre garde sa proportion grâce à un pseudo-élément (13/10/2026) */
@supports not (aspect-ratio: 1) {
  .story__photo::before, .dish__media::before, .shot::before { content: ""; display: block; }
  .story__photo::before, .shot::before { padding-top: 75%; }
  .dish__media::before { padding-top: 125%; }
  .story__photo > img, .dish__media > img, .dish__media > video, .shot > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
  .story__photo, .shot { position: relative; }
}
