/* ============================================================
   Gusto d'Italia — « l'épicerie italienne, fait-main »
   Papier crème · polaroids scotchés · vert du logo · touches d'or
   ============================================================ */

:root {
  --paper:      #F7F1E4;   /* fond papier */
  --paper-2:    #F1E9D7;   /* papier plus soutenu */
  --carte:      #FFFDF7;   /* cartes / tickets */
  --ink:        #2A2722;   /* encre */
  --ink-soft:   #6C6355;
  --green:      #2C4A38;   /* vert du logo */
  --green-deep: #21382A;
  --green-ink:  #16261C;
  --gold:       #C89B3F;   /* or du logo */
  --gold-light: #D9B463;
  --gold-dark:  #A67F2E;
  --gold-ink:   #8A6820;   /* or lisible pour les PETITS textes (contraste AA) */
  --cream:      #F6F1E7;

  --enseigne: "Poiret One", "Josefin Sans", sans-serif; /* typo de l'enseigne (nom) */
  --disp: "Josefin Sans", "Trebuchet MS", sans-serif;   /* titres */
  --hand: "Caveat", "Comic Sans MS", cursive;           /* annotations manuscrites */
  --sans: "Work Sans", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1180px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* Rebond iOS : papier en haut de page, vert du footer en bas —
     plus de « trou » clair sous le footer pendant l'élastique */
  background: linear-gradient(var(--paper) 50%, var(--green-ink) 50%);
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Grain papier très léger sur toute la page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

h1, h2 {
  text-transform: uppercase;
  line-height: 1.16;
  color: var(--green-deep);
}
/* h1 : la typo de l'enseigne */
h1 {
  font-family: var(--enseigne);
  font-weight: 400;
  letter-spacing: 0.07em;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
}
h2 {
  font-family: var(--disp);
  font-weight: 700;
  letter-spacing: 0.045em;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
}

.section { padding-block: clamp(3.8rem, 8vw, 6.5rem); }
section[id] { scroll-margin-top: calc(84px + env(safe-area-inset-top)); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--green); color: var(--cream); padding: 0.7rem 1.2rem; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Navigation clavier : un anneau doré visible sur fond papier comme sur vert */
:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
}

/* Texte réservé aux lecteurs d'écran */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Annotations manuscrites ---------- */
.griffonnage, .griffonnage-clair {
  display: inline-block;
  font-family: var(--hand);
  font-weight: 700;
  color: var(--gold-dark);
  transform: rotate(-2deg);
}
.griffonnage { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.griffonnage-clair { font-size: clamp(1.35rem, 2.4vw, 1.6rem); margin-bottom: 0.6rem; }

/* Icône Instagram (SVG inline) : suit la taille et la couleur du texte */
.ic-insta { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ---------- Boutons (pastilles « pressables ») ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background 0.25s, color 0.25s, border-color 0.25s;
}

.btn-plein {
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 3px 0 var(--green-ink);
}
.btn-plein:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--green-ink); }
.btn-plein:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--green-ink); }

.btn-ligne { border-color: var(--green); color: var(--green-deep); }
.btn-ligne:hover { background: rgba(44, 74, 56, 0.08); transform: translateY(-2px); }
.btn-ligne:active { transform: translateY(1px); }

.btn-creme {
  background: var(--cream);
  color: var(--green-deep);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}
.btn-creme:hover { transform: translateY(-2px); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25); }
.btn-creme:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }

.btn-ligne-creme { border-color: rgba(246, 241, 231, 0.7); color: var(--cream); }
.btn-ligne-creme:hover { background: rgba(246, 241, 231, 0.12); transform: translateY(-2px); }

.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Animations au défilement ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.visible { opacity: 1; transform: none; }

.js .reveal-fade {
  opacity: 0;
  transition: opacity 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal-fade.visible { opacity: 1; }

/* Les polaroids « se posent » : légère rotation en plus qui se stabilise */
.js .reveal-pol {
  opacity: 0;
  transform: rotate(calc(var(--rot, 0deg) + 5deg)) translateY(38px) scale(0.93);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal-pol.visible { opacity: 1; transform: rotate(var(--rot, 0deg)); }
.js .polaroid.reveal-pol.visible:hover { transform: rotate(0deg) translateY(-4px); }

/* Page chargée en arrière-plan : tout visible, sans animation */
.no-anim .reveal, .no-anim .reveal-fade { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-anim .reveal-pol { opacity: 1 !important; transform: rotate(var(--rot, 0deg)) !important; transition: none !important; }

/* ---------- Polaroids ---------- */
.polaroid {
  --rot: 0deg;
  position: relative;
  background: var(--carte);
  padding: 12px 12px 46px;
  box-shadow: 0 12px 28px rgba(42, 39, 34, 0.16), 0 2px 6px rgba(42, 39, 34, 0.08);
  transform: rotate(var(--rot));
  transition: transform 0.45s var(--ease);
}
.polaroid:hover { transform: rotate(0deg) translateY(-4px); }
.polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--paper-2);
}
.polaroid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  text-align: center;
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink-soft);
}
/* morceau de scotch */
.polaroid::before {
  content: "";
  position: absolute;
  top: -13px; left: 50%;
  width: 104px; height: 28px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(228, 214, 180, 0.75);
  box-shadow: 0 1px 3px rgba(42, 39, 34, 0.12);
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(247, 241, 228, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(42, 39, 34, 0.08);
  transition: box-shadow 0.3s;
  /* iPhone à encoche : le fond du header remonte derrière la barre d'état */
  padding-top: env(safe-area-inset-top);
}
.site-header.scrolled { box-shadow: 0 8px 22px rgba(42, 39, 34, 0.08); }

.header-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  height: 74px;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand-logo { width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; }
/* Lettrage de l'enseigne — hybride : lettres en Poiret One (formes nettes),
   motif mesuré sur le logo (petites lettres centrées <i>, réduites <s>,
   descendues <u>) + le S serpentin inséré en SVG (il n'existe dans aucune
   police). Épaisseur UNIFORME sur toutes les lettres : le text-stroke des
   petites compense leurs fûts plus fins, le S est calé sur la même graisse. */
.enseigne {
  font-family: var(--enseigne);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.145em;
  white-space: nowrap;
  -webkit-text-stroke: 0.032em currentColor;
}
.enseigne i {
  font-style: normal;
  font-size: 0.66em;
  vertical-align: 0.18em; /* flotte entre le haut et le bas des capitales */
  -webkit-text-stroke: 0.072em currentColor; /* même fût absolu que les capitales */
}
.enseigne s {
  text-decoration: none;
  font-size: 0.83em;
  -webkit-text-stroke: 0.048em currentColor;
}
.enseigne u {
  text-decoration: none;
  vertical-align: -0.14em; /* pleine taille, pied sous la ligne */
}
/* Le S serpentin (glyphe SVG inséré dans le mot) */
.s-ens {
  height: 0.778em;
  width: auto;
  vertical-align: -0.049em; /* léger débord sous la ligne, comme sur le logo */
  margin-right: 0.145em;    /* équivalent du letter-spacing */
}

.brand-name {
  font-size: 1.42rem;
  color: var(--green-deep);
  padding-top: 2px;
}

.nav-main { display: flex; gap: 1.6rem; }
.nav-main a {
  white-space: nowrap; /* jamais de libellé cassé sur deux lignes */
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 0.55rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-main a:hover { color: var(--green-deep); border-bottom-color: var(--gold); }

.header-actions { display: flex; gap: 0.6rem; }
.header-actions .btn { padding: 0.55rem 1.15rem; font-size: 0.88rem; }

.burger {
  display: flex; /* visible aussi sur ordinateur : ouvre l'espace menu */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
}
.burger span { display: block; width: 25px; height: 2.5px; border-radius: 2px; background: var(--green-deep); transition: transform 0.3s var(--ease), opacity 0.25s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Menu plein écran (mobile) ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 250;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 90px 24px 40px;
  overflow-y: auto; /* petits écrans en paysage : tout reste atteignable */
  opacity: 0;
  visibility: hidden;
  /* fermé : la visibilité ne bascule qu'après le fondu */
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
/* ouvert : visible immédiatement (le focus clavier peut entrer sans attendre) */
.overlay.open { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease); }

/* Centré verticalement quand il y a la place, défilable sinon */
.overlay-nav { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; margin-top: auto; }
.o-link {
  font-family: var(--disp);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.7rem, 7vw, 2.3rem);
  color: var(--green-deep);
  padding: 0.4rem 0.8rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.overlay.open .o-link { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
.o-link:hover { color: var(--gold-dark); }

.overlay-cta { display: flex; flex-direction: column; gap: 0.8rem; width: min(340px, 86vw); margin-top: 1.6rem; margin-bottom: auto; }
.overlay-tel {
  text-align: center;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--gold-dark);
}
.overlay-insta {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.45rem 0.6rem; /* zone tactile */
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--green-deep);
  transition: color 0.2s;
}
.overlay-insta:hover { color: var(--gold-dark); }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero-lead { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.05rem; max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }

/* Ticket infos rapides — façon ticket détachable : encoches latérales,
   ligne de découpe verticale et ciseaux, étiquettes manuscrites */
.ticket {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  margin-top: 2rem;
  background: var(--carte);
  border-radius: 10px;
  box-shadow: 0 2px 9px rgba(42, 39, 34, 0.09), 0 1px 2px rgba(42, 39, 34, 0.07);
  transform: rotate(-0.6deg);
  font-size: 0.92rem;
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--paper);
  transform: translateY(-50%);
}
.ticket::before { left: -8px; }
.ticket::after { right: -8px; }
.ticket-bloc { padding: 0.62rem 1.25rem 0.72rem; }
.ticket-label {
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  color: var(--gold-ink);
  margin-bottom: 0.22rem;
}
.ticket-val { color: var(--ink); }
.ticket-coupe {
  position: relative;
  border-left: 1.6px dashed rgba(42, 39, 34, 0.3);
  margin-block: 0.55rem;
}
.ticket-coupe span {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  font-size: 0.82rem;
  color: var(--ink-soft);
  opacity: 0.75;
}
.ticket em { color: var(--ink-soft); font-size: 0.88em; }

/* Photos du hero (polaroids superposés) */
.hero-photos {
  position: relative;
  min-height: 500px;
}
.hero-photos .p-1 {
  --rot: 3deg;
  position: absolute;
  top: 0; right: 0;
  width: min(58%, 300px);
  z-index: 1;
}
.hero-photos .p-2 {
  --rot: -4deg;
  position: absolute;
  bottom: 0; left: 0;
  width: min(52%, 265px);
  z-index: 2;
}
.badge-rond {
  position: absolute;
  z-index: 3;
  right: -6px; top: -14px;
  width: 96px; height: 96px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--cream);
  border-radius: 50%;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
  text-align: center;
  transform: rotate(8deg);
  box-shadow: 0 8px 20px rgba(42, 39, 34, 0.2);
}
/* Bordure à petits pics : couronne étoilée (28 dents) derrière la pastille */
.badge-rond::before {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  background: var(--green);
  clip-path: polygon(50.0% 0.0%, 55.0% 5.3%, 61.1% 1.3%, 64.9% 7.5%, 71.7% 5.0%, 73.9% 11.9%, 81.2% 10.9%, 81.8% 18.2%, 89.1% 18.8%, 88.1% 26.1%, 95.0% 28.3%, 92.5% 35.1%, 98.7% 38.9%, 94.7% 45.0%, 100.0% 50.0%, 94.7% 55.0%, 98.7% 61.1%, 92.5% 64.9%, 95.0% 71.7%, 88.1% 73.9%, 89.1% 81.2%, 81.8% 81.8%, 81.2% 89.1%, 73.9% 88.1%, 71.7% 95.0%, 64.9% 92.5%, 61.1% 98.7%, 55.0% 94.7%, 50.0% 100.0%, 45.0% 94.7%, 38.9% 98.7%, 35.1% 92.5%, 28.3% 95.0%, 26.1% 88.1%, 18.8% 89.1%, 18.2% 81.8%, 10.9% 81.2%, 11.9% 73.9%, 5.0% 71.7%, 7.5% 64.9%, 1.3% 61.1%, 5.3% 55.0%, 0.0% 50.0%, 5.3% 45.0%, 1.3% 38.9%, 7.5% 35.1%, 5.0% 28.3%, 11.9% 26.1%, 10.9% 18.8%, 18.2% 18.2%, 18.8% 10.9%, 26.1% 11.9%, 28.3% 5.0%, 35.1% 7.5%, 38.9% 1.3%, 45.0% 5.3%);
}

/* ---------- La maison ---------- */
.maison { background: var(--paper-2); }
.maison-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.p-grande { --rot: -2deg; max-width: 430px; justify-self: center; }
.p-grande img { aspect-ratio: 12 / 13; }
.maison-text h2 { margin-bottom: 1.2rem; }
.maison-text p { color: var(--ink-soft); margin-bottom: 0.9rem; max-width: 54ch; }
/* les annotations manuscrites restent dorées malgré la règle ci-dessus */
.maison-text p.griffonnage-clair,
.maison-text p.signature { color: var(--gold-dark); }
.signature {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold-dark); /* même doré que les autres annotations */
  transform: rotate(-1.5deg);
  display: inline-block;
  margin-top: 0.6rem;
}

/* ---------- Proverbe ---------- */
.proverbe {
  background: var(--green);
  text-align: center;
  padding-block: clamp(3.2rem, 6vw, 4.5rem);
}
.proverbe-texte {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--cream);
  transform: rotate(-1deg);
}
.proverbe-trad { margin-top: 0.6rem; font-size: 0.92rem; color: rgba(246, 241, 231, 0.72); }

/* ---------- Aperçu de la carte (accueil) ---------- */
.carte { position: relative; overflow: hidden; }
.carte-inner { position: relative; z-index: 1; }
.carte-head { text-align: center; }
.carte-note { margin-top: 0.7rem; font-size: 0.92rem; font-style: italic; color: var(--ink-soft); }

/* Silhouettes ton sur ton en arrière-plan — dispersées sur toute la page,
   une par section maximum (hors trio de l'aperçu de carte) pour ne pas saturer */
.sil {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  color: #EAE1CA; /* à peine plus foncé que le papier */
}
.sil svg { width: 100%; height: auto; display: block; }
.sil-trous circle { fill: var(--paper); }
.sil-croisillons path { stroke: var(--paper); stroke-width: 5; fill: none; stroke-linecap: round; }
.sil-croute path { stroke: var(--paper); stroke-width: 4.5; fill: none; stroke-linecap: round; }
.sil-veines path { stroke: var(--paper); stroke-width: 3; fill: none; stroke-linecap: round; }
.sil-niveau { stroke: var(--paper); stroke-width: 4; fill: none; stroke-linecap: round; }
.sil-spirale path { stroke: var(--paper); stroke-width: 3.6; fill: none; stroke-linecap: round; }

/* Les sections qui accueillent une silhouette + leur contenu au-dessus */
.hero, .maison, .photos, .infos, .carte-page { position: relative; overflow: hidden; }
.hero-grid, .maison-grid, .infos-grid,
.photos > .container, .carte-page > .container { position: relative; z-index: 1; }

.sil-pizza {
  top: 50%;
  right: max(-120px, -9vw);
  width: clamp(280px, 30vw, 430px);
  margin-top: calc(clamp(280px, 30vw, 430px) / -2.2);
  transform: rotate(var(--spin, 0deg));
  will-change: transform;
}
.sil-fourchette {
  /* silhouette élancée (ratio ~1:6,6) : largeur réduite pour une hauteur mesurée */
  left: clamp(-24px, 2vw, 64px);
  bottom: 4%;
  width: clamp(46px, 4.8vw, 70px);
  transform: rotate(-14deg);
}
.sil-basilic {
  top: 10%;
  left: 14%;
  width: 88px;
  transform: rotate(10deg);
}
.sil-tomate {
  /* calée sous la ligne du ticket pour ne jamais passer derrière lui */
  left: max(-40px, -3.4vw);
  bottom: 1.5%;
  width: clamp(84px, 9vw, 122px);
  transform: rotate(-11deg);
}
.sil-olivier {
  right: clamp(-30px, 1vw, 40px);
  top: 10%;
  width: clamp(120px, 13vw, 172px);
  transform: rotate(14deg);
}
.maison .sil { color: #E4DABF; } /* fond papier-2, un ton en dessous */
.sil-cornet {
  left: clamp(-20px, 2vw, 50px);
  bottom: 8%;
  width: clamp(80px, 8.5vw, 112px);
  transform: rotate(-9deg);
}
.sil-espresso {
  right: clamp(-26px, 3vw, 70px);
  bottom: 6%;
  width: clamp(96px, 10vw, 138px);
  transform: rotate(7deg);
}
.sil-farfalle {
  left: clamp(-30px, 2vw, 46px);
  top: 7%;
  width: clamp(96px, 11vw, 146px);
  transform: rotate(-13deg);
}
.sil-verre {
  right: clamp(-16px, 3vw, 64px);
  bottom: 5%;
  width: clamp(64px, 7vw, 96px);
  transform: rotate(9deg);
}

/* Liste aperçu (sans prix) */
.apercu-liste {
  list-style: none;
  max-width: 620px;
  margin: 2.4rem auto 0;
}
.apercu-liste li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-block: 0.95rem;
  text-align: center;
}
.apercu-liste li + li { border-top: 1.6px dashed rgba(42, 39, 34, 0.16); }
.apercu-nom { font-family: var(--disp); font-weight: 700; font-size: 1.18rem; color: var(--green-deep); letter-spacing: 0.03em; }
.apercu-desc { font-size: 0.92rem; color: var(--ink-soft); }
.apercu-plus { display: block; text-align: center; margin-top: 1.2rem; }

/* ---------- Page carte (ticket complet) ---------- */
.carte-page .carte-head h1 { margin-top: 0.2rem; }
.o-note { font-family: var(--hand); font-size: 0.55em; color: var(--gold-ink); letter-spacing: 0; text-transform: none; }

.menu-ticket {
  position: relative;
  max-width: 660px;
  margin: 2.6rem auto 0;
  background: var(--carte);
  padding: 2.3rem 2.2rem 1.7rem;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 16px 40px rgba(42, 39, 34, 0.13);
  transform: rotate(0.4deg);
}
/* bord déchiré du ticket */
.menu-ticket::after {
  content: "";
  position: absolute;
  bottom: -9px; left: 0; right: 0;
  height: 9px;
  background-image:
    linear-gradient(45deg, var(--carte) 4.5px, transparent 0),
    linear-gradient(-45deg, var(--carte) 4.5px, transparent 0);
  background-size: 13px 9px;
  background-repeat: repeat-x;
}
.menu-ticket-head {
  text-align: center;
  padding-bottom: 1.3rem;
  border-bottom: 1.6px dashed rgba(42, 39, 34, 0.25);
  margin-bottom: 1.3rem;
}
.menu-logo { width: 52px; height: 52px; margin-inline: auto; border-radius: 50%; }
.menu-ticket-titre {
  margin-top: 0.6rem;
  font-family: var(--disp);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.22rem;
  color: var(--green-deep);
}

.menu-cat { padding-block: 1.05rem; }
.menu-cat + .menu-cat { border-top: 1.6px dashed rgba(42, 39, 34, 0.18); }
.menu-cat h3 {
  font-family: var(--disp);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.12rem;
  color: var(--gold-ink);
  margin-bottom: 0.9rem;
}
.menu-item { margin-bottom: 1.05rem; }
.menu-item:last-child { margin-bottom: 0; }
.menu-line { display: flex; align-items: baseline; gap: 0.6rem; }
.menu-name { font-weight: 600; font-size: 1.02rem; }
.menu-dots { flex: 1; border-bottom: 2px dotted rgba(42, 39, 34, 0.3); transform: translateY(-4px); }
.menu-price { font-weight: 600; color: var(--green-deep); white-space: nowrap; }
.menu-desc { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.15rem; }

.menu-merci {
  text-align: center;
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--gold-dark);
  margin-top: 1.4rem;
}

.carte-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.8rem;
}
.lien-discret {
  display: inline-block;
  padding-block: 0.65rem; /* zone tactile confortable */
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(42, 39, 34, 0.3);
  transition: color 0.2s;
}
.lien-discret:hover { color: var(--green-deep); }

/* ---------- La vraie carte : sommaire, doubles prix, encarts ---------- */
.carte-sommaire {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.55rem;
  max-width: 680px;
  margin: 1.7rem auto 0;
}
.carte-sommaire a {
  padding: 0.38rem 0.9rem;
  font-size: 0.88rem;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.7);
  border: 1.4px solid rgba(42, 39, 34, 0.18);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.carte-sommaire a:hover { color: var(--green-deep); border-color: var(--green-deep); background: var(--carte); }

.menu-ticket--2 { transform: rotate(-0.35deg); }
.menu-cat[id], .menu-encart[id] { scroll-margin-top: calc(96px + env(safe-area-inset-top)); }

/* petite note sous un titre de catégorie (« Garniture : pâtes & salade ») */
.menu-cat-note {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--ink-soft);
  margin: -0.55rem 0 0.95rem;
}

/* double colonne de prix (pizza normale/piccola, vins verre/bouteille) */
.menu-cols {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink-soft);
}
.menu-cols span { width: 4.4rem; text-align: right; }
.menu-line--2p .menu-price { width: 4.4rem; text-align: right; }
.menu-price--absent { color: rgba(42, 39, 34, 0.38); font-weight: 400; }

/* sous-groupes (rouges / blancs / bières / softs…) */
.menu-sous {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-deep);
  letter-spacing: 0.015em;
  margin: 1.2rem 0 0.6rem;
}

/* notes de bas de catégorie (suppléments) */
.menu-note {
  margin-top: 1rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.menu-note strong { color: var(--ink); font-weight: 600; }

/* encart formule midi */
.menu-encart {
  margin-top: 1.3rem;
  padding: 1.3rem 1.2rem 1.35rem;
  border: 1.7px dashed var(--gold-dark);
  border-radius: 12px;
  background: rgba(200, 155, 63, 0.08);
  text-align: center;
}
.menu-encart-titre {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--green-deep);
}
.menu-encart-quand {
  font-family: var(--disp);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.78rem;
  color: var(--gold-ink);
  margin-top: 0.4rem;
}
.menu-encart-offre { margin-top: 0.75rem; font-size: 1.02rem; }
.menu-encart-offre strong { color: var(--green-deep); white-space: nowrap; }
.menu-encart-petit { margin-top: 0.45rem; font-size: 0.8rem; color: var(--ink-soft); }

/* mentions de bas de ticket (provenances, allergènes, loi Évin) */
.menu-mentions {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1.6px dashed rgba(42, 39, 34, 0.18);
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* bouton retour en haut (la carte est très longue) */
.haut-carte {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 190;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1.6px solid rgba(42, 39, 34, 0.22);
  border-radius: 50%;
  background: var(--carte);
  color: var(--green-deep);
  box-shadow: 0 8px 22px rgba(42, 39, 34, 0.16);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, border-color 0.2s;
}
.haut-carte svg { width: 20px; height: 20px; }
.haut-carte.visible { opacity: 1; transform: none; pointer-events: auto; }
.haut-carte:hover { border-color: var(--green-deep); }

@media (max-width: 640px) {
  /* au-dessus de la barre d'action mobile (Réserver/Commander) */
  .haut-carte { right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .menu-cols span, .menu-line--2p .menu-price { width: 3.55rem; }
  .carte-sommaire a { font-size: 0.84rem; padding: 0.32rem 0.75rem; }
  .menu-encart-titre { font-size: 1.55rem; }
}

/* ---------- En photos ---------- */
.photos-head { text-align: center; margin-bottom: 3rem; }
.photos-rang {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.6rem, 4vw, 2.8rem);
}
.photos-rang .polaroid { width: min(300px, 30%); flex-shrink: 0; }
.photos-rang .r-1 { --rot: -2.5deg; }
.photos-rang .r-2 { --rot: 1.6deg; margin-top: 30px; }
.photos-rang .r-3 { --rot: 3deg; }
.photos-rang img { aspect-ratio: 1 / 1.05; }

/* Renvoi Instagram sous les photos, façon annotation manuscrite */
.photos-suite { text-align: center; margin-top: 1.7rem; }
.photos-insta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35rem 0.6rem;
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.3vw, 1.55rem);
  color: var(--gold-ink);
  transition: color 0.2s;
}
.photos-insta:hover { color: var(--green-deep); }
.photos-insta .ic-insta { width: 0.92em; height: 0.92em; }

/* ---------- Bande CTA ---------- */
.bande {
  background: var(--green);
  text-align: center;
  padding-block: clamp(3.6rem, 7vw, 5rem);
}
.bande h2 { color: var(--cream); }
.bande p { color: rgba(246, 241, 231, 0.8); margin: 0.8rem 0 1.9rem; }
.bande-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

/* ---------- Infos pratiques ---------- */
.infos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.infos-text h2 { margin-bottom: 1.6rem; }
.info-block { margin-bottom: 1.7rem; }
.info-label {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--gold-dark);
  transform: rotate(-1deg);
  display: inline-block;
  margin-bottom: 0.25rem;
}
.info-value em { color: var(--ink-soft); font-size: 0.9em; }
.info-phone {
  display: block;
  width: fit-content;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--green-deep);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.info-phone:hover { color: var(--gold-dark); }

.hours { max-width: 420px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  padding-block: 0.55rem;
  border-bottom: 1.6px dashed rgba(42, 39, 34, 0.18);
  font-size: 0.95rem;
}
.hours-row span:first-child { font-weight: 500; }
.hours-row span:last-child { color: var(--ink-soft); text-align: right; }
.hours-row .ferme { font-style: italic; }
.hours-row.aujourdhui span:first-child { font-weight: 600; color: var(--green-deep); }
.hours-row.aujourdhui span:first-child::after { content: " ●"; font-size: 0.6em; color: var(--gold); vertical-align: 2px; }

/* Carte postale */
.postale {
  position: relative;
  background: var(--carte);
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(42, 39, 34, 0.13);
  transform: rotate(0.6deg);
  padding: 2.2rem 2rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr; /* la moitié adresse respire davantage */
  gap: 1.8rem;
  min-height: 300px;
  align-items: center;
}
.postale::before {
  content: "";
  position: absolute;
  /* pile au centre de la gouttière entre les deux colonnes (0.85fr/1.15fr),
     quelle que soit la largeur : padding 2rem + colonne gauche + demi-gap */
  left: calc((100% - 5.8rem) * 0.425 + 2.9rem - 0.8px);
  top: 14%; bottom: 14%;
  border-left: 1.6px dashed rgba(42, 39, 34, 0.22);
}
/* Timbre traditionnel : perforations régulières sur les QUATRE bords.
   Astuce : trous au centre de chaque tuile de fond, grille décalée d'une
   demi-tuile → un rang de trous tombe pile sur chaque bord (77 et 88 sont
   des multiples de 11). Le drop-shadow suit la découpe. */
.postale-timbre {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 1; /* le logo passe DEVANT le cachet gris */
  width: 77px; height: 88px; /* multiples de 11px = dentelure régulière */
  display: grid;
  place-items: center;
  background-image: radial-gradient(circle at 5.5px 5.5px, transparent 3.1px, #FCF8EC 3.5px);
  background-size: 11px 11px;
  background-position: -5.5px -5.5px;
  transform: rotate(5deg);
  filter: drop-shadow(0 0 0.6px rgba(42, 39, 34, 0.35))
          drop-shadow(0 2px 3px rgba(42, 39, 34, 0.22));
}
.postale-timbre img {
  display: block;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  object-fit: contain;
  background: #FCF8EC;
  padding: 6px;
}
/* Cachet de la poste : DERRIÈRE le timbre — le cercle mord franchement son
   bord gauche (bien visible sur la carte), les ondulations filent à gauche */
.postale-cachet {
  position: absolute;
  top: 26px;
  right: 66px;
  width: 118px;
  color: rgba(42, 39, 34, 0.42);
  transform: rotate(-7deg) scaleX(-1);
  pointer-events: none;
}
.postale-mot {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 2rem;
  color: var(--green-deep);
  transform: rotate(-2deg);
  line-height: 1.15;
}
.postale-sign {
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--gold-dark);
  margin-top: 0.5rem;
}
.postale-droite { padding-top: 2.2rem; }
.postale-addr { font-size: 0.98rem; line-height: 1.85; }
/* Lien vers la fiche Google Maps, à la place de la carte embarquée */
.postale-maps {
  display: inline-block;
  margin-top: 0.7rem;
  padding-block: 0.45rem; /* zone tactile */
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--gold);
  transition: color 0.2s;
}
.postale-maps:hover { color: var(--gold-dark); }
/* Compte Instagram sous le lien Maps */
.postale-insta {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-top: 0.1rem;
  padding-block: 0.45rem; /* zone tactile */
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-deep);
  transition: color 0.2s;
}
.postale-insta:hover { color: var(--gold-dark); }

/* ---------- Moyens de paiement (carrousel) ---------- */
.paiements {
  background: var(--paper-2);
  padding-block: clamp(2.6rem, 5vw, 3.8rem);
  overflow: hidden;
}
.paie-head { text-align: center; margin-bottom: 1.3rem; }
.paie-sous { font-size: 0.92rem; color: var(--ink-soft); }

.paie-carrousel {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 18px);
  max-width: 920px;
  margin-inline: auto;
}
/* La fenêtre : masque les bords en fondu, gère le glisser horizontal */
.paie-fenetre {
  flex: 1;
  overflow: hidden;
  padding-block: 12px; /* place pour l'ombre et l'inclinaison des cartes */
  touch-action: pan-y; /* le glisser horizontal est géré en JS, le défilement vertical reste natif */
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}
.paie-fenetre:active { cursor: grabbing; }
.paie-piste {
  display: flex;
  gap: 14px; /* identique au gap des listes : la boucle est invisible */
  width: max-content;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
}
.paie-liste { display: flex; gap: 14px; list-style: none; }
/* Chaque moyen de paiement : petite carte blanche, format carte bancaire */
.paie-carte {
  width: 118px;
  height: 74px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--carte);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(42, 39, 34, 0.1), 0 1px 2px rgba(42, 39, 34, 0.07);
}
.paie-liste li:nth-child(odd) { transform: rotate(-0.9deg); }
.paie-liste li:nth-child(even) { transform: rotate(0.9deg); }
.paie-carte img {
  max-width: 82px;
  max-height: 42px;
  width: auto;
  height: auto;
  -webkit-user-drag: none;
}
.paie-fleche {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  touch-action: manipulation; /* pas de zoom double-tap sur taps répétés */
  display: grid;
  place-items: center;
  background: var(--carte);
  color: var(--green-deep);
  border: 1.6px solid rgba(42, 39, 34, 0.16);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(42, 39, 34, 0.14);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background 0.25s, color 0.25s, border-color 0.25s;
}
.paie-fleche svg { width: 19px; height: 19px; }
.paie-fleche:hover { background: var(--green); color: var(--cream); border-color: var(--green); transform: translateY(-1px); box-shadow: 0 3px 0 var(--green-ink); }
.paie-fleche:active { transform: translateY(1px); box-shadow: none; }

@media (max-width: 640px) {
  .paie-carte { width: 104px; height: 66px; border-radius: 10px; }
  .paie-carte img { max-width: 72px; max-height: 36px; }
  .paie-piste, .paie-liste { gap: 11px; }
  /* les flèches gardent 44px : cible tactile minimum */
  .paie-fleche svg { width: 16px; height: 16px; }
  .paie-fenetre {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  }
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--green-ink);
  color: var(--cream);
  text-align: center;
  /* le vert descend sous la barre du bas des iPhone (safe area) */
  padding-block: clamp(3.2rem, 6vw, 4.5rem) calc(2rem + env(safe-area-inset-bottom));
}
.footer-logo { width: 82px; height: 82px; margin-inline: auto; border-radius: 50%; }
.footer-name {
  font-size: 1.7rem;
  margin-top: 1rem;
}
.footer-tag {
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-top: 0.2rem;
}
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.6rem; margin-top: 1.4rem; }
.footer-nav a { font-size: 0.95rem; color: rgba(246, 241, 231, 0.8); transition: color 0.2s; padding-block: 0.55rem; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-cta { display: flex; justify-content: center; gap: 0.8rem; margin-top: 1.8rem; }
.footer-insta {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-top: 1.5rem;
  padding: 0.45rem 0.6rem; /* zone tactile */
  font-size: 0.95rem;
  color: rgba(246, 241, 231, 0.8);
  transition: color 0.2s;
}
.footer-insta:hover { color: var(--gold-light); }
.footer-small { margin-top: 1.6rem; font-size: 0.8rem; color: rgba(246, 241, 231, 0.5); }

/* ---------- Barre d'action mobile ---------- */
.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: none;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 247, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1.6px dashed rgba(42, 39, 34, 0.3);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}
.action-bar.show { transform: none; }
.ab-btn {
  flex: 1;
  text-align: center;
  padding: 0.85rem 0.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
}
.ab-ord { background: var(--green); color: var(--cream); box-shadow: 0 3px 0 var(--green-ink); }
.ab-res { border: 2px solid var(--green); color: var(--green-deep); }

/* ---------- Responsive ---------- */
/* Sous 1080px : la navigation passe dans le menu burger, mais les boutons
   Réserver / Commander restent visibles dans l'en-tête collant jusqu'à 640px
   (en dessous, c'est la barre d'action fixe qui prend le relais) —
   il y a ainsi TOUJOURS un accès direct aux deux actions principales. */
@media (max-width: 1080px) {
  .nav-main { display: none; }
  .header-inner { height: 66px; }
  section[id] { scroll-margin-top: calc(76px + env(safe-area-inset-top)); }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photos { min-height: 0; margin-top: 1rem; display: flex; gap: 1.2rem; align-items: flex-start; }
  .hero-photos .p-1, .hero-photos .p-2 { position: static; width: 46%; }
  .hero-photos .p-2 { margin-top: 26px; }
  .badge-rond { right: 0; top: 0; bottom: auto; width: 82px; height: 82px; font-size: 1.12rem; }

  .maison-grid { grid-template-columns: 1fr; }
  .p-grande { max-width: 400px; }
  .infos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  /* rangée de photos → défilement horizontal
     (padding haut : le scotch dépasse de 13px au-dessus des polaroids) */
  .photos-rang {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 26px 4px 26px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .photos-rang .polaroid { width: min(72vw, 280px); scroll-snap-align: center; }
  .photos-rang .r-2 { margin-top: 18px; }

  .menu-ticket { padding: 1.8rem 1.4rem 1.4rem; }
  .postale { grid-template-columns: 1fr; min-height: 0; gap: 1.2rem; }
  /* le pointillé suit la vraie frontière entre les deux blocs */
  .postale::before { display: none; }
  .postale-droite { padding-top: 1.1rem; border-top: 1.6px dashed rgba(42, 39, 34, 0.22); }
  /* en une colonne, le cachet reprend sa place sous le timbre */
  .postale-cachet { top: 58px; right: 30px; }
}

@media (max-width: 640px) {
  .header-actions { display: none; }
  .action-bar { display: flex; }
  .site-footer { padding-bottom: calc(7.2rem + env(safe-area-inset-bottom)); }
}

/* Écrans très bas (téléphone en paysage) : le menu overlay respire moins haut */
@media (max-height: 520px) {
  .overlay { padding-top: 74px; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 0.98rem; }
  .brand-logo { width: 46px; height: 46px; }
  .hours-row { flex-direction: column; gap: 0.05rem; }
  .hours-row span:last-child { text-align: left; }
  .hero-cta .btn { width: 100%; }
  .ticket { width: 100%; flex-direction: column; transform: rotate(0deg); }
  .ticket-coupe {
    border-left: none;
    border-top: 1.6px dashed rgba(42, 39, 34, 0.3);
    margin-block: 0;
    margin-inline: 0.9rem;
  }
  .ticket-coupe span {
    top: -9px;
    left: auto;
    right: 4px;
    transform: rotate(0deg);
    background: var(--carte);
    padding-inline: 5px;
  }
}

@media (max-width: 900px) {
  /* Sur mobile : silhouettes bien visibles mais plus petites,
     placées dans les zones dégagées (pas derrière les cartes/photos) */
  .sil-pizza { width: 265px; right: -85px; top: 24%; bottom: auto; margin-top: 0; }
  .sil-fourchette { display: block; left: -6px; top: 10%; bottom: auto; width: 44px; }
  .sil-basilic { left: auto; right: 4%; top: 1.4%; width: 62px; }
  .sil-tomate { width: 76px; left: -26px; bottom: 0.2%; }
  .sil-olivier { width: 112px; right: -28px; top: auto; bottom: 9%; }
  .sil-cornet { width: 78px; left: -12px; bottom: 5%; }
  .sil-espresso { width: 88px; right: -16px; bottom: auto; top: 46%; }
  .sil-farfalle { width: 96px; left: -24px; top: 3.5%; }
  .sil-verre { width: 58px; right: -8px; bottom: 1.6%; }
}

/* ---------- Mouvements réduits ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .polaroid, .btn, .action-bar, .o-link, .overlay, .haut-carte { transition: none; }
  .js .reveal, .js .reveal-fade { opacity: 1; transform: none; transition: none; }
  .js .reveal-pol { opacity: 1; transform: rotate(var(--rot, 0deg)); transition: none; }
  .sil-pizza { transform: none; }
}

/* ============================================================
   Pages légales — mentions-legales.html & confidentialite.html
   Colonne de lecture sobre : même papier, même typo, pas de
   décor (ni silhouettes ni animations) hormis le cachet en tête.
   ============================================================ */
.legale-head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.legale-cachet {
  width: 118px;
  margin: 0 auto 1.1rem;
  color: rgba(42, 39, 34, 0.3); /* encre estompée, comme un coup de tampon */
  transform: rotate(-7deg);
}
.legale-maj { margin-top: 0.7rem; font-size: 0.92rem; font-style: italic; color: var(--ink-soft); }

.page-legale { max-width: 68ch; margin-inline: auto; }
.page-legale h2 { font-size: clamp(1.12rem, 2vw, 1.4rem); margin: 2.4rem 0 0.65rem; }
.page-legale p { margin-bottom: 0.8rem; }
.page-legale ul { margin: 0 0 0.9rem; padding-left: 1.15rem; }
.page-legale li { margin-bottom: 0.35rem; }
.page-legale li::marker { color: var(--gold-dark); }
.page-legale a {
  color: var(--green-deep);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(44, 74, 56, 0.4);
}
.page-legale a:hover { text-decoration-color: currentColor; }
.legale-fin { margin-top: 2.8rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }

/* Champs à compléter : surligneur jaune impossible à rater tant que
   ce n'est pas rempli. `grep -n "a-completer" *.html` liste le reste. */
mark.a-completer {
  background: rgba(255, 214, 92, 0.6);
  color: inherit;
  padding: 0.06em 0.32em;
  border-radius: 0.45em 0.25em 0.5em 0.3em; /* coup de stabilo un peu irrégulier */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Liens légaux dans la ligne copyright du pied de page */
.footer-small a {
  color: rgba(246, 241, 231, 0.72);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-small a:hover { color: var(--cream); }
