/* Santa Pizza, nouvelle version (Brigade, 04/12/2026) : minimaliste. Une seule couleur (terracotta, comme leur devanture), réservée aux actions. */
@font-face {
  font-family: 'Inter';
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/inter-variable.woff2') format('woff2');
}
:root {
  --papier: #faf7f2;
  --blanc: #ffffff;
  --encre: #121212;
  --gris: #6f6a63;
  --gris-clair: #a8a29a;
  --filet: #e8e2d9;
  --voile: #f1ece4;
  /* La couleur des actions (boutons, +, panier) : à changer ici seulement */
  --accent: #c4562a;
  --accent-fonce: #a8461f;
  --sur-accent: #ffffff;
  --police: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --largeur: min(1160px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--police); color: var(--encre); background: var(--papier); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; }
p { margin: 0; line-height: 1.55; }
a { color: inherit; }
sup { font-size: 0.6em; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Logo : le mot, puis un disque terracotta (une pizza vue du dessus) */
/* Logo : le rond terracotta découpé en S remplace le S de « Santa » */
.logo { display: inline-flex; align-items: baseline; gap: 0.04em; font-size: 28px; font-weight: 800; letter-spacing: -0.05em; text-decoration: none; color: var(--encre); }
.logo img { width: 0.84em; height: 0.84em; margin-bottom: -0.06em; flex: none; }
.logo em { font-style: normal; font-weight: 500; letter-spacing: -0.03em; color: var(--gris); margin-left: 0.24em; }
.logo--petit { font-size: 22px; }

/* Boutons : la couleur terracotta veut dire « cliquez ici » */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; font: 700 15px/1 var(--police); text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.bouton:active { transform: scale(0.97); }
.bouton--grand { min-height: 58px; padding: 0 30px; font-size: 17px; }
.bouton--plein { width: 100%; }
.bouton--orange { background: var(--accent); color: var(--sur-accent); }
.bouton--orange:hover { background: var(--accent-fonce); }
.bouton--noir { background: var(--encre); color: #fff; }
.bouton:focus-visible, .ajouter:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }

/* En-tête : le logo, le numéro, un seul bouton */
.entete { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 14px max(20px, calc((100% - 1160px) / 2)); background: rgb(250 247 242 / 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.entete--defile { border-bottom-color: var(--filet); }
.entete__tel { margin-left: auto; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--gris); }
.entete__tel:hover { color: var(--encre); }

/* Accroche : une phrase, une action */
.accroche { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; width: var(--largeur); min-height: calc(100svh - 160px); margin: 0 auto; padding: 48px 0 40px; }
.accroche__texte { display: grid; gap: 22px; justify-items: start; }
.accroche h1 { font-size: clamp(44px, 6.6vw, 92px); font-weight: 800; line-height: 0.95; text-wrap: balance; }
.accroche__sous { max-width: 30ch; font-size: clamp(18px, 1.7vw, 21px); color: var(--gris); }
.accroche__bouton { margin-top: 8px; box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 32%, transparent); }
.accroche__offre { font-size: 14px; color: var(--gris); }
.accroche__offre b { color: var(--encre); font-weight: 700; }
.accroche__visuel { position: relative; justify-self: center; width: min(520px, 100%); aspect-ratio: 1; }
.accroche__rond { width: 100%; height: 100%; overflow: hidden; border-radius: 50%; box-shadow: 0 40px 80px rgb(18 18 18 / 0.18); }
.accroche__rond img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.accroche__pastille { position: absolute; right: 2%; top: 6%; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: var(--accent); color: var(--sur-accent); font-size: 17px; font-weight: 800; line-height: 1.05; text-align: center; letter-spacing: -0.02em; box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 35%, transparent); }

/* Trois gestes, sur une seule ligne */
.etapes { display: flex; justify-content: center; gap: clamp(16px, 5vw, 64px); width: var(--largeur); margin: 0 auto; padding: 22px 0; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); list-style: none; }
.etapes li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--gris); white-space: nowrap; }
.etapes b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--encre); color: #fff; font-size: 13px; }

/* Carte : une liste, pas de cartes */
.carte { width: var(--largeur); margin: 0 auto; padding: 88px 0 96px; }
.carte__tete { display: grid; gap: 18px; min-width: 0; }
.carte__tete > * { min-width: 0; }
.carte h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; }
.carte__outils { position: sticky; top: 72px; z-index: 10; padding: 10px 0; background: var(--papier); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.onglets { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.onglets::-webkit-scrollbar { display: none; }
.onglets button { position: relative; padding: 8px 0; border: 0; background: none; font: 700 17px var(--police); color: var(--gris-clair); cursor: pointer; white-space: nowrap; }
.onglets button[aria-selected='true'] { color: var(--encre); }
.onglets button[aria-selected='true']::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--encre); }
.recherche { position: relative; display: block; flex: 0 1 300px; }
.recherche input { width: 100%; min-height: 44px; padding: 0 16px 0 42px; border: 1px solid var(--filet); border-radius: 999px; background: var(--blanc); font: 500 15px var(--police); color: var(--encre); }
.recherche input:focus { outline: none; border-color: var(--encre); }
.recherche__icone { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--gris); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.carte__corps { display: grid; grid-template-columns: 1fr 360px; align-items: start; gap: 56px; margin-top: 18px; }
.grille { display: grid; border-top: 1px solid var(--filet); }
.grille__vide { padding: 32px 0; color: var(--gris); }
.plat { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--filet); }
.plat__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--voile); }
.plat__corps { display: grid; gap: 4px; min-width: 0; }
.plat__nom { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.plat__compo { font-size: 14px; color: var(--gris); line-height: 1.45; }
.plat__marque { padding: 3px 9px; border-radius: 999px; background: var(--voile); color: var(--encre); font-size: 11.5px; font-weight: 700; letter-spacing: 0; }
.plat__marque--mois { background: var(--encre); color: #fff; }
.plat__droite { display: flex; align-items: center; gap: 16px; }
.plat__prix { font-size: 17px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plat--mois { position: relative; margin: 0 -18px; padding: 22px 18px; border-bottom: 0; border-radius: 22px; background: var(--blanc); box-shadow: 0 10px 30px rgb(18 18 18 / 0.06); }
.plat--mois .plat__photo { width: 88px; height: 88px; }
.plat--mois + .plat { border-top: 1px solid var(--filet); margin-top: 10px; }
.ajouter { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--accent); color: var(--sur-accent); font: 500 26px/1 var(--police); cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.ajouter:hover { background: var(--accent-fonce); }
.ajouter:active { transform: scale(0.9); }

/* Panier */
.panier { position: sticky; top: 196px; display: grid; gap: 14px; padding: 26px; border-radius: 26px; background: var(--blanc); box-shadow: 0 20px 50px rgb(18 18 18 / 0.08); }
.panier h3, .feuille__contenu h3 { font-size: 22px; font-weight: 800; }
.panier__vide { color: var(--gris); font-size: 15px; }
.lignes { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; max-height: 40vh; overflow: auto; }
.ligne { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--filet); }
.ligne__nom { font-weight: 600; font-size: 15px; }
.ligne__prix { font-weight: 700; font-variant-numeric: tabular-nums; }
.quantite { display: inline-flex; align-items: center; gap: 12px; }
.quantite button { width: 32px; height: 32px; border: 1px solid var(--filet); border-radius: 50%; background: var(--blanc); font: 600 17px/1 var(--police); cursor: pointer; }
.remise { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px dashed var(--filet); color: var(--accent-fonce); font-weight: 700; font-size: 15px; }
.astuce { padding: 10px 14px; border-radius: 12px; background: var(--encre); color: #fff; font-weight: 600; font-size: 14px; }
.astuce strong { color: color-mix(in srgb, var(--accent) 55%, #fff); }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 22px; font-weight: 800; }
.choix { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--voile); }
.choix button { min-height: 42px; border: 0; border-radius: 10px; background: transparent; font: 700 14px/1.2 var(--police); color: var(--gris); cursor: pointer; }
.choix button[aria-pressed='true'] { background: var(--blanc); color: var(--encre); box-shadow: 0 2px 8px rgb(0 0 0 / 0.08); }
.champ { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.champ input, .champ select { min-height: 48px; padding: 0 14px; border: 1px solid var(--filet); border-radius: 12px; font: 500 16px var(--police); color: var(--encre); background: var(--blanc); }
.champ input:focus, .champ select:focus { outline: none; border-color: var(--encre); }
.note { font-size: 13px; color: var(--gris); }
.confirmation { display: grid; justify-items: center; gap: 12px; padding: 10px 0; text-align: center; }
.confirmation__rond { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--encre); color: #fff; font-size: 32px; font-weight: 800; }
.confirmation h3 { font-size: 24px; }
.confirmation__cuisine { padding: 14px 16px; border-radius: 14px; background: var(--voile); font-size: 14.5px; }

/* Barre et feuille du panier (téléphone) */
.barre-panier { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgb(250 247 242 / 0), rgb(250 247 242 / 0.95) 40%); }
.barre-panier .bouton { min-height: 58px; justify-content: space-between; padding: 0 24px; font-size: 16px; box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.feuille { position: fixed; inset: 0; z-index: 40; display: grid; align-items: end; }
.feuille[hidden] { display: none; }
.feuille__fond { position: absolute; inset: 0; background: rgb(18 18 18 / 0.45); }
.feuille__contenu { position: relative; display: grid; gap: 14px; max-height: 92vh; overflow: auto; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--blanc); }

/* Infos : trois lignes, puis le plan */
.infos { width: var(--largeur); margin: 0 auto; padding: 0 0 96px; }
.infos__liste { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 28px; border-top: 1px solid var(--filet); }
.infos__liste div { display: grid; gap: 6px; padding: 24px 24px 24px 0; }
.infos__liste dt { font-size: 13px; font-weight: 700; color: var(--gris); }
.infos__liste dd { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.infos__liste dd a { text-decoration: none; }
#ouvert-maintenant { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; }
.infos__plan { position: relative; height: 420px; overflow: hidden; border-radius: 28px; background: var(--voile); }
.infos__plan iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(0.9) contrast(1.05); }
.infos__adresse { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 18px; padding: 14px 14px 14px 22px; border-radius: 20px; background: var(--blanc); text-decoration: none; box-shadow: 0 14px 34px rgb(18 18 18 / 0.16); }
.infos__adresse span:first-child { display: grid; gap: 2px; font-size: 14px; color: var(--gris); }
.infos__adresse strong { font-size: 18px; color: var(--encre); }
.infos__fleche { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--sur-accent); font-weight: 700; font-size: 18px; }

.pied { display: grid; justify-items: center; gap: 10px; padding: 48px 20px 120px; border-top: 1px solid var(--filet); color: var(--gris); font-size: 14px; text-align: center; }
.pied__maquette { font-size: 12.5px; color: var(--gris-clair); }

/* Pizza du mois */
.pdm { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; padding: 16px; }
.pdm[hidden] { display: none; }
.pdm__fond { position: absolute; inset: 0; background: rgb(18 18 18 / 0.45); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.26s ease; }
.pdm__carte { position: relative; display: grid; grid-template-columns: 0.95fr 1.05fr; width: min(800px, 100%); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 30px; background: var(--papier); box-shadow: 0 30px 80px rgb(0 0 0 / 0.3); opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.26s ease, transform 0.34s cubic-bezier(0.2, 0.9, 0.3, 1.1); }
.pdm__carte:focus { outline: none; }
.pdm--ouvert .pdm__fond { opacity: 1; }
.pdm--ouvert .pdm__carte { opacity: 1; transform: none; }
.pdm__fermer { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--filet); border-radius: 50%; background: var(--blanc); color: var(--encre); font: 400 24px/1 var(--police); cursor: pointer; }
.pdm__visuel { position: relative; display: grid; place-items: center; padding: 40px 30px; background: var(--blanc); }
.pdm__photo { width: min(290px, 100%); aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 50%; box-shadow: 0 24px 50px rgb(18 18 18 / 0.22); animation: pdm-tourne 60s linear infinite; }
.pdm__sceau { position: absolute; top: 22px; left: 22px; display: grid; gap: 2px; padding: 9px 14px; border-radius: 999px; background: var(--encre); color: #fff; font-size: 12px; font-weight: 600; }
.pdm__sceau b { display: inline; margin-left: 4px; font-weight: 800; }
.pdm__corps { display: grid; gap: 16px; align-content: center; padding: 44px 36px 34px; }
.pdm__corps h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; line-height: 1; }
.pdm__accroche { color: var(--gris); font-size: 16px; }
.pdm__ingredients { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pdm__ingredients li { padding: 6px 12px; border: 1px solid var(--filet); border-radius: 999px; background: var(--blanc); font-size: 14px; font-weight: 600; }
.pdm__pied { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 4px; }
.pdm__prix { font-size: 30px; font-weight: 800; }
.pdm__carte-lien { justify-self: start; padding: 0; border: 0; background: none; color: var(--gris); font: 600 14px var(--police); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@keyframes pdm-tourne { to { transform: rotate(360deg); } }

/* Apparitions douces */
.apparait { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.apparait.visible { opacity: 1; transform: none; }

@media (min-width: 1081px) { .barre-panier { display: none !important; } }
@media (max-width: 1080px) {
  .carte__corps { grid-template-columns: 1fr; }
  .panier { display: none; }
}
@media (max-width: 760px) {
  .entete { padding: 12px 18px; gap: 12px; }
  .entete__tel { display: none; }
  .entete__commander { margin-left: auto; min-height: 42px; padding: 0 18px; }
  .accroche { grid-template-columns: 1fr; gap: 26px; min-height: 0; padding: 18px 0 36px; }
  .accroche__visuel { order: -1; width: min(250px, 66%); }
  .accroche__pastille { width: 82px; height: 82px; font-size: 14px; right: -2%; top: 2%; }
  .accroche__texte { gap: 16px; }
  .accroche__bouton { width: 100%; }
  .etapes { justify-content: space-between; gap: 8px; padding: 16px 0; }
  .etapes li { flex-direction: column; gap: 6px; font-size: 12.5px; text-align: center; white-space: normal; }
  .carte { padding: 56px 0 72px; }
  .carte__outils { top: 66px; }
  .carte__outils { flex-direction: column; align-items: stretch; gap: 10px; }
  .recherche { flex: none; }
  .plat { grid-template-columns: 60px 1fr; gap: 14px; align-items: start; }
  .plat__photo { width: 60px; height: 60px; }
  .plat__droite { grid-column: 2; justify-content: space-between; }
  .plat--mois { margin: 0 -10px; padding: 18px 12px; }
  .plat--mois .plat__photo { width: 60px; height: 60px; }
  .infos__liste { grid-template-columns: 1fr; }
  .infos__liste div { padding: 18px 0; border-bottom: 1px solid var(--filet); }
  .infos__plan { height: 340px; border-radius: 22px; }
  .infos__adresse { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; }
  .pdm { align-items: end; padding: 0; }
  .pdm__carte { grid-template-columns: 1fr; width: 100%; max-height: 92dvh; border-radius: 26px 26px 0 0; transform: translateY(40px); }
  .pdm__visuel { padding: 30px 20px 22px; }
  .pdm__photo { width: 200px; }
  .pdm__corps { gap: 12px; padding: 20px 20px calc(22px + env(safe-area-inset-bottom)); }
  .pdm__corps h2 { font-size: 30px; }
  .pdm__prix { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .apparait { opacity: 1; transform: none; transition: none; }
  .pdm__fond, .pdm__carte { transition: none; }
  .pdm__photo { animation: none; }
}
