/* ==========================================================================
   Visilo — feuille de style
   Direction : éditoriale et artisanale. Crème, encre chaude, terracotta.
   ========================================================================== */

/* ---------- Polices (hébergées sur le site, aucun appel externe) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
}

/* ---------- Couleurs : mode clair ---------- */
:root {
  --bg: #f5efe4;
  --bg-alt: #ede4d4;
  --surface: #fbf8f2;
  --ink: #1e1915;
  --ink-soft: #574d44;
  --line: #d9cdb9;
  --line-strong: #8c7f70;
  --accent: #a6461d;
  --accent-ink: #fbf6ee;
  --accent-soft: #f1d8c6;
  --frame: #1e1915;
  --todo-bg: #fff1a8;
  --todo-ink: #4d3a00;
  --todo-line: #a07c00;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --section: clamp(88px, 13vw, 176px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

/* ---------- Couleurs : mode sombre ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15110e;
    --bg-alt: #1d1814;
    --surface: #221c17;
    --ink: #f2eadf;
    --ink-soft: #bdb1a3;
    --line: #3a3129;
    --line-strong: #7a6d60;
    --accent: #e58c5f;
    --accent-ink: #1a120d;
    --accent-soft: #3b2418;
    --frame: #3a3129;
    --todo-bg: #4a3d00;
    --todo-ink: #ffe680;
    --todo-line: #c9a400;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15110e;
  --bg-alt: #1d1814;
  --surface: #221c17;
  --ink: #f2eadf;
  --ink-soft: #bdb1a3;
  --line: #3a3129;
  --line-strong: #7a6d60;
  --accent: #e58c5f;
  --accent-ink: #1a120d;
  --accent-soft: #3b2418;
  --frame: #3a3129;
  --todo-bg: #4a3d00;
  --todo-ink: #ffe680;
  --todo-line: #c9a400;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 0.4vw + 0.98rem, 1.1875rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }

::selection { background: var(--accent-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  font-optical-sizing: auto;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

em { font-style: italic; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--bg); }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Emplacements à compléter (bien visibles) ---------- */
.todo {
  display: inline;
  background: var(--todo-bg);
  color: var(--todo-ink);
  outline: 1px dashed var(--todo-line);
  outline-offset: 1px;
  padding: 0.05em 0.35em;
  font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 0.82em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Boutons et liens d'action ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.8em 1.5em;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  border-radius: 2px;
  font: 500 1rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.btn--small { min-height: 42px; padding: 0.55em 1.1em; font-size: 0.95rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow .arrow { transition: transform 0.3s var(--ease); }
.link-arrow:hover .arrow { transform: translate(2px, -2px); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-floating {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header.is-floating { background: var(--bg); }
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header:focus-within { transform: none; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo__dot { color: var(--accent); }

/* ---------- Mise en page des sections ---------- */
.section { padding: var(--section) 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0.9em;
  margin: 0 0 clamp(28px, 4vw, 48px);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  transform: translateY(-0.3em);
  max-width: 220px;
}

.section-title {
  font-size: clamp(2.4rem, 5.6vw, 4.5rem);
  max-width: 16ch;
}
.section-title em { color: var(--accent); }

.lead {
  font-size: clamp(1.15rem, 1vw + 0.95rem, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
}

.split {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 7fr 5fr; align-items: end; }
  .split--top { align-items: start; }
}

/* ---------- Accroche ---------- */
.hero {
  padding: clamp(150px, 22vw, 240px) 0 clamp(80px, 11vw, 150px);
  position: relative;
}
.hero__kicker {
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(24px, 4vw, 40px);
}
.hero__kicker span { color: var(--accent); }
.hero__title {
  font-size: clamp(3.1rem, 10.5vw, 9rem);
  line-height: 0.98;
  letter-spacing: -0.022em;
  font-weight: 350;
  max-width: 12ch;
}
.hero__title em { font-weight: 300; color: var(--accent); }
.hero__line { display: block; }
.hero__bottom {
  display: grid;
  gap: 32px;
  margin-top: clamp(40px, 6vw, 72px);
}
@media (min-width: 900px) {
  .hero__bottom { grid-template-columns: 5fr 4fr 3fr; align-items: end; }
  .hero__sub { grid-column: 2; }
  .hero__actions { grid-column: 3; justify-self: end; }
}
.hero__sub {
  font-size: clamp(1.15rem, 0.9vw + 0.95rem, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.hero__aside {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  max-width: 30ch;
  margin: 0;
}
@media (min-width: 900px) {
  .hero__aside { grid-column: 1; grid-row: 1; }
}

/* ---------- Le problème ---------- */
.problem__body { max-width: 40ch; }
.problem__body p { color: var(--ink-soft); }
.problem__body p:first-child {
  font-size: clamp(1.2rem, 1vw + 1rem, 1.45rem);
  color: var(--ink);
  line-height: 1.5;
}
.facts {
  list-style: none;
  margin: clamp(56px, 8vw, 96px) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li + li { border-left: 1px solid var(--line); }
}
.facts li {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .facts li { padding: 32px clamp(20px, 3vw, 40px); border-bottom: 0; }
  .facts li:first-child { padding-left: 0; }
}
.facts h3 {
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  margin-bottom: 10px;
}
.facts p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Réalisations ---------- */
/* Même espace au-dessus de chaque fiche (après l'intro et entre deux fiches). */
#realisations { --works-gap: clamp(80px, 11vw, 150px); }
.works__intro { margin-bottom: var(--works-gap); }
#works-list { display: grid; gap: var(--works-gap); }

.project { margin: 0; }

.project__stage {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  padding-bottom: clamp(24px, 5vw, 60px);
}
.project__stage:hover { color: inherit; }

.frame-desktop {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(30, 25, 21, 0.45);
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.frame-desktop__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.frame-desktop__dots { display: flex; gap: 6px; }
.frame-desktop__dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.frame-desktop__url {
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame-desktop__screen { overflow: hidden; aspect-ratio: 1440 / 780; }
.frame-desktop__screen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform 1.2s var(--ease);
}

.frame-phone {
  position: absolute;
  right: clamp(-4px, 3vw, 48px);
  bottom: 0;
  width: clamp(104px, 22%, 250px);
  padding: clamp(5px, 0.7vw, 9px);
  background: var(--frame);
  border-radius: clamp(16px, 2.6vw, 34px);
  box-shadow: 0 30px 50px -30px rgba(30, 25, 21, 0.6);
  transition: transform 0.7s var(--ease);
}
.frame-phone__screen {
  overflow: hidden;
  border-radius: clamp(11px, 2vw, 26px);
  aspect-ratio: 1 / 2;
  background: var(--surface);
}
.frame-phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

@media (hover: hover) {
  .project__stage:hover .frame-desktop { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 44px 70px -42px rgba(30, 25, 21, 0.55); }
  .project__stage:hover .frame-desktop__screen img { transform: scale(1.025); }
  .project__stage:hover .frame-phone { transform: translateY(-14px); }
}

/* Écran en attente de capture */
.frame-empty {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 100%;
  padding: 24px;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--line) 45%, transparent) 14px 15px),
    var(--surface);
}
.frame-phone .frame-empty { padding: 8px; font-size: 0.6rem; }
@media (max-width: 899px) {
  .frame-desktop .frame-empty { place-items: center start; padding: 16px 32% 16px 16px; text-align: left; font-size: 0.75rem; }
}

/* Fiche : captures pleine largeur, puis deux colonnes fixes
   (catégorie + nom à gauche, description + lien + citation à droite). */
.project__meta {
  display: grid;
  gap: 24px 64px;
  margin-top: clamp(28px, 4vw, 48px);
  align-items: start;
}
@media (min-width: 900px) {
  .project__meta { grid-template-columns: 1fr 1fr; }
}
.project__tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.project__tag .badge {
  padding: 2px 8px;
  border: 1px solid var(--accent);
  color: var(--accent);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.project__name {
  font-size: clamp(2.4rem, 6vw, 4.75rem);
  line-height: 1;
}
.project__desc { color: var(--ink-soft); max-width: 52ch; }
.project__desc p:first-child { color: var(--ink); }
.project__link { margin-top: 20px; }

/* Signature HookForge */
.signed {
  margin: 32px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.signed blockquote {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.25rem, 1vw + 0.95rem, 1.6rem);
  line-height: 1.4;
  color: var(--ink);
}
.signed figcaption { font-size: 0.9375rem; color: var(--ink-soft); }

.works-noscript { list-style: none; padding: 0; margin: 0; }
.works-noscript li { padding: 20px 0; border-top: 1px solid var(--line); font-size: 1.25rem; }

/* ---------- Témoignages ---------- */
.quotes {
  display: grid;
  gap: clamp(64px, 9vw, 96px);
  margin-top: clamp(48px, 7vw, 88px);
}
@media (min-width: 900px) {
  .quotes { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); }
  .quotes > :nth-child(2) { margin-top: clamp(80px, 10vw, 140px); }
}
.quote { margin: 0; }
.quote__mark {
  display: block;
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 0.6;
  height: 0.5em;
  color: var(--accent);
  margin-bottom: 22px;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.45rem, 1.7vw + 1rem, 2.1rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.quote figcaption {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }

/* ---------- Comment ça se passe ---------- */
.steps {
  list-style: none;
  margin: clamp(56px, 8vw, 96px) 0 0;
  padding: 0;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 20px;
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .step { grid-template-columns: 2fr 4fr 6fr; gap: 48px; align-items: baseline; }
}
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: var(--accent);
  line-height: 1;
}
.step__title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.step__text { color: var(--ink-soft); grid-column: 2; max-width: 52ch; }
@media (min-width: 900px) { .step__text { grid-column: 3; } }
.step__free {
  display: inline-block;
  margin-left: 0.4em;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--accent);
}

/* ---------- Tarifs ---------- */
.launch-offer {
  margin: clamp(48px, 7vw, 80px) 0 clamp(40px, 5vw, 56px);
  padding: clamp(22px, 3vw, 30px) clamp(22px, 3.5vw, 40px);
  background: var(--accent-soft);
  color: var(--ink);
  display: grid;
  gap: 8px 40px;
}
@media (min-width: 900px) {
  .launch-offer { grid-template-columns: auto 1fr auto; align-items: center; }
}
/* Pour retirer l'offre : passer data-active="false" sur le bandeau (voir README). */
.launch-offer[data-active="false"] { display: none; }
.launch-offer__title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 500;
  margin: 0;
}
.launch-offer__text { margin: 0; max-width: 60ch; }
.launch-offer__places { margin: 0; font-weight: 600; white-space: nowrap; }

.plans {
  display: grid;
  border-top: 1px solid var(--ink);
}
@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan + .plan { border-left: 1px solid var(--line); }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 960px) {
  .plan { padding: 44px clamp(24px, 3vw, 40px) 48px; border-bottom: 0; }
  .plan:first-child { padding-left: 0; }
  .plan:last-child { padding-right: 0; }
}
.plan--featured {
  background: var(--surface);
  padding-left: clamp(22px, 4vw, 40px);
  padding-right: clamp(22px, 4vw, 40px);
  box-shadow: inset 0 3px 0 var(--accent);
}
@media (min-width: 960px) {
  .plan--featured { padding-top: 44px; }
}
.plan__flag {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.plan__name { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 14px; }
.plan__desc { color: var(--ink-soft); margin-bottom: 28px; flex: 1; }
.plan__price {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.plan .btn { align-self: flex-start; }
.plan__price small {
  display: block;
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.options {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  gap: 0;
}
@media (min-width: 760px) {
  .options { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); }
}
.options__label {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.option h3 { font-size: 1.5rem; }
.option__price { font-family: var(--serif); font-size: 1.5rem; white-space: nowrap; }
.option p { grid-column: 1 / -1; color: var(--ink-soft); font-size: 1rem; margin: 0; }

.pricing-notes {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
  align-items: center;
}
.pricing-notes__free { margin: 0; font-size: 1.0625rem; }
.pricing-notes__free strong { color: var(--accent); font-weight: 600; }
.vat { margin: 18px 0 0; font-size: 0.8125rem; color: var(--ink-soft); }

/* ---------- Pourquoi moi ---------- */
.reasons {
  list-style: none;
  margin: clamp(56px, 8vw, 96px) 0 0;
  padding: 0;
  display: grid;
  gap: 0 clamp(40px, 6vw, 96px);
}
@media (min-width: 760px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reasons li { padding: 30px 0 34px; border-top: 1px solid var(--line); }
.reasons h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 12px; }
.reasons p { color: var(--ink-soft); max-width: 46ch; }

/* ---------- FAQ ---------- */
.faq { margin-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.6vw + 0.9rem, 1.75rem);
  line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq__answer { padding: 0 0 30px; max-width: 64ch; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { background: var(--bg-alt); }
.contact__grid { display: grid; gap: clamp(48px, 7vw, 96px); margin-top: clamp(48px, 7vw, 80px); }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 4fr 7fr; } }

.coords { margin: 0; }
.coords dt {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.coords dd {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.4vw + 0.9rem, 1.6rem);
  line-height: 1.3;
}
.coords dd small { display: block; font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-soft); margin-top: 4px; }

.form { display: grid; gap: 22px; }
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .form .field--full, .form .form__foot { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.field label .opt { font-weight: 400; color: var(--ink-soft); }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #b3261e; }
.form__hint { grid-column: 1 / -1; margin: -6px 0 0; font-size: 0.875rem; color: var(--ink-soft); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 6px; }
.form__privacy { margin: 0; font-size: 0.875rem; color: var(--ink-soft); max-width: 46ch; }
.form__error { grid-column: 1 / -1; margin: 0; color: #b3261e; font-size: 0.9375rem; }
:root[data-theme="dark"] .form__error { color: #ff8a80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form__error { color: #ff8a80; } }
.hp { display: none; }

/* ---------- Pied de page ---------- */
.site-footer {
  padding: clamp(72px, 10vw, 120px) 0 40px;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid;
  gap: 40px;
  padding-bottom: clamp(48px, 7vw, 80px);
}
@media (min-width: 900px) { .footer__top { grid-template-columns: 5fr 4fr 3fr; } }
.footer__brand .logo { font-size: clamp(3rem, 7vw, 5rem); }
.footer__brand p { margin-top: 16px; color: var(--ink-soft); max-width: 32ch; font-size: 1rem; }
.footer__title {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 16px;
  font-family: var(--sans);
  font-weight: 500;
}
.footer__nav ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.footer__nav li { margin-bottom: 10px; break-inside: avoid; }
.footer__nav a { text-decoration: none; font-size: 1rem; }
.footer__nav a:hover { text-decoration: underline; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px 8px 10px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 500 0.9375rem/1 var(--sans);
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle__icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
  transition: transform 0.5s var(--ease);
}
:root[data-theme="dark"] .theme-toggle__icon { transform: rotate(180deg); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__bottom p { margin: 0; }

/* ---------- Pages légales ---------- */
.legal { padding: clamp(140px, 18vw, 200px) 0 var(--section); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.6rem, 7vw, 4.75rem); margin-bottom: 24px; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 56px 0 16px; }
.legal h3 { font-size: 1.3rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal .updated { font-size: 0.9375rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; font-size: 0.9375rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); font-weight: 600; }
.table-wrap { overflow-x: auto; }

.simple-page { min-height: 100vh; display: grid; align-items: center; padding: 140px 0 80px; }
.simple-page h1 { font-size: clamp(3rem, 9vw, 6.5rem); margin-bottom: 24px; max-width: 12ch; }
.simple-page h1 em { color: var(--accent); }
.simple-page p { color: var(--ink-soft); max-width: 44ch; margin-bottom: 32px; }

/* ---------- Animations (désactivées si mouvement réduit) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .intro {
    opacity: 0;
    transform: translateY(28px);
    animation: intro-in 1.1s var(--ease) forwards;
  }
  .js .intro--1 { animation-delay: 0.05s; }
  .js .intro--2 { animation-delay: 0.18s; }
  .js .intro--3 { animation-delay: 0.32s; }
  .js .intro--4 { animation-delay: 0.5s; }
  .js .intro--5 { animation-delay: 0.65s; }

  .js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@keyframes intro-in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .site-header { transition: none; }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .theme-toggle, .form, .launch-offer { display: none !important; }
  body { background: #fff; color: #000; }
}

.legal .back { margin-top: 56px; }
.faq__answer ul { margin: 0 0 1em; padding-left: 1.2em; }
.faq__answer li { margin-bottom: 4px; }
