/* Le Nirvana · restaurant créole à Langevin, Saint-Joseph. Démo Vixya.
   Identité créée : le paille-en-queue en emblème, le ciel et l'océan de la terrasse, le rose de l'hibiscus. */

@font-face { font-family: "Caprasimo"; src: url("polices/caprasimo.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("polices/golos.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ciel: #DCEFF8;
  --ecume: #F5FBFE;
  --ocean: #0B3A8C;
  --abysse: #072456;
  --azur: #5AAEE6;
  --hibiscus: #D12A5C;
  --palme: #1E7A4C;
  --blanc: #FFFFFF;
  --texte: #12305E;
  --titre: "Caprasimo", "Cooper Black", Georgia, serif;
  --corps: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --marge: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --motif-vagues: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='64' viewBox='0 0 240 64'%3E%3Cpath d='M0 40 Q 30 30 60 40 T 120 40 T 180 40 T 240 40' fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1.5'/%3E%3C/svg%3E");
  --ombre-tirage: 0 2px 4px rgba(7, 36, 86, 0.18), 0 22px 44px -20px rgba(7, 36, 86, 0.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: #051B44; color: var(--texte);
  font-family: var(--corps); font-size: 17px; line-height: 1.55;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }
blockquote { margin: 0; }
figure { margin: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.evitement { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--ocean); color: #fff; border-radius: 999px; font-weight: 700; }
.evitement:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--hibiscus); outline-offset: 3px; }

/* ——— Petits éléments communs ——— */
.etiquette {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600; letter-spacing: 0.02em; color: var(--hibiscus);
}
.etiquette::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.etiquette-mer { color: #FFB4C8; }

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--corps); font-size: 17px; font-weight: 700; line-height: 1.15; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.2), background-color 0.25s ease, box-shadow 0.25s ease;
}
.bouton svg { width: 20px; height: 20px; flex: none; }
.bouton-plein { background: var(--hibiscus); color: #fff; box-shadow: 0 10px 24px -12px rgba(209, 42, 92, 0.9); }
.bouton-clair { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.bouton-trait { background: transparent; color: var(--ocean); border-color: var(--ocean); }
@media (hover: hover) {
  .bouton:hover { transform: translateY(-2px); }
  .bouton-plein:hover { background: #B81F4E; }
  .bouton-clair:hover { background: rgba(255, 255, 255, 0.12); }
  .bouton-trait:hover { background: rgba(11, 58, 140, 0.08); }
}
.bouton:active { transform: translateY(1px) scale(0.98); }

.pastille {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  padding: 8px 16px; border-radius: 999px; font-size: 16px; line-height: 1.25; text-decoration: none;
}
.point { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--azur); }
.point.ouvert { background: #3DDC84; box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); animation: pouls 2.4s ease-out 3; }
.point.ferme { background: #FF8FAE; }
@keyframes pouls { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.etoiles { color: #FFC44D; letter-spacing: 1px; }
.etoiles[style*="--note"] { color: transparent; background: linear-gradient(90deg, #FFC44D calc(var(--note) / 5 * 100%), rgba(255, 196, 77, 0.32) 0); -webkit-background-clip: text; background-clip: text; }

/* ——— En-tête ——— */
.entete {
  position: relative; z-index: 30;
  display: flex; align-items: center; gap: 10px;
  padding: 12px var(--marge); background: #CFE9F6;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ocean); min-height: 50px; }
.embleme { width: 40px; height: 40px; flex: none; }
.logo-nom { font-family: var(--titre); font-size: 22px; line-height: 1; white-space: nowrap; }
.apercu {
  padding: 4px 8px; border: 1.5px solid currentColor; border-radius: 999px; color: var(--ocean);
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1; opacity: 0.8;
}
.entete-horaires { display: none; align-items: center; gap: 8px; margin-left: auto; font-size: 16px; color: var(--ocean); }
.entete-tel {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  min-height: 50px; padding: 10px 14px; border-radius: 999px;
  background: var(--ocean); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color 0.25s ease;
}
.entete-tel svg { width: 18px; height: 18px; }
.entete-tel .long { display: none; }
@media (max-width: 559px) { .entete-tel svg { display: none; } }
@media (hover: hover) { .entete-tel:hover { background: var(--hibiscus); } }
@media (min-width: 560px) { .entete-tel .long { display: inline; } .entete-tel .court { display: none; } }
@media (max-width: 379px) { .logo-nom { font-size: 20px; } .embleme { width: 34px; height: 34px; } .logo { gap: 6px; } .apercu { padding: 4px 6px; letter-spacing: 0.04em; } .entete { gap: 6px; } .entete-tel { padding: 10px 12px; } }
@media (min-width: 1000px) {
  .entete { position: sticky; top: 0; padding-block: 14px; background: rgba(207, 233, 246, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .entete-horaires { display: inline-flex; }
  .entete-tel { margin-left: 18px; }
}

/* ——— 1. Haut de page : la photo de ses plats en grand, puis la mer ———
   Téléphone : la photo occupe le haut de l'écran sur toute la largeur (390 px pour une photo de 720 px : nette),
   l'en-tête est posé dessus ; dessous, sur le bleu de l'océan, le titre en trois lignes et « Réserver ».
   Ordinateur : deux colonnes, le ciel et la mer à gauche, la photo sur toute la hauteur à droite (jamais plus large que 720 px). */
.heros { position: relative; overflow: clip; background: var(--ocean); }
.heros-photo { position: relative; z-index: 2; height: clamp(320px, 54svh, 420px); }
.heros-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.heros-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(180deg, rgba(11, 58, 140, 0), rgba(11, 58, 140, 0.55)); pointer-events: none; }
.pastille-photo {
  position: absolute; z-index: 3; left: var(--marge); bottom: 14px; min-height: 42px; padding: 8px 14px;
  background: rgba(5, 27, 68, 0.78); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.macaron {
  position: absolute; z-index: 3; right: var(--marge); top: 50%; width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; gap: 1px; text-align: center; text-decoration: none;
  background: #fff; color: var(--ocean); rotate: -8deg; box-shadow: 0 2px 4px rgba(5, 27, 68, 0.25), 0 14px 26px -12px rgba(5, 27, 68, 0.7);
  border: 3px solid #fff; outline: 2px dashed rgba(209, 42, 92, 0.55); outline-offset: -9px;
  transition: rotate 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.3), scale 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.3);
}
.macaron .etoiles { font-size: 14px; letter-spacing: 0; }
.macaron strong { font-family: var(--titre); font-weight: 400; font-size: 30px; line-height: 1; }
.macaron span:last-child { font-size: 13px; font-weight: 700; line-height: 1.15; max-width: 72px; }
@media (hover: hover) { .macaron:hover { rotate: -2deg; scale: 1.06; } }
.vol { position: absolute; overflow: visible; pointer-events: none; }
.vol-heros { inset: 0; width: 100%; height: 100%; z-index: 4; }
.vol .plume { fill: #fff; }
.vol-heros .queue, .vol-heros .oiseau { filter: url(#ombre-oiseau); }

.heros-texte { position: relative; z-index: 1; color: #fff; background: linear-gradient(180deg, #164C9E 0%, var(--ocean) 40%, #09307A 100%); border-top: 2px solid #9AD2F2; }
.heros-haut { padding: 16px var(--marge) 0; }
.heros-haut .etiquette { color: #FFB4C8; }
.heros-haut h1 { margin-top: 6px; font-size: clamp(1.7rem, 7.6vw, 2.4rem); line-height: 1.06; max-width: 15em; }
.heros-bas { padding: 16px var(--marge) 64px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions .bouton { flex: 1 1 auto; }
.actions-heros { margin-top: 0; flex-wrap: nowrap; }
.actions-heros .bouton { padding-inline: 18px; }
.actions-heros .bouton-plein { flex: 1.4 1 auto; }
.bouton .long { display: none; }
.chapo { margin-top: 22px; font-size: 18px; line-height: 1.5; max-width: 38ch; color: #E3F0FA; }
@media (max-width: 999px) {
  /* l'en-tête se pose sur la photo */
  .entete { position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(180deg, rgba(5, 27, 68, 0.62) 0%, rgba(5, 27, 68, 0.28) 70%, rgba(5, 27, 68, 0) 100%); padding-bottom: 22px; }
  .entete .logo, .entete .apercu { color: #fff; }
  .entete .apercu { opacity: 0.95; }
  .entete-tel { background: #fff; color: var(--ocean); }
}
@media (min-width: 700px) and (max-width: 999px) {
  .heros-photo { height: 460px; }
  .actions-heros .bouton { flex: 0 0 auto; }
}
@media (min-width: 560px) { .bouton .long { display: inline; } .bouton .court { display: none; } }
@media (min-width: 1000px) {
  .heros { display: grid; grid-template-columns: minmax(0, 1fr) min(720px, 47vw); min-height: min(calc(100vh - 78px), 900px); background: var(--ocean); }
  .heros-photo { grid-column: 2; grid-row: 1; height: auto; min-height: 640px; }
  .heros-photo::after { display: none; }
  .heros-texte { grid-column: 1; grid-row: 1; display: grid; grid-template-rows: 1fr auto; border-top: 0; background: none; }
  .heros-haut { display: flex; flex-direction: column; justify-content: flex-end; padding: 56px 56px 40px max(var(--marge), calc((100vw - var(--max)) / 2)); background: linear-gradient(180deg, #CFE9F6 0%, var(--ciel) 60%, #EAF6FB 100%); color: var(--ocean); border-bottom: 2px solid #9AD2F2; }
  .heros-haut .etiquette { color: var(--hibiscus); }
  .heros-haut h1 { margin-top: 14px; font-size: clamp(3rem, 4.6vw, 4.6rem); line-height: 1.04; max-width: 11em; }
  .heros-bas { padding: 36px 56px 56px max(var(--marge), calc((100vw - var(--max)) / 2)); background: linear-gradient(180deg, #1C5BB0 0%, var(--ocean) 45%, #09307A 100%); }
  .actions-heros .bouton { flex: 0 0 auto; }
  .chapo { font-size: 19px; }
  .pastille-photo { left: 28px; bottom: 72px; }
  .macaron { right: 32px; top: auto; bottom: 34%; width: 128px; height: 128px; }
  .macaron strong { font-size: 36px; }
}

/* ——— Le ruban entre le haut de page et la vue (une seule bande, aussi sur téléphone) ——— */
.ruban-cadre { position: relative; z-index: 6; height: 0; overflow-x: clip; overflow-y: visible; }
.ruban {
  position: absolute; left: -4%; width: 108%; top: -27px; rotate: -2deg;
  background: var(--hibiscus); color: #fff; padding: 12px 0; overflow: hidden;
  box-shadow: 0 14px 30px -16px rgba(5, 27, 68, 0.8);
}
.ruban-piste { display: flex; width: max-content; margin: 0; animation: defile 46s linear infinite; }
.ruban-groupe { display: flex; align-items: center; }
.ruban-groupe span { font-family: var(--titre); font-size: 20px; line-height: 1.2; white-space: nowrap; padding-inline: 16px; }
.ruban-groupe svg { width: 34px; height: 20px; flex: none; color: #FFE1EA; }
.ruban.en-pause .ruban-piste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ruban-piste { animation: none; } }
@media (min-width: 1000px) { .ruban { padding: 14px 0; top: -30px; } .ruban-groupe span { font-size: 24px; padding-inline: 22px; } }

/* ——— 2. La vue : le paille-en-queue passe devant le ciel de la terrasse ———
   Le ciel est une vraie photo (les palmes au-dessus de l'escalier), jamais affichée plus grande que sa définition :
   pleine largeur sur téléphone (390 px), au plus 720 px sur ordinateur. Scène collante courte : 140 vh sur téléphone, 125 vh sur ordinateur. */
.vue { position: relative; background: #082C70; color: #fff; }
.vue-piste { position: relative; }
.vue-scene {
  position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-areas: "texte" "photo" "reperes"; grid-template-rows: auto auto auto; align-content: center; gap: 16px;
  padding: 52px var(--marge) 28px;
  background:
    radial-gradient(90% 55% at 72% 30%, rgba(120, 190, 240, 0.26) 0%, rgba(120, 190, 240, 0) 70%),
    linear-gradient(180deg, var(--ocean) 0%, #0A3482 45%, #082C70 100%);
}
.vol-actif .vue-piste { height: 125vh; }
.vol-actif .vue-scene { position: sticky; top: 0; height: 100vh; height: 100svh; }
.vagues { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.vagues path { fill: none; stroke: rgba(160, 215, 250, 0.16); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.vagues .reflet { stroke: rgba(220, 240, 255, 0.34); stroke-width: 2.5; stroke-linecap: round; }
.vue-texte { grid-area: texte; position: relative; z-index: 3; max-width: 760px; }
.vue-texte h2 { margin-top: 10px; font-size: clamp(1.6rem, 6.8vw, 3.6rem); line-height: 1.08; }
.vue-photo {
  grid-area: photo; position: relative; z-index: 1; margin: 0 calc(-1 * var(--marge)); height: clamp(220px, 40svh, 300px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.vue-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.vol-vue { inset: 0; width: 100%; height: 100%; z-index: 2; }
.vue-reperes { grid-area: reperes; position: relative; z-index: 3; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vue-reperes li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.3; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1); }
.vue-reperes strong { font-weight: 700; }
.repere-num {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #FF8FAE; color: #fff; font-weight: 700; font-size: 16px; transition: background-color 0.5s ease;
}
.vol-actif .vue-reperes li { opacity: 0.35; transform: translateX(-6px); }
.vol-actif .vue-reperes li.allume { opacity: 1; transform: none; }
.vue-reperes li.allume .repere-num { background: var(--hibiscus); border-color: var(--hibiscus); }
.vue-citation { padding: 4px var(--marge) 56px; max-width: calc(var(--max) + 2 * var(--marge)); margin-inline: auto; }
.vue-citation blockquote { font-family: var(--titre); font-size: clamp(1.35rem, 5.4vw, 2.3rem); line-height: 1.2; max-width: 32ch; }
.vue-citation figcaption { margin-top: 12px; font-size: 16px; color: #BFE0F7; }
@media (max-width: 760px) { .vue-scene { padding-bottom: calc(18px + var(--barre-h, 0px)); } }
.vue-citation-scene { display: none; }
@media (min-width: 1000px) {
  .vue-citation-bas { display: none; }
  .vue-citation-scene { display: block; grid-area: citation; position: relative; z-index: 3; padding: 0; margin: 0; max-width: none; }
  .vue-citation-scene blockquote { font-size: 1.45rem; max-width: 26ch; }
}
@media (min-width: 1000px) {
  .vol-actif .vue-piste { height: 125vh; }
  .vue-scene {
    grid-template-areas: "texte photo" "reperes photo" "citation photo"; grid-template-columns: minmax(0, 1fr) min(640px, 46vw); grid-template-rows: auto auto auto;
    align-content: center; column-gap: 56px; row-gap: 28px; padding: 96px max(var(--marge), calc((100vw - var(--max)) / 2)) 56px;
  }
  .vue-texte { align-self: end; }
  .vue-texte h2 { font-size: clamp(2.5rem, 3.4vw, 3.3rem); }
  /* sur grand écran, le ciel devient un grand tirage penché : les oiseaux passent devant et sortent du cadre */
  .vue-photo {
    margin: 0; height: auto; align-self: center; padding: 12px; background: #fff; border-radius: 5px; rotate: -2deg;
    box-shadow: 0 30px 60px -30px rgba(2, 12, 36, 0.9);
    -webkit-mask-image: none; mask-image: none;
  }
  .vue-photo img { height: auto; aspect-ratio: 750 / 468; border-radius: 2px; }
  .vue-reperes { align-self: start; gap: 12px; }
  .vue-reperes li { font-size: 18px; }
  .vue-citation { padding-top: 8px; padding-bottom: 88px; }
}

/* ——— Les tirages : photos à bord blanc, légèrement de travers (procédé repris d'Union) ——— */
.tirage {
  position: relative; margin: 0; padding: 8px; background: #fff; border-radius: 5px;
  box-shadow: var(--ombre-tirage); rotate: var(--r, 0deg);
}
.tirage img { width: 100%; height: auto; border-radius: 2px; }
.tirage figcaption { padding: 8px 4px 2px; font-family: var(--titre); font-size: 16px; line-height: 1.2; color: var(--ocean); }
@media (hover: hover) {
  .tirage { transition: rotate 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.2), scale 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.2); }
  .tirage.vu:hover { rotate: 0deg; scale: 1.03; }
  .carte { transition: rotate 0.4s ease, translate 0.4s ease; }
  .carte:hover { rotate: 0deg; translate: 0 -6px; }
}
/* sur téléphone, une photo sur toute la largeur (390 px pour 720 à 828 px de photo : nette) */
@media (max-width: 999px) {
  .pleine-largeur.tirage { margin-inline: calc(-1 * var(--marge)); width: auto; max-width: none; padding: 0; border-radius: 0; rotate: 0deg; box-shadow: none; }
  .pleine-largeur.tirage img { border-radius: 0; }
  .pleine-largeur.tirage figcaption {
    position: absolute; left: var(--marge); bottom: 14px; padding: 6px 12px; border-radius: 999px;
    background: #fff; box-shadow: 0 6px 16px -8px rgba(5, 27, 68, 0.7); rotate: -2deg;
  }
  .anim-pret .pleine-largeur.apparait:not(.vu) { rotate: 0deg; translate: 0 24px; }
}

/* ——— 3. La terrasse ——— */
.terrasse { background: var(--ciel); padding: 0 var(--marge) 60px; }
.terrasse-grille { max-width: var(--max); margin-inline: auto; display: grid; gap: 30px; }
.terrasse-photo { position: relative; }
.fleche { display: none; position: absolute; width: 120px; right: -40px; bottom: -40px; color: var(--hibiscus); rotate: 8deg; }
.fleche path { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.terrasse-texte h2 { margin-top: 12px; color: var(--ocean); font-size: clamp(1.8rem, 7.4vw, 3.4rem); line-height: 1.08; }
.terrasse-texte > p:not(.etiquette) { margin-top: 16px; font-size: 18px; max-width: 46ch; }
.grande-citation { margin-top: 24px; padding-left: 18px; border-left: 4px solid var(--hibiscus); }
.grande-citation blockquote { font-family: var(--titre); color: var(--ocean); font-size: clamp(1.2rem, 4.8vw, 1.5rem); line-height: 1.28; }
.grande-citation figcaption { margin-top: 10px; font-size: 16px; color: #3A5A86; }
@media (min-width: 1000px) {
  .terrasse { padding-block: 96px; }
  .terrasse-grille { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 80px; align-items: center; }
  .terrasse-photo .tirage { --r: -2.5deg; max-width: 560px; }
  .fleche { display: block; }
}

/* ——— 4. L'assiette ——— */
.assiette { position: relative; overflow: clip; background: var(--ecume); padding: 56px var(--marge) 64px; }
.assiette-entete, .assiette-table, .assiette-action { position: relative; z-index: 1; max-width: var(--max); margin-inline: auto; }
.assiette-entete h2 { margin-top: 12px; color: var(--ocean); font-size: clamp(1.8rem, 7.4vw, 3.4rem); line-height: 1.08; max-width: 18ch; }
.assiette-entete > p:not(.etiquette) { margin-top: 16px; font-size: 18px; max-width: 44ch; }
.assiette-table { margin-top: 32px; display: grid; gap: 18px; }
.tirage-salade { --r: -3deg; width: 78%; }
.tirage-riz { --r: 4deg; }
.gouts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.gout {
  padding: 18px 20px; border-radius: 18px; color: #fff; rotate: var(--r, -1deg);
  box-shadow: 0 14px 28px -18px rgba(7, 36, 86, 0.7);
}
.gout p { font-size: 17px; line-height: 1.45; }
.gout span { display: block; margin-top: 8px; font-family: var(--titre); font-size: 17px; }
.gout:nth-child(odd) { background: var(--hibiscus); --r: -1.4deg; }
.gout:nth-child(even) { background: var(--ocean); --r: 1.2deg; }
.assiette-action { margin-top: 32px; }
.assiette-action .bouton { width: 100%; }
@media (max-width: 999px) {
  .assiette-table { grid-template-areas: "salade" "q1" "q2" "riz" "q3" "q4"; }
  .tirage-salade { grid-area: salade; justify-self: start; }
  .tirage-riz { grid-area: riz; margin-top: 8px; }
  .gouts { display: contents; }
  .gout:nth-child(1) { grid-area: q1; } .gout:nth-child(2) { grid-area: q2; } .gout:nth-child(3) { grid-area: q3; } .gout:nth-child(4) { grid-area: q4; }
  .gout:nth-child(1), .gout:nth-child(3) { margin-right: 10%; }
  .gout:nth-child(2), .gout:nth-child(4) { margin-left: 10%; }
  .gout:nth-child(1) { margin-top: -54px; margin-left: 18%; margin-right: 0; position: relative; z-index: 2; }
  .gout:nth-child(3) { margin-top: -40px; position: relative; z-index: 2; }
}
@media (min-width: 1000px) {
  .assiette { padding-block: 96px; }
  .assiette-table { grid-template-columns: 1fr 1.1fr 1fr; grid-template-rows: auto auto; align-items: center; gap: 28px 40px; margin-top: 56px; }
  .tirage-salade { grid-column: 2; grid-row: 1 / span 2; width: 88%; justify-self: center; }
  .tirage-riz { grid-column: 3; grid-row: 1; width: 100%; }
  .gouts { display: contents; }
  .gout:nth-child(1) { grid-column: 1; grid-row: 1; }
  .gout:nth-child(2) { grid-column: 1; grid-row: 2; }
  .gout:nth-child(3) { grid-column: 3; grid-row: 2; }
  .gout:nth-child(4) { display: none; }
  .assiette-action { margin-top: 56px; text-align: center; }
  .assiette-action .bouton { width: auto; }
}

/* ——— 5. Les avis en cartes postales ——— */
.avis { background: var(--ocean) var(--motif-vagues); color: #fff; padding: 60px 0 64px; }
.avis-entete { padding-inline: var(--marge); max-width: calc(var(--max) + 2 * var(--marge)); margin-inline: auto; display: grid; gap: 22px; }
.avis-note { display: flex; align-items: flex-end; gap: 16px; }
.note-chiffre { font-family: var(--titre); font-size: clamp(5rem, 24vw, 9rem); line-height: 0.82; }
.note-detail { display: grid; gap: 2px; padding-bottom: 6px; font-size: 17px; color: #D5EBFA; }
.note-detail .etoiles { font-size: 24px; }
.avis-entete h2 { margin-top: 12px; font-size: clamp(1.8rem, 7vw, 3.3rem); line-height: 1.08; max-width: 20ch; }
.cartes {
  list-style: none; margin: 28px 0 0; padding: 22px var(--marge) 30px;
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge);
  overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}
.carte {
  position: relative; flex: 0 0 min(84vw, 380px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px 22px 20px; border-radius: 6px; background: #FFFDF8; color: var(--texte);
  rotate: var(--r, 0deg); box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.6);
  background-image: repeating-linear-gradient(90deg, rgba(209, 42, 92, 0.9) 0 14px, transparent 14px 22px, rgba(11, 58, 140, 0.9) 22px 36px, transparent 36px 44px);
  background-size: 100% 6px; background-repeat: no-repeat; background-position: 0 0;
}
.carte:nth-child(odd) { --r: -1.2deg; }
.carte:nth-child(even) { --r: 1deg; }
.carte blockquote { font-size: 17px; line-height: 1.5; padding-right: 62px; flex: 1; }
.carte-nom { font-family: var(--titre); font-size: 19px; color: var(--ocean); border-top: 1.5px dashed rgba(11, 58, 140, 0.35); padding-top: 12px; }
.timbre {
  position: absolute; top: 18px; right: 16px; width: 56px; height: 66px; padding: 5px;
  background: radial-gradient(circle, transparent 2.4px, #CFE6F5 2.9px) -4px -4px / 8px 8px; rotate: 4deg;
  filter: drop-shadow(0 1px 1px rgba(7, 36, 86, 0.25));
}
.timbre svg { width: 100%; height: 100%; padding: 5px; background: #CFE6F5; }
.avis-pied { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-inline: var(--marge); max-width: calc(var(--max) + 2 * var(--marge)); margin: 12px auto 0; }
.avis-lien { margin: 0; }
.fleches { display: flex; gap: 10px; order: 2; }
.fleches[hidden] { display: none; }
.fleche-bouton {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.6); background: transparent; color: #fff; transition: background-color 0.25s ease, transform 0.25s ease;
}
.fleche-bouton svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fleche-bouton:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) { .fleche-bouton:not(:disabled):hover { background: var(--hibiscus); border-color: var(--hibiscus); } }
.fleche-bouton:not(:disabled):active { transform: scale(0.94); }
@media (max-width: 699px) { .fleches { display: none !important; } }
.avis-lien a { display: inline-flex; align-items: center; min-height: 50px; font-weight: 700; font-size: 17px; color: #fff; text-underline-offset: 5px; }
@media (min-width: 1000px) {
  .avis { padding-block: 96px; }
  .avis-entete { grid-template-columns: auto 1fr; align-items: end; gap: 64px; }
  .cartes { padding-inline: max(var(--marge), calc((100vw - var(--max)) / 2)); scroll-padding-inline: max(var(--marge), calc((100vw - var(--max)) / 2)); }
}

/* ——— 6. Réserver une table ——— */
.table { background: var(--ciel); padding: 60px var(--marge) 64px; }
.table-grille { max-width: var(--max); margin-inline: auto; display: grid; gap: 34px; }
.table-texte h2 { margin-top: 12px; color: var(--ocean); font-size: clamp(1.9rem, 7.6vw, 3.6rem); line-height: 1.08; }
.table-texte > p:not(.etiquette) { margin: 18px 0 22px; font-size: 18px; max-width: 44ch; }
.carnet { background: #fff; border-radius: 26px; padding: 22px 18px; box-shadow: 0 30px 60px -36px rgba(7, 36, 86, 0.55); }
.carnet-actions { display: grid; gap: 12px; margin-top: 18px; }
.bulle { position: relative; padding: 14px 16px 16px; border-radius: 20px 20px 20px 6px; background: #E3F1FA; }
.bulle-a { font-size: 14px; font-weight: 600; color: #4A6890; }
.bulle-texte { margin-top: 6px; font-size: 17px; line-height: 1.45; color: var(--texte); }
.bouton-large { width: 100%; }
.carnet-note { margin-top: 14px; font-size: 16px; color: #4A6890; text-align: center; }
.table-tel { display: inline-block; font-family: var(--titre); font-size: clamp(2.1rem, 9.6vw, 3.4rem); line-height: 1.1; color: var(--ocean); text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--azur); padding-bottom: 4px; }
.table-tel:focus-visible { outline: 3px solid var(--azur); outline-offset: 4px; }
@media (min-width: 1000px) {
  .table { padding-block: 96px; }
  .table-grille { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
  .carnet { padding: 34px; }
}

/* ——— 7. Venir ——— */
.venir { background: var(--abysse) var(--motif-vagues); color: #fff; padding: 60px var(--marge) 64px; }
.venir-grille { max-width: var(--max); margin-inline: auto; display: grid; gap: 40px; }
.venir-texte h2 { margin-top: 12px; font-size: clamp(1.9rem, 7.4vw, 3.5rem); line-height: 1.08; }
.pastille-mer { margin-top: 24px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); }
.venir-faits { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.venir-faits li { position: relative; padding-left: 26px; font-size: 18px; line-height: 1.45; color: #E3F0FA; }
.venir-faits li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--hibiscus); }
.venir .actions { margin-top: 28px; }
.semaine ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.semaine li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); font-size: 18px;
}
.semaine li span:first-child { font-family: var(--titre); font-size: 20px; }
.semaine li.aujourdhui { background: rgba(255, 255, 255, 0.08); border-radius: 12px; padding-inline: 14px; border-bottom-color: transparent; }
.semaine li.aujourdhui span:first-child::after {
  content: "Aujourd'hui"; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--hibiscus);
  font-family: var(--corps); font-size: 13px; font-weight: 700; vertical-align: 3px;
}
@media (min-width: 1000px) {
  .venir { padding-block: 96px; }
  .venir-grille { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 80px; align-items: center; }
}

/* ——— Pied de page ——— */
.pied { background: #051B44; color: #fff; padding: 52px var(--marge) 36px; overflow: clip; }
.pied-marque { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); max-width: var(--max); margin-inline: auto; }
.pied-marque .embleme { width: clamp(52px, 13vw, 150px); height: auto; aspect-ratio: 1; }
.pied-nom { font-family: var(--titre); font-size: clamp(2.4rem, 11vw, 9.5rem); line-height: 0.95; white-space: nowrap; }
.pied-citation { max-width: var(--max); margin: 30px auto 0; }
.pied-citation blockquote { font-family: var(--titre); font-size: clamp(1.3rem, 5vw, 2.2rem); color: #FFB4C8; }
.pied-citation figcaption { margin-top: 8px; font-size: 16px; color: #BFD6EE; }
.pied-infos { max-width: var(--max); margin: 36px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: grid; gap: 8px; font-size: 16px; color: #D5E6F6; }
.pied-infos a { color: #fff; }
.pied-mention { color: #9FBCE0; }
.pied-infos > p:nth-child(3) { margin-top: 10px; }

/* ——— Apparitions (seulement quand GSAP est prêt ; sans script ou sans animation, tout est visible) ——— */
.anim-pret .apparait:not(.vu) { opacity: 0; translate: 0 34px; }
.anim-pret .tirage.apparait:not(.vu) { rotate: calc(var(--r, 0deg) * 3); translate: 0 46px; }
.anim-pret .gout.apparait:not(.vu) { rotate: calc(var(--r, 0deg) * 4); }
.apparait { transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), translate 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), rotate 1.1s cubic-bezier(0.2, 0.8, 0.25, 1.15); transition-delay: var(--delai, 0s); }

/* titre découpé (procédé) */
.js [data-titre-decoupe]:not(.pret) { visibility: hidden; animation: td-secours 0s linear 3s forwards; }
@keyframes td-secours { to { visibility: visible; } }
[data-titre-decoupe] > div[style*="clip"] { padding-block: 0.14em; margin-block: -0.14em; }

@media (prefers-reduced-motion: reduce) {
  .js [data-titre-decoupe]:not(.pret) { visibility: visible; animation: none; }
  .apparait, .bouton, .vue-reperes li { transition: none; }
  .point.ouvert { animation: none; }
}

/* ——— Barre d'appel collante (procédé), téléphone seulement ——— */
.barre-appel { display: none; }
@media (max-width: 760px) {
  :root { --barre-h: 67px; }
  .barre-appel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: #fff; border-top: 1px solid rgba(11, 58, 140, 0.15);
    box-shadow: 0 -8px 24px -12px rgba(7, 36, 86, 0.45);
    transition: transform 0.25s ease, visibility 0.25s;
  }
  .barre-appel a {
    display: flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 50px; padding: 0 12px;
    border: 2px solid var(--hibiscus); border-radius: 999px; background: var(--hibiscus); color: #fff;
    font-size: 1rem; font-weight: 700; line-height: 1.1; text-decoration: none;
  }
  .barre-appel a:not(:first-child) { background: transparent; color: var(--ocean); border-color: var(--ocean); }
  .barre-appel svg { width: 1.25em; height: 1.25em; flex: none; }
  body:has(.barre-appel) { padding-bottom: calc(var(--barre-h) + env(safe-area-inset-bottom, 0px)); }
  html:has(.barre-appel) { scroll-padding-bottom: calc(var(--barre-h) + env(safe-area-inset-bottom, 0px) + 16px); }
  body:has(:is(input:not([type=checkbox], [type=radio], [type=button], [type=submit], [type=reset], [type=range], [type=file]), textarea, select, [contenteditable]):focus) .barre-appel { transform: translateY(105%); visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .barre-appel { transition: none; } }
@media print { .barre-appel { display: none; } }

/* les oiseaux n'apparaissent qu'une fois placés par le script (sans script, l'oiseau dessiné reste visible) */
.js .vol { opacity: 0; }
.js .vol.vol-pret { opacity: 1; }

/* ——— Reprise du 13 octobre : sections en billet, ciel vivant, oiseau du haut qui plane sans s'arrêter ——— */
:root {
  --biais: clamp(26px, 5vw, 64px);
  --motif-vagues-bleu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='64' viewBox='0 0 240 64'%3E%3Cpath d='M0 40 Q 30 30 60 40 T 120 40 T 180 40 T 240 40' fill='none' stroke='%230B3A8C' stroke-opacity='0.07' stroke-width='1.5'/%3E%3C/svg%3E");
}
/* chaque section remonte sur la précédente par un bord en biais, un coup vers la droite, un coup vers la gauche */
.vue { z-index: 0; }
.terrasse, .assiette, .avis, .table, .venir, .pied { position: relative; margin-top: calc(-1 * var(--biais)); }
.terrasse { z-index: 1; clip-path: polygon(0 var(--biais), 100% 0, 100% 100%, 0 100%); }
.assiette { z-index: 2; clip-path: polygon(0 0, 100% var(--biais), 100% 100%, 0 100%); padding-top: calc(56px + var(--biais)); }
.avis { z-index: 3; clip-path: polygon(0 var(--biais), 100% 0, 100% 100%, 0 100%); padding-top: calc(60px + var(--biais)); }
.table { z-index: 4; clip-path: polygon(0 0, 100% var(--biais), 100% 100%, 0 100%); padding-top: calc(60px + var(--biais)); }
.venir { z-index: 5; clip-path: polygon(0 var(--biais), 100% 0, 100% 100%, 0 100%); padding-top: calc(60px + var(--biais)); }
.pied { z-index: 6; clip-path: polygon(0 0, 100% var(--biais), 100% 100%, 0 100%); padding-top: calc(52px + var(--biais)); }
@media (min-width: 1000px) {
  .terrasse, .assiette, .avis, .table, .venir { padding-top: calc(96px + var(--biais)); }
}
/* des fonds clairs qui ne sont plus des aplats : lumière du ciel, reflet d'océan, vagues dessinées */
.terrasse, .table {
  background:
    radial-gradient(120% 55% at 100% 0%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 62%),
    radial-gradient(90% 50% at 0% 100%, rgba(90, 174, 230, 0.26), rgba(90, 174, 230, 0) 70%),
    var(--motif-vagues-bleu), var(--ciel);
}
.assiette {
  background:
    radial-gradient(80% 45% at 0% 0%, rgba(220, 239, 248, 0.95), rgba(220, 239, 248, 0) 70%),
    radial-gradient(70% 40% at 100% 100%, rgba(209, 42, 92, 0.08), rgba(209, 42, 92, 0) 70%),
    var(--motif-vagues-bleu), var(--ecume);
}
.terrasse-grille, .table-grille, .venir-grille { position: relative; z-index: 1; }
/* des paille-en-queue au loin, qui traversent le ciel sans arrêt */
.ciel-vivant { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.loin {
  position: absolute; left: 0; top: var(--y); width: calc(var(--s) + 8px); color: rgba(11, 58, 140, 0.2);
  animation: traverse var(--d) linear var(--t) infinite; will-change: transform;
}
.loin svg { width: 100%; height: auto; animation: onde 3.4s ease-in-out infinite alternate; }
.loin.retour { animation-direction: reverse; }
.loin.retour svg { scale: -1 1; }
.ciel-vivant.clair .loin { color: rgba(255, 255, 255, 0.22); }
@keyframes traverse { from { transform: translateX(-90px); } to { transform: translateX(calc(100vw + 30px)); } }
@keyframes onde { from { transform: translateY(-9px) rotate(-5deg); } to { transform: translateY(9px) rotate(4deg); } }
.ciel-vivant.en-pause .loin, .ciel-vivant.en-pause .loin svg { animation-play-state: paused; }
/* l'oiseau du haut de page, une fois posé, continue de planer */
.vol-heros.plane { animation: plane 5.5s ease-in-out infinite alternate; transform-origin: 40% 30%; }
.vol-heros.plane.en-pause { animation-play-state: paused; }
@keyframes plane { from { transform: translate(0, -6px) rotate(-1deg); } to { transform: translate(8px, 7px) rotate(1.2deg); } }
@media (prefers-reduced-motion: reduce) {
  .loin, .loin svg, .vol-heros.plane { animation: none; }
  .loin:nth-child(1) { left: 10%; } .loin:nth-child(2) { left: 56%; } .loin:nth-child(3) { left: 82%; }
}
