/* =====================================================================
   CASAMATTA – feuille de style (maquette V2)
   Échelle : 1rem = 10px sur une maquette de 1920px de large
   (html { font-size: 0.5208vw }), plafonnée à 10px, plancher 5.5px.
   Toute cote de la maquette en px se divise donc par 10.
   ===================================================================== */

:root {
  --cream: #fcf6ea;
  --blue: #0a2268;
  --coral: #d55a56;

  --line: rgba(10, 34, 104, .45);          /* filets sur fond crème */
  --line-on-blue: rgba(252, 246, 234, .45); /* filets sur fond bleu */

  --sul: 'Sul Mono', 'Courier New', monospace;
  --kyoto: 'PP Kyoto', Georgia, 'Times New Roman', serif;
  --grot: 'Overused Grotesk', 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: 4rem;
  --header-h: 11.4rem;
  --notch: 5.2rem;                          /* rayon des coins découpés */
}

/* ---------- Lenis (défilement lissé) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
/* limité à la carte : le panneau de réservation Zenchef est aussi une iframe
   et doit rester cliquable */
.lenis.lenis-smooth .infos__map iframe { pointer-events: none; }
.lenis.lenis-autoToggle { transition-property: overflow; transition-duration: 1ms; transition-behavior: allow-discrete; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: clamp(5.5px, 0.5208333vw, 10px);
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none;            /* ascenseur natif masqué : remplacé par .scrollbar */
}
::-webkit-scrollbar { display: none; }

/* ---------- ascenseur maison : curseur crème sur rail bleu ----------
   Construit par main.js. Apparaît à chaque action de défilement (molette,
   tactile, clavier, souris au bord droit) et s'efface 500 ms après la
   dernière, sans attendre la fin du lissage Lenis. Déplaçable à la souris. */
.scrollbar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: 12px;
  background: var(--blue);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.scrollbar.is-visible { opacity: 1; pointer-events: auto; }
.scrollbar__thumb {
  position: absolute;
  top: 0;
  left: 3px;
  right: 3px;
  min-height: 40px;
  border-radius: 6px;
  background: var(--cream);
  cursor: grab;
  will-change: transform;
}
.scrollbar.is-dragging .scrollbar__thumb { cursor: grabbing; }
html.is-dragging-scrollbar { user-select: none; }

/* ---------- curseur maison : disque bleu, crème cerclé de bleu sur les liens ----------
   Construit par main.js (souris uniquement). Le liseré crème du disque bleu le
   garde visible sur les fonds bleus. */
html.has-cursor, html.has-cursor * { cursor: none !important; }
/* la liste « Formule » s'ouvre au-dessus de tout, disque compris : curseur natif sur ses options */
html.has-cursor option { cursor: pointer !important; }
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 400;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--cream);
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  transition: opacity .2s ease, width .25s ease, height .25s ease, margin .25s ease,
              background-color .25s ease, box-shadow .25s ease;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-link {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  background: var(--cream);
  box-shadow: 0 0 0 1.5px var(--blue);
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--cream);
  color: var(--blue);
  font: 400 2.6rem/1.19 var(--grot);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
main, .footer { overflow-x: clip; }

/* voile crème au chargement : couvre la page jusqu'à ce qu'elle soit prête
   (polices, position de défilement, Lenis), puis s'efface vers l'opacité 0 */
.js body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--cream);
  pointer-events: none;
  transition: opacity 1.4s ease, visibility 0s linear 1.4s;
}
.js.is-ready body::after { opacity: 0; visibility: hidden; }

img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
strong { font-weight: 600; }

.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;
}

.on-blue { background: var(--blue); color: var(--cream); --line: var(--line-on-blue); }

/* =====================================================================
   MOTIFS COMMUNS
   ===================================================================== */

/* ---------- titres extrudés ----------
   --d = avancement de l'extrusion (0 → 1). À l'apparition, la face avant
   part de la position du dos (bas-droite) et remonte vers le haut-gauche ;
   les 36 couches d'ombre s'allongent avec elle et dessinent la traînée.
   @property rend --d animable (transition easeInOutQuad). */
@property --d {
  syntax: '<number>';
  inherits: true;
  initial-value: 1;
}
.title {
  --ext: var(--blue);
  --d: 1;
  --sx: calc(var(--d) * .006em);   /* pas d'une couche : 36 × = 0.216em */
  --sy: calc(var(--d) * .0066em);  /*                      36 × = 0.2376em */
  margin: 0;
  font: 900 8.08rem/1 var(--sul);
  text-transform: uppercase;
  color: var(--coral);
  text-rendering: geometricPrecision;
  transform: translate(calc((1 - var(--d)) * .216em), calc((1 - var(--d)) * .2376em));
  transition: --d .6s cubic-bezier(.25, .46, .45, .94);   /* easeOutQuad */
  text-shadow:
    calc(var(--sx) *  1) calc(var(--sy) *  1) 0 var(--ext), calc(var(--sx) *  2) calc(var(--sy) *  2) 0 var(--ext),
    calc(var(--sx) *  3) calc(var(--sy) *  3) 0 var(--ext), calc(var(--sx) *  4) calc(var(--sy) *  4) 0 var(--ext),
    calc(var(--sx) *  5) calc(var(--sy) *  5) 0 var(--ext), calc(var(--sx) *  6) calc(var(--sy) *  6) 0 var(--ext),
    calc(var(--sx) *  7) calc(var(--sy) *  7) 0 var(--ext), calc(var(--sx) *  8) calc(var(--sy) *  8) 0 var(--ext),
    calc(var(--sx) *  9) calc(var(--sy) *  9) 0 var(--ext), calc(var(--sx) * 10) calc(var(--sy) * 10) 0 var(--ext),
    calc(var(--sx) * 11) calc(var(--sy) * 11) 0 var(--ext), calc(var(--sx) * 12) calc(var(--sy) * 12) 0 var(--ext),
    calc(var(--sx) * 13) calc(var(--sy) * 13) 0 var(--ext), calc(var(--sx) * 14) calc(var(--sy) * 14) 0 var(--ext),
    calc(var(--sx) * 15) calc(var(--sy) * 15) 0 var(--ext), calc(var(--sx) * 16) calc(var(--sy) * 16) 0 var(--ext),
    calc(var(--sx) * 17) calc(var(--sy) * 17) 0 var(--ext), calc(var(--sx) * 18) calc(var(--sy) * 18) 0 var(--ext),
    calc(var(--sx) * 19) calc(var(--sy) * 19) 0 var(--ext), calc(var(--sx) * 20) calc(var(--sy) * 20) 0 var(--ext),
    calc(var(--sx) * 21) calc(var(--sy) * 21) 0 var(--ext), calc(var(--sx) * 22) calc(var(--sy) * 22) 0 var(--ext),
    calc(var(--sx) * 23) calc(var(--sy) * 23) 0 var(--ext), calc(var(--sx) * 24) calc(var(--sy) * 24) 0 var(--ext),
    calc(var(--sx) * 25) calc(var(--sy) * 25) 0 var(--ext), calc(var(--sx) * 26) calc(var(--sy) * 26) 0 var(--ext),
    calc(var(--sx) * 27) calc(var(--sy) * 27) 0 var(--ext), calc(var(--sx) * 28) calc(var(--sy) * 28) 0 var(--ext),
    calc(var(--sx) * 29) calc(var(--sy) * 29) 0 var(--ext), calc(var(--sx) * 30) calc(var(--sy) * 30) 0 var(--ext),
    calc(var(--sx) * 31) calc(var(--sy) * 31) 0 var(--ext), calc(var(--sx) * 32) calc(var(--sy) * 32) 0 var(--ext),
    calc(var(--sx) * 33) calc(var(--sy) * 33) 0 var(--ext), calc(var(--sx) * 34) calc(var(--sy) * 34) 0 var(--ext),
    calc(var(--sx) * 35) calc(var(--sy) * 35) 0 var(--ext), calc(var(--sx) * 36) calc(var(--sy) * 36) 0 var(--ext);
}
.on-blue .title { color: var(--cream); --ext: var(--coral); }

/* état de départ (seulement si le JS tourne) : extrusion à plat, face au dos.
   is-in est posé en même temps que l'apparition du bloc (.reveal.in). */
.js .title { --d: 0; }
.js .title.is-in { --d: 1; }
/* hero : pas d'animation, titres extrudés d'emblée */
.js .hero .title { --d: 1; transition: none; }

.subtitle {
  margin-top: 3rem;
  font: 900 2.6rem/1 var(--sul);
  text-transform: uppercase;
}

/* ---------- vague sous les sous-titres ---------- */
.wave {
  display: block;
  width: 6.9rem;
  height: 1.3rem;
  margin: 1.8rem 0 1.2rem -0.1rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 69.1 13.2'%3E%3Cpath d='M0 11.18L17.36 2.5C20.61 .88 24.11 .88 27.36 2.5L39.73 8.68C42.98 10.31 46.48 10.31 49.73 8.68L67.09 0' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 69.1 13.2'%3E%3Cpath d='M0 11.18L17.36 2.5C20.61 .88 24.11 .88 27.36 2.5L39.73 8.68C42.98 10.31 46.48 10.31 49.73 8.68L67.09 0' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ---------- texte courant ---------- */
/* les retours à la ligne suivent la maquette (<br>) ; ils sautent sur mobile */
.text { max-width: 110rem; }
.text p + p { margin-top: 3.1rem; }
.text--narrow { margin-inline: auto; }

/* ---------- coins découpés (ticket) ----------
   Quatre quarts de cercle retirés aux angles : ce qui est derrière
   (fond crème, section bleue, photo) apparaît dans l'encoche. */
.ticket {
  --r: var(--notch);
  -webkit-mask:
    radial-gradient(circle at 0 0,       #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0       / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0,    #0000 var(--r), #000 calc(var(--r) + .5px)) 100% 0    / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%,    #0000 var(--r), #000 calc(var(--r) + .5px)) 0 100%    / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--r), #000 calc(var(--r) + .5px)) 100% 100% / 51% 51% no-repeat;
          mask:
    radial-gradient(circle at 0 0,       #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0       / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0,    #0000 var(--r), #000 calc(var(--r) + .5px)) 100% 0    / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%,    #0000 var(--r), #000 calc(var(--r) + .5px)) 0 100%    / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--r), #000 calc(var(--r) + .5px)) 100% 100% / 51% 51% no-repeat;
}

/* Variante sans masque pour les blocs à fond uni (section bleue, formulaire) :
   les encoches sont dessinées dans le fond lui-même. Le masque + l'animation
   d'apparition provoquaient sous Edge/Chromium un rectangle crème figé au
   redimensionnement. --tc = couleur du bloc. */
.ticket-bg {
  --r: var(--notch);
  --tc: var(--cream);
  background:
    radial-gradient(circle at 0 0,       #0000 var(--r), var(--tc) calc(var(--r) + .5px)) 0 0       / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0,    #0000 var(--r), var(--tc) calc(var(--r) + .5px)) 100% 0    / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%,    #0000 var(--r), var(--tc) calc(var(--r) + .5px)) 0 100%    / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--r), var(--tc) calc(var(--r) + .5px)) 100% 100% / 51% 51% no-repeat;
}
.ticket-bg.on-blue { --tc: var(--blue); }

/* ---------- boutons cartouche ----------
   Un rectangle plein couleur d'encre, découpé par un masque :
   - deux images d'embout (SVG 40 × 60 : pointe incurvée + 10 unités de corps)
     calées à gauche et à droite, à la hauteur du bouton ;
   - un rectangle central qui chevauche ces 10 unités, où les deux dessins
     sont identiques : aucune couture possible.
   Le filet de repos = ::before, même découpe érodée de 1/60 de la hauteur
   (1px à 1920), peint dans la couleur du fond (--bg). Au survol il s'efface
   en 300 ms : le cartouche apparaît plein. Tout est fond + masque. */
:root {
  --cap-l-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 60' preserveAspectRatio='none'%3E%3Cpath d='M30 0H40V60H30A30 30 0 0 0 0 30A30 30 0 0 0 30 0Z'/%3E%3C/svg%3E");
  --cap-r-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 60' preserveAspectRatio='none'%3E%3Cpath d='M10 0H0V60H10A30 30 0 0 1 40 30A30 30 0 0 1 10 0Z'/%3E%3C/svg%3E");
  --cap-l-in:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 60' preserveAspectRatio='none'%3E%3Cpath d='M30.98 1H40V59H30.98A31 31 0 0 0 7.81 30A31 31 0 0 0 30.98 1Z'/%3E%3C/svg%3E");
  --cap-r-in:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 60' preserveAspectRatio='none'%3E%3Cpath d='M9.02 1H0V59H9.02A31 31 0 0 1 32.19 30A31 31 0 0 1 9.02 1Z'/%3E%3C/svg%3E");
}
.btn {
  --ink: var(--blue);
  --paper: var(--cream);
  --bg: var(--cream);                       /* couleur du fond derrière le bouton */
  --h: 6rem;
  --cap: calc(var(--h) / 2);
  --capw: calc(var(--cap) * 4 / 3);         /* largeur d'une image d'embout (40/30) */
  --mid: calc(100% - 2 * var(--cap));       /* rectangle central */
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--h);
  min-width: calc(34rem + 2 * var(--cap));
  margin: 0;
  padding: .2rem calc(var(--cap) + 2rem) 0;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--ink);
  font: 900 2.2rem/1 var(--sul);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s ease;
  -webkit-mask:
    var(--cap-l-out) left  center / var(--capw) 100% no-repeat,
    var(--cap-r-out) right center / var(--capw) 100% no-repeat,
    linear-gradient(#000 0 0) center / var(--mid) 100% no-repeat;
          mask:
    var(--cap-l-out) left  center / var(--capw) 100% no-repeat,
    var(--cap-r-out) right center / var(--capw) 100% no-repeat,
    linear-gradient(#000 0 0) center / var(--mid) 100% no-repeat;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  transition: opacity .3s ease;
  -webkit-mask:
    var(--cap-l-in) left  center / var(--capw) 100% no-repeat,
    var(--cap-r-in) right center / var(--capw) 100% no-repeat,
    linear-gradient(#0000 1.6667%, #000 1.6667% 98.3333%, #0000 98.3333%) center / var(--mid) 100% no-repeat;
          mask:
    var(--cap-l-in) left  center / var(--capw) 100% no-repeat,
    var(--cap-r-in) right center / var(--capw) 100% no-repeat,
    linear-gradient(#0000 1.6667%, #000 1.6667% 98.3333%, #0000 98.3333%) center / var(--mid) 100% no-repeat;
}
/* masque d'un seul tenant calculé par main.js aux dimensions exactes du bouton */
.btn.is-shaped {
  -webkit-mask: var(--m-out) 0 0 / 100% 100% no-repeat;
          mask: var(--m-out) 0 0 / 100% 100% no-repeat;
}
.btn.is-shaped::before {
  -webkit-mask: var(--m-in) 0 0 / 100% 100% no-repeat;
          mask: var(--m-in) 0 0 / 100% 100% no-repeat;
}
.btn:hover, .btn:focus-visible {
  color: var(--paper);
  text-decoration: none;
  outline: none;
}
.btn:hover::before, .btn:focus-visible::before { opacity: 0; }

.on-blue .btn { --ink: var(--cream); --paper: var(--blue); --bg: var(--blue); }
.btn--coral, .on-blue .btn--coral { --ink: var(--coral); --paper: var(--cream); }
.form .btn { --bg: var(--cream); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem 3.2rem;
}
.btn-row--center { justify-content: center; }

/* ---------- photos à parallaxe interne ---------- */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--blue);
}
.photo img, .photo video {
  display: block;
  position: absolute;
  left: 0;
  top: -12%;
  width: 100%;
  height: 124%;
  max-width: none;
  object-fit: cover;
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0);
}

/* ---------- apparition au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(4rem);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   EN-TÊTE (collant, se cache en descendant)
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--gutter) 2.9rem;
  background: var(--cream);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__logo { display: block; width: 29rem; line-height: 0; }
.site-header__logo img { width: 100%; height: auto; }

.nav { display: flex; gap: 7.2rem; }
.nav a {
  font: 400 2.4rem/1 'Overused Grotesk Book', var(--grot);
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s;
}
.nav a:hover, .nav a:focus-visible { color: var(--coral); }

.burger { display: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  height: 73.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--blue);
}
/* rayures en scrolling différentiel : le fond descend moins vite que la page.
   Le dessin du PDF s'arrête au bord du cadre, donc le fond est agrandi de
   --hs (ancré en bas) pour avoir de la marge au-dessus ; le JS le décale
   de 0 à cette marge pendant que le hero sort de l'écran. */
.hero__bg {
  --hs: 1.15;
  position: absolute;
  inset: 0;
  background: url("../img/rayures-hero.svg") center / cover no-repeat;
  transform-origin: 50% 100%;
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--hs));
  will-change: transform;
}
.hero__title {
  position: relative;
  margin: 0;
  text-align: center;
}
.hero__title .title { display: block; }
.hero__big {
  font-size: 19.05rem;
  line-height: .955;
}
.hero__claim {
  margin-top: .8rem;
  font-size: 6.68rem;
  color: var(--cream);
}
/* date d'ouverture : même taille que la signature, en corail, extrusion bleue */
.hero__opening {
  margin-top: 1.6rem;
  color: var(--coral);
  --ext: var(--blue);
}

/* ---------- ligne de lieu + boutons ---------- */
.where {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 11.8rem;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}
.where__item { font: 900 3.8rem/1 var(--kyoto); }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem 3.2rem;
  min-height: 11.6rem;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line);
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { padding: 0 var(--gutter); }
.block--center { text-align: center; }
.block--center .wave { margin-left: auto; margin-right: auto; }

.esprit { padding-top: 9.4rem; padding-bottom: 12.1rem; }

.photo--parmigiano { height: 83.8rem; }
/* trame de points noirs sur la vidéo : calme le grain et le mouvement */
.photo--parmigiano::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 0, 0, .36) 0 1px, transparent 1.4px) 0 0 / 4px 4px;
}
.photo--parmigiano img { object-position: 50% 45%; }

/* ---------- la carte ---------- */
.carte { padding: 9.3rem 0 12.5rem; }
.title--ruled {
  display: flex;
  align-items: flex-start;
}
.title--ruled::before, .title--ruled::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-top: .67em;
  background: var(--line);
}
.title--ruled span { padding: 0 calc(1rem + .22em) 0 1rem; }
/* le filet reste fixe : seul le mot se déplace pendant l'extrusion */
.title--ruled { transform: none; }
.title--ruled span {
  display: block;
  transform: translate(calc((1 - var(--d)) * .216em), calc((1 - var(--d)) * .2376em));
}
.carte .text { padding: 0 var(--gutter); }
.carte .btn-row { margin-top: 4.8rem; }

/* ---------- groupes ---------- */
.groupes {
  position: relative;
  z-index: 2;
  padding: 12.2rem 0 13.2rem;
}
.groupes__row {
  display: grid;
  grid-template-columns: 1fr 82.3rem;
  min-height: 72.8rem;
  padding-right: var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* le titre tient sur une ligne à l'échelle de la maquette ; dès que la place
   manque (petites résolutions), il passe à la ligne, interlignage serré */
.groupes__text { padding: 9.4rem 4rem 12.5rem var(--gutter); }
.groupes__text .title { line-height: 1.05; }
.groupes__text .btn-row { margin-top: 4.8rem; }
.photo--carrelage { min-height: 100%; background: #e9e6ee; }

/* ---------- formulaire ---------- */
.form {
  --r: 5.5rem;
  --line: rgba(10, 34, 104, .45);
  margin: 12.5rem var(--gutter) 0;
  padding: 7.6rem 9.8rem 4.1rem;
  color: var(--blue);               /* fond crème + encoches : .ticket-bg */
}
.form__title {
  margin: 0;
  font: 900 3.8rem/1 var(--sul);
  text-transform: uppercase;
}
.form__group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 6.2rem;
  min-width: 0;
  margin: 3.4rem 0 0;
  padding: 0;
  border: 0;
}
.form__group + .form__group { margin-top: 6rem; }
.form__legend {
  float: left;            /* permet la grille sous la légende */
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 1.4rem;
  padding: 0;
  font: 900 2.6rem/1 var(--sul);
  text-transform: uppercase;
}
.field {
  position: relative;
  height: 4rem;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: .3rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  font: 400 2.6rem/1.2 var(--grot);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.field ::placeholder { color: var(--blue); opacity: 1; }
.field:focus-within { border-bottom-color: var(--coral); }
.field input::-webkit-outer-spin-button,
.field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input[type=number] { -moz-appearance: textfield; }
.field input[type=date]::-webkit-calendar-picker-indicator,
.field input[type=time]::-webkit-calendar-picker-indicator { opacity: .5; }

.field--select select {
  cursor: pointer;
  padding-right: 4rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 25.7 13.8'%3E%3Cpath d='M0 0C6.51 0 11.83 5.32 11.83 11.83C11.83 5.32 17.16 0 23.67 0' fill='none' stroke='%230a2268' stroke-width='1'/%3E%3C/svg%3E") right .6rem center / 2.6rem 1.4rem no-repeat;
}
.field--select option { color: var(--blue); padding-left: 1.6rem; }

/* Liste déroulante stylée (Chrome / Edge 135+) : marges intérieures,
   couleurs de la charte. Ailleurs, la liste native reste en place. */
@supports (appearance: base-select) {
  .field--select select,
  .field--select select::picker(select) { appearance: base-select; }
  .field--select select { border: 0; }
  .field--select select::picker-icon { display: none; }      /* le chevron maison suffit */
  .field--select select::picker(select) {
    margin-top: .4rem;
    padding: .8rem 0;
    border: 1px solid var(--line);
    background: var(--cream);
    box-shadow: 0 1.2rem 3rem rgba(10, 34, 104, .12);
  }
  .field--select option {
    padding: 1.1rem 2rem;
    font: 400 2.6rem/1.2 var(--grot);
    color: var(--blue);
    background: transparent;
    cursor: pointer;
  }
  .field--select option::checkmark { display: none; }
  .field--select option:hover,
  .field--select option:focus-visible { background: var(--blue); color: var(--cream); outline: none; }
  .field--select option:checked { font-weight: 600; }
}

/* message : trois lignes réglées */
.field--message {
  height: 12rem;
  border-bottom: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 calc(4rem - 1px), var(--line) calc(4rem - 1px) 4rem);
}
.field--message textarea {
  padding: .3rem 0 0;
  line-height: 4rem;
  resize: none;
  overflow: hidden;
}
.field--message:focus-within { background: repeating-linear-gradient(to bottom, transparent 0 calc(4rem - 1px), var(--coral) calc(4rem - 1px) 4rem); }
.form__actions { margin-top: 4.5rem; }
/* Panneau de réservation Zenchef : liseré crème de 1px maximum. Le panneau est
   dans une iframe d'un autre domaine (contenu inaccessible), au fond
   transparent autour du panneau : deux ombres nettes en diagonale (bas-droite,
   haut-gauche) dessinent 1px tout autour. Quatre ombres empilées doublaient
   les pixels lissés du bord (halo de 1 à 2px de plus, mesuré). */
iframe[src*="bookings.zenchef.com"] {
  filter: drop-shadow(1px 1px 0 var(--cream)) drop-shadow(-1px -1px 0 var(--cream));
  /* apparition : simple fondu, sans variation de largeur */
  transition: opacity .3s ease !important;
}
/* position : celle du SDK (data-position="center"), aucun réglage ici */

/* piège à robots : hors de l'écran, invisible pour les humains */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* message de retour après envoi */
.form__status {
  min-height: 3rem;
  margin-top: 2.4rem;
  text-align: center;
  font: 900 max(2.2rem, 13px)/1.3 var(--sul);
  color: var(--blue);
  opacity: 0;
  transition: opacity .3s ease;
}
.form__status.is-visible { opacity: 1; }
.form__status.is-error { color: var(--coral); }
.btn.is-sending { opacity: .6; cursor: progress; }

/* ---------- à emporter ---------- */
.photo--verres {
  position: relative;
  z-index: 1;
  height: 72.9rem;
  margin-top: calc(-1 * var(--notch));   /* passe sous les encoches de la section bleue */
}
.emporter { padding-top: 11.3rem; padding-bottom: 12.2rem; }
.emporter .btn-row { margin-top: 5.2rem; }
/* message sous Uber Eats / Deliveroo, affiché au clic */
.soon {
  min-height: 2.6rem;
  margin-top: 2.6rem;
  font: 900 2.6rem/1 var(--sul);
  color: var(--coral);
  opacity: 0;
  transform: translateY(.8rem);
  transition: opacity .4s ease, transform .4s ease;
}
.soon.is-visible { opacity: 1; transform: none; }

/* ---------- infos pratiques ---------- */
.infos {
  display: grid;
  grid-template-columns: 1fr 92rem;
  align-items: stretch;
  padding: 11.8rem var(--gutter) 12.4rem;
}
.infos__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 4rem;
}
.infos__lines {
  font: 400 2.56rem/1.22 var(--grot);
  font-style: normal;
}
.infos__lines + .wave { margin-top: 3rem; margin-bottom: 1.8rem; }
.infos__lines a { text-decoration: none; }
.infos__lines a:hover { text-decoration: underline; }
.infos__cta { margin-top: auto; padding-top: 6rem; }
.infos__map {
  position: relative;
  height: 69.1rem;
  margin-top: .4rem;
  border-radius: 2rem;
  overflow: hidden;
  background: #e3e8f7;
}
/* Carte : les couleurs viennent du style de l'API Maps JavaScript (main.js),
   aucun filtre. L'iframe n'est qu'un secours quand aucune clé n'est fournie. */
.infos__map iframe,
.infos__map .gmap {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.infos__map .gmap { position: absolute; inset: 0; }
/* bulle du marqueur aux couleurs du site */
.infos__map .gm-style .gm-style-iw-c { border-radius: 1rem; }
.infos__map .map-bubble {
  margin: 0;
  padding: .2rem .4rem;
  font: 900 max(1.6rem, 13px)/1.2 var(--sul);
  color: var(--blue);
  text-transform: uppercase;
}
.infos__map .map-bubble a {
  display: block;
  margin-top: .4rem;
  font: 400 max(1.5rem, 13px)/1.2 var(--grot);
  text-transform: none;
  color: var(--blue);
}

/* =====================================================================
   PIED DE PAGE
   ===================================================================== */
.footer { padding: 11.3rem var(--gutter) 0; }
.footer__links {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font: 900 3.62rem/1 var(--sul);
  text-transform: uppercase;
}
.footer__links a { text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--coral); }
.footer__logo {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 3rem;
}
.footer__stripes {
  height: 43.5rem;
  margin: 7.7rem calc(-1 * var(--gutter)) 0;
  background: url("../img/rayures-footer.svg") center top / cover no-repeat;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  :root { --gutter: 20px; --header-h: 64px; --notch: 22px; }

  body { font-size: 2.8rem; }
  .title { font-size: 6.4rem; line-height: 1.12; }
  .subtitle { font-size: 2.6rem; line-height: 1.25; margin-top: 2.6rem; }
  .text p + p { margin-top: 2.6rem; }
  .text br { display: none; }
  .groupes__text .title { line-height: 1.05; }

  /* en-tête + menu plein écran */
  .site-header { align-items: center; padding: 0 var(--gutter); }
  .site-header__logo { width: 130px; position: relative; z-index: 2; }
  .burger {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    margin-right: -8px;
    padding: 0 8px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .burger span { display: block; height: 2px; background: var(--blue); transition: transform .3s; }
  .site-header.is-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .site-header.is-open .burger span:last-child  { transform: translateY(-4.5px) rotate(-45deg); }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 0 var(--gutter);
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .site-header.is-open .nav { opacity: 1; visibility: visible; }
  .nav a { font: 900 26px/1.1 var(--sul); }

  /* hero */
  .hero { height: clamp(380px, 118vw, 620px); }
  .hero__big { font-size: 15.2vw; }
  .hero__claim { font-size: 5.4vw; margin-top: 2vw; }

  .where { flex-direction: column; justify-content: center; height: auto; padding: 26px var(--gutter); gap: 6px; }
  .where__item { font-size: 22px; }
  .cta-band { padding: 26px var(--gutter); }

  /* boutons */
  .btn { --h: 46px; min-width: 0; padding: 2px calc(var(--cap) + 14px) 0; font-size: 13px; }
  .btn-row { gap: 14px 16px; }

  /* sections */
  .esprit { padding-top: 56px; padding-bottom: 64px; }
  .photo--parmigiano { height: 64vw; }
  .carte { padding: 56px 0 72px; }
  .title--ruled span { padding: 0 calc(8px + .22em) 0 8px; }
  .text--narrow { max-width: 440px; }
  .groupes__text { padding-right: var(--gutter); }

  .groupes { padding: 64px 0 72px; }
  .groupes__row { grid-template-columns: 1fr; min-height: 0; padding-right: 0; }
  .groupes__text { padding: 48px var(--gutter) 48px; }
  .photo--carrelage { height: 78vw; min-height: 0; }
  .form { --r: 22px; margin-top: 64px; padding: 44px 20px 32px; }
  .form__title { font-size: 22px; line-height: 1.2; }
  .form__group { grid-template-columns: 1fr; margin-top: 22px; }
  .form__group + .form__group { margin-top: 36px; }
  .form__legend { font-size: 15px; margin-bottom: 6px; }
  .field { height: 42px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .field--message { height: 126px; background: repeating-linear-gradient(to bottom, transparent 0 41px, var(--line) 41px 42px); }
  .field--message:focus-within { background: repeating-linear-gradient(to bottom, transparent 0 41px, var(--coral) 41px 42px); }
  .field--message textarea { line-height: 42px; }
  .field--select select { background-size: 18px 10px; padding-right: 30px; }

  .photo--verres { height: 66vw; }
  .emporter { padding-top: 56px; padding-bottom: 72px; }

  .infos { grid-template-columns: 1fr; gap: 40px; padding: 64px var(--gutter) 72px; }
  .infos__text { padding-right: 0; }
  .infos__lines { font-size: 15px; }
  .infos__cta { padding-top: 32px; }
  .infos__map { height: 82vw; border-radius: 14px; }

  .footer { padding-top: 56px; }
  .footer__links { flex-direction: column; gap: 8px; font-size: 18px; }
  .footer__logo { margin-top: 24px; }
  .footer__stripes { height: 46vw; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .photo img, .photo video, .hero__bg { transform: none; }
  .site-header { transition: none; }
  .js .title { --d: 1; transition: none; }
}
