/* Match & Sense — feuille de style unique
   Concept : deux arches qui se rencontrent. Fond sable, texte cacao,
   serif didone fine pour les titres (avec mots en italique), sans géométrique légère pour le texte. */

:root {
  --sable: #f3ece2;      /* fond principal */
  --lin: #faf6f0;        /* surfaces claires */
  --argile: #e4d6c4;     /* arches, aplats */
  --taupe: #a48a70;      /* accent, filets */
  --noisette: #7d624b;   /* accent foncé, liens */
  --cacao: #3d3029;      /* texte */
  --cacao-doux: #6b5a4e; /* texte secondaire */
  --bande: #8f7660;      /* bandes foncées */

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;

  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.7rem + 2vw, 3.4rem);
  --step-4: clamp(2.7rem, 2rem + 3.6vw, 5.2rem);

  --wrap: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sable);
  color: var(--cacao);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--argile); }
:focus-visible { outline: 1.5px solid var(--noisette); outline-offset: 4px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--noisette); }
p { margin: 0; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * 20px);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-family: var(--f-body);
  font-size: var(--step--1);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--noisette);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.lead { font-size: var(--step-1); line-height: 1.55; color: var(--cacao-doux); max-width: 34ch; }
.prose { display: grid; gap: 1.1em; max-width: 62ch; color: var(--cacao-doux); }
.prose strong { color: var(--cacao); font-weight: 500; }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--cacao);
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  padding: 1em 1.7em;
  border: 1px solid var(--b);
  border-radius: 999px;
  background: var(--b);
  color: var(--lin);
  font: 400 var(--step--1) / 1 var(--f-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--b); }
.btn--ghost { background: transparent; color: var(--b); }
.btn--ghost:hover { background: var(--b); color: var(--lin); }
.btn--light { --b: var(--lin); color: var(--cacao); }
.btn--light:hover { color: var(--lin); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--noisette);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: color .3s;
}
.link:hover { color: var(--cacao); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* Le flou est sur un pseudo-élément : sur l'en-tête lui-même, il casserait le menu mobile en position fixe */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--sable) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--sable);
}
.site-header.is-scrolled { border-bottom-color: color-mix(in srgb, var(--taupe) 30%, transparent); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo { height: 46px; width: auto; flex: none; }
@media (max-width: 1480px) { .brand-name { display: none; } }
.brand-name {
  font-family: var(--f-body); font-weight: 400; font-size: .78rem;
  letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; line-height: 1;
  padding-left: 14px; border-left: 1px solid color-mix(in srgb, var(--taupe) 50%, transparent);
}

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a {
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding-block: 6px;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--noisette); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 0.85em 1.3em; font-size: 0.72rem; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer;
  color: var(--cacao);
}
.nav-toggle span { display: block; width: 26px; height: 1px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.nav-toggle span + span { margin-top: 7px; }
.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 22px;
    background: var(--sable);
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a { font-family: var(--f-display); font-size: 1.9rem; text-transform: none; letter-spacing: 0; }
  .nav .btn { font-family: var(--f-body); font-size: 0.8rem; margin-top: 12px; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 7vw, 90px); }
.section--lin { background: var(--lin); }
.section--band { background: var(--bande); color: var(--lin); }
.section--band .eyebrow, .section--band h2 em { color: var(--argile); }
.section--band .prose, .section--band .lead { color: color-mix(in srgb, var(--lin) 82%, transparent); }

.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 720px; }
.section-head h2 { font-size: var(--step-3); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Héros ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px); position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.hero-text { display: grid; gap: 30px; min-width: 0; }
.hero h1 { font-size: var(--step-4); }
.hero h1 .line { display: block; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: var(--step--1); color: var(--cacao-doux); letter-spacing: 0.04em; }

/* Le fil : le trait du logo qui relie « vous » et « l'autre » en formant un cœur */
.fil { position: relative; margin: 0; width: 100%; max-width: 560px; justify-self: end; }
.fil svg { width: 100%; height: auto; overflow: visible; }
.fil-halo { fill: var(--argile); opacity: .5; }
.fil-line {
  stroke: var(--noisette); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  animation: draw 3.2s var(--ease) .3s both;
}
.fil-dot { fill: var(--cacao); }
.fil-dot--end { animation: pop .6s var(--ease) 3.2s both; }
.fil-label {
  position: absolute; top: 84%;
  font-family: var(--f-display); font-style: italic; font-size: var(--step-1); color: var(--cacao);
}
.fil-label--a { left: 0; }
.fil-label--b { right: 0; animation: pop .8s var(--ease) 3s both; }
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Grilles ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); align-items: center; }

.offer { display: grid; gap: 16px; align-content: start; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--taupe) 45%, transparent); }
.offer .num { font-family: var(--f-display); font-style: italic; font-size: var(--step-2); color: var(--taupe); line-height: 1; }
.offer h3 { font-size: var(--step-2); }
.offer p { color: var(--cacao-doux); }

/* Les trois sphères */
.spheres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.sphere {
  background: var(--lin);
  border-radius: 999px 999px 0 0;
  padding: clamp(56px, 7vw, 90px) clamp(22px, 3vw, 40px) clamp(32px, 4vw, 48px);
  display: grid; gap: 14px; text-align: center; justify-items: center;
  transition: transform .6s var(--ease), background .6s var(--ease);
}
.sphere:hover { transform: translateY(-6px); background: #fff; }
.sphere h3 { font-size: var(--step-3); font-style: italic; color: var(--noisette); }
.sphere p { color: var(--cacao-doux); max-width: 26ch; }
.section--lin .sphere { background: var(--sable); }

/* Deux profils */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.path {
  position: relative; overflow: hidden;
  display: grid; gap: 18px; align-content: start;
  padding: clamp(32px, 4.5vw, 60px);
  border-radius: 4px;
  text-decoration: none;
  background: var(--lin);
  transition: transform .6s var(--ease);
}
.path:hover { transform: translateY(-4px); }
.path--dark { background: var(--cacao); color: var(--lin); }
.path.path--dark .eyebrow { color: var(--argile); }
.path.path--dark p { color: color-mix(in srgb, var(--lin) 75%, transparent); }
.path h3 { font-size: var(--step-3); }
.path p { color: var(--cacao-doux); max-width: 40ch; }
.path ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.path li { display: flex; gap: 12px; align-items: baseline; }
.path li::before { content: ""; width: 14px; height: 1px; background: currentColor; flex: none; transform: translateY(-4px); opacity: .6; }
.path .btn { justify-self: start; margin-top: 10px; }
.path-arch {
  position: absolute; right: -60px; bottom: -80px; width: 220px; height: 300px;
  border: 1px solid currentColor; border-radius: 999px 999px 0 0; opacity: .12;
  pointer-events: none;
}

/* Citation */
.quote { text-align: center; display: grid; gap: 30px; justify-items: center; }
.quote blockquote {
  margin: 0; font-family: var(--f-display); font-size: var(--step-3); line-height: 1.2; max-width: 22ch; text-wrap: balance;
}
.quote blockquote em { color: var(--argile); }
.quote cite { font-style: normal; font-size: var(--step--1); letter-spacing: .2em; text-transform: uppercase; opacity: .75; }

/* Image + texte */
.media-arch {
  aspect-ratio: 4 / 5; border-radius: 999px 999px 4px 4px; overflow: hidden; max-width: 460px; width: 100%;
  background: linear-gradient(170deg, #ddc9b2, #b39478 75%, #9a7c63);
  position: relative;
}
.media-arch::after {
  content: attr(data-label); position: absolute; left: 0; right: 0; bottom: 24px; text-align: center;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
.media-arch img { width: 100%; height: 100%; object-fit: cover; }

/* Étapes */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(16px, 4vw, 60px);
  padding-block: clamp(28px, 4vw, 44px);
  border-top: 1px solid color-mix(in srgb, var(--taupe) 40%, transparent);
  align-items: baseline;
}
.step:last-child { border-bottom: 1px solid color-mix(in srgb, var(--taupe) 40%, transparent); }
.step .num { font-family: var(--f-display); font-style: italic; font-size: var(--step-3); color: var(--taupe); line-height: 1; }
.step h3 { font-size: var(--step-2); }
.step p { color: var(--cacao-doux); }

/* Valeurs / différences */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 80px); }
.value { padding-block: 28px; border-top: 1px solid color-mix(in srgb, var(--taupe) 40%, transparent); display: grid; gap: 10px; }
.value h3 { font-size: var(--step-1); font-family: var(--f-display); }
.value p { color: var(--cacao-doux); }
.section--band .value { border-color: color-mix(in srgb, var(--lin) 25%, transparent); }
.section--band .value p { color: color-mix(in srgb, var(--lin) 78%, transparent); }

/* Formules */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.plan {
  display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 20px;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--lin);
  border-radius: 4px;
}
.plan--featured { background: var(--cacao); color: var(--lin); position: relative; }
.plan.plan--featured .plan-desc, .plan.plan--featured li { color: color-mix(in srgb, var(--lin) 78%, transparent); }
.plan--featured .plan-price small { color: color-mix(in srgb, var(--lin) 65%, transparent); }
.plan-tag {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  padding: .6em 1.2em; border-radius: 99px; background: var(--taupe); color: var(--lin);
}
.plan h3 { font-size: var(--step-2); font-style: italic; }
.plan-desc { color: var(--cacao-doux); font-size: .95rem; }
.plan-price { font-family: var(--f-display); font-size: var(--step-3); line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price small { font-family: var(--f-body); font-size: .8rem; letter-spacing: .1em; color: var(--cacao-doux); margin-left: 6px; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid color-mix(in srgb, var(--taupe) 35%, transparent); display: grid; gap: 10px; font-size: .95rem; align-content: start; }
.plan li { display: flex; gap: 12px; color: var(--cacao-doux); }
.plan li::before { content: "—"; color: var(--taupe); flex: none; }
.plan .btn { justify-self: start; }
.plan--featured .btn { --b: var(--lin); color: var(--cacao); }
.plan--featured .btn:hover { color: var(--lin); }
.fineprint { margin-top: 28px; font-size: var(--step--1); color: var(--cacao-doux); text-align: center; }

/* Témoignages */
.stories { columns: 3 300px; column-gap: clamp(16px, 2vw, 28px); }
.story {
  break-inside: avoid; margin: 0 0 clamp(16px, 2vw, 28px);
  padding: clamp(28px, 3vw, 40px);
  background: var(--lin); border-radius: 4px;
  display: grid; gap: 20px;
}
.story blockquote { margin: 0; font-family: var(--f-display); font-size: var(--step-1); line-height: 1.4; }
.story blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--taupe); margin-bottom: 10px; }
.story figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--step--1); letter-spacing: .08em; color: var(--cacao-doux); }
.story .chip { text-transform: uppercase; letter-spacing: .18em; font-size: .66rem; padding: .45em .9em; border: 1px solid color-mix(in srgb, var(--taupe) 60%, transparent); border-radius: 99px; }
.story--dark { background: var(--bande); color: var(--lin); }
.story--dark figcaption { color: color-mix(in srgb, var(--lin) 75%, transparent); }
.story--dark blockquote::before { color: var(--argile); }
.notice {
  display: inline-block; font-size: var(--step--1); color: var(--noisette);
  padding: .6em 1.2em; border: 1px dashed var(--taupe); border-radius: 99px;
}

/* En-tête de page intérieure */
.page-hero { padding-block: clamp(48px, 8vw, 110px) clamp(40px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; gap: 24px; justify-items: center; position: relative; }
.page-hero h1 { font-size: var(--step-4); max-width: 16ch; }
.page-hero .lead { margin-inline: auto; max-width: 46ch; }
.page-hero::before {
  content: ""; position: absolute; left: 50%; top: 18%; width: min(520px, 80vw); aspect-ratio: 1 / 1.2;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0; background: var(--argile); opacity: .45;
}

/* ---------- Formulaires ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.form-aside { display: grid; gap: 24px; position: sticky; top: 120px; }
.form-aside .prose { font-size: .98rem; }
.reassure { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.reassure li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--cacao-doux); font-size: .95rem; }
.reassure svg { width: 18px; height: 18px; color: var(--noisette); margin-top: 5px; }

.form { background: var(--lin); border-radius: 4px; padding: clamp(24px, 4vw, 56px); display: grid; gap: 36px; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 20px; min-width: 0; }
.fieldset legend { font-family: var(--f-display); font-size: var(--step-2); padding: 0; margin-bottom: 4px; }
.fieldset legend em { color: var(--noisette); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field .label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cacao-doux); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 300 1rem/1.5 var(--f-body);
  color: var(--cacao);
  background: transparent;
  border: 0; border-bottom: 1px solid color-mix(in srgb, var(--taupe) 60%, transparent);
  border-radius: 0;
  padding: 10px 0;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%237d624b'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px;
}
.field textarea { min-height: 120px; resize: vertical; border: 1px solid color-mix(in srgb, var(--taupe) 45%, transparent); padding: 14px; border-radius: 3px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--noisette); }
.field small { font-size: .8rem; color: var(--cacao-doux); }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: .65em 1.2em; border: 1px solid color-mix(in srgb, var(--taupe) 60%, transparent);
  border-radius: 99px; font-size: .9rem; transition: all .3s var(--ease); cursor: pointer;
}
.choice input:checked + span { background: var(--cacao); border-color: var(--cacao); color: var(--lin); }
.choice input:focus-visible + span { outline: 1.5px solid var(--noisette); outline-offset: 3px; }

.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; font-size: .9rem; color: var(--cacao-doux); align-items: start; }
.check input { width: 18px; height: 18px; accent-color: var(--cacao); margin-top: 3px; }

.form-foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.form-status { font-size: .95rem; color: var(--noisette); }
.form-status[data-state="error"] { color: #9b3d2e; }
.form.is-sent > :not(.form-success) { display: none; }
.form-success { display: none; text-align: center; padding-block: 40px; gap: 18px; justify-items: center; }
.form.is-sent .form-success { display: grid; }
.form-success h3 { font-size: var(--step-3); }
.form-success p { color: var(--cacao-doux); max-width: 40ch; }

/* ---------- FAQ ---------- */
.faq { display: grid; max-width: 860px; margin-inline: auto; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: var(--step-2); margin-bottom: 20px; }
.faq details { border-top: 1px solid color-mix(in srgb, var(--taupe) 40%, transparent); }
.faq details:last-child { border-bottom: 1px solid color-mix(in srgb, var(--taupe) 40%, transparent); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 24px;
  font-family: var(--f-display); font-size: var(--step-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 16px; height: 16px; position: relative; flex: none; }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--noisette);
  transition: transform .4s var(--ease);
}
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0); }
.faq .answer { padding-bottom: 28px; color: var(--cacao-doux); max-width: 64ch; display: grid; gap: 12px; }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.newsletter h2 { font-size: var(--step-3); }
.newsletter-form { display: grid; gap: 14px; }
.newsletter-row { display: flex; gap: 0; border-bottom: 1px solid currentColor; }
.newsletter-row input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: inherit;
  font: 300 1.1rem/1.5 var(--f-body); padding: 14px 0;
}
.newsletter-row input::placeholder { color: inherit; opacity: .6; }
.newsletter-row input:focus { outline: none; }
.newsletter-row button {
  background: none; border: 0; color: inherit; cursor: pointer;
  font: 400 .76rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; padding: 0 0 0 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.newsletter small { font-size: .8rem; opacity: .7; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--cacao); color: var(--argile); padding-block: clamp(56px, 8vw, 96px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid color-mix(in srgb, var(--argile) 20%, transparent); }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-logo { width: min(260px, 70%); height: auto; }
.footer-col h4 { margin: 0 0 16px; font-weight: 400; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--lin); opacity: .85; transition: opacity .3s; }
.footer-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: .8rem; opacity: .7; }

/* ---------- Bandeau défilant ---------- */
.marquee { overflow: hidden; border-block: 1px solid color-mix(in srgb, var(--taupe) 35%, transparent); padding-block: 22px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-size: var(--step-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span:nth-child(even) { font-style: italic; color: var(--noisette); }
.marquee span::after { content: ""; width: 10px; height: 14px; border-radius: 99px 99px 0 0; background: var(--taupe); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Apparition au défilement ---------- */
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(24px); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.mt-l { margin-top: clamp(40px, 6vw, 72px); }
.stack-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .grid-2, .form-layout, .newsletter { grid-template-columns: 1fr; }
  .fil { justify-self: center; max-width: 440px; }
  .grid-3, .spheres, .pricing { grid-template-columns: 1fr; }
  .spheres { max-width: 420px; margin-inline: auto; }
  .paths, .values { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px minmax(0, 1fr); }
  .step p { grid-column: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .form-aside { position: static; }
  .media-arch { margin-inline: auto; }
}
@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .brand-name { display: none; }
  .brand-logo { height: 40px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal:not(.is-visible) { opacity: 1; transform: none; }
}
