/* ═══════════════════════════════════════════════════════════════
   Mon Cochon ça va envoyer du pâté
   Artisan charcutier à l'ancienne & traiteur brasero / broche
   style.css · Code & Loïc
═══════════════════════════════════════════════════════════════ */

/* ── Polices auto-hébergées (pas d'appel à Google = RGPD + rapidité) ── */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-opsz.woff2") format("woff2-variations"), url("../fonts/fraunces-opsz.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-opsz-italic.woff2") format("woff2-variations"), url("../fonts/fraunces-opsz-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2-variations"), url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2-variations"), url("../fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}

/* ── Variables ── */
:root {
  --paper: #f3ebdd;
  --paper-2: #e9dcc5;
  --paper-3: #dccbac;
  --ink: #1c1714;
  --ink-2: #2a221d;
  --ink-soft: #5b4d42;
  --wine: #7a1f2b;
  --wine-dark: #5e1620;
  --ember: #d2591f;
  --ember-light: #f08a4b;
  --cream: #f6efe3;
  --line: rgba(28, 23, 20, .18);
  --line-light: rgba(246, 239, 227, .2);
  --bleu: #2b4a8b; --rouge: #b3262f;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(28,23,20,.08), 0 8px 28px rgba(28,23,20,.10);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.22 0 0 0 0 0.12 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ember); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .6em; font-variation-settings: "opsz" 72; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--wine); }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }
::selection { background: var(--wine); color: var(--cream); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: var(--cream); padding: .6rem 1rem; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Jetons d'infos à compléter (finaliser.py) : bien visibles tant qu'ils existent */
.todo { background: #ffe9a8; color: #5a3b00; padding: 0 .25em; border-radius: 2px; }

/* ── Typo utilitaires ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ember);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.25rem); max-width: 18ch; }
.section-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .section-title, .center .section-lead { margin-inline: auto; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Double filet façon étiquette gravée */
.rule { border: 0; height: 6px; margin: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); opacity: .85; }

/* ── Boutons ── */
.btn {
  --bg: var(--wine); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border: 1.5px solid var(--bg); border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  font: 700 .95rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { --bg: var(--ember); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--fg); border-color: currentColor; }
.btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--ink { --bg: var(--ink); }
.btn--lg { padding: 1.1em 1.9em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.link-arrow { display: inline-block; padding: .55rem 0; font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: .25em; }

/* ═══ HEADER ═══ */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--cream);
  transition: background .3s, box-shadow .3s, color .3s;
}
.header.is-solid, .header--solid { background: rgba(243, 235, 221, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(6px); }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; }
.brand__mark { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); padding: 3px; flex: none; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1; font-variation-settings: "opsz" 40; display: block; }
.brand__tag { display: block; font-family: var(--serif); font-style: italic; font-size: .82rem; opacity: .85; margin-top: .2rem; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__link { display: block; padding: .55rem .7rem; color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: var(--radius); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ember); }
.nav__cta { margin-left: .5rem; padding: .8em 1.15em; font-size: .82rem; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1020px) {
  .burger { display: block; }
  .nav__list {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch;
    background: var(--paper); color: var(--ink); padding: 1rem var(--gutter) 1.5rem; gap: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,.18); border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav__list.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: .9rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__cta { margin: 1rem 0 0; width: 100%; padding: 1.1em; font-size: .9rem; }
}
@media (max-width: 420px) { .brand__tag { display: none; } .brand__mark { width: 40px; height: 40px; } }

/* ═══ HERO ═══ */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; color: var(--cream); background: var(--ink); isolation: isolate; overflow: hidden; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,15,12,.88) 0%, rgba(20,15,12,.62) 45%, rgba(20,15,12,.15) 100%),
              linear-gradient(0deg, rgba(20,15,12,.85) 0%, rgba(20,15,12,0) 45%); }
.hero__inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3rem, 8vh, 6rem); width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.hero .eyebrow { color: var(--ember-light); }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); max-width: 15ch; margin-bottom: .45em; font-variation-settings: "opsz" 144; }
.hero h1 em { color: var(--ember-light); }
.hero__lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); max-width: 54ch; opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; font-size: .92rem; font-weight: 600; }
.hero__badges li { display: flex; align-items: center; gap: .5rem; }
.hero__badges li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--ember-light); }
.hero__stamp { width: clamp(150px, 16vw, 210px); opacity: .95; transform: rotate(-6deg); filter: drop-shadow(0 6px 18px rgba(0,0,0,.5)); }
@media (max-width: 760px) { .hero__stamp { display: none; } .hero__inner { grid-template-columns: 1fr; } }

/* Hero de page intérieure */
.page-hero { position: relative; color: var(--cream); background: var(--ink); isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(3rem, 9vw, 7rem)) 0 clamp(3rem, 7vw, 5rem); }
.page-hero__img { position: absolute; inset: 0; z-index: -2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,15,12,.9), rgba(20,15,12,.55) 60%, rgba(20,15,12,.3)); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); max-width: 18ch; }
.page-hero h1 em { color: var(--ember-light); }
.page-hero .eyebrow { color: var(--ember-light); }
.page-hero p { max-width: 60ch; font-size: 1.15rem; opacity: .92; }
.breadcrumb { font-size: .85rem; margin-bottom: 1.4rem; opacity: .85; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; opacity: .7; }
.breadcrumb a { color: inherit; }

/* ═══ BANDEAU ATOUTS ═══ */
.strip { background: var(--wine); color: var(--cream); }
.strip ul { list-style: none; margin: 0; padding: 1.1rem 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 0; text-align: center; }
.strip li { flex: 1 1 0; min-width: 0; }
.strip li { font-family: var(--serif); font-size: 1.05rem; font-style: italic; }
.strip strong { display: block; font-style: normal; font-family: var(--sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; opacity: .75; margin-bottom: .15rem; }
@media (max-width: 760px) { .strip li { flex: 0 0 50%; } .strip ul { row-gap: 1.2rem; } }

/* ═══ SECTIONS ═══ */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tint { background-color: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark .section-lead, .section--dark p { color: rgba(246,239,227,.82); }
.section--dark h2 em, .section--dark h3 em { color: var(--ember-light); }
.section--dark a:not(.btn) { color: var(--ember-light); }
.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }

/* Présentation */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__media { position: relative; margin: 0; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__media figcaption { position: absolute; right: -14px; bottom: 26px; background: var(--paper); border: 1px solid var(--ink); padding: .9rem 1.1rem; font-family: var(--serif); font-style: italic; box-shadow: var(--shadow); max-width: 220px; line-height: 1.3; }
.about__media figcaption strong { display: block; font-style: normal; font-size: 2rem; color: var(--wine); line-height: 1; }
.about__list { list-style: none; padding: 0; margin: 1.8rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.6rem; }
.about__list li { border-top: 1px solid var(--line); padding-top: .8rem; }
.about__list h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.about__list p { font-size: .96rem; color: var(--ink-soft); margin: 0; }
.flag { display: inline-block; width: 1.4em; height: .9em; vertical-align: -.05em; margin-right: .35em; background: linear-gradient(90deg, var(--bleu) 33.3%, #fff 33.3% 66.6%, var(--rouge) 66.6%); border: 1px solid var(--line); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__media figcaption { right: 10px; } }
@media (max-width: 520px) { .about__list { grid-template-columns: 1fr; } }

/* Cartes prestations */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.75rem); }
.card { position: relative; display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4/3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); margin-bottom: .45rem; }
.card h3 { font-size: 1.45rem; margin-bottom: .45rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; } /* carte entièrement cliquable */
.card p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.card p.card__kicker { flex: none; color: var(--ember); }
.card .link-arrow { color: var(--wine); margin-top: .4rem; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Brasero / broche */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.duo__item { position: relative; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.duo__item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.duo__body { padding: clamp(1.4rem, 3vw, 2.2rem); }
.duo__body h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.duo__body ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.duo__body li { padding: .45rem 0 .45rem 1.4rem; border-bottom: 1px solid var(--line-light); position: relative; color: rgba(246,239,227,.86); }
.duo__body li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--ember); }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.8rem; font-weight: 300; font-style: italic; color: var(--wine); line-height: 1; margin-bottom: .6rem; }
.steps h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.steps p { font-size: .97rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Marchés */
.markets { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.market-board { background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); position: relative; }
.market-board::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line-light); border-radius: 2px; pointer-events: none; }
.market-board h3 { font-size: 1.6rem; color: var(--cream); }
.market { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.1rem; padding: 1rem 0; border-top: 1px dashed var(--line-light); }
.market__day { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--ember-light); grid-row: span 2; min-width: 6.2ch; line-height: 1.1; }
.market__place { font-weight: 700; }
.market__time { color: rgba(246,239,227,.75); font-size: .95rem; }
.market-board p { color: rgba(246,239,227,.75); font-size: .92rem; margin: 1rem 0 0; }
.markets__products { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.markets__products li { border: 1px solid var(--ink); border-radius: 999px; padding: .3rem .9rem; font-size: .92rem; font-weight: 600; }
@media (max-width: 860px) { .markets { grid-template-columns: 1fr; } }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: .75rem; grid-auto-flow: dense; }
.gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); cursor: zoom-in; border: 0; padding: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.05); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15,11,9,.94); color: var(--cream); }
.lightbox::backdrop { background: rgba(15,11,9,.9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 86dvh; display: grid; gap: .8rem; justify-items: center; }
.lightbox img { max-width: 92vw; max-height: 78dvh; object-fit: contain; border-radius: 2px; }
.lightbox figcaption { font-family: var(--serif); font-style: italic; text-align: center; max-width: 60ch; padding-inline: 1rem; }
.lightbox button { position: absolute; background: rgba(246,239,227,.1); color: var(--cream); border: 1px solid var(--line-light); width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: var(--ember); border-color: var(--ember); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; } }

/* Contenu éditorial (pages prestations) */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul li { margin-bottom: .4em; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.split__aside img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__aside { position: static; grid-template-columns: 1fr 1fr; } }
.callout { background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--wine); padding: 1.2rem 1.4rem; border-radius: var(--radius); margin: 1.8rem 0; }
.callout p:last-child { margin: 0; }

/* Fiche en bref (GEO : faits clés lisibles par les moteurs IA) */
.facts { display: grid; grid-template-columns: max-content 1fr; margin: 0; border-top: 2px solid var(--ink); }
.facts dt, .facts dd { padding: .8rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-weight: 700; padding-right: 1.5rem; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; } }

/* ═══ DEVIS ═══ */
.quote { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.quote__aside { background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); }
.quote__aside h3 { font-size: 1.7rem; color: var(--cream); }
.quote__aside p { color: rgba(246,239,227,.8); }
.quote__aside .btn { margin-bottom: .7rem; }
.btn--wa { --bg: #1f7a4a; }
.reassure { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .55rem; font-size: .95rem; }
.reassure li { display: flex; gap: .6rem; align-items: baseline; }
.reassure li::before { content: "✓"; color: var(--ember-light); font-weight: 700; }
.form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } .quote { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.05rem; }
.field label, .field legend { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.field .req { color: var(--wine); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fffdf8; border: 1px solid #c9b89c; border-radius: var(--radius); padding: .75rem .85rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(122,31,43,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3262f; }
.field__error { display: block; color: #b3262f; font-size: .85rem; margin-top: .3rem; min-height: 1em; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .65rem 1rem; border: 1px solid #c9b89c; border-radius: 999px; font-size: .92rem; font-weight: 600; background: #fffdf8; transition: .15s; }
.chip input:checked + span { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.chip input:focus-visible + span { outline: 3px solid var(--ember); outline-offset: 2px; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); margin: .4rem 0 1.2rem; }
.consent input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--wine); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .85rem; color: var(--ink-soft); text-align: center; margin: .9rem 0 0; }
.form__status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius); font-weight: 600; }
.form__status--err { background: #f8dcdc; color: #7d1219; }
.form-success { text-align: center; padding: 2.5rem 1rem; }
.form-success h3 { font-size: 1.8rem; }

/* ═══ FAQ ═══ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; font-weight: 300; color: var(--wine); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--wine); }
.faq .faq__a { padding: 0 0 1.3rem; color: var(--ink-soft); max-width: 70ch; }
.faq .faq__a p:last-child { margin: 0; }

/* ═══ CONTACT ═══ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact__list { list-style: none; padding: 0; margin: 0; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact__list span:first-child { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-top: .2rem; }
.contact__list a { font-weight: 700; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }

/* Bandeau CTA */
.cta-band { background: var(--wine); color: var(--cream); text-align: center; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 22ch; margin-inline: auto; }
.cta-band h2 em { color: #ffd2b3; }
.cta-band p { max-width: 56ch; margin-inline: auto; opacity: .9; }
.cta-band .btn { --bg: var(--cream); --fg: var(--wine); }
.cta-band .btn:hover { --bg: var(--ink); color: var(--cream); }
.cta-band .btn--ghost { --fg: var(--cream); background: transparent; }

/* ═══ FOOTER ═══ */
.footer { background: var(--ink); color: rgba(246,239,227,.78); font-size: .95rem; padding-top: clamp(3rem, 7vw, 5rem); }
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { color: var(--ember-light); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 2rem; padding-bottom: 3rem; }
.footer__logo { width: 140px; margin-bottom: 1rem; }
.footer h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ember-light); margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer address { font-style: normal; display: grid; gap: .45rem; }
.footer__bottom { border-top: 1px solid var(--line-light); padding-block: 1.3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; font-size: .85rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Barre d'action mobile */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 90; background: var(--ink); box-shadow: 0 -6px 20px rgba(0,0,0,.25); padding: .5rem; gap: .5rem; padding-bottom: calc(.5rem + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .3s; }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { padding: .95em .5em; font-size: .85rem; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: 76px; }
}

/* ═══ Apparition au scroll ═══ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Pages légales / 404 */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2rem; padding-left: .8rem; border-left: 3px solid var(--wine); }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.notfound img { width: 180px; margin: 0 auto 1.5rem; }

@media print {
  .header, .mobile-bar, .footer, .hero__actions, .quote { display: none !important; }
  body { background: #fff; }
}

/* Macaron cochon fermier sur la photo de présentation */
.about__media .about__badge { position: absolute; aspect-ratio: auto; border-radius: 0; box-shadow: none; top: -26px; left: -26px; width: clamp(96px, 12vw, 140px); height: auto; transform: rotate(-10deg); filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
@media (max-width: 860px) { .about__media .about__badge { left: 8px; top: -18px; } }

/* Mobile : les textes longs sans espace (email, liens) ne doivent jamais élargir la page */
.contact > *, .about > *, .markets > *, .quote > *, .split > *, .duo > *, .footer__grid > * { min-width: 0; }
.contact__list a, .contact__list span, .facts dd, .footer address a, .legal a { overflow-wrap: anywhere; }
@media (max-width: 520px) { .contact__list li { grid-template-columns: 1fr; gap: .2rem; } }

/* iPhone / iPad (WebKit iOS) : sans appearance:none, iOS impose une largeur plancher et repasse le champ date
   en box-sizing:content-box, donc padding + bordure s'ajoutent aux 100 % et le champ déborde. */
.field input[type="date"], .field input[type="time"] {
  -webkit-appearance: none; appearance: none;
  box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%;
  text-align: left; min-height: 3.275rem; line-height: 1.3;
}
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; min-height: 1.3em; }
/* Les colonnes du formulaire ne doivent jamais s'élargir à cause d'un champ */
.form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form__row > *, .field, .quote > *, .form { min-width: 0; }
@media (max-width: 600px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .quote { grid-template-columns: minmax(0, 1fr); } }
