/* ==========================================================
   KØRE · Feuille de style du site
   Design system v1.0 : Bebas Neue (titres) + DM Sans (texte)
   ========================================================== */

/* ---------- Polices hébergées sur le site (pas de Google Fonts : aucune donnée envoyée à Google) ---------- */
/* Bebas Neue · normal · latin-ext */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/bebas-neue-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Bebas Neue · normal · latin */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/bebas-neue-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans · italic · latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/dm-sans-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans · italic · latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/dm-sans-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans · normal · latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans · normal · latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --ink:       #0C0C0A;
  --paper:     #F5F5F0;
  --signal:    #D74D26;
  --signal-dk: #B83E1C;
  --muted:     #7A7A76;
  --border:    #DDDDD8;
  --surface:   #EEEEE9;
  --night:     #141412;
  --night-2:   #1E1E1B;
  --night-muted: #8A8A85;
  --on-signal: #FFFFFF;

  --f-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --f-body:    'DM Sans', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  /* Point de départ du premier bloc de chaque page, identique partout */
  --page-top: clamp(56px, 23svh, 220px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
}
.skip-link:focus { top: 12px; }

/* ---------- Typo ---------- */
.label {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: .18em;
  color: var(--signal);
  display: block;
  margin-bottom: 14px;
}
.h-display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.h-section {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 80px);
  line-height: .92;
  text-transform: uppercase;
  text-wrap: balance;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: .08em;
  line-height: 1;
  padding: 17px 26px 15px;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn-signal { background: var(--signal); color: var(--on-signal); }
.btn-signal:hover { background: var(--signal-dk); }
.btn-signal:active { transform: translateY(1px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand img { height: 26px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 40px; }
.nav-list { display: flex; gap: 32px; list-style: none; }
.nav-list a {
  font-family: var(--f-display);
  font-size: 19px;
  letter-spacing: .1em;
  position: relative;
  padding-block: 6px;
}
.nav-list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); background: var(--signal); }
.header-cta { font-size: 17px; padding: 14px 20px 12px; }

.menu-toggle {
  display: none;
  font-family: var(--f-display);
  font-size: 19px; letter-spacing: .12em;
  align-items: center; gap: 10px;
  padding: 8px 0;
}
.menu-toggle .bars { width: 22px; height: 12px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 10px; }
.menu-open .menu-toggle .bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
/* Le hero tient dans un écran : hauteur de la fenêtre moins le menu */
.hero {
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: flex-start;
  padding-block: var(--page-top) 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, .6fr);
  align-items: start;
  gap: clamp(24px, 4vw, 64px);
}
.hero-title { font-size: clamp(48px, 6.4vw, 104px); }
.hero-title .line { display: block; white-space: nowrap; }
.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 24px;
  white-space: nowrap;
}
.hero-actions { margin-top: 36px; }
.hero-mascot { justify-self: end; }
.hero-mascot img {
  width: auto;
  max-height: min(62svh, 520px);
  transform-origin: 60% 90%;
}

/* ---------- Constat ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.constat { border-top: 1px solid var(--border); }
.constat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.constat-title { font-size: clamp(36px, 4.2vw, 60px); }
.constat-title .line { display: block; white-space: nowrap; }
.constat-text p {
  font-size: 19px; color: var(--ink); max-width: 52ch;
  text-align: justify; hyphens: auto; -webkit-hyphens: auto;
}
.constat-text p + p { margin-top: 1em; }
.statement {
  margin: clamp(64px, 9vw, 120px) auto 0;
  padding-top: 40px;
  border-top: 2px solid var(--ink);
  text-align: center;
  font-size: clamp(30px, 4.4vw, 60px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.015em;
  max-width: 22ch;
  text-wrap: balance;
}
.statement strong { font-weight: 500; }

/* ---------- Renvois ---------- */
.renvois { padding-top: 0; }
.renvois-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.renvoi {
  display: flex; flex-direction: column;
  min-height: 340px;
  padding: clamp(28px, 3.5vw, 48px);
  background: var(--surface);
  border: 1px solid var(--surface);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.renvoi:hover { border-color: var(--ink); background: var(--paper); }
.renvoi-num {
  font-family: var(--f-display);
  font-size: 15px; letter-spacing: .18em; color: var(--muted);
}
.renvoi h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: .92;
  margin-top: 18px;
}
.renvoi p { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 38ch; }
.renvoi-link {
  margin-top: auto; padding-top: 40px;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-size: 20px; letter-spacing: .1em;
}
.renvoi-link .arrow {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  font-family: var(--f-body); font-size: 18px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.renvoi:hover .renvoi-link .arrow { background: var(--ink); color: var(--paper); transform: translateX(4px); }

/* ---------- Intro de page (pages intérieures) ---------- */
.page-intro { padding-block: var(--page-top) clamp(48px, 6vw, 80px); }
.page-title { font-size: clamp(48px, 6.4vw, 104px); max-width: 18ch; text-wrap: balance; }
.page-lead {
  margin-top: 28px;
  font-size: 19px;
  max-width: 54ch;
}
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; list-style: none; }
.quick-links a {
  display: inline-block;
  font-family: var(--f-display); font-size: 17px; letter-spacing: .1em;
  padding: 11px 18px 9px;
  border: 1.5px solid var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.quick-links a:hover { background: var(--ink); color: var(--paper); }

/* ---------- Services en zigzag ---------- */
.service {
  border-top: 1px solid var(--border);
  padding-block: clamp(64px, 8vw, 112px);
  scroll-margin-top: var(--header-h);
}
.service-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.service--reverse .service-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.service--reverse .service-visual { order: 2; }
.service-visual { display: flex; justify-content: center; }
.service-visual img { width: auto; max-height: min(58svh, 460px); }
.service-title { font-size: clamp(40px, 4.4vw, 68px); text-wrap: balance; }
.service-text { margin-top: 24px; font-size: 18px; max-width: 52ch; }
.service-list {
  list-style: none;
  margin-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 52ch;
}
.service-list li {
  display: flex; align-items: baseline; gap: 14px;
  padding-block: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.service-list li::before {
  content: '';
  flex: none;
  width: 7px; height: 7px;
  background: var(--ink);
  transform: translateY(-2px);
}

/* ---------- Tarifs ---------- */
.price-section {
  border-top: 1px solid var(--border);
  padding-block: clamp(64px, 8vw, 112px);
}
.price-title, .block-title { font-size: clamp(40px, 4.4vw, 68px); }
.price-sub { margin-top: 12px; color: var(--muted); font-size: 18px; }

/* Les 3 formules réseaux */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin-top: 56px;
  padding-top: 110px; /* place pour La Puce assise sur la carte Complet */
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.2vw, 32px);
  background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
/* Effet de profondeur au survol (souris uniquement) */
@media (hover: hover) {
  .plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px -18px rgba(12, 12, 10, .35);
  }
}
.plan-name {
  font-family: var(--f-display); font-weight: 400;
  font-size: 26px; letter-spacing: .06em; line-height: 1;
}
.plan-badge {
  display: inline-block;
  font-family: var(--f-display); font-size: 14px; letter-spacing: .16em;
  padding: 6px 10px 4px;
  margin-top: 14px;
  border: 1.5px solid currentColor;
  align-self: flex-start;
}
.plan-price { margin-top: 22px; }
.plan-from { display: block; font-size: 14px; color: var(--muted); }
.plan-amount {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(48px, 4vw, 62px);
  line-height: .95;
}
.plan-amount small { font-family: var(--f-body); font-size: 17px; font-weight: 400; letter-spacing: 0; }
.plan .service-list { margin-top: 22px; }
.plan .service-list li { font-size: 15px; padding-block: 9px; }

.plan--featured { background: var(--signal); color: #FFFFFF; }
.plan--featured .plan-from { color: rgba(255, 255, 255, .78); }
.plan--featured .service-list,
.plan--featured .service-list li { border-color: rgba(255, 255, 255, .28); }
.plan--featured .service-list li::before { background: #FFFFFF; }

.plan-mascot {
  position: absolute;
  right: 20px;
  bottom: calc(100% - 70px); /* les mains de La Puce posées sur le bord haut de la carte */
  width: auto; height: 170px;
  pointer-events: none;
}
.plans-note { margin-top: 28px; font-size: 16px; color: var(--muted); }
.plans-note strong { color: var(--ink); font-weight: 500; }

/* Listes de prix empilées */
.price-list { list-style: none; margin-top: 40px; border-top: 1px solid var(--ink); max-width: 880px; }
.price-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--border);
  font-size: 18px;
}
.price-value { flex: none; text-align: right; white-space: nowrap; }
.price-value .from { font-size: 14px; color: var(--muted); margin-right: 6px; }
.price-value strong { font-family: var(--f-display); font-weight: 400; font-size: 28px; letter-spacing: .02em; }
.price-note { margin-top: 18px; font-size: 16px; color: var(--muted); max-width: 880px; }

/* ---------- Ma méthode ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  margin-top: 56px;
}
.step {
  position: relative;
  padding-top: 32px;
  border-top: 2px solid var(--ink);
}
.step::before {
  content: '';
  position: absolute; left: 0; top: -7px;
  width: 12px; height: 12px;
  background: var(--ink);
}
.step-num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(56px, 5vw, 80px);
  line-height: .9;
}
.step-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(24px, 2vw, 30px); letter-spacing: .03em; line-height: 1;
  margin-top: 18px;
}
.step-text { margin-top: 14px; font-size: 16px; color: var(--muted); }

.engagements { background: var(--night); color: var(--paper); }
.engagements .block-title { color: var(--paper); }
.engagements-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
  margin-top: 48px;
}
.engagement { padding-block: 28px; border-top: 1px solid #2C2C28; }
.engagement-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: 26px; letter-spacing: .04em; line-height: 1;
}
.engagement-text { margin-top: 10px; font-size: 16px; color: var(--night-muted); }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-mascot { margin-top: 32px; width: auto; max-height: 300px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 22px;
  font-size: 18px; font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  font-size: 20px; font-weight: 400; line-height: 1;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
.faq-item summary:hover::after { background: var(--ink); color: var(--paper); }
.faq-answer { padding-bottom: 24px; font-size: 17px; color: var(--muted); max-width: 60ch; }
.faq-answer a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Références (Accueil) : cartes façon formules Tarifs ---------- */
.references { border-top: 1px solid var(--border); }
.refs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.refs-mascot { width: auto; height: clamp(150px, 15vw, 210px); margin-right: clamp(0px, 3vw, 48px); }
.refs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.ref-card {
  display: flex; flex-direction: column;
  width: 100%;
  text-align: left;
  padding: clamp(24px, 2.2vw, 32px);
  background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
@media (hover: hover) {
  .ref-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px -18px rgba(12, 12, 10, .35);
  }
}
.ref-logo { display: flex; align-items: center; justify-content: center; height: 84px; }
.ref-logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.ref-logo--banner img { width: 100%; height: 100%; object-fit: cover; }
.ref-name {
  display: block;
  margin-top: 24px;
  font-family: var(--f-display); font-weight: 400;
  font-size: 26px; letter-spacing: .04em; line-height: 1;
}
.ref-card .service-list { margin-top: 18px; margin-bottom: 28px; }
.ref-card .service-list li { font-size: 15px; padding-block: 9px; }
.ref-link {
  margin-top: auto;
  font-family: var(--f-display); font-size: 17px; letter-spacing: .1em;
}

/* Aperçu en grand (flyers, livret) */
.lightbox {
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 72px var(--gutter) 40px;
  border: 0;
  background: rgba(20, 20, 18, .92);
  overflow-y: auto;
}
.lightbox::backdrop { background: transparent; }
.lightbox-img { width: min(100%, 980px); height: auto; margin-inline: auto; }
.lightbox-close {
  position: fixed; top: 16px; right: 16px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  font-size: 28px; line-height: 1;
}
.lightbox-close:hover { background: var(--signal); color: #FFFFFF; }
html.lightbox-open { overflow: hidden; }

/* ---------- Contact : formulaire de devis ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-section { padding-bottom: clamp(72px, 10vw, 140px); }
.form-wrap { max-width: 760px; }
.devis-form, .form-success { background: var(--surface); padding: clamp(24px, 4vw, 48px); }

.form-progress {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 40px;
  counter-reset: etape;
}
.form-progress li {
  counter-increment: etape;
  padding-top: 12px;
  border-top: 3px solid var(--border);
  font-family: var(--f-display); font-size: 15px; letter-spacing: .12em;
  color: var(--muted);
}
.form-progress li::before { content: counter(etape) " · "; }
.form-progress li.is-done { border-top-color: var(--ink); color: var(--ink); }
.form-progress li.is-current { border-top-color: var(--signal); color: var(--ink); }

.form-step { border: 0; min-width: 0; }
.js .form-step { display: none; }
.js .form-step.is-active { display: block; }
.form-step + .form-step { margin-top: 48px; }
.js .form-step + .form-step { margin-top: 0; }
.form-step-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(32px, 3.4vw, 48px); line-height: 1;
  padding: 0;
}
.form-hint { margin-top: 10px; color: var(--muted); font-size: 16px; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1.5px solid var(--border);
  font-size: 17px; font-weight: 500;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.choice span::before {
  content: ''; flex: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  transition: background .2s var(--ease);
}
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--ink); background: #FFFFFF; }
.choice input:checked + span::before {
  background: var(--ink);
  box-shadow: inset 0 0 0 3px var(--paper);
}
.choice input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 17px; color: var(--ink);
  padding: 14px 16px;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 0;
  transition: border-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #A6A6A1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #FFFFFF; }
.field.has-error input { border-color: var(--signal); }
.field-error { margin-top: 8px; font-size: 14px; color: var(--signal-dk); }

.consent { margin-top: 28px; }
.consent-label { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.consent-label input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.consent-label a { text-decoration: underline; text-underline-offset: 3px; }

.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; }
.form-nav .btn:only-child { margin-left: auto; }
.form-back { font-family: var(--f-display); font-size: 18px; letter-spacing: .1em; padding: 10px 0; }
.form-back:hover { color: var(--signal); }

.form-success { text-align: center; }
.form-success img { width: auto; height: 220px; margin: 0 auto 24px; }
.form-success-title { font-size: clamp(48px, 5vw, 72px); }
.form-success p { margin-top: 12px; font-size: 19px; }
.form-success:focus { outline: none; }

.form-alt { margin-top: 24px; font-size: 16px; color: var(--muted); }
.form-alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages légales et 404 ---------- */
.legal-section { padding-bottom: clamp(72px, 10vw, 140px); }
.legal > * { max-width: 760px; }
.legal h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(26px, 2.4vw, 32px); letter-spacing: .03em; line-height: 1;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.legal h2:first-child { margin-top: 0; }
.legal p { margin-top: 14px; font-size: 17px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.error-page { min-height: calc(100svh - var(--header-h)); }
.error-grid { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.error-mascot { width: auto; height: clamp(200px, 28vw, 380px); }

/* ---------- Appel final ---------- */
.cta-final { background: var(--night); color: var(--paper); }
.cta-final-inner {
  display: flex; align-items: end; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-final-inner { align-items: center; }
.cta-final h2 { font-size: clamp(56px, 7vw, 112px); color: var(--paper); }
/* Titre long : une seule ligne sur ordinateur */
@media (min-width: 1025px) {
  .page-lead.lead-oneline { max-width: none; white-space: nowrap; }
  .cta-final h2.cta-long { font-size: clamp(48px, 5.2vw, 84px); white-space: nowrap; }
}.cta-final p { font-size: 20px; color: var(--night-muted); margin-bottom: 28px; max-width: 32ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-muted); font-size: 15px; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-block: 64px 48px;
  border-top: 1px solid #2C2C28;
}
.footer-brand img { height: 30px; width: auto; }
.footer-tagline { margin-top: 18px; font-style: italic; font-weight: 300; }
.footer-zone { margin-top: 8px; }
.footer-title {
  font-family: var(--f-display); font-size: 15px; letter-spacing: .18em;
  color: var(--paper); margin-bottom: 14px;
}
.footer-list { list-style: none; display: grid; gap: 8px; }
.footer-list a { transition: color .2s var(--ease); }
.footer-list a:hover { color: var(--paper); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 24px 32px;
  border-top: 1px solid #2C2C28;
  font-size: 13px;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--paper); }

/* ---------- Apparition au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .1s; }
.js .reveal-d2 { transition-delay: .2s; }
.js .reveal-d3 { transition-delay: .3s; }

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-3deg); }
  40% { transform: rotate(2deg); }
  60% { transform: rotate(-1.5deg); }
}
.js .hero-mascot.is-visible img { animation: wave 2.4s var(--ease) .6s 1; }

/* ---------- Responsive : tablette ---------- */
@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: rgba(245, 245, 240, .82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-end; justify-content: space-between;
    gap: 32px;
    padding: 32px var(--gutter) 40px;
    border-top: 1px solid var(--border);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .is-resizing .main-nav { transition: none; }
  .menu-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
  .nav-list a { font-size: clamp(30px, 8vw, 40px); letter-spacing: .04em; line-height: 1.15; }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { color: var(--signal); }
  .header-cta { width: 100%; justify-content: center; font-size: 20px; padding: 18px; }

  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); }
  .constat-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .plans { grid-template-columns: 1fr; max-width: 560px; padding-top: 0; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .refs-grid { grid-template-columns: 1fr 1fr; }
  .engagements-grid { grid-template-columns: 1fr 1fr; }
  .plan--perched { margin-top: 110px; }
}

/* ---------- Responsive : mobile ---------- */
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .brand img { height: 22px; }

  /* Hero plein écran : Puce en haut, texte posé en bas */
  .hero { min-height: calc(100svh - var(--header-h)); align-items: stretch; padding-block: 24px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; align-content: space-between; }
  .hero .label { font-size: 13px; margin-bottom: 10px; }
  .hero-title { font-size: clamp(46px, 14vw, 60px); }
  .hero-title .line { white-space: normal; }
  .hero-sub { font-size: 16px; margin-top: 16px; }
  .hero-actions { margin-top: 20px; }
  .hero-mascot { justify-self: end; order: -1; margin-bottom: 48px; }
  .hero-mascot img { max-height: 200px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .constat-text p { font-size: 17px; }
  .constat-title { font-size: clamp(30px, 10.4vw, 44px); }
  .cta-final h2 { font-size: 72px; }
  .renvois-grid { grid-template-columns: 1fr; }

  .page-intro { padding-top: 24px; }
  .page-lead { font-size: 17px; }
  .quick-links a { font-size: 15px; padding: 9px 14px 7px; }
  .service-grid,
  .service--reverse .service-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-visual,
  .service--reverse .service-visual { order: -1; justify-content: flex-end; }
  .service-visual img { max-height: 190px; }
  .service-text { font-size: 17px; }
  .renvoi { min-height: 0; }

  .choices, .fields { grid-template-columns: 1fr; }
  .form-progress li { font-size: 13px; }
  .form-nav .btn { flex: 1; justify-content: center; }
  .form-success img { height: 170px; }
  .refs-grid { grid-template-columns: 1fr; margin-top: 24px; }
  .error-grid { flex-direction: column-reverse; align-items: stretch; }
  .error-mascot { align-self: flex-end; height: 180px; }
  .legal p { font-size: 16px; }
  .refs-head { flex-direction: column-reverse; align-items: stretch; gap: 16px; }
  .refs-mascot { align-self: flex-end; height: 150px; margin-right: 0; }
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .step { border-top: 0; border-left: 2px solid var(--ink); padding: 0 0 40px 24px; }
  .step:last-child { padding-bottom: 0; }
  .step::before { left: -7px; top: 0; }
  .step-num { font-size: 52px; }
  .engagements-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-aside { position: static; display: flex; flex-direction: column; }
  .faq-mascot { order: -1; align-self: flex-end; margin: 0 0 24px; max-height: 170px; }
  .faq-item summary { font-size: 16px; padding-block: 18px; }
  .faq-answer { font-size: 16px; }

  .plans { margin-top: 40px; }
  .plan-mascot { height: 150px; bottom: calc(100% - 62px); }
  .plan--perched { margin-top: 96px; }
  .price-list li { font-size: 16px; gap: 16px; padding-block: 14px; }
  .price-value .from { display: block; margin-right: 0; font-size: 12px; }
  .price-value strong { font-size: 24px; }

  .cta-final-inner { flex-direction: column; align-items: flex-start; }
  .cta-final .btn { width: 100%; justify-content: center; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

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