:root {
  --fond: #F7F0E4;
  --carte: #FFFDF8;
  --bordure: #E4D8C6;
  --pointilles: #CDBFA9;
  --texte: #231A15;
  --texte-2: #5E4E43;
  --rouge: #C8321F;
  --rouge-texte: #B02A18;
  --brun: #2A1710;
  --encart: #FBE9D0;
  --encart-texte: #8A3B14;
  --vert: #1F6B42;
  --vert-vif: #2E8B57;
  --orange: #F2A65A;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Work Sans', system-ui, sans-serif;
  --ombre: 0 6px 18px rgba(35, 26, 21, .12);
  --largeur: 640px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--fond) url('/projets/omiami-pizza/img/textures/papier-fond.webp') 0 0 / 1000px auto repeat; color: var(--texte);
  font-family: var(--sans); font-size: 16px; line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; letter-spacing: -.01em; margin: 0; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 8px; top: -60px; background: var(--texte); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 50; }
.lien-evitement:focus { top: 8px; }

.page { max-width: var(--largeur); margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.page.sans-barre { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
.page.long { padding-bottom: calc(260px + env(safe-area-inset-bottom)); }
.pad { padding-left: 16px; padding-right: 16px; }
.pile { display: flex; flex-direction: column; gap: 10px; }
.section { padding: 20px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.titre-section { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -.015em; }
.ligne-titre { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ligne-titre > h2 { min-width: 0; text-wrap: balance; }
.petit { font-size: 13px; color: var(--texte-2); }
.encre-2 { color: var(--texte-2); }

/* En-têtes */
.top { padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 10px; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -.5px; text-decoration: none; }
.logo img { display: block; width: 168px; height: auto; }
.o { color: var(--rouge); font-style: italic; }
.statut { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--texte-2); }
.statut .pastille { align-self: center; }
.statut strong { color: var(--texte); font-weight: 600; }
.pastille { width: 8px; height: 8px; border-radius: 50%; background: var(--vert-vif); flex: none; }
.statut.ferme .pastille { background: var(--rouge); }
.btn-rond {
  width: 44px; height: 44px; border-radius: 50%; background: var(--carte); border: 1px solid var(--bordure);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex: none; padding: 0;
}
.entete { padding: 14px 16px 6px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; }
.entete h1 { font-size: 26px; text-align: center; }

/* Bannière */
.banniere {
  margin: 8px 16px 0; background: var(--brun) url('/projets/omiami-pizza/img/textures/sombre.webp') center / cover; border-radius: 24px; padding: 22px 20px 20px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px; min-height: 250px; color: #FFF6E6;
}
.etiquette { align-self: flex-start; background: var(--rouge); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 5px 10px; border-radius: 999px; }
.banniere h1, .banniere h2 { font-size: 34px; line-height: 1.05; max-width: 210px; position: relative; }
.banniere h1 em, .banniere h2 em { color: var(--orange); }
.banniere p { font-size: 14px; color: #EADBC6; max-width: 190px; position: relative; }
.banniere .btn { align-self: flex-start; margin-top: 4px; position: relative; }
.banniere .deco {
  position: absolute; right: -70px; bottom: -56px; width: 230px; height: 230px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.banniere .deco-fennec { position: absolute; right: -18px; bottom: -14px; width: 178px; height: auto; transform: rotate(6deg); filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .45)); }

/* Images */
.rond { border-radius: 50%; object-fit: cover; }
.mascotte { height: auto; filter: drop-shadow(0 4px 8px rgba(35, 26, 21, .18)); }
.vide .mascotte { width: 170px; }
.vide .mascotte.large { width: 240px; }
.mascotte.mini { width: 72px; flex: none; }
.mascotte.mini.large { width: 100px; }
.illu { width: 100%; height: auto; mix-blend-mode: multiply; border-radius: 16px; }
.maison { position: relative; border-radius: 24px; overflow: hidden; background: #1E120C url('/projets/omiami-pizza/img/textures/bois.webp') center / cover; color: #FFF6E6; }
.maison img { width: 100%; height: 190px; object-fit: cover; }
.maison-texte { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.maison h2 { font-size: 28px; }
.maison h2 em { color: var(--orange); }
.maison p { font-size: 14px; color: #EADBC6; }
.encart.avec-photo { padding-top: 0; overflow: hidden; }
.encart.avec-photo img { margin: 0 -16px 10px; width: calc(100% + 32px); max-width: none; height: 150px; object-fit: cover; }
.vignette { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; border: 2px solid var(--carte); box-shadow: 0 0 0 1px var(--bordure); }
.vignette.encre { display: flex; align-items: center; justify-content: center; background: var(--carte); opacity: .9; }
.bandeau { width: 100%; height: 150px; object-fit: cover; border-radius: 18px; margin-bottom: 12px; }

/* Boutons */
.btn {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--rouge); color: #fff; font-weight: 700; font-size: 15px; padding: 0 22px; border-radius: 999px;
  text-decoration: none; border: 2px solid var(--rouge);
}
.btn.sombre { background: var(--texte); border-color: var(--texte); }
.btn.contour { background: transparent; color: var(--texte); border-color: var(--texte); }
.btn.large { width: 100%; min-height: 52px; font-size: 16px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-plus {
  width: 44px; height: 44px; border-radius: 50%; background: var(--rouge); color: #fff; border: none; flex: none;
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
.duo { display: flex; gap: 8px; }
.duo > * { flex: 1; }

/* Pastilles */
.pastilles { padding: 16px 16px 4px; display: flex; gap: 8px; font-size: 12px; font-weight: 600; list-style: none; margin: 0; }
.pastilles li { flex: 1; background: var(--carte); border: 1px solid var(--bordure); border-radius: 14px; padding: 10px 8px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; line-height: 1.25; }
.pastille-icone { width: 44px; height: 44px; }

/* Catégories */
.defile { display: flex; gap: 14px; overflow-x: auto; padding: 0 16px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.defile::-webkit-scrollbar { display: none; }
.cat { flex: none; width: 70px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; font-size: 12px; font-weight: 600; text-align: center; }
.cat span:first-child { width: 64px; height: 64px; border-radius: 50%; background: var(--carte); border: 1px solid var(--bordure); display: flex; align-items: center; justify-content: center; }
.cat:first-child span:first-child { border: 2px solid var(--rouge); }
.cat img { mix-blend-mode: multiply; }

/* Cartes produit */
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.produit .badge { position: absolute; top: 10px; left: 10px; z-index: 1; }
.produit { position: relative; background: var(--carte); border: 1px solid var(--bordure); border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.produit .visuel { display: flex; justify-content: center; }
.produit .visuel img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; }
.produit h3 { font-size: 19px; }
.produit .bas { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.badge { align-self: flex-start; background: var(--rouge); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; letter-spacing: .3px; }
.badge.vert { background: var(--vert); }

/* Encarts offre */
.encart { background: var(--encart); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.encart .surtitre { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--encart-texte); }
.encart h2, .encart h3 { font-size: 20px; line-height: 1.15; }
.encart p { font-size: 13px; color: var(--texte-2); }

/* Horaires */
.boite { background: var(--carte); border: 1px solid var(--bordure); border-radius: 18px; padding: 4px 16px; }
.horaires { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.horaires li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dotted var(--pointilles); }
.horaires li:last-child { border-bottom: none; }
.horaires .val { font-weight: 600; text-align: right; }
.horaires .ferme { color: var(--rouge-texte); }
.horaires .auj { font-weight: 700; }
.horaires .auj span:first-child::after { content: " · aujourd'hui"; font-weight: 500; color: var(--texte-2); }

/* Pied */
.pied::before { content: ""; flex-basis: 100%; height: 130px; margin: 0 -16px 8px; background: url('/projets/omiami-pizza/img/textures/miami.webp') 0 0 / 600px auto repeat; opacity: .5; -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.pied { margin-top: 28px; padding: 0 16px 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 13px; color: var(--texte-2); }
.pied a { min-height: 44px; display: inline-flex; align-items: center; }

/* Barre de navigation */
.barre {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(10px + env(safe-area-inset-bottom)); width: calc(100% - 24px); max-width: calc(var(--largeur) - 24px);
  background: var(--carte); border: 1px solid var(--bordure); border-radius: 28px; padding: 6px 8px; display: flex; align-items: center; box-shadow: var(--ombre); z-index: 20;
}
.barre a { flex: 1; min-height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 600; text-decoration: none; color: var(--texte-2); }
.barre a[aria-current="page"] { color: var(--rouge-texte); font-weight: 700; }
.barre .centre {
  flex: none; width: 62px; height: 62px; min-height: 0; margin: -28px 6px 0; border-radius: 50%; background: var(--rouge); color: #fff;
  border: 4px solid var(--fond); position: relative; gap: 0; font-size: 10px; font-weight: 700;
}
.barre .centre[aria-current="page"] { color: #fff; }
.compteur { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--texte); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px; }

/* Carte (menu) */
.bascule { display: flex; gap: 8px; }
.bascule button {
  flex: 1; min-height: 44px; border-radius: 999px; border: 2px solid var(--texte); background: transparent; font-size: 15px; font-weight: 700; padding: 0 8px;
}
.bascule button[aria-pressed="true"] { background: var(--texte); color: #fff; }
.tailles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tailles button {
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 6px; border-radius: 16px;
  background: var(--carte); border: 2px solid var(--bordure);
}
.tailles button[aria-pressed="true"] { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.tailles .t-nom { font-family: var(--serif); font-size: 18px; }
.tailles .t-cm { font-size: 12px; }
.tailles .t-prix { font-size: 15px; font-weight: 700; }
.onglets {
  position: sticky; top: 0; z-index: 10; background: var(--fond); display: flex; gap: 4px; padding: 8px 16px 6px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--bordure); margin-top: 12px;
}
.onglets::-webkit-scrollbar { display: none; }
.onglets a {
  flex: none; min-height: 44px; display: flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 1px;
  color: var(--texte-2); text-decoration: none; text-transform: uppercase; border-bottom: 3px solid transparent;
}
.onglets a[aria-current="true"] { color: var(--texte); font-weight: 700; border-bottom-color: var(--rouge); }
.devise { text-align: center; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--texte-2); padding: 14px 16px 0; }
.rubrique { padding: 18px 16px 0; scroll-margin-top: 64px; }
.rubrique h2 { font-size: 24px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.rubrique h2 img { mix-blend-mode: multiply; }
.rubrique .intro { font-size: 13px; color: var(--texte-2); margin-bottom: 4px; }
.liste { list-style: none; margin: 0; padding: 0; }

/* Pizzas façon affiche */
.rubrique.en-grille h2 { justify-content: center; font-size: 32px; margin: 4px 0 6px; }
.grille-pizzas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pz { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 10px 18px; }
.pz:nth-child(2n) { border-left: 1px solid var(--pointilles); }
.pz:nth-child(n+3) { border-top: 1px solid var(--pointilles); }
.pz-visuel img, .pz-visuel svg { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 14px rgba(35, 26, 21, .14); }
.pz-nom { font-family: var(--serif); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.3; margin-top: 6px; }
.pz-desc { font-size: 12.5px; color: var(--texte-2); line-height: 1.45; max-width: 20ch; }
.pz-bas { margin-top: auto; padding-top: 4px; display: flex; align-items: center; gap: 12px; }
.pz-bas .prix { font-size: 15px; font-weight: 700; }
@media (min-width: 560px) {
  .grille-pizzas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pz:nth-child(2n) { border-left: 0; }
  .pz:not(:nth-child(3n+1)) { border-left: 1px solid var(--pointilles); }
  .pz:nth-child(3) { border-top: 0; }
}
.article { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--bordure); }
.article .corps { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.article .nom-prix { display: flex; align-items: baseline; gap: 8px; }
.article h3 { font-size: 19px; }
.article .points { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--pointilles); transform: translateY(-4px); }
.article .prix { font-size: 15px; font-weight: 700; white-space: nowrap; }
.article .desc { font-size: 13px; color: var(--texte-2); line-height: 1.35; }
.article .indispo { font-size: 12px; color: var(--texte-2); width: 44px; text-align: center; flex: none; }
.tag-v { font-size: 11px; font-weight: 700; color: var(--vert); border: 1px solid var(--vert); border-radius: 4px; padding: 0 4px; line-height: 1.4; flex: none; }
.tag-new { font-size: 10px; font-weight: 700; color: #fff; background: var(--rouge); border-radius: 4px; padding: 1px 5px; flex: none; }

/* Barre panier collante */
.barre-panier {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: var(--largeur); z-index: 20;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--carte); border-top: 1px solid var(--bordure);
  display: flex; flex-direction: column; gap: 6px; box-shadow: 0 -4px 14px rgba(35, 26, 21, .06);
}
.barre-panier .btn { justify-content: space-between; }
.ok { font-size: 13px; font-weight: 600; color: var(--vert); display: flex; justify-content: space-between; gap: 8px; }

/* Panier */
.info-mode { background: var(--carte); border: 1px solid var(--bordure); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.info-mode .surtitre { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--encart-texte); }
.lignes { list-style: none; margin: 0; padding: 4px 14px; background: var(--carte); border: 1px solid var(--bordure); border-radius: 16px; }
.lignes > li { padding: 12px 0; border-bottom: 1px dotted var(--pointilles); display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.lignes > li:last-child { border-bottom: none; }
.lignes .l-nom { font-family: var(--serif); font-size: 18px; line-height: 1.15; }
.lignes .l-detail { font-size: 13px; color: var(--texte-2); }
.lignes .l-total { font-weight: 700; text-align: right; }
.lignes .remise { color: var(--vert); font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; grid-column: 1 / -1; }
.qte { display: flex; align-items: center; gap: 4px; }
.qte button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--pointilles); background: var(--fond); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.qte output { min-width: 26px; text-align: center; font-weight: 700; }
.champ { display: flex; flex-direction: column; gap: 4px; }
.champ label, .legende { font-size: 13px; font-weight: 600; }
.champ .aide { font-size: 12px; color: var(--texte-2); }
.champ input, .champ select, .champ textarea {
  min-height: 48px; border: 1px solid var(--pointilles); border-radius: 12px; padding: 0 14px; font-size: 16px; background: var(--carte); width: 100%;
}
.champ textarea { padding: 12px 14px; min-height: 80px; resize: vertical; }
.champ input:user-invalid { border-color: var(--rouge); }
.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.case { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; min-height: 44px; padding-top: 4px; }
.case input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--rouge); flex: none; }
.moyens { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.moyens li { border: 1px solid var(--pointilles); background: var(--carte); border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.recap { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.recap div { display: flex; justify-content: space-between; }
.recap .vert { color: var(--vert); }
.recap .total { font-family: var(--serif); font-size: 22px; }
.alerte { background: #FCE4DF; color: #7D1E10; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.alerte:empty { display: none; }
.note { background: var(--encart); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.vide { text-align: center; padding: 40px 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* Feuille d'options */
dialog.feuille {
  border: none; padding: 0; margin: auto auto 0; width: 100%; max-width: var(--largeur); max-height: 90dvh; border-radius: 24px 24px 0 0;
  background: var(--fond); color: var(--texte);
}
dialog.feuille::backdrop { background: rgba(35, 26, 21, .5); }
@media (min-width: 700px) { dialog.feuille { margin: auto; border-radius: 24px; } }
.feuille form { display: flex; flex-direction: column; max-height: 90dvh; }
.feuille .tete { padding: 16px 16px 8px; display: flex; gap: 12px; align-items: flex-start; }
.feuille .tete h2 { font-size: 26px; flex: 1; }
.feuille .contenu { padding: 0 16px 8px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.feuille fieldset { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.feuille legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option > span span { font-weight: 700; white-space: nowrap; }
.option > span { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border: 2px solid var(--bordure); background: var(--carte); border-radius: 14px; font-size: 14px; font-weight: 600; }
.option input:checked + span { border-color: var(--rouge); background: #FCEDE9; }
.option input:focus-visible + span { outline: 3px solid var(--rouge); outline-offset: 2px; }
.feuille .pied-feuille { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--bordure); background: var(--carte); }

/* Divers */
.toast {
  position: fixed; left: 50%; bottom: calc(120px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--texte); color: #fff;
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 40; max-width: calc(100% - 32px); text-align: center;
}
.toast.vu { opacity: 1; transform: translate(-50%, 0); }
.prose { padding: 8px 16px 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.prose h2 { font-size: 22px; margin-top: 12px; }
.prose ul { margin: 0; padding-left: 20px; }
.manque { background: #FFF2B8; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.chargement { padding: 60px 16px; text-align: center; color: var(--texte-2); }
.rond-ok { width: 72px; height: 72px; border-radius: 50%; background: var(--vert); color: #fff; display: flex; align-items: center; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Accueil restructuré ---------- */
/* Bannière : pizza best-seller + tampon de l'offre qui tourne */
/* Bannière offre : rouge plein, l'offre écrite comme une équation, pizza + pizza */
.ban-offre { background: var(--rouge); padding-bottom: 0; gap: 10px; min-height: 0; isolation: isolate; }
.ban-offre::before {
  content: ""; position: absolute; left: -40px; top: -40px; width: 240px; height: 240px; z-index: -1; pointer-events: none;
  background: url('/projets/omiami-pizza/img/textures/halftone.webp') center / contain no-repeat; transform: rotate(180deg); filter: brightness(.35); opacity: .3;
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 70%); mask-image: radial-gradient(circle at center, #000 30%, transparent 70%);
}
.ban-offre .etiquette { background: #FFF6E6; color: var(--rouge-texte); }
.ban-offre h1 { max-width: none; display: flex; flex-direction: column; gap: 2px; }
.ban-l1 { font-size: 30px; line-height: 1; }
.ban-l2 { font-size: 54px; line-height: .95; font-style: italic; letter-spacing: -.5px; color: #FFE7A8; }
.ban-conditions { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ban-conditions li { font-size: 12.5px; font-weight: 700; color: #FFF6E6; border: 1.5px solid rgba(255, 246, 230, .55); border-radius: 999px; padding: 4px 10px; }
.btn-creme { background: #FFF6E6; border-color: #FFF6E6; color: var(--rouge-texte); }
.btn-creme:hover { background: #fff; border-color: #fff; }
.ban-visuel { position: relative; height: 128px; margin: 8px -20px 0; pointer-events: none; }
.ban-pizza { position: absolute; top: 10px; width: 150px; height: 150px; border-radius: 50%; object-fit: cover; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.ban-p1 { left: 14px; }
.ban-p2 { right: 14px; }
.ban-plus {
  position: absolute; left: 50%; top: 52px; transform: translateX(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: #FFF6E6; color: var(--rouge-texte);
  font-family: var(--serif); font-size: 34px; line-height: 1; box-shadow: 0 6px 14px rgba(0, 0, 0, .28);
}
.tampon { position: absolute; right: 2px; top: -2px; z-index: 3; width: 88px; height: 88px; transform: rotate(-12deg); }
.tampon::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: #FFF6E6; box-shadow: 0 6px 14px rgba(0, 0, 0, .28); }
.tampon-anneau { position: absolute; inset: 0; width: 100%; height: 100%; animation: tourne 16s linear infinite; }
.tampon-texte {
  position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  color: var(--rouge-texte); font-family: var(--serif); font-size: 10px; line-height: 1; text-transform: uppercase;
}
.tampon-texte span { display: block; white-space: nowrap; }
.tampon-texte span:nth-child(2) { font-size: 9.5px; letter-spacing: -.02em; }
.banniere .tampon-texte { position: absolute; inset: 0; max-width: none; font-size: 10px; color: var(--rouge-texte); }
@keyframes tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tampon-anneau { animation: none; } }
@media (min-width: 560px) {
  .ban-offre { padding: 28px 28px 28px; min-height: 290px; }
  .ban-offre h1, .ban-conditions { max-width: 310px; }
  .ban-l1 { font-size: 34px; } .ban-l2 { font-size: 60px; }
  .ban-visuel { position: absolute; right: 0; bottom: 0; width: 270px; height: 100%; margin: 0; }
  .ban-pizza { top: auto; width: 170px; height: 170px; }
  .ban-p1 { left: 0; bottom: -30px; } .ban-p2 { right: -24px; bottom: 72px; }
  .ban-plus { left: 136px; top: auto; bottom: 92px; transform: none; width: 50px; height: 50px; font-size: 38px; }
  .tampon { right: 4px; top: 14px; width: 104px; height: 104px; }
  .banniere .tampon-texte { font-size: 11px; } .tampon-texte span:nth-child(2) { font-size: 11.5px; }
}

/* Deux façons de commander */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode-carte {
  background: var(--carte); border: 1px solid var(--bordure); border-radius: 20px; padding: 12px 12px 14px; text-decoration: none;
  display: flex; flex-direction: column; gap: 4px; min-height: 44px; transition: border-color .15s, transform .15s;
}
.mode-carte:hover { border-color: var(--rouge); }
.mode-carte:active { transform: scale(.98); }
.mode-carte .mascotte { height: 84px; width: auto; max-width: 100%; align-self: center; object-fit: contain; margin-bottom: 4px; }
.mode-titre { font-family: var(--serif); font-size: 22px; line-height: 1.1; }
/* Cartes de mode cliquables (panier, tiroir) : la carte choisie est cerclée de rouge. */
button.mode-carte { font: inherit; color: inherit; text-align: left; cursor: pointer; border-width: 2px; padding: 11px 11px 13px; }
button.mode-carte[aria-pressed="true"] { border-color: var(--rouge); background: #FCEDE9; }
button.mode-carte[aria-pressed="false"] .mascotte { opacity: .55; filter: grayscale(.4); }
button.mode-carte:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }

/* Panier en tiroir, à droite (comme une boutique de vêtements) */
dialog.tiroir {
  border: none; padding: 0; margin: 0 0 0 auto; width: min(440px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh;
  background: var(--fond) url('/projets/omiami-pizza/img/textures/papier-fond.webp') 0 0 / 1000px auto repeat; color: var(--texte); box-shadow: -10px 0 30px rgba(0, 0, 0, .16);
}
dialog.tiroir[open] { display: flex; flex-direction: column; }
dialog.tiroir::backdrop { background: rgba(35, 26, 21, .45); }
@media (prefers-reduced-motion: no-preference) {
  dialog.tiroir { transform: translateX(100%); transition: transform .34s cubic-bezier(.32, .72, 0, 1), overlay .34s allow-discrete, display .34s allow-discrete; }
  dialog.tiroir[open] { transform: none; }
  @starting-style { dialog.tiroir[open] { transform: translateX(100%); } }
  dialog.tiroir::backdrop { opacity: 0; transition: opacity .34s, overlay .34s allow-discrete, display .34s allow-discrete; }
  dialog.tiroir[open]::backdrop { opacity: 1; }
  @starting-style { dialog.tiroir[open]::backdrop { opacity: 0; } }
}
.t-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px; border-bottom: 1px solid var(--bordure); }
.t-tete h2 { font-size: 28px; }
.t-nb { font-family: var(--sans, inherit); font-size: 15px; color: var(--texte-2); font-style: normal; }
.t-corps { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.t-corps .mode-carte .mascotte { height: 64px; }
.t-corps .mode-titre { font-size: 19px; }
.t-corps.vide { justify-content: center; }
.t-corps.vide .mascotte { width: 140px; height: auto; }
.t-pied { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--bordure); background: var(--carte); display: flex; flex-direction: column; gap: 8px; }
.t-pied .btn.large { justify-content: space-between; }
.t-pied .btn.contour { justify-content: center; }

/* Choix de la taille à l'ajout d'une pizza */
.choix-taille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.option-taille > span { flex-direction: column; justify-content: center; gap: 0; padding: 10px 6px; text-align: center; position: relative; min-height: 84px; }
.option-taille strong { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.option-taille small { font-size: 12px; font-weight: 500; color: var(--texte-2); }
.option-taille > span > span { margin-top: 2px; font-size: 15px; }
.t-offre { position: absolute; top: -9px; right: 6px; font-style: normal; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--vert); border-radius: 6px; padding: 1px 6px; }

/* Pop-up « plus qu'une pizza » */
.pop-offre { position: relative; align-items: center; text-align: center; gap: 8px; padding: 26px 22px calc(20px + env(safe-area-inset-bottom)); }
.pop-offre .mascotte { width: 110px; height: auto; }
.pop-offre .surtitre { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--rouge-texte); }
.pop-offre h2 { font-size: 27px; line-height: 1.08; text-transform: uppercase; letter-spacing: .01em; }
.pop-offre h2 em { display: block; color: var(--rouge); }
.pop-offre p { max-width: 36ch; font-size: 14px; line-height: 1.45; color: var(--texte-2); }
.pop-offre .btn { margin-top: 10px; justify-content: center; }
.pop-fermer { position: absolute; top: 12px; right: 12px; }
@media (min-width: 700px) { dialog.feuille:has(.pop-offre) { max-width: 420px; } }

.separateur { width: min(320px, 80%); height: auto; margin: 18px auto 0; opacity: .9; }
.illu-miami { width: 100%; max-width: 420px; height: auto; align-self: center; }
.lien-fort { color: var(--rouge-texte); font-weight: 600; font-size: 13px; min-height: 44px; display: flex; align-items: center; }

/* Fidélité (annonce) */
.fidelite { background: var(--brun) url('/projets/omiami-pizza/img/textures/sombre.webp') center / cover; color: #FFF6E6; border-radius: 22px; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.fid-tete { display: flex; justify-content: space-between; align-items: flex-start; }
.fidelite .surtitre { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #FFF6E6; background: var(--rouge); border-radius: 999px; padding: 4px 10px; }
.fidelite .mascotte { width: 64px; margin: -6px -4px -10px 0; }
.fidelite h2 { font-size: 26px; }
.fidelite p { font-size: 14px; color: #EADBC6; }
.fid-carte { margin-top: 8px; background: #FFF6E6; border-radius: 16px; padding: 12px; position: relative; }
.fid-carte ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.fid-carte li { aspect-ratio: 1; border-radius: 50%; border: 2px dashed #D9C5A8; display: flex; align-items: center; justify-content: center; }
.fid-carte li.plein { border: none; }
.fid-carte li img { width: 100%; height: auto; transform: rotate(-12deg); }
.fid-carte > span { position: absolute; right: 10px; top: -10px; background: var(--texte); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }

/* ---------- Allergènes (bêta) ---------- */
.ligne-allergies { display: flex; }
.btn-allergies {
  min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px;
  background: var(--carte); border: 1px solid var(--pointilles); font-size: 14px; font-weight: 600; vertical-align: middle;
}
.beta { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--encart-texte); background: var(--encart); border-radius: 6px; padding: 2px 6px; vertical-align: middle; }
.al { display: inline-flex; align-items: flex-start; gap: 6px; font-size: 12px; font-weight: 600; line-height: 1.3; padding: 4px 8px; border-radius: 8px; border: 1px solid; max-width: 100%; }
.al-sym { flex: none; width: 18px; height: 18px; margin-top: -1px; }
.al-danger { background: #FCE4DF; color: #7D1E10; border-color: #E7A397; }
.al-warn { background: #FFF1D6; color: #6B3A00; border-color: #E9BF73; }
.al-ok { background: #E3F2E8; color: #17543A; border-color: #9CCDB0; }
.pz .al { justify-content: center; text-align: left; }
.produit .al { align-self: flex-start; }
.lignes .al { margin-top: 4px; }
.al-legende { background: var(--carte); border: 1px solid var(--bordure); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.al-legende ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.al-legende li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--texte-2); }
.al-avert { font-size: 12.5px; font-weight: 600; color: #7D1E10; }
.al-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.al-case { position: relative; }
.al-case input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.al-case > span { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 2px solid var(--bordure); background: var(--carte); border-radius: 14px; font-size: 14px; font-weight: 600; }
.al-case input:checked + span { border-color: var(--rouge); background: #FCEDE9; }
.al-case input:checked + span::after { content: "✓"; margin-left: auto; color: var(--rouge-texte); font-weight: 800; }
.al-case input:focus-visible + span { outline: 3px solid var(--rouge); outline-offset: 2px; }
.feuille .pied-feuille.duo { position: sticky; bottom: 0; }
.table-defile { overflow-x: auto; }
.al-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.al-table th, .al-table td { text-align: left; padding: 8px 6px; border-bottom: 1px dotted var(--pointilles); vertical-align: top; }
.al-table thead th { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--texte-2); }

/* Administration */
.adm h2 { font-size: 22px; margin-top: 16px; }
.adm-produit { background: var(--carte); border: 1px solid var(--bordure); border-radius: 14px; }
.adm-produit summary { min-height: 48px; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; cursor: pointer; }
.adm-corps { padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.seg { border: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.seg legend { float: left; font-size: 14px; font-weight: 600; padding: 0; }
.seg > div { display: inline-flex; border: 1px solid var(--pointilles); border-radius: 999px; overflow: hidden; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; font-size: 13px; font-weight: 600; }
.seg label + label span { border-left: 1px solid var(--pointilles); }
.seg input:checked + span { background: var(--texte); color: #fff; }
.seg input[value="contains"]:checked + span { background: #B3261E; }
.seg input[value="traces"]:checked + span { background: #9A5B00; }
.seg input:focus-visible + span { outline: 3px solid var(--rouge); outline-offset: -3px; }

/* Textures de remplissage (assets/textures) */
body::before { content: ""; display: block; height: 18px; background: url('/projets/omiami-pizza/img/textures/frise-italie.webp') 0 0 / auto 18px repeat-x; border-bottom: 1px solid rgba(35, 26, 21, .14); }
.mode-carte { position: relative; overflow: hidden; }
.mode-carte::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 96px; height: 96px; background: url('/projets/omiami-pizza/img/textures/halftone.webp') center / contain no-repeat; opacity: .22; pointer-events: none; }
.mode-carte > * { position: relative; z-index: 1; }
.fidelite { background: var(--brun) url('/projets/omiami-pizza/img/textures/ardoise.webp') center / 520px auto repeat; }
.vide { margin: 16px; border-radius: 24px; background: #B88A55 url('/projets/omiami-pizza/img/textures/carton.webp') center / 420px auto repeat; color: #2A1A0E; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 8px 24px rgba(0, 0, 0, .12); }
.vide p { font-weight: 700; }

/* Motifs tamponnés éparpillés dans les marges, seulement quand il y a de la place à côté de la colonne. */
.deco-fond { display: none; }
@media (min-width: 1000px) {
  body { position: relative; }
  #app { position: relative; z-index: 1; }
  .deco-fond { display: block; position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
  .deco-fond img {
    position: absolute; top: var(--y); width: var(--t); height: auto; transform: rotate(var(--r)); opacity: .42;
  }
  .deco-fond .g { left: calc(50% - var(--largeur) / 2 - var(--x) - var(--t)); }
  .deco-fond .d { left: calc(50% + var(--largeur) / 2 + var(--x)); }
}

/* Photo de la bannière (les 2 pizzas) : en bas sur mobile, à droite sur grand écran. */
.ban-photo { position: relative; margin: 6px -20px 0; height: 200px; pointer-events: none; }
.ban-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; -webkit-mask-image: linear-gradient(transparent, #000 28%); mask-image: linear-gradient(transparent, #000 28%); }
.ban-photo .tampon { right: 10px; top: 4px; }
@media (min-width: 560px) {
  .ban-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 56%; height: auto; margin: 0; }
  .ban-photo > img { object-position: 40% 50%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
  .ban-photo .tampon { right: auto; left: 18%; top: 18px; }
}

/* Grand écran : l'accueil et la carte s'étalent sur 1180 px, les sections se mettent en colonnes. */
@media (min-width: 1100px) {
  .page.large { --largeur: 1180px; }
  .accueil .top { padding: 22px 24px 10px; }
  .accueil #contenu { padding: 0 24px; display: flex; flex-direction: column; }
  .accueil .section { padding-left: 0; padding-right: 0; }
  .accueil .titre-section { font-size: 30px; }
  .accueil .banniere { margin: 8px 0 0; min-height: 440px; padding: 48px 52px; justify-content: center; gap: 16px; }
  .accueil .ban-l1 { font-size: 54px; }
  .accueil .ban-l2 { font-size: 104px; }
  .accueil .ban-offre h1, .accueil .ban-conditions { max-width: 560px; }
  .accueil .ban-photo { width: 62%; }
  .accueil .ban-photo .tampon { left: auto; right: 3%; top: 30px; width: 140px; height: 140px; }
  .accueil .ban-photo .tampon-texte { font-size: 13px; } .accueil .ban-photo .tampon-texte span:nth-child(2) { font-size: 14px; }
  .accueil .btn-creme { min-height: 54px; font-size: 17px; padding: 0 30px; }
  .acc-commande .pastilles { gap: 14px; font-size: 14px; }
  .acc-commande .pastilles li { flex-direction: row; justify-content: center; gap: 14px; padding: 12px 16px; }
  .accueil .defile { padding: 0; gap: 22px; overflow: visible; }
  .accueil .titre-section.pad { padding: 0; }
  .accueil .cat { width: 92px; font-size: 13px; }
  .accueil .cat span:first-child { width: 84px; height: 84px; }
  .accueil .grille { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .acc-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
  .acc-duo > .section { padding-top: 32px; }
  .acc-duo .maison { height: 100%; display: flex; flex-direction: column; }
  .acc-duo .maison img { flex: 1; height: auto; min-height: 220px; }
  .acc-duo .fidelite { height: 100%; }
  .acc-horaires { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; padding-top: 32px !important; }
  .hor-g, .hor-d { display: flex; flex-direction: column; gap: 12px; }
  .accueil .pied { max-width: 1180px; }
  .page.large .grille-pizzas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page.large .pz { border-left: 0; }
  .page.large .pz:not(:nth-child(4n+1)) { border-left: 1px solid var(--pointilles); }
  .page.large .pz:nth-child(-n+4) { border-top: 0; }
  .page.large .pz:nth-child(n+5) { border-top: 1px solid var(--pointilles); }
  .page.large .liste { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .page.large .bandeau { height: 260px; }
  /* Les motifs tamponnés des marges suivent la largeur de la colonne. */
  body:has(.page.large) .deco-fond { --largeur: 1180px; }
}
@media (min-width: 1100px) and (max-width: 1499px) {
  body:has(.page.large) .deco-fond { display: none; }
}

/* Offre 1+1 : total barré + étiquette « N pizza(s) offerte(s) » */
.barre-prix { font-weight: 500; font-size: .85em; opacity: .7; text-decoration-thickness: 1.5px; margin-right: 2px; }
.etiq-offerte { display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--vert); border-radius: 6px; padding: 2px 7px; line-height: 1.4; }
.recap .vert { align-items: center; }
.ok { align-items: center; }
.total-panier { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; color: var(--texte-2); min-height: 20px; }
.total-panier strong { color: var(--texte); }
.allergies-carte { padding-top: 14px; align-items: center; }
.allergies-carte .ligne-allergies { justify-content: center; }
.carte-accueil { margin-top: 28px; }

/* Carte de l'accueil : nombre de cette pizza au panier, et boutons − / + */
.pz-visuel { position: relative; }
.pz-compte { position: absolute; top: 2px; right: 0; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 15px; background: var(--rouge); color: #fff; border: 2px solid var(--fond); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.pz-qte { gap: 6px; }
.pz-qte output { font-size: 17px; }
.qte.pz-qte button { background: var(--rouge); border-color: var(--rouge); color: #fff; }  /* − et + rouges sur la carte */

/* ---------- DA « stickers » : typo ronde et grasse, stickers crème à l'encre rouge, collage sur photo ---------- */
:root {
  --serif: 'Lilita One', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
  --st: #F4EAD5;
  --ombre-st: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 3px 0 rgba(35, 26, 21, .08), 0 12px 24px rgba(35, 26, 21, .28);
}
body { font-synthesis: none; }
h1, h2, h3, .titre-section, .option-taille strong { font-weight: 400; letter-spacing: .005em; }
.o, .devise, .maison h2 em { font-style: normal; }
.titre-section, .rubrique h2 { color: var(--rouge); text-transform: uppercase; line-height: 1; }
.pz-nom { letter-spacing: .06em; font-size: 16px; }
.btn { font-family: var(--serif); font-weight: 400; font-size: 17px; letter-spacing: .02em; }
.badge, .etiquette { font-family: var(--serif); font-weight: 400; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; border: 2px solid var(--st); box-shadow: 0 3px 8px rgba(35, 26, 21, .25); transform: rotate(-4deg); }

/* Pastilles et catégories en stickers posés de travers */
.pastilles li { background: var(--st); border: 0; border-radius: 18px; box-shadow: var(--ombre-st); color: var(--rouge-texte); font-weight: 700; }
.pastilles li:nth-child(odd) { transform: rotate(-1.6deg); }
.pastilles li:nth-child(even) { transform: rotate(1.4deg); }
.cat span:first-child { background: var(--st); border: 0; box-shadow: var(--ombre-st); }
.cat:first-child span:first-child { border: 0; outline: 2.5px solid var(--rouge); outline-offset: -7px; }
.cat:nth-child(odd) span:first-child { transform: rotate(-6deg); }
.cat:nth-child(even) span:first-child { transform: rotate(5deg); }

/* Bannière collage */
.collage {
  position: relative; margin: 8px 16px 0; border-radius: 24px; overflow: hidden; isolation: isolate;
  min-height: 600px; padding: 96px 16px 150px; display: flex; align-items: center; justify-content: center;
}
.collage-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; z-index: -2; }
.collage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(35, 26, 21, 0) 40%, rgba(35, 26, 21, .35)); }
.coins {
  list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none;
  font: 700 10px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #FFF6E6; text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.coins li { position: absolute; }
.coins li:nth-child(1) { left: 18px; top: 18px; }
.coins li:nth-child(2) { left: 50%; top: 18px; transform: translateX(-50%); text-align: center; display: none; }
.coins li:nth-child(3) { right: 18px; top: 18px; text-align: right; }
.coins li:nth-child(4) { left: 18px; bottom: 18px; display: none; }
.coins li:nth-child(5) { right: 18px; bottom: 18px; text-align: right; display: none; }
.st { background: var(--st); color: var(--rouge); border-radius: 22px; box-shadow: var(--ombre-st); }
.st-titre {
  position: relative; z-index: 2; width: 100%; max-width: 440px; padding: 26px 18px 24px; transform: rotate(-2.5deg);
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  outline: 2.5px solid var(--rouge); outline-offset: -10px; border-radius: 28px;
}
.st-titre h1 { font-size: clamp(38px, 11.5vw, 58px); line-height: .9; text-transform: uppercase; color: var(--rouge); display: flex; flex-direction: column; }
.st-titre h1 .accent { font-size: 1.04em; color: var(--texte); letter-spacing: -.01em; white-space: nowrap; }
.st-etiquette { font-family: var(--serif); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; background: var(--rouge); color: var(--st); border-radius: 999px; padding: 5px 14px 4px; transform: rotate(2deg); }
.st-conditions { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.st-conditions li { font-size: 12.5px; font-weight: 700; color: var(--rouge-texte); border: 2px solid var(--rouge); border-radius: 999px; padding: 3px 10px; }
.st-titre .btn { min-height: 50px; padding: 0 28px; font-size: 19px; }
.st-img { position: absolute; z-index: 3; height: auto; filter: drop-shadow(0 12px 18px rgba(20, 10, 5, .45)); pointer-events: none; }
.st-fennec { width: 150px; left: -4px; bottom: 8px; transform: rotate(-8deg); }
.st-fennec-2 { display: none; }
.st-etoile { position: absolute; z-index: 3; width: 108px; right: 8px; top: 40px; transform: rotate(12deg); filter: drop-shadow(0 10px 16px rgba(20, 10, 5, .4)); overflow: visible; }
.st-etoile polygon { fill: var(--st); stroke: var(--rouge); stroke-width: 2.5; stroke-linejoin: round; }
.st-etoile text { fill: var(--rouge); font-family: var(--serif); font-size: 15px; text-anchor: middle; text-transform: uppercase; }
.st-mot { position: absolute; z-index: 3; font-family: var(--serif); text-transform: uppercase; font-size: 17px; line-height: .95; padding: 9px 13px 8px; text-align: center; border-radius: 14px; }
.st-mot-1 { display: none; left: 12px; top: 46px; transform: rotate(-9deg); }
.st-mot-2 { display: none; }
.st-rond { position: absolute; z-index: 3; width: 112px; height: 112px; right: 12px; bottom: 16px; border-radius: 50%; background: var(--st); box-shadow: var(--ombre-st); transform: rotate(-12deg); }
.st-rond img { position: absolute; inset: 5%; width: 90%; height: 90%; animation: tourne 18s linear infinite; }
.st-rond p { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--serif); color: var(--rouge); text-transform: uppercase; font-size: 15px; line-height: .95; }
/* Coin qui se décolle */
.st-rond::after {
  content: ""; position: absolute; right: 9px; bottom: 9px; width: 30px; height: 30px; border-radius: 100% 0 60% 0;
  background: linear-gradient(135deg, #FFFDF8 0 40%, #D8CBB0 75%, #BFAF92); box-shadow: -3px -3px 6px rgba(35, 26, 21, .25);
}
@media (prefers-reduced-motion: reduce) { .st-rond img { animation: none; } }
@media (min-width: 560px) {
  .collage { min-height: 560px; padding: 90px 40px; }
  .coins li:nth-child(2), .coins li:nth-child(4), .coins li:nth-child(5) { display: block; }
  .st-fennec { width: 170px; left: 8px; bottom: 34px; }
  .st-rond { right: 22px; bottom: 44px; }
  .st-mot-2 { display: block; right: 22px; top: 170px; transform: rotate(7deg); }
  .st-mot-1 { display: block; top: 64px; }
  .st-titre h1 .accent { font-size: 1.3em; }
}
@media (min-width: 1100px) {
  .accueil .collage { margin: 8px 0 0; min-height: 640px; padding: 100px 40px; }
  .st-titre { max-width: 600px; padding: 40px 36px 36px; gap: 16px; }
  .st-titre h1 { font-size: 76px; }
  .st-etiquette { font-size: 16px; }
  .st-conditions li { font-size: 14px; }
  .st-fennec { width: 250px; left: 5%; bottom: 40px; }
  .st-fennec-2 { display: block; width: 250px; right: 4%; top: 96px; transform: rotate(6deg); }
  .st-etoile { width: 140px; left: 20%; right: auto; top: 54px; }
  .st-etoile text { font-size: 14px; }
  .st-mot-1 { left: 6%; top: 150px; font-size: 22px; }
  .st-mot-2 { right: 23%; top: auto; bottom: 46px; font-size: 22px; transform: rotate(-5deg); }
  .st-rond { width: 150px; height: 150px; right: 6%; bottom: 52px; }
  .st-rond p { font-size: 19px; }
}
