/* ==========================================================================
   Batchment Bon · site V3 (téléphone d'abord)
   Charte : CHARTE-GRAPHIQUE.md v1 (octobre 2026). Motif maison : le ruban adhésif des boîtes.
   ========================================================================== */

/* Deux polices, pas une de plus : Recoleta (titres, chiffres clés) et Lato (tout le reste).
   Recoleta : licence web Fontspring (commande 134989373, 08/10/2026), fichiers .woff2 uniquement,
   jamais de .otf en ligne ; plafond de 10 000 pages vues par mois, site et appli cumulés.
   Repli : Young Serif (SIL OFL), jamais Fraunces. */
@font-face { font-family: "Recoleta"; src: url("fonts/recoleta-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Recoleta"; src: url("fonts/recoleta-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Young Serif"; src: url("fonts/young-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap;
  /* Les seuls caractères que Young Serif sait dessiner : sans cette liste, un « ≈ » (absent de Recoleta) la faisait télécharger pour rien (audit vitesse, 16/10/2026). */
  unicode-range: U+000D, U+0020-007E, U+00A0-00AC, U+00AE-00FF, U+0102, U+0131, U+0152-0153, U+02BB, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308, U+0323, U+2009, U+200B, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Lato"; src: url("fonts/lato-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("fonts/lato-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --brun: #3a2a1f;
  --brun-doux: #6b5747;
  --beige: #f2ebdd;
  --creme: #faf6ee;
  --sauge: #b4c2a5;
  --terracotta: #c54b30;
  --erreur: #9b2226; /* état d'erreur seulement (brique de l'appli, 7,4:1 sur crème) */
  --google-star: #f2a91c; /* exception nommée : étoiles des avis Google, uniquement dans ce bloc */

  --line: rgba(107, 87, 71, 0.28);
  --line-dark: rgba(242, 235, 221, 0.28);
  --on-dark-2: rgba(242, 235, 221, 0.82);

  --display: "Recoleta", "Young Serif", Georgia, "Times New Roman", serif;
  --body: "Lato", "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
  --wrap: 1180px;
  --gutter: 20px;
  --section: 64px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 760px) { :root { --gutter: 40px; --section: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--brun-doux) var(--beige); }
body { margin: 0; background: var(--beige); color: var(--brun); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; caret-color: var(--brun); accent-color: var(--brun); }
::selection { background: var(--sauge); color: var(--brun); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--brun); outline-offset: 3px; border-radius: 2px; }
.bg-brun :focus-visible { outline-color: var(--beige); }
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
h1 strong, h2 strong { font-weight: 700; }
h1 { font-size: clamp(2.35rem, 8.6vw, 4.2rem); line-height: 1.04; letter-spacing: -0.012em; }
.section-title { font-size: clamp(1.9rem, 6.2vw, 2.9rem); line-height: 1.08; letter-spacing: -0.008em; }
h3 { font-size: 1.3125rem; line-height: 1.25; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-lead { margin-top: 14px; font-size: 1.0625rem; max-width: 58ch; }
.small { font-size: 0.875rem; line-height: 1.5; }
.muted { color: var(--brun-doux); }
.bg-creme { background: var(--creme); }
.bg-sauge { background: var(--sauge); }
.bg-brun { background: var(--brun); color: var(--beige); }
.bg-paper { background: var(--sauge); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--brun); color: var(--creme); padding: 10px 16px; }
.skip:focus { left: 8px; }
.todo { background: var(--creme); color: var(--brun); outline: 1px dashed var(--brun-doux); padding: 0 4px; font-weight: 700; }

/* Ruban adhésif : exception nommée à la charte (motif maison des boîtes), comme les papiers penchés */
.tape {
  display: inline-block; padding: 4px 12px 5px; font: 700 0.8125rem/1.25 var(--body); color: var(--brun);
  background: var(--sauge); transform: rotate(-1.6deg);
  clip-path: polygon(0 6%, 2% 0, 6% 5%, 11% 0, 89% 2%, 94% 0, 98% 6%, 100% 0, 99% 50%, 100% 100%, 95% 94%, 90% 100%, 10% 98%, 5% 100%, 1% 95%, 0 100%, 1% 50%);
}
.tape--photo { position: absolute; left: 12px; bottom: 12px; margin: 0; background: rgba(250, 246, 238, 0.94); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; font: 700 1rem/1.2 var(--body); text-decoration: none; text-align: center; border-radius: var(--radius); border: 1.5px solid var(--brun); cursor: pointer; transition: background-color .18s var(--ease-out), color .18s var(--ease-out); }
.btn--primary { background: var(--brun); color: var(--creme); }
.btn--primary:hover { background: var(--brun-doux); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--brun); }
.btn--ghost:hover { background: var(--brun); color: var(--creme); text-decoration: none; }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; }
.btn:active { transform: translateY(1px); }
.textlink { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.cta-block { display: grid; gap: 10px; justify-items: start; }
.cta-block .btn { width: 100%; }
.cta-block--inline { margin-top: 36px; }
.reassure { font-size: 0.875rem; color: var(--brun-doux); max-width: 46ch; }
@media (min-width: 560px) { .cta-block .btn { width: auto; } }

/* ==========================================================================
   En-tête et logo
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(242, 235, 221, 0.97); border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; }
.logo { display: block; padding: 10px 0; }
.logo__svg { width: 160px; height: auto; overflow: visible; }
.logo__word { fill: var(--brun); }
.logo__bon { fill: var(--terracotta); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__links { display: none; list-style: none; margin: 0; padding: 0; gap: 22px; }
.nav__links a { font-weight: 700; font-size: 0.9375rem; text-decoration: none; padding: 12px 0; }
.nav__links a:hover { text-decoration: underline; }
.nav__cta { display: none; }
.nav__app { display: none; font-weight: 700; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; padding: 12px 0; }
.menu__app { border-top: 1px solid var(--line); }
.menu__app + .menu__app { border-top: 0; }
.menu { position: relative; margin-left: -4px; }
.site-header__row > .logo { margin-right: auto; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9375rem; padding: 0 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: ""; width: 18px; height: 10px; border-block: 1.5px solid var(--brun); transition: transform .2s var(--ease-out); }
.menu[open] summary::before { transform: scaleY(0.4); }
.menu__list { position: absolute; left: 0; top: calc(100% + 10px); width: min(80vw, 280px); list-style: none; margin: 0; padding: 8px 0; background: var(--creme); border: 1px solid var(--brun); border-radius: var(--radius); }
.menu__list a { display: flex; align-items: center; min-height: 48px; padding: 0 18px; text-decoration: none; font-weight: 700; font-size: 0.9375rem; }
.menu__list a:hover { background: var(--beige); }
.logo__pen { transform-box: fill-box; transform-origin: left center; }
@media (min-width: 1040px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__app { display: inline-flex; }
  .menu { display: none; }
  .logo__svg { width: 190px; }
}

/* ==========================================================================
   Accroche : le texte et le bouton d'abord, les plats détourés ensuite
   ========================================================================== */
.hero { padding: 24px 0 8px; overflow-x: clip; }
.hero__grid { display: grid; gap: 8px; }
.hero h1 { margin-bottom: 14px; }
.hero__lead { font-size: 1.0625rem; max-width: 46ch; }
.proof { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 16px 0 14px; font-size: 0.9375rem; }
.proof__item { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; text-decoration: none; }
.proof__item:hover span:last-child, .proof__item:hover { text-decoration: underline; }
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 15px; height: 15px; fill: var(--brun); }
.stars--google svg { fill: var(--google-star); }
.hero__price { font-size: 1.0625rem; margin-bottom: 18px; }
.hero__price strong { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; }
.hero__price strong { display: block; }
.hero__credit { display: block; margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; }
.hero__credit small { font-family: var(--body); font-weight: 400; font-size: 0.8125rem; }
@media (min-width: 900px) { .hero__price strong { font-size: 2.25rem; } .hero__credit { font-size: 1.75rem; } .hero__credit small { font-size: 0.9375rem; } }
.hero__price span { display: block; margin-top: 4px; font-size: 0.875rem; color: var(--brun-doux); max-width: 46ch; }
.hero__price small { display: block; margin-top: 4px; font-size: 0.8125rem; color: var(--brun-doux); }
.hero__visual { position: relative; margin-right: calc(var(--gutter) * -1 - 40px); margin-left: 12px; }
.hero__dishes { width: 100%; height: auto; transform: rotate(-4deg); }
/* Note « Au frigo » : posée sur la photo, sur téléphone comme sur ordinateur */
.hero__visual { padding-bottom: 170px; }
.fridge { position: absolute; left: 0; bottom: 0; width: min(300px, 84%); transform: rotate(1.4deg);
  background: var(--creme); border: 1px solid var(--brun); border-radius: 2px; padding: 20px 16px 12px; }
.fridge::before { content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: var(--sauge); transform: rotate(-3deg); transform-origin: left center;
  clip-path: polygon(0 8%, 5% 0, 10% 8%, 90% 0, 95% 8%, 100% 0, 100% 92%, 95% 100%, 90% 92%, 10% 100%, 5% 92%, 0 100%); }
.fridge__title { font-family: var(--display); font-size: 1.1875rem; line-height: 1.2; }
.fridge__meta { font-size: 0.8125rem; color: var(--brun-doux); padding-bottom: 8px; border-bottom: 1px solid var(--brun); }
.fridge__list { list-style: none; margin: 0; padding: 0; }
.fridge__list li { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 0.875rem; line-height: 1.35; }
.fridge__list li span:last-child:not(:nth-child(2)) { display: none; }
.tick { width: 16px; height: 16px; align-self: center; fill: none; stroke: var(--brun); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fridge__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; font-size: 0.875rem; font-weight: 700; }
.fridge__total strong { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
/* Plat échangé : l'ancien nom n'existe que pour l'animation, il reste invisible sans elle */
.swap { display: grid; }
.swap > span { grid-area: 1 / 1; }
.swap__old { position: relative; justify-self: start; opacity: 0; }
.swap__old::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 1.5px; background: var(--brun); transform-origin: left center; }

@media (min-width: 900px) {
  .hero { padding: 56px 0 24px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 32px; align-items: center; }
  .hero__lead { font-size: 1.1875rem; }
  .hero__visual { margin: 0 -60px 0 0; padding-bottom: 150px; }
  .hero__dishes { width: 108%; max-width: none; transform: rotate(-5deg) translateX(-2%); }
  .fridge { left: -10px; width: 360px; padding: 24px 20px 16px; }
  .fridge__title { font-size: 1.3125rem; }
  .fridge__meta { padding-bottom: 10px; }
  .fridge__list li { grid-template-columns: 20px minmax(0,1fr) auto; gap: 10px; padding: 8px 0; font-size: 0.9rem; }
  .fridge__list li span:last-child:not(:nth-child(2)) { display: inline; font-size: 0.8125rem; color: var(--brun-doux); white-space: nowrap; }
  .tick { width: 18px; height: 18px; }
  .fridge__total { padding-top: 10px; font-size: 1rem; }
  .fridge__total strong { font-size: 1.4rem; }
}

/* Mouvement A : le menu se valide (exception nommée de la charte, voir CHARTE-GRAPHIQUE.md § Mouvement).
   Une seule fois, quand la note arrive à l'écran, fini en 1,6 s. La photo ne bouge pas : elle s'affiche tout de suite.
   Sans animation (réglage du visiteur ou navigateur ancien), l'état final s'affiche d'emblée. */
@media (prefers-reduced-motion: no-preference) {
  .fridge { animation: bb-pose .4s var(--ease-out) .15s both; }
  .fridge::before { animation: bb-unroll .25s var(--ease-out) .4s both; }
  .fridge .tick path { stroke-dasharray: 24; animation: bb-draw .35s var(--ease-out) both; }
  .fridge__list li:nth-child(1) .tick path { animation-delay: .5s; }
  .fridge__list li:nth-child(2) .tick path { animation-delay: .57s; }
  .fridge__list li:nth-child(3) .tick path { animation-delay: .64s; }
  .fridge__list li:nth-child(4) .tick path { animation-delay: 1.35s; }
  .fridge__list li:nth-child(5) .tick path { animation-delay: .71s; }
  .swap__old { animation: bb-out .2s ease-in 1.15s both; }
  .swap__old::after { animation: bb-strike .3s var(--ease-out) .8s both; }
  .swap__new { animation: bb-pose .35s var(--ease-out) 1.25s both; }
  .fridge__total { animation: bb-pose .35s var(--ease-out) 1.45s both; }
  /* Sur téléphone, la note est sous la ligne de flottaison : un petit script retient l'animation
     jusqu'à ce que la note soit à l'écran. Sans script, elle se joue à l'arrivée. */
  .fridge--attend, .fridge--attend *, .fridge--attend::before, .fridge--attend *::after { animation-play-state: paused; }
}
@keyframes bb-pose { from { opacity: 0; translate: 0 16px; } }
@keyframes bb-unroll { from { scale: 0 1; } }
@keyframes bb-draw { from { stroke-dashoffset: 24; } }
@keyframes bb-strike { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes bb-out { from { opacity: 1; } to { opacity: 0; } }

/* ==========================================================================
   Avis Google (dans l'esprit du widget actuel) et Midi Libre
   ========================================================================== */
.section--proof { padding-top: 48px; }
.proof-head { display: grid; gap: 16px; justify-items: start; }
.gbadge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; min-height: 44px; background: var(--creme); border-radius: var(--radius); text-decoration: none; font-size: 0.9375rem; border: 1px solid var(--line); }
.gbadge__brand { font-weight: 700; letter-spacing: -0.01em; }
.gbadge__score strong { font-family: var(--display); font-size: 1.125rem; }
.gbadge:hover .gbadge__score { text-decoration: underline; }
.greviews { margin: 24px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 14px; display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); align-items: stretch; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.greview { scroll-snap-align: start; margin: 0; background: var(--creme); border-radius: var(--radius); padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); }
.greview__stars { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.greview__src { font-size: 0.75rem; font-weight: 700; color: var(--brun-doux); }
.greview__quote { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.greview__more { font-size: 0.875rem; color: var(--brun-doux); }
.greview__more summary { cursor: pointer; list-style: none; display: inline-flex; min-height: 32px; align-items: center; font-weight: 700; color: var(--brun); text-decoration: underline; text-underline-offset: 3px; }
.greview__more summary::-webkit-details-marker { display: none; }
.greview__more[open] summary { display: none; }
.greview__more p { line-height: 1.55; }
.greview__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.greview__who strong { display: block; font-size: 0.9375rem; }
.greview__date { display: block; font-size: 0.8125rem; color: var(--brun-doux); }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem var(--body); }
.avatar--a { background: var(--sauge); color: var(--brun); }
.avatar--b { background: var(--brun); color: var(--beige); }
.avatar--c { background: var(--brun-doux); color: var(--creme); }
.avatar--d { background: var(--beige); color: var(--brun); border: 1px solid var(--line); }
.greviews__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 14px; }
.greviews__note { margin-top: 8px; font-size: 0.75rem; color: var(--brun-doux); }
@media (min-width: 900px) {
  .proof-head { grid-template-columns: 1fr auto; align-items: end; }
  .greviews { grid-auto-columns: calc((100% - 56px) / 4.4); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
}

.press { margin-top: 44px; padding: 16px; background: var(--creme); border-radius: var(--radius); border: 1px solid var(--line); display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; }
.press__video { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; background: var(--brun); }
.press__video img { width: 100%; height: 100%; object-fit: cover; }
.press__play { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(250,246,238,.94); display: grid; place-items: center; transition: transform .2s var(--ease-out); }
.press__play svg { width: 20px; height: 20px; fill: var(--brun); margin-left: 3px; }
.press__video:hover .press__play { transform: scale(1.08); }
.press__len { position: absolute; left: 6px; right: 6px; bottom: 6px; font-size: 0.6875rem; font-weight: 700; color: var(--creme); background: var(--brun); padding: 2px 4px; line-height: 1.2; }
.press__text { display: grid; gap: 6px; justify-items: start; }
.press__source { display: flex; align-items: center; gap: 8px; }
.press__logo { height: 22px; width: auto; }
.press__name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.press__title { font-size: 1.0625rem; line-height: 1.3; }
.press__text > p:not(.press__source) { font-size: 0.875rem; color: var(--brun-doux); display: none; }
@media (min-width: 760px) {
  .press { grid-template-columns: 148px minmax(0, 1fr); gap: 36px; padding: 18px 36px 18px 18px; max-width: 760px; }
  .press__title { font-size: 1.5rem; }
  .press__text > p:not(.press__source) { display: block; font-size: 0.9375rem; }
}

/* ==========================================================================
   La semaine : étapes courtes, plats posés sur le plan de travail
   ========================================================================== */
.week-grid { display: grid; gap: 24px; }
.week { list-style: none; margin: 28px 0 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 22px; }
.week::before, .week::after { content: ""; position: absolute; left: 6px; top: 12px; bottom: 16px; width: 2px; }
.week::before { background: var(--line); }
.week::after { background: var(--brun); transform-origin: top; }
.week li { position: relative; }
.week li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--beige); border: 2px solid var(--brun); z-index: 1; }
.week li.week__end::before { background: var(--brun); }
.week__when { margin-bottom: 6px; }
.week li:nth-child(even) .tape { transform: rotate(1.2deg); }
.week li > p:last-child { max-width: 48ch; }
.counter { position: relative; height: 230px; margin: 0 calc(var(--gutter) * -1); }
.counter img { position: absolute; height: auto; }
.counter__a { width: 50%; left: 2%; top: 18%; transform: rotate(-7deg); z-index: 2; }
.counter__b { width: 32%; left: 46%; top: 0; transform: rotate(6deg); }
.counter__c { width: 30%; right: 1%; top: 22%; transform: rotate(-3deg); z-index: 1; }
@media (min-width: 900px) {
  .week-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
  .counter { height: 440px; margin: 0; }
}

/* Mouvement B : la semaine se déroule au défilement (exception nommée de la charte, § Mouvement).
   C'est le défilement qui fait avancer la semaine : la ligne descend, chaque ruban se déroule quand on lit
   son étape, puis les plats se posent. Navigateurs sans « animation-timeline » ou visiteur qui réduit
   les animations : tout est affiché d'emblée, rien n'est caché. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .week { view-timeline: --semaine block; }
    .week::after { animation: bb-grow linear both; animation-timeline: --semaine; animation-range: entry 30% contain 55%; }
    .week .tape { transform-origin: left center; animation: bb-unroll linear both; animation-timeline: view(); animation-range: entry 60% cover 25%; }
    .week li > p:last-child { animation: bb-pose linear both; animation-timeline: view(); animation-range: entry 70% cover 28%; }
    .counter img { animation: bb-pose linear both; animation-timeline: view(); }
    .counter__a { animation-range: entry 30% cover 40% !important; }
    .counter__b { animation-range: entry 45% cover 46% !important; }
    .counter__c { animation-range: entry 60% cover 52% !important; }
  }
}
@keyframes bb-grow { from { scale: 1 0; } }

/* Mouvements E, F et G (exceptions nommées de la charte, décidées le 16/10/2026, § Mouvement).
   Chacun se joue une seule fois, quand son bloc arrive à l'écran : un petit script en bas de l'accueil
   pose la classe « attend » (animation en pause) puis la retire. Sans script, sans animation ou si le
   visiteur réduit les animations : l'état final s'affiche d'emblée, rien n'est caché.
   E : les deux contrats se posent, ta signature s'écrit sur chacun, puis le tampon se pose (2,7 s).
   F : sur téléphone, la rangée de plats glisse de 2 cm puis revient, pour montrer qu'elle défile (0,9 s).
   G : Montpellier apparaît, puis les communes s'allument de proche en proche jusqu'à Mèze et Lunel (2 s). */
@media (prefers-reduced-motion: no-preference) {
  .papers .paper--work { animation: bb-pose .45s var(--ease-out) .05s both; }
  .papers .paper--mandate { animation: bb-pose .45s var(--ease-out) .25s both; }
  .papers .sig path { animation: bb-write .8s cubic-bezier(.45,0,.25,1) .6s both; }
  .papers .paper--mandate .sig path { animation-delay: 1.5s; }
  .papers .stamp { animation: bb-stamp .28s cubic-bezier(.2,0,0,1) 2.45s both; }
  /* Sur téléphone, les contrats sont l'un sous l'autre : chacun se joue en arrivant à l'écran. */
  @media (max-width: 899px) {
    .papers .paper--mandate { animation-delay: .05s; }
    .papers .paper--mandate .sig path { animation-delay: .6s; }
    .papers .stamp { animation-delay: .2s; }
  }
  @media (max-width: 899px) {
    .menu-cards > * { animation: bb-peek .9s cubic-bezier(.45,0,.25,1) .4s both; }
    .menu-cards.peek-fini > * { animation: none; }
  }
  .map .map__town { transform-box: fill-box; transform-origin: center; animation: bb-dot .38s var(--ease-out) both; }
  .map .map__label { animation: bb-fade .3s linear both; }
    .map circle:nth-of-type(1) { animation-delay: 0.35s; }
    .map circle:nth-of-type(2) { animation-delay: 0.88s; }
    .map circle:nth-of-type(3) { animation-delay: 0.97s; }
    .map circle:nth-of-type(4) { animation-delay: 1.08s; }
    .map circle:nth-of-type(5) { animation-delay: 1.18s; }
    .map circle:nth-of-type(6) { animation-delay: 1.19s; }
    .map circle:nth-of-type(7) { animation-delay: 0.98s; }
    .map circle:nth-of-type(8) { animation-delay: 0.98s; }
    .map circle:nth-of-type(9) { animation-delay: 1.06s; }
    .map circle:nth-of-type(10) { animation-delay: 0.97s; }
    .map circle:nth-of-type(11) { animation-delay: 1.10s; }
    .map circle:nth-of-type(12) { animation-delay: 1.02s; }
    .map circle:nth-of-type(13) { animation-delay: 1.13s; }
    .map circle:nth-of-type(14) { animation-delay: 1.26s; }
    .map circle:nth-of-type(15) { animation-delay: 1.19s; }
    .map circle:nth-of-type(16) { animation-delay: 1.61s; }
    .map circle:nth-of-type(17) { animation-delay: 1.90s; }
    .map circle:nth-of-type(18) { animation-delay: 1.79s; }
    .map circle:nth-of-type(19) { animation-delay: 1.51s; }
    .map circle:nth-of-type(20) { animation-delay: 2.00s; }
    .map circle:nth-of-type(21) { animation-delay: 1.67s; }
    .map text.map__label:nth-of-type(1) { animation-delay: 0.55s; }
    .map text.map__label:nth-of-type(2) { animation-delay: 1.08s; }
    .map text.map__label:nth-of-type(3) { animation-delay: 1.17s; }
    .map text.map__label:nth-of-type(4) { animation-delay: 1.38s; }
    .map text.map__label:nth-of-type(5) { animation-delay: 1.39s; }
    .map text.map__label:nth-of-type(6) { animation-delay: 1.39s; }
    .map text.map__label:nth-of-type(7) { animation-delay: 1.81s; }
    .map text.map__label:nth-of-type(8) { animation-delay: 2.10s; }
    .map text.map__label:nth-of-type(9) { animation-delay: 2.20s; }
    .map text.map__label:nth-of-type(10) { animation-delay: 1.87s; }
  .attend, .attend *, .attend *::before, .attend *::after { animation-play-state: paused !important; }
}
@keyframes bb-write { from { stroke-dashoffset: 420; } }
@keyframes bb-stamp { from { opacity: 0; scale: 1.35; } 60% { opacity: 1; } to { scale: 1; } }
@keyframes bb-peek { 0%, 100% { translate: 0 0; } 40%, 58% { translate: -84px 0; } }
@keyframes bb-dot { from { opacity: 0; scale: 0; } }
@keyframes bb-fade { from { opacity: 0; } }

/* ==========================================================================
   La carte de saison
   ========================================================================== */
.menu-cards { margin: 28px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 14px; display: grid; grid-auto-flow: column; grid-auto-columns: min(72%, 280px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.mcard { scroll-snap-align: start; background: var(--beige); border-radius: var(--radius); padding: 16px 18px 18px; display: grid; align-content: start; gap: 8px; }
.mcard img { height: 128px; width: auto; max-width: 100%; object-fit: contain; justify-self: center; margin-bottom: 6px; }
.mcard:nth-child(odd) img { transform: rotate(-4deg); }
.mcard:nth-child(even) img { transform: rotate(3deg); }
.mcard h3 { font-size: 1.25rem; font-weight: 700; }
.mcard ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 0.9375rem; }
.mcard li { padding-left: 14px; position: relative; }
.mcard li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 6px; height: 1.5px; background: var(--brun-doux); }
.menu-more { margin-top: 12px; font-size: 0.9375rem; color: var(--brun-doux); max-width: 70ch; }
.menu-more span { font-weight: 700; color: var(--brun); }
.mcard--custom { background: var(--brun); color: var(--creme); align-content: end; min-height: 260px; gap: 10px; }
.mcard--custom h3 { font-size: 1.5rem; line-height: 1.15; }
.mcard--custom p { font-size: 0.9375rem; color: var(--beige); }
.mcard--custom .mcard__opt { font-size: 0.8125rem; font-weight: 700; color: var(--sauge); }
.menu-more + .menu-more { margin-top: 8px; }
@media (min-width: 900px) {
  .menu-cards { margin-inline: 0; padding-inline: 0; grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
}

/* ==========================================================================
   Tarifs : la semaine type, la barre proportionnelle, le détail replié
   ========================================================================== */
.price { display: grid; gap: 28px; margin-top: 28px; padding: 24px 20px; background: var(--creme); border-radius: var(--radius); }
.price__big { font-size: 1.125rem; }
.price__big span { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 12vw, 4.25rem); line-height: 1; color: var(--brun); margin-right: 4px; }
.price__after { margin-top: 18px; font-size: 1rem; }
.price__after span { font-family: var(--display); font-weight: 700; font-size: clamp(2.25rem, 9vw, 3.1rem); line-height: 1; margin-right: 4px; }
.price__credit { margin-top: 8px; font-size: 0.875rem; color: var(--brun-doux); max-width: 46ch; }
.price__credit strong { color: var(--brun); }
.price__portions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; }
.price__portions div { border-top: 1px solid var(--brun); padding-top: 10px; }
.price__portions dt { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; }
.price__portions div:last-child dt { color: var(--terracotta); }
.price__portions dd { margin: 2px 0 0; font-size: 0.875rem; }
.price__portions sup a { text-decoration: none; padding: 0 2px; }
.bars { display: grid; gap: 8px; align-content: start; }
.bars__label { font-weight: 700; font-size: 0.875rem; margin-top: 6px; }
.bars__label--small { font-size: 0.8125rem; margin-top: 12px; color: var(--brun-doux); }
.bar--small { height: 38px; }
.bar--small .bar__seg b { font-size: 1rem; }
.bar { display: flex; height: 52px; border-radius: var(--radius); overflow: hidden; }
.bar__seg { display: flex; align-items: center; padding: 0 12px; min-width: 0; }
.bar__seg b { font-family: var(--display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
.bar__seg--chef { background: var(--brun); color: var(--beige); }
.bar__seg--fee { background: var(--brun-doux); color: var(--creme); }
.bar__seg--you { background: var(--brun); color: var(--beige); }
.bar__seg--credit { background: var(--sauge); color: var(--brun); justify-content: flex-end; }
.bar__legend { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8125rem; color: var(--brun-doux); }
.bar__legend span:last-child { text-align: right; }
.bars__note { font-size: 0.75rem; color: var(--brun-doux); margin-top: 4px; }
@media (min-width: 900px) { .price { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; padding: 36px 40px; align-items: center; } }

.price-facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; font-size: 0.9375rem; }
.price-facts li { padding-left: 18px; position: relative; max-width: 70ch; }
.price-facts li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--sauge); }
@media (min-width: 900px) { .price-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.calc { margin-top: 28px; border: 1px solid var(--brun); border-radius: var(--radius); background: var(--creme); }
.calc summary { cursor: pointer; list-style: none; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; font-weight: 700; }
.calc summary::-webkit-details-marker { display: none; }
.calc summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--brun); border-bottom: 1.5px solid var(--brun); transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease-out); }
.calc[open] summary::after { transform: rotate(-135deg); }
.calc__body { padding: 4px 18px 20px; display: grid; gap: 28px; }
.price-tables { display: grid; gap: 28px; }
.price-table h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.price-table table { width: 100%; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 9px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.price-table thead th { border-top: 0; font-size: 0.75rem; font-weight: 700; color: var(--brun-doux); padding-bottom: 4px; line-height: 1.3; }
.price-table tbody th { font-weight: 400; padding-right: 10px; }
.price-table tbody th small { display: block; font-size: 0.8125rem; color: var(--brun-doux); }
.price-table td { text-align: right; white-space: nowrap; padding-left: 10px; }
.price-table thead th:not(:first-child) { text-align: right; }
.price-table td:nth-child(3), .price-table thead th:nth-child(3) { background: var(--beige); padding-right: 8px; font-size: 0.75rem; color: var(--brun-doux); }
.credit-note { display: block; font-size: 0.75rem; font-weight: 400; color: var(--brun-doux); }
.price-table .row-total th, .price-table .row-total td { font-weight: 700; border-top: 1px solid var(--brun); }
.price-table p { margin-top: 8px; }
@media (min-width: 900px) { .price-tables { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } .price-table--calc { max-width: 640px; } }

.legal { margin-top: 24px; display: grid; gap: 8px; font-size: 0.75rem; line-height: 1.5; color: var(--brun-doux); }
.legal strong { color: var(--brun); }
@media (min-width: 900px) { .legal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* ==========================================================================
   Mode mandataire
   ========================================================================== */
.papers { position: relative; display: grid; gap: 22px; margin-top: 32px; }
.paper { position: relative; background: var(--creme); color: var(--brun); border-radius: 2px; padding: 26px 22px 20px; display: grid; gap: 10px; align-content: start; }
.paper::before { content: ""; position: absolute; top: -10px; left: 50%; width: 92px; height: 22px; margin-left: -46px; background: var(--sauge); opacity: .9; transform: rotate(-2deg); }
.paper--work { transform: rotate(-1deg); }
.paper--mandate { transform: rotate(0.8deg); }
.paper__kind { font-family: var(--display); font-size: 1.75rem; line-height: 1.1; }
.paper__between { font-size: 0.9375rem; color: var(--brun-doux); padding-bottom: 12px; border-bottom: 1px dashed var(--brun-doux); }
.paper__between strong { color: var(--brun); }
.paper ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.paper li { padding-left: 18px; position: relative; max-width: 42ch; }
.paper li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 9px; height: 1.5px; background: var(--brun); }
.paper__sign { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 10px; margin-top: 10px; padding-top: 6px; }
.paper__sign > span:first-child { font-size: 0.75rem; font-weight: 700; color: var(--brun-doux); padding-bottom: 6px; }
.sig { width: 150px; height: 44px; border-bottom: 1px solid var(--brun); padding-bottom: 2px; }
.sig path { fill: none; stroke: var(--brun); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
.paper__who { grid-column: 2; font-size: 0.8125rem; color: var(--brun-doux); }
.stamp { background: var(--creme); justify-self: center; width: 132px; height: 132px; border-radius: 50%; border: 2px solid var(--terracotta); color: var(--brun); display: grid; place-content: center; text-align: center; transform: rotate(-9deg); line-height: 1.15; }
.stamp span { font-size: 0.6875rem; font-weight: 700; line-height: 1.35; }
.stamp strong { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; margin: 2px 0; }
@media (min-width: 900px) {
  .papers { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 150px; max-width: 1080px; margin-top: 40px; }
  .paper { padding: 34px 32px 26px; }
  .stamp { position: absolute; left: 50%; top: 50%; margin: -66px 0 0 -66px; background: var(--creme); }
}

/* ==========================================================================
   Équipe
   ========================================================================== */
.team { display: grid; gap: 28px; }
.team__photo { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.team__text { display: grid; gap: 14px; align-content: center; }
.team__text p { color: var(--on-dark-2); max-width: 54ch; }
.team__text strong { color: var(--beige); }
.team__network { padding-top: 14px; border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) { .team { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; } .team__photo { aspect-ratio: 1 / 1; } }

/* ==========================================================================
   Zone : carte d'après le trait de côte réel
   ========================================================================== */
.zone { display: grid; gap: 28px; }
.chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 4px 10px; border-radius: var(--radius); background: var(--creme); border: 1px solid var(--line); font-size: 0.8125rem; }
.zone__note { margin-top: 14px; font-size: 0.9375rem; max-width: 50ch; }
.zone__map { margin: 0; background: var(--creme); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.map { width: 100%; height: auto; }
.map__zone { fill: var(--sauge); stroke: var(--brun-doux); stroke-width: 1.5; stroke-dasharray: 5 4; }
.map__sea { fill: var(--sauge); }
.map__coast { fill: none; stroke: var(--brun-doux); stroke-width: 1.2; }
.map__town { fill: var(--brun); }
.map__town--big { stroke: var(--creme); stroke-width: 3; }
.map__label { font: 700 17px var(--body); fill: var(--brun); paint-order: stroke; stroke: var(--creme); stroke-width: 4px; stroke-linejoin: round; }
.map__label--big { font-size: 21px; }
.map__water { font: 400 24px var(--display); fill: var(--brun); opacity: .65; letter-spacing: .03em; }
.map__water--sm { font-size: 15px; }
.map__scale path { fill: none; stroke: var(--brun); stroke-width: 2; }
.map__scale text, .map__legend text { font: 700 14px var(--body); fill: var(--brun); }
.map__legend rect { fill: var(--sauge); stroke: var(--brun-doux); stroke-width: 1.5; stroke-dasharray: 5 4; }
@media (min-width: 900px) { .zone { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 24px; }
.faq__side p { margin-top: 14px; max-width: 38ch; }
.qa { border-top: 1px solid var(--brun); }
.qa:last-child { border-bottom: 1px solid var(--brun); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 56px; padding: 14px 0; font-family: var(--display); font-size: 1.1875rem; line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 1.5px solid var(--brun); border-bottom: 1.5px solid var(--brun); transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease-out); }
.qa[open] summary::after { transform: rotate(-135deg); }
.qa__a { padding: 0 0 18px; max-width: 64ch; }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 80px; align-items: start; } }

/* ==========================================================================
   Appel final, recrutement, pied de page
   ========================================================================== */
.cta__grid { display: grid; gap: 32px; }
.cta__title { font-size: clamp(2.1rem, 7vw, 3.5rem); line-height: 1.05; margin-bottom: 14px; }
.cta__lead { font-size: 1.0625rem; max-width: 44ch; margin-bottom: 22px; }
.after { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; font-size: 0.9375rem; max-width: 56ch; }
.after li::marker { font-family: var(--display); font-weight: 700; }
.after--plain { font-size: 1.0625rem; gap: 14px; margin-top: 24px; }
@media (min-width: 900px) { .cta__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; align-items: center; } .after { padding: 20px 20px 20px 2.6em; background: rgba(250,246,238,.55); border-radius: var(--radius); } }

.recruit-band { background: var(--creme); border-top: 1px solid var(--line); }
.recruit-band__row { display: grid; gap: 14px; padding-block: 28px; align-items: center; }
.recruit-band p { max-width: 64ch; }
@media (min-width: 760px) { .recruit-band__row { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; } }

.site-footer { padding-block: 56px calc(104px + env(safe-area-inset-bottom)); font-size: 0.9375rem; }
.footer__sign { padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.footer__logo { width: min(100%, 520px); height: auto; fill: var(--beige); overflow: visible; }
.footer__sign p { margin-top: 14px; color: var(--on-dark-2); }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; padding-block: 32px; border-bottom: 1px solid var(--line-dark); }
.footer-grid h2 { font: 700 0.875rem var(--body); color: var(--on-dark-2); margin-bottom: 4px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.footer-legal { padding-top: 24px; display: grid; gap: 10px; font-size: 0.8125rem; color: var(--on-dark-2); max-width: 90ch; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Barre de réservation (téléphone) : elle arrive quand le bouton de l'accroche sort de l'écran */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(242,235,221,.97); border-top: 1px solid var(--line); }
.dock__main { flex: 1; min-height: 50px; white-space: nowrap; }
.dock__icon { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border: 1.5px solid var(--brun); border-radius: var(--radius); }
.dock__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brun); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .dock { animation: dock-in linear both; animation-timeline: scroll(root); animation-range: 380px 520px; }
  }
}
@keyframes dock-in { from { transform: translateY(110%); } to { transform: translateY(0); } }
.page-chef .dock, .page-estim .dock, .page-404 .dock { display: none; }
.page-estim .site-footer, .page-404 .site-footer { padding-bottom: 32px; }
.page-chef .site-footer { padding-bottom: 32px; }
@media (min-width: 1040px) { .dock { display: none; } .site-footer { padding-bottom: 32px; } }

/* ==========================================================================
   Page « Devenir chef » et pages secondaires
   ========================================================================== */
.hero--chef { padding-bottom: 32px; }
.hero--chef .cta-block { margin-top: 24px; }
.chef-visual { position: relative; min-height: 220px; }
.chef-visual img { position: absolute; height: auto; }
.chef-visual__a { width: 62%; left: 0; top: 4%; transform: rotate(-6deg); }
.chef-visual__b { width: 48%; right: 4%; top: 22%; transform: rotate(5deg); }
@media (min-width: 900px) { .chef-visual { min-height: 420px; } }

.versus { margin-top: 28px; display: grid; border-top: 1px solid var(--brun); }
.versus__row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.versus__row > span:first-child { grid-column: 1 / -1; font-family: var(--display); font-size: 1.1875rem; }
.versus__row > span:nth-child(2) { color: var(--brun-doux); }
.versus__head { padding: 10px 0; font-size: 0.75rem; font-weight: 700; color: var(--brun-doux); }
.versus__head > span:first-child { display: none; }
.versus sup a { text-decoration: none; padding: 0 2px; }
@media (min-width: 760px) {
  .versus__row { grid-template-columns: 160px 1fr 1fr; gap: 24px; align-items: baseline; }
  .versus__row > span:first-child { grid-column: auto; }
  .versus__head > span:first-child { display: block; }
}

.chef-week { display: grid; gap: 32px; }
.chef-week__note { margin-top: 24px; max-width: 52ch; }
.chef-week__note + .chef-week__note { margin-top: 12px; }
.week__note { margin-top: 22px; max-width: 48ch; font-size: 0.9375rem; color: var(--brun-doux); }
.ast { text-decoration: none; color: inherit; }
.ast:hover { text-decoration: underline; }
.chef-calc { align-self: center; background: var(--creme); border: 1px solid var(--brun); border-radius: var(--radius); padding: 24px 22px; display: grid; gap: 4px; max-width: 420px; }
.chef-calc__label { font-size: 0.75rem; font-weight: 700; color: var(--brun-doux); }
.chef-calc__line { font-family: var(--display); font-size: 1.375rem; }
.chef-calc__total { font-family: var(--display); font-weight: 700; font-size: 2.25rem; line-height: 1.1; }
.chef-calc__total span { font-family: var(--body); font-weight: 400; font-size: 1rem; }
.chef-calc__note { margin-top: 8px; font-size: 0.8125rem; color: var(--brun-doux); }
@media (min-width: 900px) { .chef-week { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 64px; } }

.two-lists { display: grid; gap: 40px; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 26px; position: relative; max-width: 52ch; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid var(--brun); border-bottom: 2px solid var(--brun); transform: rotate(-45deg); }
@media (min-width: 900px) { .two-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }

.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 16px 0 16px 52px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 14px; width: 36px; height: 36px; border-radius: var(--radius); border: 1.5px solid var(--brun); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.125rem; }
.steps__when { font-size: 0.75rem; font-weight: 700; color: var(--brun-doux); }
.steps h3 { font-size: 1.25rem; margin: 2px 0 4px; }
.steps p { max-width: 52ch; font-size: 0.9375rem; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
  .steps li { padding: 56px 0 0; border-top: 0; }
  .steps li::before { top: 0; }
  .steps li::after { content: ""; position: absolute; left: 44px; right: -12px; top: 18px; height: 1.5px; background: var(--line); }
  .steps li:last-child::after { display: none; }
}
.chef-legal { margin-top: 24px; font-size: 0.8125rem; color: var(--brun-doux); max-width: 72ch; }

.doc { padding-block: clamp(40px, 7vw, 96px); }
.doc h1 { font-size: clamp(2.25rem, 7vw, 3.5rem); margin-bottom: 16px; }
.doc .lead { font-size: 1.0625rem; color: var(--brun-doux); margin-bottom: 40px; max-width: 62ch; }
.doc section { display: grid; gap: 12px 48px; padding: 24px 0; border-top: 1px solid var(--line); }
.doc section h2 { font-size: 1.375rem; }
.doc section div { display: grid; gap: 12px; max-width: 70ch; }
@media (min-width: 900px) { .doc section { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); } }

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

.bg-sauge .reassure, .bg-sauge .chef-legal, .bg-sauge .small, .bg-sauge .muted,
.bg-paper .reassure, .bg-paper .small, .bg-paper .muted, .bg-paper .greviews__note { color: var(--brun); }

[hidden] { display: none !important; }
.result__split { margin-top: 8px; font-size: 0.8125rem; color: var(--brun-doux); }

/* ==========================================================================
   Page « Calculer mon prix »
   ========================================================================== */
.estim { padding-block: 28px 64px; }
.estim__wrap { max-width: 720px; }
.estim__bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.estim__bar span { display: block; height: 100%; width: 25%; background: var(--brun); transition: width .3s var(--ease-out); }
.estim__count { margin: 10px 0 18px; font-size: 0.8125rem; font-weight: 700; color: var(--brun-doux); }
.estim__step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.estim__step.is-active { display: block; }
.estim__step legend { padding: 0; margin-bottom: 18px; }
.estim__q { display: block; font-family: var(--display); font-size: clamp(1.75rem, 7vw, 2.5rem); line-height: 1.1; }
.estim__hint { margin: 0 0 16px; font-size: 0.9375rem; color: var(--brun-doux); }
.tiles { display: grid; gap: 10px; }
.tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--2 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tiles--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { position: relative; display: grid; gap: 2px; justify-items: center; text-align: center; padding: 18px 10px; min-height: 96px; align-content: center; background: var(--creme); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s var(--ease-out), background-color .15s var(--ease-out); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile:hover { border-color: var(--brun-doux); }
.tile:has(input:checked) { border-color: var(--brun); border-width: 2px; }
.tile:has(input:focus-visible) { outline: 2px solid var(--brun); outline-offset: 3px; }
.tile__big { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1; }
.tile__big--txt { font-size: 1.25rem; line-height: 1.15; }
.tile__sub { font-size: 0.8125rem; color: var(--brun-doux); }
.fields { display: grid; gap: 14px; margin-bottom: 18px; }
.field { display: grid; gap: 6px; font-weight: 700; font-size: 0.9375rem; }
.field input { font: 400 1.0625rem var(--body); color: var(--brun); padding: 12px 14px; min-height: 50px; border: 1.5px solid var(--brun-doux); border-radius: var(--radius); background: var(--creme); }
.field input:focus-visible { outline: 2px solid var(--brun); outline-offset: 2px; }
.field small { font-weight: 400; font-size: 0.8125rem; color: var(--brun-doux); }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 0.9375rem; }
.check input { width: 20px; height: 20px; accent-color: var(--brun); }
.estim__err { min-height: 1.4em; margin: 0 0 8px; color: var(--erreur); font-weight: 700; font-size: 0.9375rem; }
.estim__go { width: 100%; }
.estim__nav { margin-top: 18px; }
.estim__back { background: none; border: 0; padding: 8px 0; font: inherit; color: var(--brun); cursor: pointer; text-decoration: underline; }
.estim__noscript { padding: 16px; background: var(--creme); border-radius: var(--radius); }
.result__title { font-size: clamp(2rem, 7vw, 2.75rem); line-height: 1.1; }
.result__recap { margin-top: 8px; color: var(--brun-doux); }
.result__zone { margin-top: 18px; padding: 14px 16px; background: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; }
.result__price { margin: 24px 0 8px; padding: 22px 20px; background: var(--creme); border-radius: var(--radius); }
.result__big { font-size: 1.125rem; }
.result__big span { font-family: var(--display); font-weight: 700; font-size: clamp(2.75rem, 11vw, 3.75rem); line-height: 1; margin-right: 4px; }
.result__portion { margin-top: 4px; color: var(--brun-doux); }
.result__after { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 1rem; }
.result__after span { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1; margin-right: 4px; }
.result__cond { margin-top: 6px; font-size: 0.8125rem; color: var(--brun-doux); max-width: 52ch; }
.result .cta-block { margin-top: 20px; }
.result .cta-block .btn { width: 100%; }
@media (min-width: 600px) { .result .cta-block .btn { width: auto; } }
.result__detail { margin-top: 24px; }
.fields--detail { margin-top: 18px; }
.result__legal { margin-top: 24px; grid-template-columns: 1fr !important; }
#r-restart { margin-top: 18px; background: none; border: 0; padding: 8px 0; font: inherit; cursor: pointer; text-decoration: underline; color: var(--brun); }
@media (prefers-reduced-motion: reduce) { .estim__bar span { transition: none; } }

/* ============ Le mag : articles ============ */
.crumbs a { color: inherit; }
.post__meta { color: var(--brun-doux); font-size: .9375rem; margin: 0; }
.post__body { max-width: calc(720px + 2 * var(--gutter)); padding-bottom: var(--section); }
.prose { font-size: 1.0625rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--display); font-size: clamp(1.5rem, 4.6vw, 2rem); line-height: 1.2; margin-top: 2em; }
.prose h3 { font-size: 1.1875rem; margin-top: 1.6em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--brun); text-underline-offset: 3px; }
.prose strong { font-weight: 700; }
.ci-note { font-size: .875rem; color: var(--brun-doux); margin-top: .35em !important; }
.callout { background: var(--creme); border: 1px solid var(--line); padding: 14px 18px; border-radius: var(--radius); font-size: .9375rem; }
.callout p { margin: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose table, .doc table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 420px; }
.prose th, .prose td, .doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th, .doc thead th { font-weight: 700; background: var(--creme); }
.post__faq { margin-top: 48px; }
.post__faq h2 { font-family: var(--display); font-size: clamp(1.5rem, 4.6vw, 2rem); margin-bottom: 12px; }
.post__cta { margin-top: 48px; padding: 24px; background: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); }
.post__cta-title { font-family: var(--display); font-size: 1.5rem; margin: 0 0 6px; }
.post__cta > p { margin: 0 0 16px; }
.post__legal { margin-top: 24px; font-size: .8125rem; color: var(--brun-doux); }

/* Cartes d'articles */
.cards { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcard__date { font-size: .8125rem; color: var(--brun-doux); }
.pcard__title { font-family: var(--display); font-size: 1.3125rem; line-height: 1.2; }
.pcard__excerpt { font-size: .9375rem; color: var(--brun-doux); }
.pcard:hover .pcard__title, .pcard:focus-visible .pcard__title { text-decoration: underline; text-underline-offset: 3px; }
.mag__title { font-size: clamp(2.25rem, 7vw, 3.5rem); margin: 0 0 12px; }

/* CGV */
.doc--cgv .lead { display: grid; gap: 12px; }
.doc--cgv .lead p { margin: 0; }
.doc--cgv section div ul, .doc--cgv section div ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.doc--cgv section div p { margin: 0; }

/* ============ Le mag v2 ============ */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--brun-doux); margin-bottom: 18px; }
.post__hero { background: var(--creme); border-bottom: 1px solid var(--line); }
.post__hero-grid { display: grid; gap: 28px; padding-block: clamp(28px, 6vw, 72px); align-items: center; }
.post__rubrique { display: inline-block; font-size: .8125rem; font-weight: 700; color: var(--brun); border-bottom: 2px solid var(--brun-doux); padding-bottom: 2px; margin: 0 0 14px; }
.post__hero h1 { font-size: clamp(2rem, 6.4vw, 3.25rem); line-height: 1.08; margin: 0 0 16px; text-wrap: balance; }
.post__chapo { font-size: 1.1875rem; line-height: 1.55; margin: 0 0 16px; max-width: 56ch; }
.post__meta { color: var(--brun-doux); font-size: .875rem; margin: 0; }
.post__hero-img { margin: 0; justify-self: center; width: 100%; max-width: 420px; aspect-ratio: 1; display: grid; place-items: center; background: var(--creme); border-radius: var(--radius); overflow: hidden; }
.post__hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post__hero-img.is-cutout { background: var(--creme); padding: 8%; }
.post__hero-img.is-cutout img { object-fit: contain; }
@media (min-width: 900px) { .post__hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; } .post__hero-img { max-width: 460px; justify-self: end; } }
.post__body { padding-top: clamp(28px, 5vw, 56px); }
.toc { background: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 36px; }
.toc__title { font-family: var(--display); font-size: 1.125rem; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .9375rem; }
.toc a { color: var(--brun); text-underline-offset: 3px; }
.prose { font-size: 1.125rem; line-height: 1.7; }
.prose h2 { padding-top: 22px; position: relative; scroll-margin-top: 90px; }
.prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 2px; background: var(--brun-doux); }
.post__fig { margin: 2em 0 !important; }
.post__fig img { width: 100%; max-width: 340px; margin: 0 auto; border-radius: var(--radius); background: var(--creme); }
.post__fig figcaption { font-size: .875rem; color: var(--brun-doux); text-align: center; margin-top: 10px; }
@media (min-width: 760px) { .post__fig { float: right; width: 300px; margin: .4em 0 1.2em 32px !important; } .post__fig figcaption { text-align: left; } .prose h2 { clear: both; } }
.post__faq, .post__cta { clear: both; }

.pcard { display: flex; flex-direction: column; gap: 8px; color: var(--brun); text-decoration: none; background: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 22px; overflow: hidden; transition: border-color .2s; }
.pcard:hover { border-color: var(--brun-doux); }
.pcard__img { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--creme); padding: 0 !important; margin-bottom: 8px; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.pcard__img img[src*="detoure"] { object-fit: contain; padding: 8%; }
.pcard:hover .pcard__img img { transform: scale(1.03); }
.pcard__date { text-transform: none; }

/* ============ Accueil : réseau de chefs, note crédit d'impôt ============ */
.hero__note { font-size: .75rem; line-height: 1.5; color: var(--brun-doux); margin: 18px 0 0; max-width: 60ch; }
.star-link { color: inherit; text-decoration: none; }
.chef-cta { background: var(--creme); border-top: 1px solid var(--line); }
.chef-cta__grid { display: grid; gap: 32px; align-items: center; }
.chef-cta__kicker { font-size: .8125rem; font-weight: 700; margin: 0 0 12px; border-bottom: 2px solid var(--brun-doux); display: inline-block; padding-bottom: 2px; }
.chef-cta .section-title { margin: 0 0 16px; }
.chef-cta__lead { font-size: 1.1875rem; margin: 0; max-width: 46ch; }
.chef-cta .ticks li::before { border-color: var(--brun); }
.chef-cta .cta-block { margin-top: 28px; }
.chef-cta .reassure { color: var(--brun); }
@media (min-width: 900px) { .chef-cta__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; } .chef-cta__img { justify-self: end; } }
.pcard { padding: 0; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 6px 22px 24px; }
.pcard__more { margin-top: 6px; font-size: .9375rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px) {
  .pcard--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
  .pcard--feature .pcard__img { margin: 0; height: 100%; aspect-ratio: auto; min-height: 380px; }
  .pcard--feature .pcard__body { padding: 40px 48px; gap: 12px; }
  .pcard--feature .pcard__title { font-size: 2.125rem; }
  .pcard--feature .pcard__excerpt { font-size: 1.0625rem; }
}
details.hero__note { margin-top: 16px; font-size: .8125rem; color: var(--brun-doux); max-width: 60ch; }
details.hero__note summary { cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
details.hero__note summary::-webkit-details-marker { display: none; }
details.hero__note p { margin: 8px 0 0; font-size: .75rem; line-height: 1.5; }
.map__water--lagoon { font-size: 13px; font-style: italic; opacity: .85; letter-spacing: .02em; }
.chef-cta__img { margin: 0; position: relative; width: 100%; max-width: 480px; justify-self: center; aspect-ratio: 1 / .9; }
.chef-cta__img img { position: absolute; height: auto; filter: none; }
.chef-cta__img .ci-a { width: 62%; left: 2%; top: 2%; }
.chef-cta__img .ci-b { width: 56%; right: 0; bottom: 0; }
.chef-cta .ticks li::before { border-color: var(--brun); }
@media (min-width: 900px) { .chef-cta__img { justify-self: end; } }

/* ============ Barre du haut (chefs + espaces) ============ */
.topbar { background: var(--brun); color: var(--beige); font-size: .875rem; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: var(--beige); text-decoration: none; }
.topbar__chef span { text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.topbar__chef:hover span { text-decoration-thickness: 2px; }
.topbar__apps { display: none; gap: 20px; }
.topbar__apps a:hover { text-decoration: underline; }
@media (min-width: 760px) { .topbar__apps { display: inline-flex; } }
@media (max-width: 380px) { .topbar__chef span { display: block; margin-left: 0; } }
/* Titre section chefs */
.chef-cta__title { margin: 0 0 18px; font-weight: 400; }
.chef-cta__q { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 9vw, 4.25rem); line-height: 1; letter-spacing: -0.01em; }
.chef-cta__punch { display: block; margin-top: 12px; font-family: var(--display); font-size: clamp(1.375rem, 4.4vw, 1.875rem); line-height: 1.2; max-width: 22ch; }

/* Tarifs allégés */
.price--light { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .price--light { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; } }
.price__portion { margin: 6px 0 0; font-size: 1.125rem; }
.price__split { margin: 14px 0 0; font-size: .875rem; color: var(--brun-doux); max-width: 56ch; }
.price__cta { background: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.price__cta-title { font-family: var(--display); font-size: 1.5rem; margin: 0 0 8px; }
.price__cta > p { margin: 0 0 16px; }
.price__cta .btn { width: 100%; }
.price__cta .reassure { margin: 10px 0 0; }
.price__fees { margin: 28px 0 0; font-size: .9375rem; max-width: 80ch; }
.papers__note { margin: 28px 0 0; max-width: 70ch; font-size: .9375rem; }
.chef-calc__who { font-size: .9375rem; margin: 0 0 8px; }
.calc--chef { margin-top: 20px; }
.calc--chef table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 420px; }
.calc--chef th, .calc--chef td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.calc--chef thead th { background: var(--creme); }

/* ============ Simulateur v2 ============ */
.tiles--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 600px) { .tiles--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { font: 700 .875rem var(--body); color: var(--brun); background: var(--creme); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 9px 14px; min-height: 40px; cursor: pointer; }
.chip:hover { border-color: var(--brun-doux); }
.chip.is-on { background: var(--brun); color: var(--creme); border-color: var(--brun); }
.meals { display: grid; gap: 10px; }
.meals__row { display: grid; grid-template-columns: 74px repeat(7, minmax(0, 1fr)); gap: 6px; align-items: center; }
.meals__label { font-size: .8125rem; font-weight: 700; }
.day { position: relative; display: grid; place-items: center; min-height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--creme); font-weight: 700; cursor: pointer; user-select: none; }
.day input { position: absolute; opacity: 0; pointer-events: none; }
.day:has(input:checked) { background: var(--brun); color: var(--creme); border-color: var(--brun); }
.day:has(input:focus-visible) { outline: 2px solid var(--brun); outline-offset: 2px; }
.meals__count { margin: 14px 0 6px; font-family: var(--display); font-size: 1.25rem; }
.estim__next { width: 100%; margin-top: 8px; }
.estim__next:disabled { opacity: .45; cursor: not-allowed; }
@media (min-width: 600px) { .estim__next, .estim__go { width: auto; } }
.boxes { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.box { width: 46px; height: 34px; display: grid; place-items: center; background: var(--creme); border: 1.5px solid var(--brun-doux); border-radius: var(--radius); font-size: .8125rem; font-weight: 700; color: var(--brun-doux); }
.boxes--sm { margin: 14px 0 6px; } .boxes--sm .box { width: 34px; height: 26px; font-size: .6875rem; }
.stepper { display: flex; align-items: center; gap: 16px; padding: 14px; background: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); }
.stepper__btn { width: 52px; height: 52px; flex: none; font: 400 1.75rem var(--body); line-height: 1; color: var(--creme); background: var(--brun); border: 0; border-radius: var(--radius); cursor: pointer; }
.stepper__btn:disabled { background: var(--line); cursor: not-allowed; }
.stepper__val { flex: 1; margin: 0; text-align: center; display: grid; }
.stepper__val strong { font-family: var(--display); font-size: 1.75rem; line-height: 1.1; }
.stepper__val span { font-size: .875rem; color: var(--brun-doux); }
#q3-bridge { margin-top: 14px; }
.result__lead { font-size: 1.0625rem; margin: 14px 0 0; max-width: 56ch; }
.result__links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.result__links .textlink, [data-restart] { background: none; border: 0; padding: 0; font: 700 .9375rem var(--body); color: var(--brun); text-decoration: underline; cursor: pointer; }
.recap { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.recap__chip { font: 700 .8125rem var(--body); color: var(--brun); background: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 12px; cursor: pointer; }
.recap__chip { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.result__sub { margin: 0; font-size: .9375rem; color: var(--brun-doux); }
.seg { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; border: 1.5px solid var(--brun); border-radius: var(--radius); overflow: hidden; }
.seg__opt { position: relative; display: grid; place-items: center; min-height: 46px; text-align: center; font-weight: 700; font-size: .9375rem; cursor: pointer; background: var(--creme); }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt:has(input:checked) { background: var(--brun); color: var(--creme); }
.seg__opt:has(input:focus-visible) { outline: 2px solid var(--brun); outline-offset: -4px; }
.seg__hint { margin: 8px 0 0; font-size: .875rem; color: var(--brun-doux); min-height: 1.3em; }
.pricecard { margin-top: 16px; padding: 22px 20px; background: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); }
.pricecard__big { margin: 0; font-size: 1.125rem; }
.pricecard__big span { font-family: var(--display); font-weight: 700; font-size: clamp(2.75rem, 12vw, 3.5rem); line-height: 1; margin-right: 4px; }
.pricecard--custom .pricecard__big { font-family: var(--display); font-weight: 700; font-size: 2rem; }
.pricecard__sub { margin: 6px 0 0; color: var(--brun-doux); }
.pricecard__after { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 700; }
.pricecard__ai { margin: 4px 0 0; font-size: .8125rem; color: var(--brun-doux); }
.splitbar { position: relative; display: flex; height: 16px; margin: 22px 0 34px; border-radius: var(--radius); overflow: visible; }
.splitbar__chef { background: var(--brun); border-radius: var(--radius) 0 0 var(--radius); }
.splitbar__cot { background: var(--brun-doux); }
.splitbar__fee { background: var(--sauge); border-radius: 0 var(--radius) var(--radius) 0; }
.splitbar__half { position: absolute; left: 50%; top: -5px; bottom: -5px; width: 2px; background: var(--terracotta); }
.splitbar__half i { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; white-space: nowrap; font-style: normal; font-size: .75rem; color: var(--brun-doux); }
.splitlegend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; }
.splitlegend li { display: flex; gap: 10px; align-items: baseline; }
.dot { flex: none; width: 12px; height: 12px; border-radius: 2px; transform: translateY(1px); }
.dot--chef { background: var(--brun); } .dot--cot { background: var(--brun-doux); } .dot--fee { background: var(--sauge); }
.pricecard__courses { margin: 14px 0 0; font-size: .8125rem; color: var(--brun-doux); }
.warn { margin-top: 14px; padding: 14px 16px; background: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); font-size: .8125rem; display: grid; gap: 6px; }
.warn p { margin: 0; }
.lea { margin-top: 24px; padding: 22px 20px; background: var(--creme); border: 1.5px solid var(--brun); border-radius: var(--radius); display: grid; grid-template-columns: 64px 1fr; gap: 14px 16px; align-items: start; }
.lea__img { width: 64px; height: 64px; object-fit: cover; object-position: center 20%; border-radius: var(--radius); }
.lea__title { font-family: var(--display); font-size: 1.375rem; line-height: 1.2; margin: 0 0 6px; }
.lea__txt p:not(.lea__title) { margin: 0; font-size: .9375rem; }
.lea__btn, .lea__reassure, .lea__alt { grid-column: 1 / -1; }
.lea__btn { width: 100%; }
.lea__reassure { margin: -6px 0 0; text-align: center; }
.lea__alt { margin: 0; font-size: .875rem; color: var(--brun-doux); text-align: center; }
.result__fold { margin-top: 14px; }
.result__fold:first-of-type { margin-top: 24px; }
.stickybook { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(242,235,221,.97); border-top: 1px solid var(--line); }
.stickybook .btn { width: 100%; }
@media (min-width: 760px) { .stickybook { display: none; } }

/* Tarifs v3 */
.tarif { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 900px) { .tarif { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: stretch; } }
.tarif__card { padding: 26px 22px; background: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); }
.tarif__big { margin: 0; font-size: 1.125rem; }
.tarif__big span { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 12vw, 4.25rem); line-height: 1; margin-right: 6px; }
.tarif__portion { margin: 6px 0 0; font-size: 1.125rem; }
.tarif__after { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: .9375rem; }
.splitbar--plain { margin: 20px 0 14px; }
.tarif__hyp { margin: 14px 0 0; font-size: .8125rem; color: var(--brun-doux); }
.tarif__cta { padding: 26px 22px; background: var(--brun); color: var(--creme); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.tarif__cta-title { font-family: var(--display); font-size: 2rem; line-height: 1.1; margin: 0; }
.tarif__cta p { margin: 0 0 10px; }
.tarif__cta .btn { background: var(--creme); color: var(--brun); width: 100%; }
.tarif__cta .btn:hover { background: var(--creme); }
.fees { margin-top: 28px; }
.fees__title { font-weight: 700; margin: 0 0 10px; }
.fees__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .fees__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fees__list li { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--creme); }
.fees__list strong { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.fees__list span { font-size: .875rem; color: var(--brun-doux); }
.fees__more { margin: 10px 0 0; font-size: .875rem; color: var(--brun-doux); }
.warn--tarifs { margin-top: 20px; }

/* ============ Questionnaire candidat ============ */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--stack { grid-template-columns: 1fr !important; }
.tiles--stack .tile { min-height: 76px; justify-items: start; text-align: left; padding: 16px 18px; }
.tile__big--txt { font-family: var(--display); font-size: 1.25rem; line-height: 1.2; }
.meals__row--5 { grid-template-columns: 92px repeat(5, minmax(0, 1fr)); }
.field-label { margin: 22px 0 10px; font-weight: 700; font-size: .9375rem; }
.estim__hint--sm { font-size: .8125rem; margin-top: 10px; }
.chips--radio .chip { position: relative; display: inline-flex; align-items: center; }
.chips--radio .chip input { position: absolute; opacity: 0; pointer-events: none; }
.chips--radio .chip:has(input:checked) { background: var(--brun); color: var(--creme); border-color: var(--brun); }
.chips--radio .chip:has(input:focus-visible) { outline: 2px solid var(--brun); outline-offset: 2px; }
.field textarea, .field select { font: 400 1.0625rem var(--body); color: var(--brun); padding: 12px 14px; border: 1.5px solid var(--brun-doux); border-radius: var(--radius); background: var(--creme); width: 100%; resize: vertical; }
.field select { min-height: 50px; }
.field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--brun); outline-offset: 2px; }
.ac__box { position: relative; }
.ac__box input { width: 100%; }
.ac__list { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; list-style: none; margin: 2px 0 0; padding: 0; border: 1.5px solid var(--brun-doux); border-radius: var(--radius); background: var(--creme); max-height: 290px; overflow-y: auto; }
.ac__opt { padding: 12px 14px; min-height: 48px; font-weight: 400; cursor: pointer; border-top: 1px solid var(--line); }
.ac__opt:first-child { border-top: 0; }
.ac__opt small { color: var(--brun-doux); font-size: .875rem; }
.ac__opt[aria-selected="true"], .ac__opt:hover { background: var(--beige); }
.field--file input { font: 400 .9375rem var(--body); padding: 10px 0; border: 0; background: none; min-height: 0; }
.field--select { margin-top: 14px; }
.fields--2 { display: grid; gap: 14px; }
@media (min-width: 600px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.cand__info { margin: 18px 0 10px; font-size: .75rem; line-height: 1.5; color: var(--brun-doux); }
.page-cand .check { align-items: flex-start; font-size: .875rem; margin-bottom: 8px; }
.page-cand .check input { margin-top: 2px; flex: none; }
.steps--compact { margin-top: 20px; }
.page-cand .estim__err a { color: inherit; }

/* Simulateur : résultat v3 (crédit d'impôt mis en avant, prix TTC toujours le plus grand) */
#r-boxes-txt { margin-top: 12px; }
.pricecard__split { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .9375rem; }
.pricecard__split div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.pricecard__split dt { line-height: 1.35; }
.pricecard__split dt small { display: block; font-size: .8125rem; color: var(--brun-doux); }
.pricecard__split dd { margin: 0; font-weight: 700; white-space: nowrap; }
.half { margin-top: 12px; padding: 22px 20px 18px; background: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); }
.half__eyebrow { margin: 0; font-size: .8125rem; font-weight: 700; color: var(--brun-doux); }
.half__title { margin: 4px 0 16px; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; }
.half__bar { display: flex; border-radius: var(--radius); overflow: hidden; }
.half__bar p { margin: 0; padding: 10px 12px 11px; display: grid; gap: 1px; min-width: 0; flex: 1 1 50%; }
.half__bar small { font-size: .75rem; font-weight: 700; opacity: .85; }
.half__bar span { font-weight: 700; font-size: 1rem; line-height: 1.25; }
.half__you { background: var(--brun); color: var(--creme); }
.half__state { background: var(--sauge); color: var(--brun); }
.half__after { margin: 10px 0 0; font-size: .875rem; }
.half__steps { list-style: none; counter-reset: etape; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: .875rem; line-height: 1.45; }
.half__steps li { counter-increment: etape; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; }
.half__steps li::before { content: counter(etape); grid-row: span 2; width: 22px; height: 22px; display: grid; place-items: center; background: var(--brun); color: var(--creme); border-radius: var(--radius); font-size: .75rem; font-weight: 700; }
.half__steps strong { display: block; }
.half__note { margin: 14px 0 0; font-size: .75rem; }
.half__note a { color: var(--brun-doux); }
.half + .pricecard__courses { margin-top: 10px; }
.estim__step[data-step="3"] .stepper { margin-top: 8px; }
#r-warn { background: transparent; border: 1px solid var(--line); }
p .textlink, .chef-week__note .textlink { display: inline; min-height: 0; }
.price-table thead th:nth-child(3) { padding-left: 16px; }
#tarifs .warn { max-width: 72ch; }
.nowrap { white-space: nowrap; }
.week__note { padding-left: 26px; }
.eyebrow { font-weight: 700; font-size: 0.9375rem; color: var(--brun-doux); margin: 0 0 6px; }
@media (max-width: 1039px) {
  .site-header__row { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header__row > .logo { margin-right: 0; }
  .site-header__row > .nav { justify-self: end; }
  #mandataire { padding-bottom: 40px; }
}
.footer-sap img { display: block; height: 88px; width: auto; }

/* Encadré « Avance immédiate » (mentions du kit Urssaf, nov. 2023) : le logo Urssaf avec sa baseline,
   en couleurs, se pose sur un carton blanc (seul blanc du site, imposé par le kit), d'au moins 11 mm
   de haut (64 px ici : symbole et mot ≈ 43 px), avec la zone de respiration demandée : 125 % de cette
   hauteur en haut et sur les côtés (56 px), 50 % en bas (24 px). Fichier RVB du kit, tel quel. Le reste suit la charte : bandeau brun, corps crème, Recoleta + Lato. */
.ai { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--brun); }
.ai__head { background: var(--brun); color: var(--creme); padding: 20px; display: grid; gap: 20px; align-items: center; }
.ai__logo { margin: 0; justify-self: start; background: #fff; border-radius: 2px; padding: 40px 40px 18px; }
.ai__logo img { display: block; height: 64px; width: auto; max-width: none; }
.ai__logo { margin: -20px -20px 0; justify-self: stretch; display: flex; justify-content: center; padding: 56px 0 24px; border-radius: 0; }
.ai__intro { display: grid; gap: 6px; min-width: 0; }
.ai__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.375rem, 4.6vw, 1.875rem); line-height: 1.15; text-wrap: balance; }
.ai__lead { margin: 0; color: var(--on-dark-2); font-size: 1rem; }
.ai__body { background: var(--creme); padding: 22px 20px 20px; display: grid; gap: 18px; }
.ai__eqlabel { margin: 0 0 -8px; font-weight: 700; font-size: .875rem; color: var(--brun-doux); }
.ai__eq { margin: 0; display: grid; gap: 6px; font-size: .9375rem; }
.ai__line { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 8px; }
.ai__term { display: flex; justify-self: start; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--beige); white-space: nowrap; }
.ai__term .dot { transform: none; }
.ai__term--ci { background: var(--sauge); border-color: var(--sauge); }
.ai__term--rac { background: var(--brun); border-color: var(--brun); color: var(--creme); font-weight: 700; }
.ai__op { font-family: var(--display); font-size: 1.375rem; line-height: 1; color: var(--brun-doux); text-align: center; }
.ai__body .ai__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ai__body .ai__points li { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); display: grid; align-content: start; gap: 4px; font-size: .9375rem; line-height: 1.5; }
.ai__body .ai__points li::before { content: none; }
.ai__points strong { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; }
.ai__small { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--brun-doux); }
@media (min-width: 760px) {
  .ai__head { grid-template-columns: auto minmax(0, 1fr); gap: 32px; padding: 28px 32px; }
  .ai__body { padding: 26px 32px 24px; gap: 20px; }
  .ai__logo { margin: 0; justify-self: start; padding: 56px 56px 24px; border-radius: 2px; }
  .ai__eq { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .ai__line { display: flex; gap: 10px; }
  .ai__line:first-child .ai__op { display: none; }
  .ai__body .ai__points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .ai__body .ai__points li { padding-bottom: 0; }
}
.ai__head .ast, .ai__head a { color: var(--creme); }

/* Bandeau fin « Avance immédiate » (accueil) : le logo Urssaf du kit, 44-46 px de haut (≥ 11 mm),
   sur carton blanc avec sa zone de respiration (symbole ≈ 31 px : 39 px en haut et sur les côtés,
   16 px en bas). Il s'ouvre sur place, comme « Le calcul détaillé » juste au-dessus, et montre le
   même contenu que l'encadré de l'article. */
.ai-band { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--creme); overflow: hidden; transition: border-color .2s var(--ease-out); }
.ai-band:hover, .ai-band[open] { border-color: var(--brun); }
.ai-band > summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.ai-band > summary::-webkit-details-marker { display: none; }
.ai-band__logo { grid-column: 1 / -1; background: #fff; display: flex; justify-content: center; padding: 36px 36px 15px; }
.ai-band__logo img { display: block; height: 44px; width: auto; max-width: none; }
.ai-band__text { padding: 14px 4px 14px 18px; display: grid; gap: 2px; font-size: .9375rem; line-height: 1.45; min-width: 0; }
.ai-band__text strong { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.ai-band__more { padding: 14px 20px 14px 8px; display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: .9375rem; }
.ai-band__label { display: none; }
.ai-band__chev { flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--brun); border-bottom: 1.5px solid var(--brun); transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease-out); }
.ai-band[open] .ai-band__chev { transform: rotate(-135deg); }
.ai-band:hover .ai-band__label { text-decoration: underline; }
.ai-band > .ai__body { border-top: 1px solid var(--line); }
@media (min-width: 760px) {
  .ai-band > summary { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ai-band__logo { grid-column: auto; padding: 39px 39px 16px; }
  .ai-band__logo img { height: 46px; }
  .ai-band__text { padding: 12px 8px 12px 28px; }
  .ai-band__more { padding: 12px 28px 12px 16px; }
  .ai-band__label { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .ai-band, .ai-band__chev { transition: none; } }

