/* ==========================================================================
   Le Chat Qui Pêche — feuille de style

   Référence visuelle : l'affiche de fête de village. Papier crème un peu
   jauni, encre noire, un rouge. Capitales larges et lourdes. C'est ce
   registre-là qui dit « association » plutôt que « bar à cocktails ».

   Le logo étant en noir et blanc, il se pose sur le crème sans conflit :
   le rouge ne sert qu'aux repères, jamais en grande surface.
   ========================================================================== */

:root {
  /* ---- Couleurs -------------------------------------------------------- */
  --encre:      #191919;   /* noir neutre, jamais #000 */
  --encre-2:    #2A2A2D;
  --papier:     #F7F6F3;   /* blanc cassé neutre */
  --papier-2:   #EDECE8;   /* gris très clair, pour alterner */
  /* Accent. Une seule variable pilote boutons, étiquettes et filets.
     Alternatives testées, toutes lisibles sur le crème :
       #9E1B32  carmin sombre      #B22234  rouge vif
       #8C1C2B  bordeaux           #CE2E1C  rouge orangé (version initiale) */
  --rouge:      #A61C33;   /* carmin froid */
  --rouge-f:    #85162A;
  --gris:       #6B6A66;
  --gris-clair: #D6D4CE;
  --gris-nuit:  #A3A19B;

  /* ---- Typographie ----------------------------------------------------- */
  /* Archivo est variable en largeur (wdth) ET en graisse (wght).
     Une seule famille fait deux métiers : titre géant large,
     et intertitre condensé façon affiche. */
  --display: "Archivo", "Arial Narrow", sans-serif;
  --corps:   "Karla", system-ui, -apple-system, sans-serif;

  /* ---- Rythme ---------------------------------------------------------- */
  --gouttiere: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --max: 1140px;
  --entete-h: 72px;
}

/* --------------------------------------------------------------- Base ---- */

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete-h) + 1rem); }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--corps);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Rien ne doit pouvoir dépasser la largeur de l'écran. Un seul élément trop
   large suffit à créer une bande vide sur le côté et à faire dézoomer la page
   sur téléphone. */
img, svg, iframe, video, table { max-width: 100%; }
img { display: block; }

/* Une adresse électronique ou une URL longue se coupe au lieu de déborder. */
body { overflow-wrap: break-word; }

a  { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1; }

p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%; max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.wrap--etroit { max-width: 720px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--rouge); color: #fff;
  padding: .75rem 1.25rem; z-index: 100; font-weight: 700;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }

/* --------------------------------------------------------- Titres -------- */
/* Titre géant : large et lourd. Intertitre : condensé, façon affiche. */

.titre-geant {
  font-variation-settings: "wdth" 112, "wght" 900;
  font-size: clamp(2.9rem, 11vw, 7.5rem);
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.titre-section {
  font-variation-settings: "wdth" 84, "wght" 800;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.titre-bloc {
  font-variation-settings: "wdth" 88, "wght" 750;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* Étiquette rouge : le repère de section. Reprend les bandeaux d'affiche. */
.etiquette {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--rouge); color: #fff;
  font-family: var(--display);
  font-variation-settings: "wdth" 88, "wght" 700;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .6rem;
  margin: 0 0 1.1rem;
}
.etiquette--creuse {
  background: transparent; color: var(--rouge);
  border: 1.5px solid var(--rouge);
}
.section--encre .etiquette--creuse { color: #fff; border-color: rgba(255,255,255,.5); }

.hook { width: .5em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex: none; }

.is-todo { background: var(--gris-clair); padding: .05em .3em; border-radius: 2px; }

/* --------------------------------------------------------- Boutons ------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.7rem;
  background: var(--rouge); color: #fff;
  font-family: var(--display);
  font-variation-settings: "wdth" 92, "wght" 750;
  font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--rouge); cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.btn:hover { background: var(--rouge-f); border-color: var(--rouge-f); transform: translateY(-2px); }

.btn--creux { background: transparent; color: inherit; border-color: currentColor; }
.btn--creux:hover { background: var(--encre); border-color: var(--encre); color: var(--papier); }
.section--encre .btn--creux:hover { background: var(--papier); border-color: var(--papier); color: var(--encre); }

.btn--petit { padding: .5rem 1rem; font-size: .8rem; }
.btn--bloc  { width: 100%; }

/* --------------------------------------------------------- En-tête ------- */

.entete {
  position: sticky; top: 0; z-index: 50;
  background: var(--papier);
  border-bottom: 2px solid var(--encre);
}
.entete__in { display: flex; align-items: center; gap: 1.25rem; min-height: var(--entete-h); }

.marque { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.marque__mot {
  font-family: var(--display);
  font-variation-settings: "wdth" 90, "wght" 800;
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: .01em;
  line-height: 1.1;
}

.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a {
  font-family: var(--display);
  font-variation-settings: "wdth" 88, "wght" 650;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--gris);
  padding-block: .3rem; border-bottom: 2px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
.nav a:hover { color: var(--encre); border-bottom-color: var(--rouge); }
.nav a[aria-current="page"] { color: var(--encre); border-bottom-color: var(--encre); }

.entete__actions { display: flex; align-items: center; gap: .65rem; margin-left: auto; }
.nav + .entete__actions { margin-left: 0; }

.langue { display: inline-flex; border: 2px solid var(--encre); }
.langue__btn {
  appearance: none; background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-variation-settings: "wdth" 88, "wght" 700;
  font-size: .72rem; letter-spacing: .06em;
  color: var(--gris); padding: .28rem .5rem;
  transition: background 140ms ease, color 140ms ease;
}
.langue__btn.is-on { background: var(--encre); color: var(--papier); }

.burger {
  display: none; appearance: none; background: none; border: 0; cursor: pointer;
  width: 2.4rem; height: 2.4rem;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--encre); transition: transform 200ms ease; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column;
  padding: .25rem var(--gouttiere) 1.25rem;
  background: var(--papier); border-top: 2px solid var(--encre);
}
.nav-mobile a {
  font-family: var(--display); font-variation-settings: "wdth" 88, "wght" 700;
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; padding: .95rem 0;
  border-bottom: 1px solid var(--gris-clair);
}

/* ------------------------------------------------- Bandeau défilant ------ */
/* Les infos qui changent, en bandeau. Statique si l'utilisateur a demandé
   la réduction des animations. */

.bandeau {
  background: var(--encre); color: var(--papier);
  border-block: 2px solid var(--encre);
  overflow: hidden; padding-block: .7rem;
}
.bandeau__piste {
  display: flex; width: max-content;
  animation: defile 42s linear infinite;
}
.bandeau:hover .bandeau__piste { animation-play-state: paused; }
.bandeau__lot { display: flex; flex: none; }
.bandeau__item {
  font-family: var(--display);
  font-variation-settings: "wdth" 86, "wght" 700;
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  padding-inline: 1.5rem; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .75rem;
}
.bandeau__item::after { content: "•"; color: var(--rouge); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------- Hero -------- */

.hero { padding-block: clamp(2.25rem, 5vw, 3.75rem) var(--section-y); }

/* Le nom du bar, sur DEUX lignes : « LE CHAT » puis « QUI PÊCHE ».
   Chaque ligne est insécable — c'est le rôle de white-space: nowrap sur les
   <span>. Le clamp est volontairement prudent : le JavaScript agrandit
   ensuite jusqu'au maximum réel. Sans JavaScript, rien ne déborde. */
.hero__titre {
  /* Taille calculée à partir des métriques réelles d'Archivo, mesurées dans
     le fichier de police : « QUI PÊCHE » occupe 6,383 em, moins 8 fois
     l'interlettrage de -0,035 em, soit 6,103 em.

     La largeur utile vaut min(100vw, 1140px) moins deux gouttières. 14vw
     tient à toutes les largeurs, avec une marge de 7 px au pire (320 px) —
     et le plafond de 10,7rem correspond au conteneur arrivé à son maximum.

     Aucun JavaScript : c'est ce qui garantit que le titre ne bouge jamais,
     ni au chargement de la police, ni au défilement sur téléphone. */
  font-variation-settings: "wdth" 108, "wght" 900;
  font-size: clamp(2.25rem, 14vw, 10.7rem);
  line-height: .86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.hero__titre span { display: block; white-space: nowrap; }

/* À partir de deux colonnes, le titre ne dispose plus que de la moitié de
   la largeur : la taille repart d'une autre base. */
@media (min-width: 736px) {

}

.hero__corps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* Le texte prend la part du lion : c'est ce qui permet au titre d'être grand.
   Si l'image manque, son <figure> se retire et :has() rend la largeur au texte. */
@media (min-width: 736px) {
  .hero__corps { grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr); }
  .hero__corps:has(> .hero__colonne:only-child) { grid-template-columns: minmax(0, 1fr); }
}
.hero__colonne:only-child { max-width: 42rem; }

.hero__these {
  font-family: var(--display);
  font-variation-settings: "wdth" 90, "wght" 700;
  font-size: clamp(1.3rem, 3.2vw, 1.9rem);
  line-height: 1.15; text-transform: uppercase;
  max-width: 24ch; margin-bottom: 1.25rem;
}
.hero__these em { font-style: normal; color: var(--rouge); font-variation-settings: "wdth" 100, "wght" 900; }

.hero__texte { max-width: 44ch; color: var(--gris); margin-bottom: 1.5rem; }

.hero__visuel { margin: 0; }
.hero__visuel img {
  width: 100%; height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  /* 2 px encre, comme les champs de formulaire et l'en-tête. Un filet gris
     clair faisait flotter la photo hors du système graphique. */
  border: 2px solid var(--encre);
}
.hero__visuel figcaption {
  font-size: .78rem; color: var(--gris);
  margin-top: .6rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Affiche épinglée de travers, avec un bout de scotch. */
.affiche { position: relative; margin: 0; transform: rotate(-1.6deg); }
.affiche img { width: 100%; height: auto; border: 1px solid var(--gris-clair); box-shadow: 0 14px 34px rgba(25,21,18,.16); }
.affiche::before {
  content: ""; position: absolute; z-index: 2;
  top: -12px; left: 50%; transform: translateX(-50%) rotate(2deg);
  width: 92px; height: 26px;
  background: rgba(255,255,255,.5);
  border-left: 1px dashed rgba(25,21,18,.15);
  border-right: 1px dashed rgba(25,21,18,.15);
  box-shadow: 0 1px 3px rgba(25,21,18,.12);
}
.affiche figcaption { font-size: .72rem; color: var(--gris); margin-top: .6rem; text-align: center; }

/* ------------------------------------------------------- Sections -------- */

.section { padding-block: var(--section-y); }
.section--papier { background: var(--papier); }
.section--creme  { background: var(--papier-2); }
.section--encre  { background: var(--encre); color: var(--papier); }

.section--encre .section__intro { color: var(--gris-nuit); }
.section--papier .section__intro,
.section--creme  .section__intro { color: var(--gris); }

.section__tete { max-width: 56ch; margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem); }
.section__intro { font-size: 1.075rem; }

/* Filet double, comme les encadrés d'affiche */
.filet { border-top: 3px double var(--encre); margin-block: clamp(2rem,5vw,3rem); }
.section--encre .filet { border-top-color: var(--gris); }

/* --------------------------------------------------------- Pizzas -------- */

.pizzas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.pizza {
  min-width: 0;
  padding-top: 1rem;
  border-top: 2px solid currentColor;
}
.pizza__img {
  width: 100%; height: auto; aspect-ratio: 1;
  object-fit: cover; border-radius: 50%;
  border: 3px solid var(--papier); margin-bottom: .9rem;
}
.pizza__nom { font-variation-settings: "wdth" 90, "wght" 750; font-size: 1.2rem; text-transform: uppercase; margin-bottom: .2rem; }
.pizza__desc { font-size: .85rem; color: var(--gris-nuit); margin-bottom: .3rem; }
.pizza__prix { font-family: var(--display); font-variation-settings: "wdth" 100, "wght" 800; font-size: 1.1rem; color: var(--rouge); margin: 0; }
.section--encre .pizza__prix { color: var(--papier); }

/* ------------------------------------------------------- La carte -------- */

.carte { columns: 2; column-gap: clamp(2.5rem, 6vw, 4.5rem); }

.bloc { break-inside: avoid; margin-bottom: 2.5rem; }
.bloc__titre {
  font-family: var(--display);
  font-variation-settings: "wdth" 88, "wght" 750;
  font-size: 1rem; text-transform: uppercase; letter-spacing: .06em;
  padding-bottom: .5rem; margin-bottom: .8rem;
  border-bottom: 2px solid var(--encre);
}
.bloc__titre--suite { margin-top: 2rem; }

/* Ligne de carte : nom … prix. Le dispositif signature de la page. */
.ligne { display: flex; align-items: baseline; gap: .4rem; padding-block: .28rem; }
.ligne__nom { flex: none; max-width: 78%; }
.ligne__pts { flex: 1 1 auto; min-width: 1.5rem; border-bottom: 1px dotted var(--gris-clair); transform: translateY(-.28em); }
.ligne__prix { flex: none; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.ligne__prix::after { content: " €"; font-weight: 400; color: var(--gris); }

.matrice { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.matrice th, .matrice td { padding: .42rem 0; text-align: right; font-weight: 400; }
.matrice thead th {
  font-family: var(--display); font-variation-settings: "wdth" 88, "wght" 700;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gris); border-bottom: 1px dotted var(--gris-clair);
}
.matrice tbody th { text-align: left; }
.matrice tbody td { font-weight: 700; }
.matrice tbody td::after { content: " €"; font-weight: 400; color: var(--gris); }
.matrice tbody tr + tr th, .matrice tbody tr + tr td { border-top: 1px dotted var(--gris-clair); }

.carte__pied { margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--gris-clair); font-size: .78rem; color: var(--gris); }

.lien-imprimer {
  appearance: none; background: none; border: 0; padding: 0; margin-top: .4rem;
  font-family: var(--display); font-variation-settings: "wdth" 90, "wght" 700;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--rouge); cursor: pointer; border-bottom: 2px solid var(--rouge);
}
.lien-imprimer:hover { color: var(--rouge-f); border-bottom-color: var(--rouge-f); }

/* ------------------------------------------------------------- CA -------- */
/* Portraits en noir et blanc : ça reprend le logo et ça unifie neuf photos
   prises dans neuf conditions différentes. Couleur au survol. */

.ca { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 1.6rem 1.2rem; }
.ca__item { display: flex; flex-direction: column; }
.ca__photo {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  margin-bottom: .7rem;
  filter: grayscale(1) contrast(1.06);
  transition: filter 300ms ease;
}
.ca__item:hover .ca__photo { filter: none; }
.ca__nom { font-family: var(--display); font-variation-settings: "wdth" 92, "wght" 750; font-size: 1.1rem; text-transform: uppercase; }
.ca__role { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }

/* -------------------------------------------------------- Encadré -------- */

.encadre {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 3px double var(--encre);
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  align-items: center; justify-content: space-between;
}
.encadre p { max-width: 48ch; color: var(--gris); margin: 0; }
.section--encre .encadre { border-color: var(--gris); }
.section--encre .encadre p { color: var(--gris-nuit); }

/* ---------------------------------------------------- Formulaires -------- */

.form { display: grid; gap: 1.4rem; }
.form__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; }

.champ { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.champ__label {
  font-family: var(--display); font-variation-settings: "wdth" 90, "wght" 700;
  font-size: .78rem; letter-spacing: .09em; text-transform: uppercase;
}
.champ__label .req { color: var(--rouge); }
.champ__aide { font-size: .78rem; color: var(--gris); }

.champ input, .champ select, .champ textarea {
  /* appearance: none neutralise le rendu natif. Sans lui, iOS impose sa
     propre largeur aux champs date et select, qui deviennent plus larges
     que les autres et poussent la page. */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--corps); font-size: 1rem;
  line-height: 1.4;
  color: var(--encre); background: #FFFDF7;
  border: 2px solid var(--encre); border-radius: 0;
  padding: .7rem .8rem;
}

/* Même hauteur pour tous les champs d'une ligne, quel que soit leur type. */
.champ input, .champ select { min-height: 3.05rem; }

/* Safari sur iPhone garde la largeur du gabarit « jj/mm/aaaa » malgré
   width: 100%. Cette propriété est la seule qui le fasse céder. */
.champ input[type="date"] {
  -webkit-min-logical-width: calc(100% - 2px);
}
.champ input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
}
.champ input[type="date"]::-webkit-calendar-picker-indicator {
  margin-inline-start: auto;
}

/* appearance: none a retiré la flèche du select : on la redessine, en SVG
   intégré pour éviter une requête réseau supplémentaire. */
.champ select {
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23191919' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: .75rem;
}

/* Les flèches du champ numérique varient de largeur selon le navigateur. */
.champ input[type="number"] { -moz-appearance: textfield; }
.champ input[type="number"]::-webkit-outer-spin-button,
.champ input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.champ textarea { min-height: 8rem; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: 3px solid var(--rouge); outline-offset: 1px;
}
.champ input:invalid:not(:placeholder-shown) { border-color: var(--rouge); }

/* Piège à robots : invisible pour l'humain, rempli par les scripts. */
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.case { display: flex; align-items: flex-start; gap: .6rem; }
.case input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--rouge); }
.case label { font-size: .95rem; }

.alerte { padding: 1rem 1.15rem; border: 2px solid var(--rouge); background: rgba(206,46,28,.07); font-size: .95rem; }
.alerte--ok { border-color: var(--encre); background: rgba(25,21,18,.05); }
.alerte ul { margin: .5rem 0 0; padding-left: 1.1rem; list-style: disc; }

.form__note { font-size: .8rem; color: var(--gris); }

/* --------------------------------------------------- Infos pratiques ----- */

.venir { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(2rem,5vw,3.5rem); align-items: start; }
.infos { margin: 0; display: grid; gap: 1.6rem; }
.infos__bloc dt {
  font-family: var(--display); font-variation-settings: "wdth" 88, "wght" 700;
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gris-nuit); margin-bottom: .35rem;
}
.infos__bloc dd { margin: 0; line-height: 1.7; }
.infos__bloc dd a { text-underline-offset: 3px; }

.carte-geo { border: 2px solid var(--gris); }
.carte-geo iframe { display: block; }
.carte-geo__lien {
  display: block; padding: .8rem 1rem; text-decoration: none;
  font-family: var(--display); font-variation-settings: "wdth" 90, "wght" 700;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .06em;
  border-top: 2px solid var(--gris);
}
.carte-geo__lien:hover { background: var(--encre-2); }

/* ----------------------------------------------------------- Pied -------- */

.pied { background: var(--encre); color: var(--papier); padding-block: 3rem 2rem; }
.pied__in { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: start; }
.pied__marque { font-family: var(--display); font-variation-settings: "wdth" 95, "wght" 800; font-size: 1.3rem; text-transform: uppercase; margin: 0 0 .4rem; }
.pied__ligne { font-size: .85rem; color: var(--gris-nuit); margin: 0 0 .3rem; }
.pied__nav { display: flex; flex-direction: column; gap: .5rem; }
.pied__nav a { font-size: .85rem; color: var(--gris-nuit); text-decoration: none; }
.pied__nav a:hover { color: var(--papier); }
.pied__bas { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--encre-2); font-size: .75rem; color: var(--gris); }

/* -------------------------------------------------- Pages de texte ------- */

.texte { max-width: 68ch; }
.texte h2 {
  font-family: var(--display); font-variation-settings: "wdth" 88, "wght" 750;
  font-size: 1.25rem; text-transform: uppercase;
  margin: 2.25rem 0 .7rem; padding-bottom: .45rem;
  border-bottom: 2px solid var(--encre);
}
.texte h2:first-child { margin-top: 0; }
.texte p { color: var(--gris); }
.texte strong { color: var(--encre); }

/* ------------------------------------------------------ Responsive ------- */

@media (max-width: 1000px) {
  .hero__visuel { max-width: 420px; }
  .venir { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
  .nav-mobile.is-ouvert { display: flex; }
  .entete__actions .btn--petit { display: none; }
  .carte { columns: 1; }
  .pied__in { grid-template-columns: minmax(0, 1fr); }
  .pied__nav { flex-direction: row; flex-wrap: wrap; gap: 1.25rem; }
}

/* Un SEUL bloc pour cette largeur. Il y en avait trois, avec des règles
   .pizza contradictoires : la dernière écrasait les autres sans qu'on le voie. */
@media (max-width: 620px) {
  /* L'image passe au-dessus du texte : elle sert d'accroche. Recadrée en 4/3
     pour économiser de la hauteur, en visant le haut où se trouve le comptoir. */
  .hero__visuel { order: -1; max-width: none; margin-bottom: .25rem; }
  .hero__visuel img { aspect-ratio: 4 / 3; object-position: center 38%; }

  /* Une pizza par ligne : vignette à gauche, texte à droite. */
  .pizzas { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .pizza {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 1rem;
    align-items: center;
    padding-top: .85rem;
  }
  img.pizza__img { margin-bottom: 0; grid-row: 1 / 4; }

  .form__grille { grid-template-columns: minmax(0, 1fr); }
  .hero__cta .btn { flex: 1 1 100%; }
  .ligne__nom { max-width: 66%; }
  .ca { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
  .encadre { flex-direction: column; align-items: flex-start; }
  .annonce { flex-direction: column; gap: .75rem; }
  .marque__logo { height: 42px; width: 15px; }
  .marque__mot { font-size: .88rem; }
  .pied__chat { height: 92px; width: 33px; }
}

/* ------------------------------------------------------ Impression ------- */

@media print {
  .entete, .nav-mobile, .bandeau, .hero, .pied, .lien-imprimer, .skip,
  .encadre, .carte-geo, .form { display: none !important; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .section { padding-block: 0; background: #fff !important; color: #000 !important; }
  .carte { columns: 2; }
  .titre-section { font-size: 22pt; }
  a[href]::after { content: ""; }
}

/* ---------------------------------------------------------- Motion ------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bandeau__piste { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------- Ouvert / fermé -------- */
/* La pastille est écrite par le JS. Sans JavaScript, seule la ligne
   d'horaires statique reste visible : l'information n'est jamais perdue. */

.statut {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem;
  margin: 0 0 1.75rem;
  font-size: .95rem; color: var(--gris);
}
.statut__etat {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--display);
  font-variation-settings: "wdth" 88, "wght" 750;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .6rem;
}
.statut__etat::before {
  content: ""; width: .5rem; height: .5rem; border-radius: 50%;
  background: currentColor; flex: none;
}
.statut__etat.est-ouvert { background: var(--rouge); color: #fff; }
.statut__etat.est-ferme  { color: var(--gris); border: 1.5px solid var(--gris-clair); }

/* --------------------------------------------------- Table horaires ------ */

.horaires { border-collapse: collapse; width: 100%; max-width: 300px; }
.horaires th, .horaires td { padding: .28rem 0; font-weight: 400; text-align: left; }
.horaires td { text-align: right; font-variant-numeric: tabular-nums; }
.horaires tr + tr th, .horaires tr + tr td { border-top: 1px dotted var(--gris); }
.horaires__ferme { color: var(--gris); }
.horaires__ouvert th, .horaires__ouvert td { font-weight: 700; }
.horaires__note { font-size: .82rem; color: var(--gris-nuit); margin: .9rem 0 0; }

.section--creme .horaires tr + tr th,
.section--creme .horaires tr + tr td { border-top-color: var(--gris-clair); }

.texte__discret { font-size: .82rem; color: var(--gris-nuit); }

/* ----------------------------------------------------------- Logo -------- */
/* Le chat est très élancé : ratio 0.36. On le cale sur la HAUTEUR, jamais
   sur la largeur, sinon il devient minuscule dans un en-tête horizontal. */



.marque__mot {
  font-family: var(--display);
  font-variation-settings: "wdth" 82, "wght" 800;
  font-size: .98rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.05;
}

/* Le chat en grand ferme la page, comme une enseigne. */
.pied__marque-bloc { display: flex; align-items: flex-start; gap: 1.4rem; }
/* Ratio du logo : 992 / 2768 = 0.3584. La largeur en découle. */
/* Le chat est peint par MASQUE CSS, pas par une balise <img>.
   La forme vient du SVG, la couleur du CSS (currentColor). C'est ce qui lui
   permet d'être sombre dans l'en-tête clair et clair dans le pied sombre,
   avec un seul fichier. Une <img> en serait incapable : le currentColor d'un
   SVG chargé ainsi ignore la page qui l'accueille et retombe sur le noir.

   Ratio du logo : 992 / 2768 = 0.3584 — la largeur en découle. */
.marque__logo, .pied__chat {
  display: block;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("../assets/img/logo.svg") no-repeat center / contain;
          mask: url("../assets/img/logo.svg") no-repeat center / contain;
}
.marque__logo { height: 50px; width: 18px; }
.pied__chat   { height: 128px; width: 46px; }



/* ------------------------------------------------- Annonce du moment ----- */
/* Texte piloté par la variable ANNONCE de build.py. Un seul endroit à
   modifier quand le programme change. */

.annonce {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border: 2px solid var(--papier);
}
.annonce__pastille {
  flex: none;
  background: var(--rouge); color: #fff;
  font-family: var(--display);
  font-variation-settings: "wdth" 88, "wght" 750;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .6rem;
}
.annonce__texte { margin: 0; font-size: 1.05rem; }

.section--papier .annonce, .section--creme .annonce { border-color: var(--encre); }

/* Descriptif placé après l'encadré d'annonce : il lui faut de l'air au-dessus */
.section__intro--apres-annonce { margin-top: clamp(1.5rem, 3vw, 2.25rem); max-width: 56ch; }
