/* Gramme Cookies : feuille commune aux pages du site.
   Construction reprise de la Tiramisserie (site pointé par Tommy le 24/10), couleurs de Gramme :
   vert olive du tablier et du logo, rouge corail et crème de la marinière, sable du contour de la mascotte. */

@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --creme: #F7F1E6;
  --carte: #EFE5D2;
  --corail-clair: #F6E0D6;
  --olive: #5B6440;
  --olive-fonce: #454C30;
  --corail: #D45C4C;
  --corail-texte: #A3402F;
  --sable: #ECCC8C;
  --encre: #2E3122;
  --encre-douce: #53563F;
  --trait: rgba(46, 49, 34, .14);
  --ombre: 0 12px 32px rgba(46, 49, 34, .16);
  --rayon: 6px;
  --largeur: 1180px;
  --espace: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--corail-texte); outline-offset: 3px; }
p { margin: 0 0 1em; }

.conteneur { width: min(100% - 32px, var(--largeur)); margin-inline: auto; }
.lecteur {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.evitement { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--olive); color: var(--creme); padding: 10px 16px; }
.evitement:focus { top: 12px; }
.centre { text-align: center; }
.discret { color: var(--encre-douce); }

/* ---------- Titres ---------- */
.titre {
  margin: 0 0 .6em;
  font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.titre--centre { text-align: center; }
.surtitre {
  margin: 0 0 .5em;
  color: var(--corail-texte);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.petit-titre {
  margin: 1.4em 0 .3em;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.6em;
  border: 1.5px solid transparent; border-radius: 3px;
  font-size: .9375rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.bouton--plein { background: var(--olive); color: var(--creme); }
.bouton--plein:hover { background: var(--olive-fonce); }
.bouton--contour { border-color: var(--olive); color: var(--olive); }
.bouton--contour:hover { background: var(--olive); color: var(--creme); }
.bouton--clair { background: var(--creme); color: var(--olive-fonce); }
.bouton--clair:hover { background: #fff; }
.bouton--contour-clair { border-color: var(--creme); color: var(--creme); }
.bouton--contour-clair:hover { background: rgba(247, 241, 230, .16); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête ---------- */
.entete { position: relative; z-index: 20; background: var(--creme); border-bottom: 1px solid var(--trait); }
.entete__ligne { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-height: 72px; }
.entete__menu { width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--encre); cursor: pointer; }
.burger { display: grid; gap: 5px; width: 24px; margin: auto; }
.burger span { height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.entete__menu[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.entete__menu[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.entete__menu[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.entete__etat { display: none; }
.marque { justify-self: center; display: block; }
.marque img { width: auto; height: 46px; }
.entete__droite { grid-column: 3; justify-self: end; display: flex; align-items: center; }
/* Sur l'accueil, le logo est déjà dans le haut de page : pas de second logo dans l'en-tête, ses réseaux à la place.
   Les mêmes trois icônes (Instagram, Facebook, Google Maps) partout où il y avait le lien Instagram : pavé « Une question ? »,
   pied de page, Nous trouver, Commandes (demandes de Tommy, 25/10). Les pages intérieures n'ont pas le bloc de l'en-tête
   (retiré par code/assembler-pages.py). */
.page-accueil .entete .marque { display: none; }
.reseaux { display: flex; align-items: center; gap: 4px; }
.reseaux a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--olive); }
.reseaux a:hover { color: var(--corail-texte); }
.reseaux a svg { display: block; width: 22px; height: 22px; margin: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.reseaux .plein { fill: currentColor; stroke: none; }
.reseaux--centre { justify-content: center; margin-top: 8px; }
.reseaux--gauche { margin: 4px 0 0 -11px; }
.entete .reseaux { grid-column: 2; grid-row: 1; justify-self: center; }
.pied .reseaux a:hover { color: var(--sable); }
.entete__tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 48px; min-height: 48px; color: var(--olive); text-decoration: none;
}
.entete__tel svg { width: 22px; height: 22px; }
.entete__tel span { display: none; }

/* La note Google en haut de chaque page, comme sur le site de Sa Sé (Tommy, 25/10 : « très vendeur ») : une bande
   sous l'en-tête, qui mène aux avis de l'accueil. Au téléphone, l'en-tête est plein (menu, réseaux, téléphone) :
   elle reste en bande, au lieu de remonter à côté du menu comme chez Sa Sé. Chiffres du 25/10, comme la section des avis. */
.note-google { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 2px 10px; padding: 10px 16px; background: var(--corail-clair); color: var(--encre); font-size: 1rem; line-height: 1.4; text-decoration: none; }
.note-google__note { font-weight: 600; color: var(--corail-texte); }
.note-google__etoiles { color: var(--corail); font-size: 1.0625rem; letter-spacing: .08em; }
.note-google:hover .note-google__nombre { text-decoration: underline; text-underline-offset: 3px; }
.menu { display: none; border-top: 1px solid var(--trait); }
.menu--ouvert, html:not(.js) .menu { display: block; }
.menu__liste { margin: 0; padding: 4px 16px 0; list-style: none; }
.menu__liste a {
  display: flex; align-items: center; min-height: 52px;
  border-bottom: 1px solid var(--trait);
  font-size: .9375rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}
.menu__liste a[aria-current="page"] { color: var(--corail-texte); }
.menu__adresse { margin: 0; padding: 14px 16px 18px; color: var(--encre-douce); font-size: .9375rem; }

@media (min-width: 1040px) {
  .entete__ligne { grid-template-columns: 1fr auto 1fr; min-height: 100px; }
  .entete__menu { display: none; }
  .entete__etat { display: block; margin: 0; font-size: .9375rem; }
  .marque img { height: 62px; }
  .entete__tel span { display: inline; font-size: .9375rem; letter-spacing: .04em; }
  .entete .reseaux { gap: 10px; }
  .entete .reseaux a svg { width: 25px; height: 25px; }
  .menu { display: block; border-top: 0; }
  .menu__liste { display: flex; justify-content: center; gap: 44px; padding: 0 0 18px; }
  .menu__liste a { min-height: 32px; border: 0; font-size: .875rem; letter-spacing: .14em; }
  .menu__liste a:hover { color: var(--corail-texte); }
  .menu__adresse { display: none; }
}

/* ---------- Ouvert ou fermé ---------- */
.etat { display: inline-flex; align-items: center; gap: 8px; }
.etat::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--encre-douce); }
.etat[data-ouvert="oui"]::before { background: #3E8E4A; }
.etat[data-ouvert="non"]::before { background: var(--corail); }

/* ---------- Haut de page ---------- */
.haut { position: relative; background: #2B2A1E; color: var(--creme); }
.haut__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* Au téléphone, le texte et les boutons passent sous la photo, sur le vert : posés dessus, ils
   cachaient la plaque de cookies. Sur ordinateur, ils reviennent sur la photo, avec un dégradé. */
.haut__contenu { padding: 26px 16px 30px; background: var(--olive); text-align: center; }
/* Leur logo au-dessus du texte (demande de Tommy, 25/10) : décoratif ici, le nom est déjà dans le titre.
   Au téléphone, il se pose sur le bas de la photo, comme à l'ordinateur (Tommy, 25/10), sur un voile sombre
   en ovale ; le texte reste dessous, sur le vert. La photo fait 4/5 de haut : son bas est à 125vw. */
.haut picture { position: relative; display: block; }
.haut picture::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 22% at 50% 88%, rgba(28, 26, 16, .72) 0%, rgba(28, 26, 16, .6) 55%, rgba(28, 26, 16, 0) 100%);
}
.haut__logo { position: absolute; z-index: 1; left: 50%; top: calc(125vw - 94px); width: 160px; margin: 0; transform: translateX(-50%); }
.haut__lieu { margin: 0 0 .4em; font-size: .875rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.haut__titre {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); font-weight: 400; line-height: 1.1;
  letter-spacing: .06em; text-transform: uppercase; text-wrap: balance;
}
.haut__boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.haut__boutons .bouton { padding: 0 1.1em; }
@media (min-width: 760px) {
  .haut__photo { aspect-ratio: auto; height: clamp(440px, 64vh, 660px); }
  /* Voile sombre limité à la zone du texte : un ovale en bas au centre, qui suit la hauteur du bloc
     (logo compris) et déborde de 160 px au-dessus, plus un dégradé du bas. Le logo et le texte restent
     lisibles sur le papier clair et les noisettes, le reste de la photo garde sa lumière. */
  .haut::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(28, 26, 16, .6) 0%, rgba(28, 26, 16, 0) 55%);
  }
  .haut__contenu { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 16px 44px; background: none; }
  .haut__contenu::before {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; top: -160px; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse 46% 100% at 50% 100%, rgba(28, 26, 16, .78) 0%, rgba(28, 26, 16, .68) 62%, rgba(28, 26, 16, 0) 100%);
  }
  .haut picture::after { content: none; }
  .haut__logo { position: static; width: clamp(200px, 17vw, 250px); margin: 0 auto 18px; transform: none; }
  .haut__boutons .bouton { padding: 0 1.6em; }
}

/* ---------- Séparateur : des pépites de chocolat entre les sections (demande de Tommy) ---------- */
/* Entre les sections, la double ligne rouge de la marinière, celle du haut du pied de page (Tommy, 25/10 :
   elle remplace la bande de pépites ; même rythme vertical qu'elle). Une petite mascotte se tient derrière
   (Tommy, 25/10), comme au pied de page : son bas coupé droit est caché par les lignes, à droite puis à gauche. */
.separateur { position: relative; height: 13px; margin-block: calc(var(--espace) * .5 + 20px); }
.separateur::before { content: ''; position: absolute; bottom: 2px; right: 10%; width: 46px; aspect-ratio: 320 / 349; background: url('../img/mascotte-chef-320.webp') center bottom / contain no-repeat; }
.separateur:nth-of-type(even)::before { right: auto; left: 10%; }
.separateur::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, var(--corail) 0 4px, var(--creme) 4px 9px); }
@media (min-width: 760px) { .separateur::before { width: 66px; } }

/* ---------- Cookies en fond (demande de Tommy, 25/10) ----------
   Dessinés en transparence (code/dessiner-cookies.py), de tailles différentes, certains croqués : un ou deux
   au bord de chaque section, en roulement sur 4 dispositions. Derrière le contenu (cartes et photos les couvrent),
   jamais cliquables ; ce qui dépasse de l'écran est coupé par main, sans défilement de côté.
   Les croqués montrent leur morsure : cookie-2 (mordu en haut à droite) part du bord gauche, cookie-4 (mordu à gauche) du bord droit. */
main { overflow-x: hidden; overflow-x: clip; }
main > section:not(.haut) { position: relative; isolation: isolate; }
main > section:not(.haut)::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; pointer-events: none; background-repeat: no-repeat; }
main > section:nth-of-type(4n+1)::before { background-image: url('../img/cookie-2.svg'), url('../img/cookie-3.svg'); background-size: 84px, 40px; background-position: left -38px top 16%, right -12px bottom 10%; }
main > section:nth-of-type(4n+2)::before { background-image: url('../img/cookie-4.svg'); background-size: 76px; background-position: right -32px top 10%; }
main > section:nth-of-type(4n+3)::before { background-image: url('../img/cookie-1.svg'); background-size: 72px; background-position: left -34px bottom 12%; }
main > section:nth-of-type(4n+4)::before { background-image: url('../img/cookie-3.svg'); background-size: 60px; background-position: right -24px bottom 18%; }
@media (min-width: 760px) {
  main > section:nth-of-type(4n+1)::before { background-size: 150px, 60px; background-position: left -46px top 18%, right 28px bottom 14%; }
  main > section:nth-of-type(4n+2)::before { background-size: 128px; background-position: right -38px top 12%; }
  main > section:nth-of-type(4n+3)::before { background-image: url('../img/cookie-1.svg'), url('../img/cookie-4.svg'); background-size: 112px, 58px; background-position: left -40px bottom 16%, right 26px top 10%; }
  main > section:nth-of-type(4n+4)::before { background-size: 100px; background-position: right -30px bottom 22%; }
}

/* ---------- Découvrir la carte ---------- */
.carte-intro { display: grid; gap: 44px; align-items: center; padding-top: var(--espace); }
.carte-intro__texte { max-width: 34rem; }
.carte-intro__note { color: var(--encre-douce); }
.collage { position: relative; width: 100%; max-width: 520px; height: 360px; margin-inline: auto; }
.collage__photo { position: absolute; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); box-shadow: var(--ombre); }
.collage__photo--gauche { left: 0; top: 7%; width: 44%; }
.collage__photo--droite { right: 0; top: 0; width: 42%; }
.collage__photo--devant { left: 26%; top: 17%; z-index: 2; width: 50%; }
@media (min-width: 900px) {
  .carte-intro { grid-template-columns: 1fr 1.1fr; }
  .collage { height: 460px; }
}

/* ---------- Sur le comptoir ---------- */
.produits { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 0 0 32px; padding: 0; list-style: none; }
.produit { flex: 0 1 calc(50% - 8px); }
.produit a {
  display: block; height: 100%; padding-bottom: 18px; overflow: hidden;
  border-radius: var(--rayon); background: var(--carte); text-decoration: none;
}
.produit img { width: 100%; aspect-ratio: 4 / 5; margin-bottom: 14px; object-fit: cover; transition: transform .4s; }
.produit a:hover img { transform: scale(1.03); }
.produit__prix, .produit__nom, .produit__detail { display: block; padding: 0 14px; }
.produit__prix { font-size: 1.25rem; }
.produit__nom { margin-top: 2px; font-size: .9375rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.produit__detail { margin-top: 4px; color: var(--encre-douce); font-size: 1rem; line-height: 1.4; }
@media (min-width: 760px) {
  .produits { gap: 24px; }
  .produit { flex-basis: calc(33.333% - 16px); }
}

/* ---------- La préparation ---------- */
.preparation { display: grid; }
.preparation__photo { width: 100%; max-width: 460px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); }
.preparation__carte {
  position: relative; margin: -48px 12px 0; padding: 28px 22px;
  border-radius: var(--rayon); background: var(--carte); box-shadow: var(--ombre);
}
.preparation__prix { margin: .1em 0 .7em; font-size: 1.75rem; }
@media (min-width: 900px) {
  .preparation { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); align-items: center; }
  .preparation__carte { max-width: 540px; margin: 0 0 0 -72px; padding: 40px 44px; }
}

/* ---------- Les trois pavés ---------- */
.paves { display: grid; gap: 14px; }
.preparation + .paves { margin-top: var(--espace); } /* pas de ligne de séparation entre les deux (Tommy, 25/10) */
.pave { padding: 26px 22px; border-radius: var(--rayon); background: var(--corail-clair); text-align: center; }
.pave svg { display: block; width: 34px; height: 34px; margin: 0 auto 10px; color: var(--corail-texte); }
.pave__titre { margin: 0 0 .4em; font-size: .9375rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.pave p { margin: 0; color: var(--encre-douce); }
@media (min-width: 760px) { .paves { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- Venez nous voir ---------- */
.venir { display: grid; gap: 28px; align-items: center; }
.venir__photo { width: 100%; max-width: 460px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); }
.venir__infos { padding: 28px 22px; border-radius: var(--rayon); background: var(--carte); }
.venir__adresse { font-size: 1.1875rem; }
.lien-fort { color: var(--olive); font-size: 1.1875rem; font-weight: 500; }
.venir__infos .bouton { margin-top: 8px; }
@media (min-width: 900px) {
  .venir { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 56px; }
  .venir__infos { padding: 40px 44px; }
}

/* La carte Google de la boutique (Tommy, 25/10 : « la maps google là où il y a les Nous trouver ») : dans l'encadré
   « Venez nous voir » de l'accueil, à droite des infos (le blanc qu'il a pointé), dessous quand l'encadré est trop étroit ;
   sous les infos pratiques de Nous trouver. Intégration de Google sans clé, comme sur le site de Chez Izza. */
.carte-google { display: block; width: 100%; height: 320px; border: 0; border-radius: var(--rayon); background: var(--carte); }
.infos-pratiques + .carte-google { margin-top: 28px; }
.venir__colonnes { display: grid; gap: 24px; }
.venir__colonnes .carte-google { height: 280px; }
@media (min-width: 760px) { .carte-google { height: 400px; } }
@media (min-width: 1200px) {
  .venir__colonnes { grid-template-columns: max-content minmax(0, 1fr); gap: 32px; }
  .venir__colonnes .carte-google { height: 100%; min-height: 300px; }
}

/* ---------- Avis : construits comme sur le site de Chez Izza, aux couleurs de Gramme, sur le fond crème (demandes de Tommy,
   25/10 : le bandeau vert essayé d'abord ne lui plaisait pas). Des avis Google avec photo, l'auteur en « Prénom I. ».
   Cartes de même taille : texte coupé à 4 lignes, « Lire la suite » ouvre l'avis en entier. Carrousel : les cartes
   défilent sur le côté ; flèches à partir de 760 px, seulement s'il y a plus de cartes que de place. ---------- */
.avis .titre { margin-bottom: .35em; }
.avis__note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin: 0 0 32px; }
.avis__etoiles { color: var(--corail); font-size: 1.75rem; letter-spacing: .08em; line-height: 1; }
.avis__score { font-size: 1.125rem; font-weight: 600; }
.avis__nombre { color: var(--encre-douce); font-size: 1.0625rem; }
.avis__google { width: 22px; height: 22px; }
.etoiles { color: var(--corail); letter-spacing: .12em; }
.avis__carrousel { display: flex; align-items: center; gap: 12px; }
.avis__fleche {
  flex: 0 0 auto; display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--sable); border-radius: 50%; background: var(--carte); color: var(--olive-fonce);
  font: inherit; font-size: 1.125rem; cursor: pointer; transition: background-color .2s;
}
.avis__fleche:hover:not(:disabled) { background: var(--sable); }
.avis__fleche:disabled { opacity: .35; cursor: default; }
.avis__liste {
  flex: 1; min-width: 0; display: flex; gap: 14px; margin: 0 -16px; padding: 0 16px 4px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none;
}
.avis__liste::-webkit-scrollbar { display: none; }
.avis__carte {
  flex: 0 0 82%; scroll-snap-align: start; display: flex; flex-direction: column;
  padding: 22px; border: 1px solid var(--sable); border-radius: 14px; background: var(--carte);
}
.avis__auteur { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.avis__initiale {
  flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--olive); color: var(--creme); font-size: 1.0625rem; font-weight: 600;
}
.avis__carte:nth-child(4n+2) .avis__initiale { background: var(--corail-texte); }
.avis__carte:nth-child(4n+3) .avis__initiale { background: var(--olive-fonce); }
.avis__carte:nth-child(4n+4) .avis__initiale { background: var(--encre-douce); }
.avis__nom { font-weight: 600; }
.avis__photo { width: 100%; aspect-ratio: 4 / 3; margin-top: 12px; object-fit: cover; border-radius: 8px; }
.avis__texte {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
  height: calc(4 * 1.6em); margin: 14px 0 4px; font-style: italic; line-height: 1.6;
}
.avis__suite {
  align-self: flex-start; padding: 6px 0; border: 0; background: none; color: var(--corail-texte);
  font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.avis__cta { margin: 32px 0 0; text-align: center; }
/* L'avis en entier, par-dessus la page */
.avis-dialogue { width: min(100% - 32px, 520px); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 14px; background: var(--carte); color: var(--encre); }
.avis-dialogue::backdrop { background: rgba(28, 26, 16, .55); }
.avis-dialogue .avis__carte { border: 0; }
.avis-dialogue .avis__texte { display: block; height: auto; overflow: visible; -webkit-line-clamp: none; }
/* Le texte avant la photo : photo d'abord, la fin de l'avis sortait de la fenêtre sur un ordinateur portable (1366 × 650) */
.avis-dialogue .avis__photo { order: 1; margin-top: 16px; }
.avis-dialogue__fermer {
  position: absolute; top: 10px; right: 10px; z-index: 1; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: var(--creme); color: var(--encre); font: inherit; font-size: 1.75rem; line-height: 1; cursor: pointer;
}
@media (min-width: 760px) {
  .avis__fleche { display: grid; place-items: center; }
  .avis__fleche[hidden] { display: none; }
  .avis__liste { gap: 20px; margin: 0; padding: 0 0 4px; scroll-padding-inline: 0; }
  .avis__carte { flex-basis: calc((100% - 20px) / 2); }
}
@media (min-width: 1040px) { .avis__carte { flex-basis: calc((100% - 40px) / 3); } }

/* ---------- Instagram : comme en haut de leur profil, même construction que le site de Chez Izza (demande de Tommy, 25/10).
   Chiffres relevés sur leur profil le 24/10, à remettre à jour à la mise en ligne. ---------- */
.instagram__tete { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-bottom: 32px; }
.instagram__profil { display: flex; align-items: center; gap: 16px; }
.instagram__avatar {
  flex-shrink: 0; display: grid; place-items: center; width: 84px; height: 84px; padding: 12px;
  border: 1px solid var(--trait); border-radius: 50%; background: #fff;
}
.instagram__avatar img { width: 100%; }
.instagram__compte { margin: 0 0 8px; font-size: 1.125rem; font-weight: 500; letter-spacing: .02em; }
.instagram__chiffres { display: flex; gap: 18px; margin: 0; color: var(--encre-douce); font-size: .8125rem; text-align: center; }
.instagram__chiffres b { display: block; color: var(--encre); font-size: 1rem; font-weight: 600; }
/* Le dégradé d'Instagram ; l'orange reste sous la marge du bouton, le texte blanc garde 4,7:1 au moins */
.bouton--instagram {
  width: 100%; border: 0; border-radius: 99px; color: #fff; text-align: center;
  background: linear-gradient(90deg, #f58529 0, #d62976 20px, #962fbf 60%, #4f5bd5 100%);
}
.bouton--instagram:hover { filter: brightness(1.08); }
@media (max-width: 389px) { .bouton--instagram { padding: 0 1em; font-size: .875rem; letter-spacing: .06em; } }
@media (max-width: 339px) { .bouton--instagram { font-size: .8125rem; } }
.instagram__grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; text-decoration: none; }
.instagram__post { position: relative; display: block; overflow: hidden; background: var(--encre); }
.instagram__post img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .25s; }
.instagram__voir {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 99px;
  color: #fff; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transition: opacity .25s;
}
.instagram__post:hover img { opacity: .4; }
.instagram__post:hover .instagram__voir { opacity: 1; }
@media (min-width: 760px) {
  .instagram__tete { gap: 18px; margin-bottom: 44px; }
  .instagram__profil { gap: 26px; }
  .instagram__avatar { width: 130px; height: 130px; padding: 18px; }
  .instagram__compte { font-size: 1.5rem; font-weight: 400; }
  .instagram__chiffres { gap: 28px; font-size: .875rem; }
  .instagram__chiffres b { font-size: 1.125rem; }
  .bouton--instagram { width: auto; }
  .instagram__grille { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Pages intérieures : titre de page ---------- */
.page-titre { padding-top: clamp(40px, 6vw, 72px); text-align: center; }
.page-titre .titre { margin-bottom: .35em; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.page-titre__intro { max-width: 36rem; margin: 0 auto; color: var(--encre-douce); }
.page-titre + .separateur { margin-top: calc(var(--espace) * .4 + 20px); }

/* ---------- Deux colonnes : photo et texte ---------- */
.deux-colonnes { display: grid; gap: 28px; align-items: start; }
.deux-colonnes__photo { width: 100%; max-width: 460px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); }
.encadre { padding: 28px 22px; border-radius: var(--rayon); background: var(--carte); }
@media (min-width: 900px) {
  .deux-colonnes { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 56px; align-items: center; }
  .encadre { padding: 40px 44px; }
}

/* ---------- Bande de photos ---------- */
.photos-bande { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.photos-bande img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); }
@media (min-width: 760px) { .photos-bande { gap: 20px; } }

/* ---------- La carte (comme leur menu : cookies à gauche, boissons et formules à droite) ---------- */
.menu-carte { display: grid; gap: 22px; }
.rubrique { padding: 26px 20px; border-radius: var(--rayon); background: var(--carte); }
.rubrique + .rubrique { margin-top: 22px; }
.rubrique__titre {
  margin: 0 0 .2em; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 400;
  letter-spacing: .06em; text-transform: uppercase;
}
.rubrique__note { margin: 0 0 16px; color: var(--encre-douce); }
.plats { margin: 0; padding: 0; list-style: none; }
.plat { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 0; border-top: 1px solid var(--trait); }
.plat:first-child { border-top: 0; }
.plat__nom { font-size: 1rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.plat__prix { grid-row: 1; grid-column: 2; font-size: 1.0625rem; white-space: nowrap; }
.plat__desc { grid-column: 1 / -1; color: var(--encre-douce); font-size: 1rem; line-height: 1.5; }
.etiquette {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px;
  background: var(--olive); color: var(--creme);
  font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: none; vertical-align: 2px;
}
.paiement { margin-top: 22px; color: var(--encre-douce); text-align: center; }
@media (min-width: 900px) {
  .menu-carte { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .rubrique { padding: 34px 36px; }
}

/* ---------- La préparation : la recette en une ligne ---------- */
.recette { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 22px; padding: 0; list-style: none; }
.recette li { display: contents; }
.recette__pastille {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 16px;
  border: 1.5px solid var(--olive); border-radius: 99px; color: var(--olive-fonce); font-weight: 500; text-align: center;
}
.recette__pastille--resultat { background: var(--olive); color: var(--creme); }
.recette__signe { color: var(--corail-texte); font-size: 1.375rem; }
.prix-fort { margin: 0 0 .4em; font-size: 2rem; }

.rubrique__note--bas { margin: 14px 0 0; }
.note-commande { margin: 12px 0 0; }
.petit-titre--premier { margin-top: 0; }
.infos-pratiques { display: grid; gap: 8px 48px; }
@media (min-width: 760px) { .infos-pratiques { grid-template-columns: 1fr 1fr; } }
.deux-colonnes__photo--produit { object-fit: contain; background: #fff; }

/* ---------- Encadré « À compléter » (ce qu'on ne sait pas encore : questions pour le rendez-vous) ---------- */
.a-completer { margin-top: 22px; padding: 18px 20px; border: 1.5px dashed var(--olive); border-radius: var(--rayon); color: var(--olive-fonce); }
.a-completer__titre { margin: 0 0 .4em; font-size: .875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.a-completer ul { margin: 0; padding-left: 1.1em; }

/* ---------- Commandes ---------- */
.cartes-commande { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.carte-commande { padding: 26px 22px; border-radius: var(--rayon); background: var(--carte); }
.carte-commande h2 { margin: 0 0 .3em; font-size: 1.125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.carte-commande .a-completer { margin-top: 14px; }
@media (min-width: 760px) { .cartes-commande { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.contact-commande { text-align: center; }
.contact-commande .boutons { justify-content: center; }

/* ---------- Pied de page ---------- */
.pied { position: relative; margin-top: clamp(200px, 20vw, 300px); padding: 56px 0 24px; background: var(--olive); color: var(--creme); }
.pied a { color: var(--creme); }
.pied::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 18px;
  background: repeating-linear-gradient(180deg, var(--corail) 0 4px, var(--creme) 4px 9px);
}
/* La mascotte se tient derrière le pied de page : son bas, coupé droit, est caché par le vert. */
.pied__mascotte { position: absolute; z-index: -1; right: 6%; bottom: calc(100% - 44px); width: 170px; }
.pied__grille { display: grid; gap: 28px; }
.marque--pied { justify-self: start; }
.marque--pied img { height: 64px; margin-bottom: 14px; }
.pied__titre { margin: 0 0 .4em; font-size: .875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.pied__bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(247, 241, 230, .28); font-size: .9375rem;
}
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.pied__bas p { margin: 0; }
@media (min-width: 760px) {
  .pied__grille { grid-template-columns: 1.2fr 1fr 1fr; }
  .pied__mascotte { width: 260px; right: 8%; }
}

/* ---------- Appel flottant (téléphone) ---------- */
.appel-flottant {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--olive); color: var(--creme); box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: opacity .25s, transform .25s;
}
.appel-flottant svg { width: 24px; height: 24px; }
.appel-flottant--cache { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (min-width: 1040px) { .appel-flottant { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
