/* ============================================================
   Maquis & Loire — feuille de style commune
   Palette tirée du logo définitif : Bleu nuit #16263F · Cuivre #C06F47 · Linge #F7EEDF
   Tons gourmands ajoutés : Cuivre profond #9E5431 (boutons) · Miel de châtaignier #DDA347 (petits accents)
   ============================================================ */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Allura"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/allura-latin-400-normal.woff2") format("woff2"); }

:root {
  --nuit: #16263F;             /* bleu nuit du logo : textes, pied de page, vignettes */
  --cuivre: #C06F47;           /* cuivre du logo : accents, route, filets */
  --cuivre-profond: #9E5431;   /* cuivre profond : boutons (contraste suffisant avec le linge) */
  --cuivre-fonce: #7E4226;
  --linge: #F7EEDF;            /* fond de page, linge chaud */
  --sable: #DFCDB2;            /* bordures */
  --miel: #DDA347;             /* miel de châtaignier : pastilles, halo, liseré */
  --nuit-profond: #0F1A2C;
  --encre-douce: #4F5A6B;      /* texte secondaire sur linge, contraste AA */
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --script: "Allura", "Brush Script MT", cursive;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--linge); color: var(--nuit);
  font-family: var(--serif); font-size: 1.125rem; line-height: 1.5;
  min-height: 100dvh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* grain très léger, comme un papier kraft ou un lin */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .2; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .55  0 0 0 0 .45  0 0 0 0 .35  0 0 0 .5 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--cuivre-profond); color: var(--linge); }
:focus-visible { outline: 2px solid var(--cuivre-profond); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; position: relative; z-index: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête ---------- */
.site-header { padding: 20px 0 6px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.brand img { height: 62px; width: auto; }
.topbar { display: flex; align-items: center; gap: 22px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.nav { display: flex; align-items: center; gap: 18px; font: 500 .76rem/1 var(--sans); letter-spacing: .04em; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--cuivre-profond); }
.soon {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .8rem/1 var(--sans); letter-spacing: .04em; color: var(--nuit);
  background: rgba(255,255,255,.4); border: 1px solid var(--sable); border-radius: 999px; padding: 10px 16px 10px 12px; white-space: nowrap;
}
.soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--cuivre-profond); flex: none; box-shadow: 0 0 0 0 rgba(158,84,49,.5); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(158,84,49,.5); } 70% { box-shadow: 0 0 0 9px rgba(158,84,49,0); } 100% { box-shadow: 0 0 0 0 rgba(158,84,49,0); } }

/* ---------- Hero (accueil) ---------- */
.hero { flex: 1; padding: clamp(16px, 3vw, 36px) 0 clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -10% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(221,163,71,.22), rgba(221,163,71,0)); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "top visual" "rest visual"; column-gap: clamp(32px, 6vw, 96px); row-gap: 0; align-items: center; }
.copy-top { grid-area: top; align-self: end; }
.copy-rest { grid-area: rest; align-self: start; }
.visual { grid-area: visual; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: .98; letter-spacing: -.012em; margin: 0 0 clamp(16px, 2vw, 22px); max-width: 19ch; text-wrap: balance; }
h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .06em .03em .16em; margin: -.06em -.03em -.16em; }
h1 .w > span { display: inline-block; }
.lead { font-size: clamp(1.2rem, 1.6vw, 1.38rem); line-height: 1.36; margin: 0 0 12px; max-width: 32ch; font-weight: 500; }
.story { font-size: 1.08rem; line-height: 1.48; color: var(--encre-douce); margin: 0 0 clamp(18px, 2.5vw, 26px); max-width: 46ch; }
.count { font: 500 .78rem/1.4 var(--sans); letter-spacing: .04em; color: var(--encre-douce); margin: 0 0 18px; display: flex; align-items: baseline; gap: .55em; flex-wrap: wrap; }
.count b { font: 600 1.55rem/1 var(--serif); color: var(--nuit); font-variant-numeric: tabular-nums; letter-spacing: 0; min-width: 1.2em; text-align: right; }
.count b + span { margin-right: .35em; }
.count[hidden] { display: none; }
.note { font-family: var(--script); font-size: 2.1rem; line-height: 1; margin: 0 0 12px; color: var(--nuit); }

/* ---------- Formulaire ---------- */
.signup { max-width: 540px; }
.signup .row { display: flex; gap: 10px; }
.signup input[type="email"] {
  flex: 1; min-width: 0; height: 54px; padding: 0 18px; font: 400 1rem var(--sans); color: var(--nuit);
  background: rgba(255,255,255,.6); border: 1px solid var(--sable); border-radius: 8px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.signup input[type="email"]::placeholder { color: #8B8577; }
.signup input[type="email"]:focus { outline: none; border-color: var(--cuivre-profond); background: #fff; box-shadow: 0 0 0 3px rgba(158,84,49,.16); }
.signup input[type="email"][aria-invalid="true"] { border-color: var(--cuivre-profond); animation: nudge .35s var(--ease); }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 24px; flex: none; position: relative; overflow: hidden;
  font: 600 .86rem var(--sans); letter-spacing: .05em; color: var(--linge); text-decoration: none;
  background: var(--cuivre-profond); border: 0; border-radius: 8px; cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s;
}
.btn:hover { background: var(--cuivre-fonce); box-shadow: 0 12px 26px -14px rgba(158,84,49,.8); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.btn .ink { position: absolute; inset: 0; background: radial-gradient(circle at var(--x,50%) var(--y,50%), rgba(221,163,71,.55), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.btn:hover .ink { opacity: 1; }
.btn.ghost { background: transparent; color: var(--nuit); border: 1px solid var(--sable); }
.btn.ghost:hover { background: rgba(255,255,255,.5); box-shadow: none; }
.hint { font: 400 .78rem/1.5 var(--sans); color: var(--encre-douce); margin: 12px 0 0; }
.hint a { color: var(--nuit); text-decoration-color: var(--cuivre-profond); text-underline-offset: 3px; }
.msg { font: 500 .9rem/1.5 var(--sans); margin: 12px 0 0; min-height: 1.4em; }
.msg.err { color: #9C4A32; }
.signup.done .row, .signup.done .hint { display: none; }
.done-card { display: none; position: relative; padding: 24px 26px; border: 1px solid var(--sable); border-radius: 12px; background: rgba(255,255,255,.5); max-width: 520px; }
.signup.done .done-card { display: block; animation: cardIn .5s var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } }
.done-card strong { font: 600 1.6rem/1.15 var(--serif); display: block; margin: 0 0 6px; max-width: 14ch; }
.done-card p { margin: 0 0 16px; color: var(--encre-douce); font-size: 1.05rem; max-width: 34ch; }
.stamp { position: absolute; top: -26px; right: -14px; width: 108px; height: 108px; transform: rotate(-10deg); filter: drop-shadow(0 8px 14px rgba(22,38,63,.25)); }
.signup.done .stamp { animation: stamp .55s var(--spring) .25s both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-24deg) scale(1.9); } 70% { opacity: 1; } to { opacity: 1; transform: rotate(-10deg) scale(1); } }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--sable); background: transparent; color: var(--nuit); text-decoration: none; cursor: pointer; font: 500 .74rem var(--sans); letter-spacing: .04em; transition: background .2s, border-color .2s; }
.chip:hover { background: var(--sable); border-color: var(--sable); }
.chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip[hidden] { display: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Visuel du hero ---------- */
.visual { position: relative; justify-self: end; width: min(100%, 420px); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease); transform-style: preserve-3d; will-change: transform; }
.arch { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sable); border-radius: 999px 999px 22px 22px; box-shadow: 0 30px 60px -36px rgba(22,38,63,.55); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 62%; transform: scale(1.04) translate(var(--px, 0px), var(--py, 0px)); transition: transform .35s var(--ease); }
.sticker { position: absolute; left: -34px; bottom: 26px; width: 158px; aspect-ratio: 1; transform: rotate(-9deg); translate: var(--sx, 0px) var(--sy, 0px); transition: translate .35s var(--ease); filter: drop-shadow(0 10px 18px rgba(22,38,63,.28)); }

/* séquence d'ouverture (quand le script a ajouté .ready) */
.ready .site-header .wrap { animation: fade .6s var(--ease) both; }
.ready h1 .w > span { animation: rise .8s var(--ease) both; animation-delay: calc(.12s + var(--i, 0) * 55ms); }
.ready .copy-rest > * { animation: lift .7s var(--ease) both; }
.ready .copy-rest > :nth-child(1) { animation-delay: .45s; }
.ready .copy-rest > :nth-child(2) { animation-delay: .53s; }
.ready .copy-rest > :nth-child(3) { animation-delay: .61s; }
.ready .copy-rest > :nth-child(4) { animation-delay: .69s; }
.ready .copy-rest > :nth-child(5) { animation-delay: .77s; }
.ready .arch { clip-path: inset(100% 0 0 0 round 999px 999px 22px 22px); animation: develop 1.1s var(--ease) .3s forwards; }
.ready .sticker { opacity: 0; animation: drop .55s var(--spring) 1.15s forwards; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(108%); } }
@keyframes lift { from { opacity: 0; transform: translateY(12px); } }
@keyframes develop { to { clip-path: inset(0 0 0 0 round 999px 999px 22px 22px); } }
@keyframes drop { from { opacity: 0; transform: rotate(-18deg) translateY(-22px) scale(1.12); } to { opacity: 1; transform: rotate(-9deg) translateY(0) scale(1); } }

/* ---------- Sur la planche : vignettes produits ---------- */
.strip { padding: 0 0 clamp(36px, 5vw, 56px); }
.strip .head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.strip h2, .section h2 { font: 600 clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--serif); margin: 0; letter-spacing: -.01em; }
.strip .head a { font: 500 .8rem var(--sans); letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid var(--cuivre-profond); padding-bottom: 3px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.tile { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--sable); text-decoration: none; display: block; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 44px 16px 14px; background: linear-gradient(to top, rgba(22,38,63,.72), rgba(22,38,63,0)); color: var(--linge); }
.tile .cap strong { display: block; font: 600 1.35rem/1.1 var(--serif); }
.tile .cap span { font: 500 .68rem/1.3 var(--sans); letter-spacing: .05em; color: var(--sable); }
.tile.typo { background: var(--nuit); color: var(--linge); display: grid; place-content: end start; padding: 16px; }
.tile.typo strong { font: 600 1.6rem/1.05 var(--serif); display: block; margin-bottom: 4px; }
.tile.typo span { font: 500 .68rem/1.3 var(--sans); letter-spacing: .05em; color: var(--sable); }
.tile.typo i { position: absolute; top: 14px; right: 14px; width: 54px; height: 54px; border-radius: 50%; background: var(--miel); opacity: .9; }
.tile.typo i::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1.5px solid rgba(22,38,63,.4); }

/* ---------- La route ---------- */
.pont { padding: 0 0 clamp(36px, 5vw, 56px); }
.pont .wrap { border-top: 1px solid var(--sable); padding-top: clamp(26px, 4vw, 40px); }
.pont-title { font: 600 1.35rem/1.2 var(--serif); margin: 0 0 18px; text-align: center; }
.pont-track { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.pont-end { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 12px; }
.pont-end svg { grid-row: span 2; width: 34px; height: 34px; fill: none; stroke: var(--nuit); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pont-end strong { font: 600 1.15rem/1.1 var(--serif); }
.pont-end span { font: 500 .7rem/1.3 var(--sans); letter-spacing: .05em; color: var(--encre-douce); }
.pont-end.right { direction: rtl; text-align: right; }
.pont-end.right strong, .pont-end.right span { direction: ltr; }
.pont-line { width: 100%; height: auto; display: block; overflow: visible; }
.pont-line .route { stroke: var(--cuivre); stroke-width: 1.6; stroke-dasharray: 3 8; stroke-linecap: round; clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease); }
.pont.in .pont-line .route { clip-path: inset(0 0 0 0); }
.pont-line .dot { fill: var(--nuit); opacity: 0; transition: opacity .6s ease 1.2s; }
.pont.in .pont-line .dot { opacity: 1; }
.pont-line .stop { fill: var(--miel); stroke: var(--cuivre); stroke-width: 1.6; }

/* ---------- Trois promesses ---------- */
.promises { padding: 0 0 clamp(44px, 6vw, 72px); }
.promises ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.promises li { position: relative; padding-top: 16px; }
.promises li::before { content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 2px; background: var(--cuivre-profond); }
.promises h2 { font: 600 1.45rem/1.15 var(--serif); margin: 0 0 8px; letter-spacing: -.005em; }
.promises p { margin: 0; color: var(--encre-douce); font-size: 1.08rem; line-height: 1.45; max-width: 36ch; }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: clamp(16px, 3vw, 40px) 0 clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -20% auto auto -10%; width: 50vw; height: 50vw; max-width: 640px; max-height: 640px; pointer-events: none; z-index: 0; background: radial-gradient(closest-side, rgba(221,163,71,.2), rgba(221,163,71,0)); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 4.8vw, 4rem); }
.page-hero .lead { max-width: 38ch; }
.page-hero .story { max-width: 52ch; margin-bottom: 0; }
.page-hero figure { margin: 0; justify-self: end; width: min(100%, 440px); border-radius: 22px 22px 999px 999px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: 0 30px 60px -36px rgba(22,38,63,.55); background: var(--sable); }
.page-hero figure img { width: 100%; height: 100%; object-fit: cover; }

.section { padding: 0 0 clamp(40px, 6vw, 72px); }
.section .wrap > .head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 64px); align-items: start; padding-top: clamp(24px, 4vw, 40px); border-top: 1px solid var(--sable); margin-bottom: clamp(22px, 3vw, 32px); }
.section .head h2 { position: relative; padding-top: 16px; }
.section .head h2::before { content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 2px; background: var(--cuivre-profond); }
.section .head p { margin: 0; color: var(--encre-douce); font-size: 1.1rem; line-height: 1.48; max-width: 56ch; }
.section .head p + p { margin-top: 10px; }

.producers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0 0 22px; padding: 0; }
.producer { border: 1px solid var(--sable); border-radius: 14px; padding: 20px 22px 18px; background: rgba(255,255,255,.45); display: grid; gap: 8px; align-content: start; position: relative; }
.producer::before { content: ""; position: absolute; top: 0; left: 22px; width: 34px; height: 3px; background: var(--miel); border-radius: 0 0 3px 3px; }
.producer strong { font: 600 1.35rem/1.1 var(--serif); }
.producer .lieu { font: 500 .72rem/1.3 var(--sans); letter-spacing: .05em; color: var(--encre-douce); }
.producer p { margin: 0; font-size: 1.02rem; line-height: 1.45; color: var(--encre-douce); }
.producer .ce { margin-top: 6px; font: 500 .68rem/1.3 var(--sans); letter-spacing: .06em; color: var(--nuit); display: inline-flex; align-items: center; gap: 7px; }
.producer .ce::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cuivre-profond); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.product { display: grid; grid-template-rows: auto 1fr; border-radius: 14px; overflow: hidden; border: 1px solid var(--sable); background: rgba(255,255,255,.45); }
.product figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sable); }
.product figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover figure img { transform: scale(1.04); }
.product figure.typo { display: grid; place-items: center; background: var(--nuit); color: var(--linge); font: 600 2.4rem/1 var(--serif); position: relative; }
.product figure.typo i { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; background: var(--miel); }
.product figure.typo i::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px solid rgba(22,38,63,.4); }
.product .body { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; }
.product strong { font: 600 1.4rem/1.1 var(--serif); }
.product .piece { font: 500 .7rem/1.3 var(--sans); letter-spacing: .05em; color: var(--encre-douce); }
.product p { margin: 2px 0 0; font-size: 1.02rem; line-height: 1.45; color: var(--encre-douce); }
.product .duree { margin-top: 4px; font: 500 .72rem/1.3 var(--sans); letter-spacing: .04em; color: var(--cuivre-profond); }

.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rules li { border: 1px solid var(--sable); border-radius: 14px; padding: 18px 20px 16px; background: rgba(255,255,255,.45); display: grid; gap: 6px; align-content: start; position: relative; }
.rules li::before { content: ""; position: absolute; top: 0; left: 20px; width: 34px; height: 3px; background: var(--cuivre); border-radius: 0 0 3px 3px; }
.rules strong { font: 600 1.3rem/1.1 var(--serif); padding-top: 4px; }
.rules p { margin: 0; font-size: 1.02rem; line-height: 1.45; color: var(--encre-douce); }
.refs { margin: 18px 0 0; font: 400 .74rem/1.5 var(--sans); color: var(--encre-douce); max-width: 90ch; }
.promises p a { color: var(--nuit); text-decoration-color: var(--cuivre); text-underline-offset: 3px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); }
.two h3 { font: 600 1.5rem/1.1 var(--serif); margin: 0 0 8px; }
.two p { margin: 0; color: var(--encre-douce); line-height: 1.48; max-width: 48ch; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: etape; }
.steps li { position: relative; padding: 18px 0 0; border-top: 2px solid var(--sable); }
.steps li::before { counter-increment: etape; content: counter(etape); position: absolute; top: -13px; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--cuivre-profond); color: var(--linge); font: 600 .72rem/24px var(--sans); text-align: center; }
.steps strong { font: 600 1.25rem/1.15 var(--serif); display: block; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--encre-douce); font-size: 1.02rem; line-height: 1.45; }

.cta { padding: 0 0 clamp(44px, 6vw, 72px); }
.cta .box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; border-radius: 18px; padding: clamp(24px, 4vw, 44px); background: var(--nuit); color: var(--linge); position: relative; overflow: hidden; }
.cta .box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(221,163,71,.35), rgba(221,163,71,0)); pointer-events: none; }
.cta h2 { font: 600 clamp(1.7rem, 3vw, 2.4rem)/1.08 var(--serif); margin: 0 0 10px; max-width: 22ch; }
.cta p { margin: 0; color: var(--sable); line-height: 1.5; max-width: 44ch; }
.cta .note { color: var(--linge); margin-bottom: 10px; }
.cta .signup .row { flex-wrap: wrap; }
.cta .signup input[type="email"] { background: rgba(255,255,255,.92); min-width: 220px; }
.cta .hint { color: var(--sable); }
.cta .hint a { color: var(--linge); }
.cta .done-card { background: rgba(255,255,255,.08); border-color: rgba(215,195,167,.4); }
.cta .done-card strong { color: var(--linge); }
.cta .done-card p { color: var(--sable); }
.cta .chip { color: var(--linge); border-color: rgba(215,195,167,.5); }
.cta .chip:hover { background: rgba(255,255,255,.12); }
.cta .msg.err { color: #F3B29E; }
.mail { font: 500 .85rem/1.5 var(--sans); letter-spacing: .03em; }
.mail a { color: inherit; text-decoration-color: var(--miel); text-underline-offset: 4px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--nuit); color: var(--linge); padding: 34px 0 26px; position: relative; z-index: 1; border-top: 3px solid var(--miel); }
.site-footer .top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .mono { height: 64px; width: auto; }
.site-footer nav { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; font: 500 .8rem/1 var(--sans); letter-spacing: .03em; }
.site-footer nav a, .site-footer nav button { color: var(--linge); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 3px; transition: border-color .2s; }
.site-footer nav a:hover, .site-footer nav button:hover { border-bottom-color: var(--miel); }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(215,195,167,.55); color: var(--linge); transition: background .2s, border-color .2s, transform .2s; }
.social a:hover { background: var(--cuivre-profond); border-color: var(--cuivre-profond); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.legal { margin: 26px 0 0; font: 400 .74rem/1.6 var(--sans); color: var(--sable); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal a { color: inherit; text-decoration: none; }
.evin { margin: 10px 0 0; font: 500 .72rem/1.5 var(--sans); color: var(--sable); letter-spacing: .02em; }

/* ---------- Fenêtres ---------- */
dialog { width: min(92vw, 640px); border: 1px solid var(--sable); border-radius: 14px; padding: 0; background: var(--linge); color: var(--nuit); box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); }
dialog[open] { animation: cardIn .3s var(--ease); }
dialog::backdrop { background: rgba(22,38,63,.55); backdrop-filter: blur(2px); }
dialog .inner { padding: 30px 32px 32px; max-height: 80vh; overflow: auto; }
dialog h2 { font: 600 2rem/1.1 var(--serif); margin: 0 0 16px; }
dialog p { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.5; }
dialog p:last-of-type { margin-bottom: 0; }
dialog .close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--sable); background: transparent; color: var(--nuit); cursor: pointer; font: 400 1.2rem/1 var(--sans); }
dialog .close:hover { background: var(--sable); }
dialog .todo { color: #9C4A32; }

/* ---------- Apparition au défilement (pages intérieures) ---------- */
.js .reveal-on { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-on.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; grid-template-areas: "top" "visual" "rest"; row-gap: 0; }
  .visual { justify-self: start; width: min(100%, 420px); margin: 6px 0 40px; }
  .arch { aspect-ratio: 5 / 4; border-radius: 999px 999px 18px 18px; }
  .promises ul { grid-template-columns: 1fr; gap: 26px; }
  h1 { max-width: 16ch; }
  .pont-track { grid-template-columns: 1fr; gap: 10px; }
  .pont-end, .pont-end.right { justify-content: center; direction: ltr; text-align: left; }
  .pont-end.right { justify-self: end; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero figure { justify-self: start; width: min(100%, 420px); aspect-ratio: 4 / 3; border-radius: 18px 18px 160px 160px; }
  .section .wrap > .head { grid-template-columns: 1fr; gap: 12px; }
  .producers, .products, .rules { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; gap: 26px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .cta .box { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-header { padding-top: 20px; }
  .site-header .wrap { justify-content: center; }
  .brand img { height: 58px; }
  .topbar { margin-left: 0; width: 100%; justify-content: center; gap: 14px; }
  .nav { justify-content: center; gap: 16px; flex-wrap: wrap; }
  .hero { padding-top: 22px; }
  .visual { width: 100%; margin-bottom: 44px; }
  .arch { aspect-ratio: 4 / 3; }
  .sticker { width: 118px; left: 10px; bottom: -24px; }
  .signup .row { flex-direction: column; }
  .btn { width: 100%; }
  .stamp { width: 84px; height: 84px; top: -22px; right: -6px; }
  .done-card strong { max-width: 11ch; }
  .producers, .products, .rules { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .site-footer .top { flex-direction: column; align-items: flex-start; }
  .legal { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .soon i { animation: none; }
  .ready .site-header .wrap, .ready h1 .w > span, .ready .copy-rest > *, .ready .arch, .ready .sticker, .signup.done .stamp, .signup.done .done-card, dialog[open] { animation: none; clip-path: none; opacity: 1; }
  .ready .sticker { transform: rotate(-9deg); }
  .visual, .arch img, .sticker, .pont-line .route, .pont-line .dot, .tile img, .product figure img { transition: none; }
  .js .reveal-on { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
