/* L'Atelier des Racines — style "carnet de recettes" */
:root {
  --paper: #F4EBDD;      /* fond papier */
  --paper-2: #EADDC6;    /* papier plus foncé */
  --card: #FFFDF8;       /* blanc cassé (polaroïds, cartes) */
  --ink: #3B2A1E;        /* encre brune (texte) */
  --muted: #6E5D4E;
  --green: #2F3B1F;      /* vert feuille (logo) */
  --green-2: #46572F;
  --terra: #A4462C;      /* terre cuite / piment */
  --terra-2: #E0956B;    /* terre cuite clair, sur fond vert */
  --curcuma: #E3B04B;
  --line: rgba(59, 42, 30, .16);
  --head: "Young Serif", Georgia, serif;
  --body: "Literata", Georgia, serif;
  --hand: "Kalam", "Comic Sans MS", cursive;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 56px);
  /* soulignement dessiné à la main */
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 30 2, 50 11, 80 6 S 140 3, 198 7' fill='none' stroke='%23A4462C' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17.5px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--curcuma); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; line-height: 1.08; margin: 0 0 .45em; color: var(--green); }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
/* mot mis en valeur : couleur + trait dessiné, pas d'italique */
h1 em, h2 em { font-style: normal; color: var(--terra); background: var(--squiggle) no-repeat left bottom / 100% .22em; padding-bottom: .08em; }
em { font-style: normal; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
/* petites notes manuscrites (remplacent les sur-titres en majuscules) */
.eyebrow { display: inline-block; font-family: var(--hand); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; color: var(--terra); transform: rotate(-2.5deg); transform-origin: left; margin-bottom: .6em; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--muted); max-width: 600px; }

/* ---------- inutilisés désormais (gardés neutres) ---------- */
.loader, .cursor, .curtain { display: none !important; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: transform .5s var(--ease), background .3s, box-shadow .3s; color: var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 20px; }
.site-header.solid { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.site-header.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 50px; height: 50px; border-radius: 50%; background: var(--card); }
.brand-name { font-family: var(--head); font-size: 1.3rem; line-height: 1; color: var(--green); }
.brand-name small { display: block; font-family: var(--hand); font-size: .95rem; color: var(--terra); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: .98rem; position: relative; padding: 4px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 7px; background: var(--squiggle) no-repeat center / 100% 100%; opacity: 0; transition: opacity .25s; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { opacity: 1; }
.nav a.btn { padding: 10px 18px; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; cursor: pointer; width: 44px; height: 44px; position: relative; z-index: 120; }
.menu-toggle i { position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle i:first-child { top: 17px; } .menu-toggle i:last-child { top: 26px; }
.menu-open .menu-toggle i:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle i:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons (ombre décalée, coins peu arrondis) ---------- */
.btn { --bg: var(--green); --fg: var(--card); --sh: var(--terra); display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 6px; background: var(--bg); color: var(--fg); text-decoration: none; font-family: var(--body); font-weight: 600; font-size: 1rem; border: 2px solid var(--bg); cursor: pointer; box-shadow: 4px 4px 0 var(--sh); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sh); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--sh); }
.btn .arrow { width: 18px; height: 18px; flex-shrink: 0; }
.btn-light { --bg: var(--card); --fg: var(--green); --sh: var(--curcuma); }
.btn-ghost { --bg: transparent; --fg: var(--green); --sh: transparent; border-color: var(--green); box-shadow: none; }
.btn-ghost:hover { box-shadow: 4px 4px 0 var(--green); }
.btn-wa { --bg: #1FA855; --fg: #fff; --sh: var(--green); }
.btn-sm { padding: 10px 18px; font-size: .92rem; box-shadow: 3px 3px 0 var(--sh); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

/* ---------- Hero (papier ligné + polaroïd) ---------- */
section.hero { padding: 0; }
.hero { position: relative; background: var(--paper) repeating-linear-gradient(transparent 0 33px, rgba(59,42,30,.09) 33px 34px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding-top: 130px; padding-bottom: clamp(60px, 8vw, 110px); min-height: min(92svh, 860px); }
.page-hero .hero-grid { min-height: 0; }
.page-hero.short .hero-grid { padding-bottom: 50px; grid-template-columns: 1.3fr .7fr; }
.hero h1 { max-width: 14ch; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); max-width: 18ch; }
.hero-photo { justify-self: center; width: min(100%, 420px); }
.page-hero.short .hero-photo { width: min(100%, 300px); }
.crumb { font-size: .9rem; margin-bottom: 18px; color: var(--muted); }
.crumb a { color: var(--muted); }

/* polaroïd */
.polaroid { position: relative; margin: 0; background: var(--card); padding: 12px 12px 16px; box-shadow: 0 18px 36px -18px rgba(59,42,30,.55), 0 2px 4px rgba(59,42,30,.08); transform: rotate(2.5deg); }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid figcaption { font-family: var(--hand); font-size: 1.35rem; text-align: center; margin-top: 8px; color: var(--ink); line-height: 1.2; }
.tape { position: absolute; z-index: 2; top: -15px; left: 50%; width: 110px; height: 30px; margin-left: -55px; background: rgba(233, 205, 128, .7); transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(0,0,0,.06); }

/* animation d'entrée du hero (CSS pur) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; }
.js .split:not(.done) .w > span { transform: translateY(110%); }
.js .hero .split .w > span { transform: translateY(110%); }
.go .hero .split .w > span { animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 50ms + 60ms); }
.js .hero [data-hero] { opacity: 0; transform: translateY(18px); }
.go .hero [data-hero] { animation: fadeup .9s var(--ease) forwards; animation-delay: .3s; }
.go .hero .hero-photo[data-hero] { animation-delay: .15s; }
@keyframes rise { to { transform: none; } }
@keyframes fadeup { to { opacity: 1; transform: none; } }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(30px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease); }
/* polaroïds : simple fondu pour garder leur inclinaison */
.js [data-clip] { opacity: 0; }
.js [data-clip].in { opacity: 1; transition: opacity .9s var(--ease); }

/* ---------- Bandeau des plats ---------- */
.marquee { overflow: hidden; background: var(--green); color: var(--card); padding: 18px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 45s linear infinite; }
.marquee span { font-family: var(--hand); font-size: clamp(1.4rem, 2.6vw, 2rem); padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.marquee span::after { content: "~"; color: var(--curcuma); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.alt { background: var(--paper-2); color: var(--green); }
.marquee.alt span::after { color: var(--terra); }

/* ---------- Sections ---------- */
section { position: relative; padding: clamp(70px, 10vw, 130px) 0; }
.bg-paper { background: var(--paper-2); }
.bg-green { background: var(--green); color: var(--paper); }
.bg-green h2, .bg-green h3 { color: var(--card); }
.bg-green .eyebrow { color: var(--curcuma); }
.bg-green h2 em { color: var(--terra-2); }
.bg-green .lead { color: rgba(244,235,221,.78); }

/* manifeste */
.manifesto p { font-family: var(--head); font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.25; color: var(--green); margin: 0; }
.manifesto .mw { opacity: .18; transition: opacity .2s; }
.reduce .manifesto .mw { opacity: 1; }
.manifesto .sign { margin-top: 30px; color: var(--muted); }
.manifesto .sign b { font-family: var(--hand); font-size: 1.6rem; color: var(--terra); font-weight: 400; margin-right: 8px; }

/* prestations : polaroïds */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.service { display: block; text-decoration: none; color: var(--ink); background: var(--card); padding: 12px 12px 22px; box-shadow: 0 18px 36px -20px rgba(59,42,30,.55); transition: transform .45s var(--ease), box-shadow .45s; }
.service:nth-child(1) { transform: rotate(-1.6deg); }
.service:nth-child(2) { transform: rotate(1.2deg) translateY(14px); }
.service:nth-child(3) { transform: rotate(-.8deg); }
.service:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 26px 44px -20px rgba(59,42,30,.6); }
.service img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; }
.service-body { padding: 16px 8px 0; }
.service h3 { margin-bottom: .25em; }
.service p { color: var(--muted); margin: 0 0 12px; font-size: .98rem; }
.service-body::after { content: "voir la page →"; font-family: var(--hand); font-size: 1.15rem; color: var(--terra); }
.service-num, .service .go { display: none; }

/* image + texte */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.media-frame { position: relative; background: var(--card); padding: 12px 12px 54px; box-shadow: 0 18px 36px -18px rgba(59,42,30,.55); transform: rotate(-2deg); }
.media-frame img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.media-badge { position: absolute; left: 18px; right: 45%; bottom: 12px; text-align: left; font-family: var(--hand); font-size: 1.4rem; color: var(--ink); }
.stack { position: relative; padding: 10px 6% 40px 0; }
.stack .small { position: absolute; width: 44%; right: -2%; bottom: -4%; background: var(--card); padding: 8px 8px 30px; box-shadow: 0 14px 28px -14px rgba(59,42,30,.55); transform: rotate(5deg); z-index: 3; }
.stack .small img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* frise */
.timeline { list-style: none; padding: 0; margin: 34px 0 0; border-left: 2px dashed rgba(164,70,44,.45); }
.timeline li { position: relative; padding: 0 0 24px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--terra); }
.timeline b { display: block; font-family: var(--head); font-weight: 400; font-size: 1.3rem; color: var(--green); }
.timeline span { color: var(--muted); }

/* toute l'île */
.island { background: var(--green); color: var(--paper); }
.island h2 { color: var(--card); }
.island h2 em { color: var(--terra-2); }
.island .lead { color: rgba(244,235,221,.78); }
.island .eyebrow { color: var(--curcuma); }
.island-head { max-width: 760px; margin-bottom: 40px; }
.regions { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 20px; align-items: start; }
.region { border: 1px dashed rgba(244,235,221,.3); border-radius: 8px; padding: 20px 20px 22px; }
.region h3 { color: var(--curcuma); font-size: 1.3rem; margin: 0 0 12px; }
.region ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; color: rgba(244,235,221,.92); font-size: 1rem; }
.region .base { font-family: var(--hand); color: var(--terra-2); }
.island .btn-row { margin-top: 36px; }
.btn-light { background: var(--paper); color: var(--green); }
@media (max-width: 1000px) {
  .regions { grid-template-columns: 1fr 1fr; gap: 14px; }
  .region { padding: 16px 16px 18px; }
}
@media (max-width: 560px) { .regions { grid-template-columns: 1fr; } }

/* menu */
.dish-list { list-style: none; padding: 0; margin: 0; }
.dish-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px dashed rgba(59,42,30,.28); }
.dish-list .dn { font-family: var(--head); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.1; color: var(--green); white-space: nowrap; }
.dish-list li::before { content: ""; order: 1; flex: 1; border-bottom: 2px dotted rgba(59,42,30,.25); transform: translateY(-6px); min-width: 20px; }
.dish-list .dd { order: 2; color: var(--muted); font-family: var(--hand); font-size: 1.2rem; text-align: right; }
.dish-list li:hover .dn { color: var(--terra); }
.dish-preview { position: fixed; top: 0; left: 0; width: 240px; pointer-events: none; z-index: 80; opacity: 0; background: var(--card); padding: 8px 8px 24px; box-shadow: 0 16px 32px -14px rgba(59,42,30,.6); transform: rotate(3deg) scale(.9); transition: opacity .3s, transform .4s var(--ease); }
.dish-preview.on { opacity: 1; transform: rotate(3deg) scale(1); }
.dish-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.stats { display: none; }

/* étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { padding-top: 6px; }
.step-n { font-family: var(--hand); font-size: 3.4rem; line-height: 1; color: var(--curcuma); display: block; margin-bottom: 10px; }
.step p { color: rgba(244,235,221,.78); }

/* communes */
.communes { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 30px; padding: 0; list-style: none; }
.communes li { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 7px 14px; font-size: .92rem; box-shadow: 2px 2px 0 rgba(59,42,30,.08); }
.communes li:nth-child(3n) { transform: rotate(-1deg); } .communes li:nth-child(4n) { transform: rotate(1deg); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); }
.faq details { border-bottom: 1px dashed rgba(59,42,30,.3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; font-family: var(--head); font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; font-style: normal; font-family: var(--hand); font-size: 1.8rem; line-height: 1; color: var(--terra); transition: transform .35s var(--ease); }
.faq summary i::before { content: "+"; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .ans { overflow: hidden; }
.faq .ans p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 620px; }

/* appel à l'action final */
.cta-giant { background: var(--green); color: var(--paper); text-align: center; }
.cta-giant h2 { color: var(--card); font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1; }
.cta-giant h2 em { color: var(--terra-2); }
.cta-giant .eyebrow { color: var(--curcuma); transform-origin: center; }
.cta-giant .btn-row { justify-content: center; }
.cta-giant .lead { margin: 0 auto; color: rgba(244,235,221,.78); }
.cta-giant .btn-ghost { --fg: var(--card); border-color: var(--card); }
.cta-giant .btn-ghost:hover { box-shadow: 4px 4px 0 var(--curcuma); }

/* contenu */
.prose h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: 1.3em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.06rem; }
.prose .big { font-family: var(--head); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; color: var(--green); }
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 30px 0; }
.offer { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 26px; box-shadow: 4px 4px 0 rgba(59,42,30,.08); }
.offer h3 { margin-bottom: .3em; }
.offer p { margin: 0; color: var(--muted); font-size: 1rem; }
.offer .tag { font-family: var(--hand); font-size: 1.2rem; color: var(--terra); display: block; margin-bottom: 4px; }
.quote-block { font-family: var(--hand); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.3; color: var(--terra); text-align: center; margin: 56px 0; transform: rotate(-1.5deg); }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.strip figure { margin: 0; background: var(--card); padding: 10px 10px 28px; box-shadow: 0 16px 30px -16px rgba(59,42,30,.55); }
.strip figure:nth-child(1) { transform: rotate(-2deg); } .strip figure:nth-child(2) { transform: rotate(1.5deg) translateY(20px); } .strip figure:nth-child(3) { transform: rotate(-.5deg); }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* formulaire */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px; background: var(--card); padding: clamp(20px, 3vw, 34px); border-radius: 4px; box-shadow: 0 18px 36px -24px rgba(59,42,30,.5); }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--hand); font-size: 1.15rem; color: var(--terra); margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 2px solid rgba(59,42,30,.25); background: transparent; padding: 8px 0 10px; font: inherit; font-size: 1.08rem; color: var(--ink); border-radius: 0; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra); }
.field textarea { min-height: 100px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { margin: 0; font-family: var(--body); font-size: .98rem; color: var(--ink); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 4px; border: 2px solid rgba(59,42,30,.2); cursor: pointer; background: var(--paper); transition: all .2s; }
.chips input:checked + span { background: var(--green); color: var(--card); border-color: var(--green); box-shadow: 3px 3px 0 var(--terra); }
.chips input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 4px; background: var(--card); border: 1px solid var(--line); text-decoration: none; box-shadow: 4px 4px 0 rgba(59,42,30,.08); transition: transform .2s var(--ease); }
.contact-card:hover { transform: translate(-2px, -2px); }
.contact-card i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--card); flex-shrink: 0; }
.contact-card i svg { width: 22px; height: 22px; fill: currentColor; }
.contact-card b { display: block; font-family: var(--head); font-weight: 400; font-size: 1.35rem; color: var(--green); line-height: 1.15; }
.contact-card span { color: var(--muted); font-size: .92rem; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 30px; list-style: none; padding: 0; counter-reset: h; }
.how li { counter-increment: h; position: relative; padding: 4px 0 4px 44px; font-size: .95rem; line-height: 1.4; color: var(--muted); }
.how li::before { content: counter(h) "."; position: absolute; left: 0; top: -6px; font-family: var(--hand); font-size: 2.2rem; color: var(--terra); }
.how b { display: block; color: var(--green); font-family: var(--head); font-weight: 400; font-size: 1.15rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn-sms { --bg: transparent; --fg: var(--green); --sh: transparent; border-color: rgba(47,59,31,.4); box-shadow: none; font-weight: 400; }
.done-box { grid-column: 1 / -1; background: #E9F2E2; border: 2px dashed #6E9B5A; border-radius: 4px; padding: 16px 18px; color: #24461E; }
.done-box b { display: block; }

/* guides */
.art-meta { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.tldr { background: var(--card); border-radius: 4px; padding: 22px 26px; margin: 0 0 36px; box-shadow: 4px 4px 0 rgba(164,70,44,.25); border: 1px solid var(--line); }
.tldr b.t { display: block; font-family: var(--hand); font-size: 1.4rem; color: var(--terra); font-weight: 400; margin-bottom: 6px; }
.tldr ul { margin: 0; padding-left: 1.1em; }
.tldr li { margin-bottom: 6px; }
.toc { list-style: none; padding: 0; margin: 0 0 46px; }
.toc li { border-bottom: 1px dashed rgba(59,42,30,.28); }
.toc a { display: flex; justify-content: space-between; padding: 10px 0; text-decoration: none; color: var(--green); }
.toc a::after { content: "↓"; color: var(--terra); }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.table-wrap { overflow-x: auto; margin: 24px 0; background: var(--card); border: 1px solid var(--line); border-radius: 4px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 460px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px dashed rgba(59,42,30,.22); vertical-align: top; }
.prose th { font-family: var(--hand); font-weight: 400; font-size: 1.1rem; color: var(--terra); background: var(--paper); }
.prose tr:last-child td { border-bottom: 0; }
.prose .note { font-size: .9rem; color: var(--muted); }
.inline-cta { background: var(--green); color: var(--paper); border-radius: 4px; padding: 28px; margin: 40px 0; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; box-shadow: 6px 6px 0 var(--terra); }
.inline-cta p { color: rgba(244,235,221,.85) !important; margin: 0; max-width: 440px; }
.inline-cta b { display: block; font-family: var(--head); font-weight: 400; font-size: 1.5rem; color: var(--card); margin-bottom: 4px; }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.guide { display: flex; flex-direction: column; text-decoration: none; background: var(--card); padding: 10px 10px 18px; box-shadow: 0 16px 30px -18px rgba(59,42,30,.55); transition: transform .35s var(--ease); }
.guide:nth-child(odd) { transform: rotate(-1deg); } .guide:nth-child(even) { transform: rotate(1deg); }
.guide:hover { transform: rotate(0) translateY(-5px); }
.guide figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.guide figure img { width: 100%; height: 100%; object-fit: cover; }
.guide div { padding: 16px 8px 0; }
.guide .tag { font-family: var(--hand); font-size: 1.15rem; color: var(--terra); }
.guide h3 { font-size: 1.4rem; margin: 4px 0 8px; }
.guide p { color: var(--muted); margin: 0; font-size: .95rem; }

/* footer */
.site-footer { background: #26301A; color: rgba(244,235,221,.72); padding: 80px 0 28px; font-size: .95rem; }
.site-footer a { text-decoration: none; color: var(--paper); }
.site-footer a:hover { color: var(--curcuma); }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { width: 110px; border-radius: 50%; background: var(--card); margin-bottom: 18px; }
.site-footer h4 { color: var(--curcuma); font-family: var(--hand); font-weight: 400; font-size: 1.35rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.foot-word { font-family: var(--hand); font-size: clamp(1.6rem, 3.4vw, 2.6rem); color: var(--terra-2); margin: 54px 0 18px; transform: rotate(-2deg); transform-origin: left; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; border-top: 1px dashed rgba(244,235,221,.2); padding-top: 20px; }

/* WhatsApp flottant (ordinateur) */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 95; width: 58px; height: 58px; border-radius: 50%; background: #1FA855; display: grid; place-items: center; box-shadow: 3px 3px 0 var(--green); transition: transform .2s; }
.wa-float:hover { transform: translate(-2px, -2px); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* barre de contact mobile */
.mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .services, .guides { grid-template-columns: 1fr; gap: 30px; }
  .service:nth-child(2) { transform: rotate(1.2deg); }
  .split-grid, .faq-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:nth-child(3) { display: none; }
  .dish-preview { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 104px; min-height: 0; gap: 34px; }
  .page-hero.short .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { width: min(72%, 320px); }
  .page-hero .hero-photo { display: none; }
  .stack { max-width: 520px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0; background: var(--green); color: var(--paper); flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 var(--gutter); gap: 14px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; z-index: 110; }
  .nav a:not(.btn) { font-family: var(--head); font-size: 2.1rem; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .site-header { color: var(--paper); background: transparent; box-shadow: none; }
  .menu-open .brand-name { color: var(--paper); }
  .nav .btn { margin-top: 18px; --bg: var(--card); --fg: var(--green); --sh: var(--curcuma); padding: 15px 24px; font-size: 1rem; }
  .form { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .dish-list li::before { display: none; }
  .dish-list li { flex-direction: column; gap: 2px; }
  .dish-list .dd { text-align: left; }
  .brand-name { font-size: 1.12rem; }
  .brand img { width: 42px; height: 42px; }
  .site-header .wrap { height: 70px; }
}
/* Téléphones et tablettes : contact toujours visible */
@media (max-width: 1000px), (hover: none) {
  .site-header.solid { background: var(--paper); }
  .marquee-track { animation-duration: 32s; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 96; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.18); }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 6px; text-decoration: none; font-size: .8rem; font-weight: 600; color: var(--green); background: var(--card); border: 1px solid var(--line); -webkit-tap-highlight-color: transparent; }
  .mbar a:active { transform: scale(.97); }
  .mbar svg { width: 20px; height: 20px; fill: currentColor; }
  .mbar .wa { color: #fff; background: #1FA855; border-color: #1FA855; }
  .mbar .main { background: var(--green); color: var(--card); border-color: var(--green); font-size: .98rem; flex-direction: row; gap: 8px; box-shadow: 3px 3px 0 var(--terra); }
  .wa-float { display: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .how { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .foot-top { grid-template-columns: 1fr; }
  .btn { padding: 14px 20px; }
  .services { gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .split .w > span, .js .hero [data-hero] { opacity: 1 !important; transform: none !important; }
  .js [data-clip] { opacity: 1 !important; }
}

/* ---------- Vidéos tournées en cuisine ---------- */
video.loop { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); }
.strip video.loop { aspect-ratio: 1; }
.kitchen { background: var(--paper); }
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: start; margin-top: 10px; }
.reels .polaroid:nth-child(1) { transform: rotate(-2.5deg); }
.reels .polaroid:nth-child(2) { transform: rotate(1.8deg) translateY(26px); }
.reels .polaroid:nth-child(3) { transform: rotate(-1deg); }
.reels .polaroid:nth-child(4) { transform: rotate(2.4deg) translateY(18px); }
@media (max-width: 1000px) {
  .reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding: 10px 16px 34px; margin: 0 -16px; scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reels .polaroid { flex: 0 0 68%; scroll-snap-align: center; }
  .reels .polaroid:nth-child(odd) { transform: rotate(-1.5deg); }
  .reels .polaroid:nth-child(even) { transform: rotate(1.5deg); }
}
.media-frame video.loop { aspect-ratio: 4 / 4.6; }

/* ---------- Téléphone : animations légères ---------- */
@media (max-width: 1000px), (hover: none) {
  .js .split:not(.done) .w > span { transform: translateY(110%); }
  .js .split .w > span { transition: transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 35ms); }
  .js [data-reveal] { transform: translateY(18px); }
  .js [data-reveal].in { transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .manifesto .mw { opacity: 1; }
}

/* Bouton ▶ si la lecture automatique est bloquée par le téléphone */
.vplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; border: 0; background: rgba(255,253,248,.92); color: var(--terra); display: grid; place-items: center; box-shadow: 0 8px 22px -8px rgba(0,0,0,.5); cursor: pointer; z-index: 2; }
.vplay[hidden] { display: none; }
.vplay svg { margin-left: 3px; }
img.vanim { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.strip img.vanim { aspect-ratio: 1; }
.media-frame img.vanim { aspect-ratio: 4 / 4.6; }

/* ---------- Bandeau cookies ---------- */
.cookie-box { position: fixed; left: 20px; bottom: 20px; z-index: 120; width: min(400px, calc(100% - 40px)); background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; box-shadow: 5px 5px 0 var(--green); padding: 18px 18px 16px; font-size: .92rem; line-height: 1.5; }
.cookie-box p { margin: 0 0 14px; }
.cookie-box b { display: block; font-family: var(--head); font-weight: 400; font-size: 1.1rem; margin-bottom: 4px; color: var(--green); }
.cookie-box a { color: var(--terra); }
.cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-btns .btn { justify-content: center; padding: 12px 14px; font-size: .95rem; box-shadow: none; }
.cookie-btns .btn:not(.btn-ghost) { box-shadow: 3px 3px 0 var(--terra); }
.foot-bottom a[data-cookie-settings] { white-space: nowrap; }
@media (max-width: 1000px), (hover: none) {
  .cookie-box { left: 12px; right: 12px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom)); }
}
