/* Hallmark · shape: Shopfront Day (named; drawn Letter, swapped) · genre: editorial · theme: Garden (deal 3/3, seed maison-gillot-boulangerie-tisserie-d571·80008a59·2026-11-21·r0) · job: visit · draw: af0a0b
 * hero: Ledge · nav: floating pill · footer: statement · imagery: photographs 5 (the bakery's own Instagram, natural con=6 sat=-6) · signature: the counter under the green-and-white striped awning, the head resting at its foot
 * axes: light/roman-serif/chromatic-green · posture: committed · contrast: pass · fold: pass · v2.0.0
 * hero-review: fix · 5 findings · 4 resolved 1 kept (material: the counter photo shows the till and crisps, a tighter crop loses the shop sign) · finish-review: subagent · 7 findings · 3 resolved 4 kept (generic section head, Google Fonts disclosed in the legal page, the Ledge field at 1920, relative og:image until go-live) · gap: none */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: S, a bakery page could be anyone's; the head names the striped awning, the rail dates each Instagram post and the week shows the Tuesday the sources disagree on */
@import url("./tokens.css");
@import url("./base.css");

/* Maison Gillot : jetons propres à la page (hauteur de la pilule, marge au-dessus) */
:root {
  --pill-h: 64px;
  --pill-top: var(--space-md);
}

/* ---------- Accès ---------- */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- Commandes : la pilule vert feuille et la pilule cerclée ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink-2); border-color: var(--color-ink-2); }
.btn--quiet:hover { background: var(--color-paper-2); border-color: var(--color-muted); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } .btn:active { transform: none; } }

/* Liens : encre soulignée, le trait passe au vert feuille au survol */
.link { color: var(--color-ink); text-decoration-line: underline; text-decoration-color: var(--color-rule-2); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.link:hover { text-decoration-color: var(--color-accent); }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.link:active { color: var(--color-ink-2); }

/* ---------- Barre en pilule flottante ---------- */
.pill-wrap { position: sticky; top: var(--pill-top); z-index: var(--z-sticky-nav); padding-top: var(--pill-top); }
.pill { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--pill-h); padding: 0 var(--space-xs) 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper); }
.pill__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-xl); line-height: 1; color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.pill__name:hover { color: var(--color-ink-2); }
.pill__links { display: flex; align-items: center; gap: var(--space-xs); }
.pill__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out); }
.pill__links a:hover { background: var(--color-paper-2); color: var(--color-ink); }
.pill__links a:active { background: var(--color-paper-3); }
.pill__links a:focus-visible, .pill__name:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.pill__links .pill__hours { border: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink); }

/* ---------- Héros en corniche : tout repose sur la ligne du bas ---------- */
.hero { display: flex; align-items: flex-end; min-height: calc(100svh - var(--pill-h) - var(--pill-top) * 2); padding-block: var(--space-xl) var(--space-2xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: var(--space-2xl); align-items: end; }
.hero__figure { margin: 0; min-width: 0; }
.frame { border-radius: var(--radius-card); }
.frame > img { outline: var(--rule-hair) solid var(--color-rule); outline-offset: -1px; }
.frame--hero { aspect-ratio: 440 / 462; width: 100%; max-height: min(34rem, calc(100svh - 15rem)); max-width: calc(min(34rem, calc(100svh - 15rem)) * 440 / 462); }
figcaption { margin-top: var(--space-sm); font: 400 var(--text-sm)/1.4 var(--font-outlier); color: var(--color-muted); }
.hero__text { padding-bottom: var(--space-xl); }
.hero h1 { max-width: 16ch; font-size: clamp(2.5rem, 5.4vw, 5.25rem); }
sup { line-height: 0; }
.hero .lead { margin-top: var(--space-lg); max-width: 34ch; color: var(--color-ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero__today { margin-top: var(--space-md); max-width: 44ch; font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- Sections : rythme ---------- */
.section { padding-block: var(--section-gap); }
.section--l { padding-block: var(--section-gap) var(--section-gap-l); }
.head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: var(--gap-columns); align-items: end; }
.head .lead { max-width: 36ch; color: var(--color-ink-2); }

/* ---------- Le comptoir : rail qui dépasse du conteneur, la suivante coupée par le bord ---------- */
.rail { --rail-in: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); list-style: none; margin: var(--space-2xl) 0 0; padding-block: var(--space-2xs) var(--space-md); padding-inline: var(--rail-in); display: grid; grid-auto-flow: column; grid-auto-columns: 22rem; gap: var(--gap-columns); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rail-in); overscroll-behavior-x: contain; }
.rail > li { min-width: 0; scroll-snap-align: start; }
.rail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.shelf { margin: 0; }
.frame--shelf { aspect-ratio: 4 / 5; }
.shelf figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2xs); }
.shelf__name { font: 400 var(--text-md)/1.35 var(--font-outlier); color: var(--color-ink); }
.shelf figcaption .link { font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-muted); }
.shelf figcaption .link:hover { color: var(--color-ink); }

/* ---------- Une phrase sur l'encre verte ---------- */
.band-ink { padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }
.statement h2 { max-width: 24ch; font-size: var(--text-display-s); line-height: 1.08; color: var(--color-paper); }
.btn--leaf { margin-top: var(--space-xl); border-color: var(--color-accent-2); color: var(--color-accent-2); }
.btn--leaf:hover { background: color-mix(in oklab, var(--color-accent-2) 14%, transparent); }
.band-ink .btn:focus-visible { outline-color: var(--color-accent-2); }

/* ---------- Venir : coordonnées en lignes, la semaine en bandeau ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap-columns); align-items: start; }
.facts { margin: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts__row { display: grid; grid-template-columns: 8rem minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-lg); align-items: baseline; padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.facts dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.facts dd { margin: 0; font-size: var(--text-lg); color: var(--color-ink); }
.facts dd + dd { font-size: var(--text-md); }

#semaine { margin-top: var(--space-2xl); }
.week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-rule-2); border-bottom: var(--rule-hair) solid var(--color-rule); }
.week li { display: flex; flex-direction: column; gap: var(--space-xs); min-height: 8rem; padding: var(--space-lg) var(--space-md); border-left: var(--rule-hair) solid var(--color-rule); }
.week li:first-child { border-left: 0; }
.week__day { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.week__h { font: 600 var(--text-lg)/1.2 var(--font-display); color: var(--color-ink); font-variant-numeric: lining-nums; }
.week .is-doubt { background: var(--tint-clay); }
.week .is-today { background: var(--tint-moss); }
/* Le mardi douteux garde son argile même quand c'est aujourd'hui */
.week .is-doubt.is-today { background: var(--tint-clay); }
.week__tag { font-weight: 500; color: var(--color-ink); }
.week__foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap-columns); align-items: start; margin-top: var(--space-lg); }
.week__source { max-width: 62ch; font-size: var(--text-sm); color: var(--color-muted); }
.map { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--space-sm) var(--space-md); }
.map__note { max-width: 30ch; font-size: var(--text-sm); color: var(--color-muted); }
.map.is-loaded { display: block; grid-column: 1 / -1; margin-top: var(--space-lg); }
.map iframe { display: block; width: 100%; height: 24rem; border: 0; border-radius: var(--radius-card); }

/* ---------- Pied de page en phrase ---------- */
.close { padding-block: var(--section-gap-s) var(--space-2xl); background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); }
.close__line { max-width: 24ch; font: var(--display-weight) var(--text-display-s)/1.08 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-wrap: balance; overflow-wrap: break-word; }
.close__links { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--space-xl); }
.close__links a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.close__legal { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- Mentions légales : le titre à gauche, le texte à droite ---------- */
.legal__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap-columns); align-items: start; }
.legal__title { font-size: var(--text-display-s); }
.legal__body { display: grid; gap: var(--space-xl); }
.legal__body section { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.legal__body h2 { font-size: var(--text-title); }
.legal__body p { margin-top: var(--space-sm); color: var(--color-ink-2); }
.close--legal { padding-block: var(--space-xl); }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 60rem) {
  .hero { min-height: 0; padding-block: var(--space-xl) var(--space-2xl); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .hero__text { order: -1; padding-bottom: 0; }
  .frame--hero { max-width: 28rem; max-height: none; }
  .head, .visit, .week__foot, .legal__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }
  .visit { row-gap: var(--space-xl); }
  .week { grid-template-columns: minmax(0, 1fr); }
  .week li { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; min-height: 0; padding: var(--space-sm); border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .week li:first-child { border-top: 0; }
  .map { justify-content: flex-start; }
}
@media (max-width: 40rem) {
  .pill { padding-left: var(--space-md); gap: var(--space-sm); }
  .pill__name { font-size: var(--text-lg); }
  .pill__links { gap: 0; }
  .pill__links a { padding: 0 var(--space-sm); }
  .pill__links .pill__long { display: none; }
  .facts__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .rail { grid-auto-columns: 78%; }
}
