/* ==========================================================================
   Chez Ferni — feuille de style principale
   Palette du client : vert sapin, crème (blanc), noir, marron foncé.
   Les styles « critiques » (couleurs, typo, en-tête, haut de page) sont dans
   le <head> de chaque page ; ce fichier complète le reste.
   ========================================================================== */

/* ---------- Bases ---------- */
p { margin: 0 0 1em; }
h2 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); }
h3 { font-size: clamp(1.6rem, 1.4rem + 1vw, 2rem); }
.display-xl { font-size: clamp(2.75rem, 1.6rem + 5vw, 5.5rem); line-height: .92; }
.display-l { font-size: clamp(2.5rem, 1.7rem + 3.5vw, 4.25rem); line-height: .92; }
.display-m { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1; margin: 0; }
.display-xl, .display-l, .display-m { font-family: var(--display); font-weight: 400; text-transform: uppercase; }

/* ---------- Sections ---------- */
.section { padding: var(--space-xl) 0; }
.section--alt { background: var(--cream-2); }
.on-dark, .section--dark { background: var(--green-900); color: var(--on-dark); }
.on-dark p, .section--dark p { color: var(--on-dark-muted); }
.on-dark .eyebrow, .section--dark .eyebrow { color: var(--on-dark-muted); }
.section--dark .ph { background: repeating-linear-gradient(135deg, #1A3528 0 14px, #183124 14px 28px); }
.section-head { max-width: 42rem; margin-bottom: var(--space-l); }
.section-head p { color: var(--muted); font-size: 1.0625rem; }
.section--dark .section-head p { color: var(--on-dark-muted); }
.center-head { text-align: center; max-width: 52rem; margin: 0 auto var(--space-l); }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: var(--space-m); }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-l); align-items: center; }
  .split--reverse > :first-child { order: 2; }
}
.split > * + * { margin-top: var(--space-m); }
@media (min-width: 768px) { .split > * + * { margin-top: 0; } }

/* ---------- Liens ---------- */
.link-arrow { font-weight: 600; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); text-decoration: none; display: inline-flex; align-items: center; gap: .5em; min-height: 44px; }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }
.on-dark .link-arrow, .section--dark .link-arrow { color: var(--on-dark); }

/* ---------- Accueil : cartes sous la vidéo ---------- */
.hero-cards-wrap { padding-bottom: var(--space-l); }
.hero-cards { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 1rem; margin-top: -3rem; position: relative; z-index: 3; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .25rem; }
.hero-cards::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .hero-cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: -11rem; overflow: visible; } }
.hero-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 25rem; border-radius: calc(var(--radius) + 6px); overflow: hidden; isolation: isolate; scroll-snap-align: start; text-decoration: none; color: var(--on-dark); background: var(--green); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .45); }
@media (min-width: 900px) { .hero-card { min-height: clamp(26rem, 32vw, 34rem); } }
.hero-card__media { position: absolute; inset: 0; z-index: -2; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.hero-card__media .ph { height: 100%; aspect-ratio: auto; border-radius: 0; place-items: start center; padding-top: 5rem; }
.hero-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 50, 37, 0) 30%, rgba(20, 50, 37, .92) 78%); }
@media (hover: hover) { .hero-card:hover .hero-card__media { transform: scale(1.06); } }
.hero-card__tag { position: absolute; top: 1.1rem; left: 1.1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem .4rem .45rem; border-radius: 999px; background: rgba(244, 238, 228, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero-card__tag b { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--cream); color: var(--green-900); font-size: .75rem; letter-spacing: 0; }
.hero-card__go { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--cream); color: var(--green-900); transform: rotate(-45deg); transition: transform .4s cubic-bezier(.2, .8, .2, 1), background-color .25s ease, color .25s ease; }
@media (hover: hover) { .hero-card:hover .hero-card__go { transform: rotate(0); background: var(--green-900); color: var(--cream); } }
.hero-card__body { padding: 1.5rem; }
@media (min-width: 900px) { .hero-card__body { padding: 2rem; } }
.hero-card__title { font-size: clamp(2.25rem, 1.6rem + 1.6vw, 3rem); margin: 0 0 .5rem; }
.hero-card__body p { font-size: .9375rem; margin: 0; max-width: 34ch; color: var(--on-dark-muted); }

/* ---------- Accueil : collage ---------- */
.manifesto .eyebrow { color: var(--green); }
.manifesto h2 { color: var(--green-900); }
.collage { display: grid; gap: 1.25rem; }
.collage__b p, .collage__c p { font-size: 1rem; color: var(--muted); }
.collage__b p { margin-top: 1rem; }
.collage__quote { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); line-height: 1; color: var(--green-900); margin: 0; }
@media (min-width: 900px) {
  .collage { grid-template-columns: 1.15fr 1fr .9fr; grid-template-areas: "a b c" "a quote d"; column-gap: 2rem; row-gap: 2.5rem; align-items: start; }
  .collage__a { grid-area: a; }
  .collage__b { grid-area: b; margin-top: 3rem; }
  .collage__c { grid-area: c; }
  .collage__quote { grid-area: quote; align-self: end; }
  .collage__d { grid-area: d; }
}

/* ---------- Accueil : onglets des formules ---------- */
.formules { border-top: 1px solid var(--line-dark); }
.tabs__bar { margin-bottom: var(--space-l); }
.tabs__label { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .5rem; }
.tabs__list { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .25rem 0; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button { flex: none; background: transparent; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--on-dark-muted); font: inherit; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; min-height: 44px; padding: 0 1.15rem; cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.tabs__list button[aria-selected="true"] { color: var(--green-900); background: var(--cream); border-color: var(--cream); }
.tabs__list button:hover { color: var(--on-dark); border-color: var(--on-dark); }
.tabs__list button[aria-selected="true"]:hover { color: var(--green-900); }
.tabs__panel { display: grid; gap: var(--space-m); align-items: center; }
.tabs__panel[hidden] { display: none; }
@media (min-width: 768px) { .tabs__panel { grid-template-columns: minmax(0, 22rem) 1fr; gap: var(--space-l); } }
.tabs__panel p { max-width: 34rem; }
.metrics { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-top: var(--space-l); }
@media (min-width: 600px) { .metrics { grid-template-columns: repeat(3, 1fr); } }
.metric { border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(244, 238, 228, .05); padding: 1.25rem 1.4rem; display: flex; flex-direction: column; }
.metric span { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.metric strong { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 3vw, 3.5rem); line-height: 1; margin: .5rem 0 .25rem; }
.metric small { font-size: .875rem; color: var(--on-dark-muted); line-height: 1.35; }

/* ---------- Accueil : Seignosse ---------- */
.seignosse { position: relative; overflow: hidden; }
.seignosse__bg .ph { aspect-ratio: auto; height: 22rem; border-radius: 0; }
@media (min-width: 900px) { .seignosse__bg { position: absolute; inset: 0; } .seignosse__bg .ph { height: 100%; } }
.seignosse__inner { position: relative; padding: 0 0 var(--space-xl); }
@media (min-width: 900px) { .seignosse__inner { padding: 14rem 0 var(--space-xl); } }
.seignosse__card { background: rgba(42, 91, 69, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-dark); border-radius: calc(var(--radius) + 6px); padding: var(--space-m); margin-top: -4rem; position: relative; }
@media (min-width: 900px) { .seignosse__card { margin-top: 0; padding: 2.5rem; } }

/* ---------- Accueil : barbecue ---------- */
.feature__media { position: relative; border-radius: var(--radius); box-shadow: 14px 14px 0 var(--brown); }

/* ---------- Accueil : histoire (fond crème) ---------- */
.story__title { font-size: clamp(4.5rem, 2rem + 13vw, 13rem); line-height: .82; text-align: center; color: var(--green-900); margin: 0; position: relative; z-index: 0; }
.story__grid { display: grid; gap: var(--space-m); margin-top: 1.5rem; position: relative; z-index: 1; }
.story__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.story__left p, .story__right p { color: var(--muted); }
@media (min-width: 900px) {
  .story__grid { grid-template-columns: 1fr 1.1fr 1fr; gap: 2.5rem; margin-top: 2rem; align-items: end; }
  .story__left { align-self: center; }
}

/* ---------- Accueil : lieux ---------- */
.lieux { border-top: 1px solid var(--line); }
.lieux__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: var(--space-l); }
.lieux__head h2 { color: var(--green-900); margin: 0; }
.lieux__head .is-dim { color: #6F8A7A; }
.lieu { background: #FBF8F3; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 1.25rem; box-shadow: 0 12px 30px -22px rgba(20, 17, 15, .35); }
@media (min-width: 1500px) { .lieux__grid { grid-template-columns: repeat(4, 1fr); } }
.lieu__head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.lieu__head h3 { color: var(--green-900); }
.lieu__day { color: var(--green-900); white-space: nowrap; }
.lieu__meta { color: var(--muted); font-size: .875rem; border-top: 1px solid var(--line); margin: .75rem 0 1rem; padding-top: .6rem; }

/* ---------- Cartes (pages intérieures) ---------- */
.card { background: #FBF8F3; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px -20px rgba(20, 17, 15, .35); overflow: hidden; display: flex; flex-direction: column; }
.card__body { padding: var(--space-m); display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); }
.card__body .link-arrow { margin-top: auto; }

/* ---------- Listes ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 var(--space-m); }
.checklist li { position: relative; padding: .55rem 0 .55rem 2rem; border-bottom: 1px solid var(--line); }
.section--dark .checklist li { border-color: var(--line-dark); }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: 1.05rem; width: .8rem; height: .45rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.section--dark .checklist li::before { border-color: var(--on-dark); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-m); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: var(--space-m); background: #FBF8F3; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-size: 2.5rem; line-height: 1; color: var(--green); margin-bottom: .5rem; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band { text-align: center; border-top: 1px solid var(--line-dark); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 36rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }
.section .cta-band { border: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; }
.faq details { background: #FBF8F3; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.25rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-weight: 600; font-size: 1.0625rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .8rem; font-size: 1.5rem; color: var(--green); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.2rem; color: var(--muted); }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 1.1rem; }
@media (min-width: 768px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; } }
.form__row > * + * { margin-top: 1.1rem; }
@media (min-width: 768px) { .form__row > * + * { margin-top: 0; } }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .875rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #A99D8D; border-radius: 12px; padding: .8rem 1rem; min-height: 50px; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--green); }
.field .error { display: none; color: var(--error); font-size: .9rem; margin-top: .35rem; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field.is-invalid .error { display: block; }
.field--choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.field--choices legend { font-weight: 600; margin-bottom: .5rem; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.field .choice { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .5rem 1rem; border: 1px solid #A99D8D; border-radius: 999px; background: #fff; cursor: pointer; font-weight: 400 !important; margin: 0 !important; }
.field .choice input { width: 1.1rem; height: 1.1rem; min-height: 0; margin: 0; accent-color: var(--green); }
.choice:has(input:checked) { border-color: var(--green); background: #EAF1EC; }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.field select optgroup { font-weight: 600; }
.form__legal { font-size: .875rem; color: var(--muted); margin: 0; }
.form__legal a { color: var(--green); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: -1px; }

/* ---------- Infos contact ---------- */
.info-list { list-style: none; padding: 0; margin: 0 0 var(--space-m); }
.info-list li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.info-list strong { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.info-list a { color: var(--ink); font-weight: 600; text-decoration-color: var(--green); text-underline-offset: 3px; }

/* ---------- Carte (chargée au clic, RGPD) ---------- */
.map { position: relative; aspect-ratio: 4 / 3; background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: var(--space-m); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map p { color: var(--muted); font-size: .9rem; max-width: 26rem; }

/* ---------- Pages légales ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 2rem; margin-top: var(--space-l); }
.prose ul { padding-left: 1.2rem; }
.prose a { color: var(--green); }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line-dark); padding: var(--space-l) 0 var(--mobile-bar); font-size: .9375rem; overflow: hidden; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: var(--space-m); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr .8fr 1.2fr; } }
.footer-logo { width: 220px; height: auto; margin-bottom: 1rem; }
.footer-address { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: .95; color: var(--on-dark) !important; margin-bottom: 1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: var(--space-m); padding-top: var(--space-s); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .8125rem; color: var(--on-dark-muted); }
.footer-bottom a { color: var(--on-dark-muted); text-decoration: underline; }
.footer-giant { font-size: 25vw; line-height: .78; text-align: center; color: #2A5B45 !important; margin: var(--space-m) 0 0; white-space: nowrap; user-select: none; }

/* ---------- Barre d'action fixe (mobile) ---------- */
.mobile-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; padding: .45rem .75rem calc(.45rem + env(safe-area-inset-bottom)); background: rgba(31, 74, 54, .97); border-top: 1px solid var(--line-dark); }
.mobile-bar .btn { width: 100%; min-height: 44px; padding: .4rem .75rem; font-size: .875rem; white-space: nowrap; }
.mobile-bar .btn--primary { background: var(--green-700); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Apparitions douces au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

.card .ph { border-radius: 0; }

/* ---------- Grand écran ---------- */
.split p, .story__grid p { max-width: 62ch; }
@media (min-width: 1400px) { .gallery { grid-template-columns: repeat(4, 1fr); } .grid--3 { gap: 2rem; } }

/* ---------- Animations de marque ---------- */
/* Trait tracé à la main sous les titres */
.trait { display: block; width: clamp(120px, 16vw, 210px); height: auto; margin: -.15em 0 1.25rem; color: var(--green); overflow: visible; }
.trait path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.45, .05, .35, 1) .2s; }
.trait.is-drawn path { stroke-dashoffset: 0; }
.on-dark .trait, .section--dark .trait, .page-hero .trait { color: var(--cream); }
.manifesto .trait { color: var(--green); }
.center-head .trait, .cta-band .trait, .story .trait { margin-inline: auto; }
.story .trait { margin-top: .75rem; }

/* Braises qui montent dans la vidéo d'accueil */
.embers { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.embers i { position: absolute; bottom: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: #F0B65A; box-shadow: 0 0 6px 2px rgba(240, 150, 60, .5); opacity: 0; animation: ember var(--d) linear var(--delay) infinite; will-change: transform, opacity; }
@keyframes ember { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .9; } 70% { opacity: .45; } 100% { transform: translate(var(--dx), -75vh); opacity: 0; } }
@media (max-width: 600px) { .embers i:nth-child(n+10) { display: none; } }

/* Page Merci : le coq se dessine, « Merci ! » s'écrit */
.thanks .container, .lost .container { text-align: center; display: flex; flex-direction: column; align-items: center; }
.thanks p, .lost p { margin-inline: auto; }
.thanks .btn-row, .lost .btn-row { justify-content: center; }
.thanks__coq { width: clamp(170px, 26vw, 240px); height: auto; margin-bottom: 1rem; filter: drop-shadow(0 0 18px rgba(244, 238, 228, .12)); }
.thanks__word { width: min(100%, 420px); height: auto; margin-bottom: .5rem; overflow: visible; }
.thanks__word text { font-family: var(--display); font-size: 140px; letter-spacing: 2px; fill: rgba(244, 238, 228, 0); stroke: var(--cream); stroke-width: 1.4; stroke-dasharray: 900; stroke-dashoffset: 900; animation: write-word 1.5s cubic-bezier(.45, .05, .35, 1) .8s forwards, fill-word .5s ease-out 2.1s forwards; }
@keyframes write-word { to { stroke-dashoffset: 0; } }
@keyframes fill-word { to { fill: var(--cream); } }
.thanks h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* Page 404 : le coq traverse et cherche son chemin */
.lost__scene { position: relative; width: min(340px, 80vw); height: 84px; margin-bottom: 1.5rem; overflow: hidden; }
.lost__walker { position: absolute; left: 0; bottom: 12px; width: 100%; animation: lost-walk 9s ease-in-out infinite; }
.lost__coq { position: relative; display: block; width: 52px; animation: lost-face 9s steps(1) infinite; }
.lost__coq img { display: block; width: 52px; height: 60px; animation: cf-bob .32s infinite alternate ease-in-out; }
.lost__q { position: absolute; top: -6px; right: -10px; font-family: var(--display); font-size: 1.6rem; font-weight: 400; color: var(--cream); opacity: 0; animation: lost-q 9s infinite; }
.lost__ground { position: absolute; left: 0; bottom: 4px; width: 100%; height: 18px; color: var(--cream); }
.lost__ground path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: .6; }
@keyframes lost-walk { 0%, 6% { transform: translateX(0); } 38%, 56% { transform: translateX(calc(100% - 52px)); } 88%, 100% { transform: translateX(0); } }
@keyframes lost-face { 0% { transform: scaleX(1); } 44% { transform: scaleX(-1); } 50% { transform: scaleX(1); } 56% { transform: scaleX(-1); } 94% { transform: scaleX(1); } }
@keyframes lost-q { 0%, 38% { opacity: 0; } 42%, 54% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes cf-bob { to { transform: translateY(-2px) rotate(-3deg); } }

@media (prefers-reduced-motion: reduce) {
  .embers { display: none; }
  .trait path { stroke-dashoffset: 0; }
  .thanks__word text { animation: none; stroke-dashoffset: 0; fill: var(--cream); }
  .lost__walker, .lost__coq, .lost__coq img, .lost__q { animation: none; }
  .lost__q { opacity: 1; }
}

/* Flèche des cartes d'accueil, dessinée et centrée */
.hero-card__go::before { content: ""; width: 44%; height: 44%; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }

/* « Nos formules » : intitulé et onglets centrés */
.tabs__bar { text-align: center; }
.tabs__list { justify-content: safe center; }

/* Bloc Seignosse : carte à gauche, deux cartes d'action à droite */
.seignosse__actions { display: grid; gap: .75rem; margin-top: 1rem; }
@media (min-width: 900px) {
  .seignosse__inner { display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 24rem); justify-content: space-between; align-items: end; gap: 2rem; }
  .seignosse__actions { margin: 0; }
}
.action-tile { position: relative; display: flex; flex-direction: column; gap: .2rem; padding: 1.25rem 4.5rem 1.25rem 1.5rem; border-radius: calc(var(--radius) + 2px); border: 1px solid var(--line-dark); background: rgba(31, 74, 54, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-dark); text-decoration: none; transition: background-color .25s ease, border-color .25s ease, transform .25s ease; }
.action-tile:hover { border-color: var(--cream); transform: translateY(-2px); }
.action-tile--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.action-tile--light:hover { background: #fff; }
.action-tile__label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.action-tile__value { font-family: var(--display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1; }
.action-tile__go { position: absolute; right: 1.25rem; top: 50%; width: 2.6rem; height: 2.6rem; margin-top: -1.3rem; border-radius: 50%; background: var(--cream); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.action-tile--light .action-tile__go { background: var(--green); }
.action-tile__go::before { content: ""; position: absolute; inset: 0; margin: auto; width: 44%; height: 44%; background: var(--green); -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.action-tile--light .action-tile__go::before { background: var(--cream); }
.action-tile:hover .action-tile__go { transform: rotate(-45deg); }

/* ---------- Accueil mobile : glissé fluide et contenu essentiel ---------- */
.hero-cards { overscroll-behavior: contain; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; scroll-padding-inline: 0; }
.hero-card { scroll-snap-stop: normal; }
.mobile-proof, .mobile-proof__more { display: none; }
@media (max-width: 767px) {
  .desk-only { display: none !important; }
  .hero-video { min-height: calc(78svh - var(--header) - var(--mobile-bar)); }
  .hero-card { min-height: 21rem; }
  .formules { padding-top: var(--space-l); }
  .mobile-proof { display: block; text-align: center; margin-bottom: 1.5rem; }
  .mobile-proof p { max-width: 32ch; margin-inline: auto; }
  .mobile-proof__more { display: flex; justify-content: center; margin: 1.5rem 0 0; }
  .metrics { grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 0; }
  .metric { padding: .9rem .6rem; text-align: center; align-items: center; }
  .metric small { display: none; }
  .lieux__grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .lieu { padding: 1rem; }
  .lieu .ph, .lieu .media { display: none; }
  .lieu__head { flex-direction: column; gap: .25rem; }
  .lieu__meta { margin-bottom: 0; }
}

/* ---------- Photos et vidéos du client ---------- */
.media { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--cream-2); }
.on-dark .media, .section--dark .media { background: #2A5844; }
.media--43 { aspect-ratio: 4 / 3; } .media--169 { aspect-ratio: 16 / 9; } .media--34 { aspect-ratio: 3 / 4; } .media--11 { aspect-ratio: 1 / 1; } .media--45 { aspect-ratio: 4 / 5; }
.card .media { border-radius: 0; }
.hero-card__media .media { height: 100%; aspect-ratio: auto; border-radius: 0; }
@media (max-width: 899px) { .seignosse__bg { position: relative; } }
.seignosse__bg .media { height: 22rem; aspect-ratio: auto; border-radius: 0; }
.seignosse__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31, 74, 54, .55), rgba(31, 74, 54, .15) 60%, rgba(31, 74, 54, .45)); pointer-events: none; }
@media (min-width: 900px) { .seignosse__bg .media { height: 100%; } }
.lieu .media { margin-top: .25rem; }

/* Marchés : le jour en pastille, distinct du nom de la ville */
.lieu__head { align-items: flex-start; }
.lieu__day { display: inline-flex; align-items: center; flex: none; padding: .3rem .7rem; border-radius: 999px; background: var(--green); color: var(--cream) !important; font-family: var(--sans) !important; font-size: .75rem !important; font-weight: 600; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 767px) { .lieu__head h3 { font-size: 1.35rem; overflow-wrap: anywhere; } }

/* ---------- Avis clients (Google) ---------- */
.reviews { columns: 1; column-gap: 1.25rem; }
@media (min-width: 768px) { .reviews { columns: 2; } }
@media (min-width: 1100px) { .reviews { columns: 3; } }
.reviews--home { columns: 1; }
@media (min-width: 900px) { .reviews--home { columns: 3; } }
.review { break-inside: avoid; margin: 0 0 1.25rem; padding: 1.5rem; background: #FBF8F3; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px -22px rgba(20, 17, 15, .35); }
.review__stars { color: #C98A2E; font-size: 1.05rem; letter-spacing: .12em; line-height: 1; }
.review__text { margin: .9rem 0 1rem; color: var(--ink); }
.review__text p { margin: 0 0 .6em; }
.review__text p:last-child { margin: 0; }
.review__by { display: flex; flex-direction: column; gap: .1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.review__by span { font-size: .8125rem; color: var(--muted); }
.review-summary { font-weight: 600; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.review-note { font-size: .875rem; color: var(--muted); max-width: 46rem; }
.review-note a { color: var(--green); }
.home-reviews .center-head { margin-bottom: var(--space-m); }
.home-reviews .review-note { text-align: center; margin: .5rem auto 0; }
.reviews__all { display: flex; justify-content: center; margin: 1.5rem 0 0; }
.home-reviews h2 { color: var(--green-900); }
.review-summary a { color: inherit; text-decoration-color: var(--green); text-underline-offset: 3px; }
.review-summary__date { font-weight: 400; font-size: .8125rem; color: var(--muted); }
.home-reviews .review-summary { justify-content: center; }

/* ---------- SEO : fil d'Ariane, marchés, zone d'intervention ---------- */
.footer-giant::before { content: attr(data-text); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .9rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--on-dark-muted) !important; text-decoration: none; }
.breadcrumb a:hover { color: var(--on-dark) !important; text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--on-dark); }
.markets { display: grid; gap: .75rem; margin: 0 0 1.25rem; }
@media (min-width: 600px) { .markets { grid-template-columns: repeat(3, 1fr); } }
.market { padding: 1rem 1.1rem; background: #FBF8F3; border: 1px solid var(--line); border-radius: 14px; }
.market h3 { font-size: 1.35rem; margin: 0 0 .3rem; color: var(--green-900); }
.market p { margin: 0; font-size: .875rem; color: var(--muted); }
.zones { margin-bottom: 1.25rem; }
.zone { padding: 1.4rem; background: #FBF8F3; border: 1px solid var(--line); border-radius: var(--radius); }
.zone h3 { color: var(--green-900); margin-bottom: .5rem; }
.zone p { margin: 0; color: var(--muted); }
.mini-faq { max-width: 50rem; }

/* ---------- Questionnaire de devis traiteur ---------- */
.form__intro { color: var(--muted); margin: -.25rem 0 1.25rem; }
.devis-detail { display: grid; gap: 1.1rem; padding: 1.25rem; background: #FBF8F3; border: 1px solid var(--line); border-radius: var(--radius); }
.devis-detail[hidden] { display: none; }
.devis-detail__title { font-weight: 600; margin: 0; color: var(--green-900); }
.products { columns: 2; column-gap: 1.5rem; }
.products li { break-inside: avoid; }
@media (max-width: 420px) { .products { columns: 1; } }
