/* =========================================================================
   COUNSELIA CONNECT — Cabinet de conseil pour CFA & organismes EDOF
   Feuille de styles maîtresse · style éditorial / académique
   Palette : marbre marine & or, texte ivoire — assortie a l'application. Aucune dépendance, aucun build.
   ========================================================================= */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,300..500&family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Spline+Sans+Mono:wght@400;500&display=swap');

/* ---- Tokens ---- */
:root {
  --paper:      #0c1526;   /* marine profond — fond */
  --paper-2:    #111e33;
  --paper-3:    #172742;
  --ink:        #F4EFE4;   /* ivoire — texte */
  --ink-soft:   #CBC5B4;
  --ink-faint:  #94907F;
  --navy:       #1C2C4C;   /* bleu profond — marque */
  --navy-2:     #2B3E63;
  --brass:      #C9A45C;   /* or — accent */
  --brass-2:    #F0D9A0;
  --bordeaux:   #E09A7A;   /* cuivre — rare emphase */
  --line:       rgba(244,239,228,.14);
  --line-2:     rgba(244,239,228,.30);
  --paper-rgb:  12,21,38;

  --serif:  'Spectral', Georgia, serif;
  --display:'Fraunces', Georgia, serif;
  --mono:   'Spline Sans Mono', ui-monospace, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--serif);
  background:
    radial-gradient(120% 90% at 50% 115%, #1a2a44 0%, transparent 55%),
    radial-gradient(80% 60% at 15% -10%, #16233c 0%, transparent 60%),
    linear-gradient(175deg, #0c1526 0%, #070d1a 100%);
  background-attachment: fixed;
  background-color: #0c1526;
  color: var(--ink);
  line-height: 1.62;
  font-weight: 400;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brass); color: #0c1526; }

/* ---- Paper grain overlay ---- */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================================
   Typographic utilities
   ========================================================================= */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: attr(data-index);
  color: var(--ink-faint);
}
.display {
  font-family: var(--display);
  font-weight: 380;
  line-height: 1.02;
  letter-spacing: -.012em;
  font-optical-sizing: auto;
}
.italic { font-style: italic; }
.brass { color: var(--brass); }
.navy  { color: var(--navy); }

/* =========================================================================
   Layout primitives
   ========================================================================= */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.rule { height: 1px; background: var(--line); border: 0; }
section { position: relative; }

/* Section header (numbered chapter) */
.chapter {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 18px;
  padding-block: clamp(70px, 9vw, 130px) 38px;
}
.chapter h2 {
  font-family: var(--display);
  font-weight: 360;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -.02em;
  max-width: 18ch;
}
.chapter .lede {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 20px);
}

/* =========================================================================
   Header / Nav
   ========================================================================= */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(var(--paper-rgb), .82);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.site-head__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 70px;
}
.brandmark { display: flex; align-items: center; gap: 12px; }
.brandmark .seal { width: 40px; height: 40px; flex: none; }
.brandmark .wordmark {
  font-family: var(--display);
  font-weight: 450;
  font-size: 21px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brandmark .wordmark small {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .34em;
  color: var(--ink-faint);
  margin-top: 1px;
  font-weight: 400;
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--brass);
  transition: width .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.nav-cta, .nav a { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 1px solid var(--brass);
  background: linear-gradient(180deg, #f0d9a0 0%, #c9a45c 100%);
  color: #0c1526;
  border-radius: 0;
  box-shadow: 0 4px 18px rgba(201,164,92,.25);
  transition: background .4s var(--ease), color .4s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { background: linear-gradient(180deg, #fff3d6 0%, #e6c77e 100%); border-color: var(--brass-2); transform: translateY(-2px); box-shadow: 0 6px 26px rgba(201,164,92,.4); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: rgba(244,239,228,.07); color: var(--brass-2); border-color: var(--brass); }
.btn--brass { background: linear-gradient(180deg, #f0d9a0 0%, #c9a45c 100%); border-color: var(--brass); color: #0c1526; }
.btn--brass:hover { background: linear-gradient(180deg, #fff3d6 0%, #e6c77e 100%); border-color: var(--brass-2); }
/* Le CTA dans la nav doit rester marine sur or (sinon .nav a l'emporte). */
.nav a.btn, .nav a.btn:hover { color: #0c1526; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 80px); position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 64px);
}
.hero__eyebrows {
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px; margin-bottom: 6px;
}
.hero__loc { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
.hero h1 {
  font-family: var(--display);
  font-weight: 330;
  font-size: clamp(42px, 8.4vw, 110px);
  line-height: .98;
  letter-spacing: -.028em;
}
.hero h1 em { font-style: italic; font-weight: 340; color: var(--brass-2); }
.hero h1 .small { font-size: .42em; vertical-align: super; color: var(--brass); font-style: italic; }
.hero__sub {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  align-items: end;
}
.hero__lede {
  max-width: 52ch;
  font-size: clamp(18px, 1.7vw, 22px);
  color: var(--ink-soft);
}
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); letter-spacing: .04em; }

/* Stat ledger under hero */
.ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 72px);
}
.ledger > div {
  padding: 28px 26px 26px 0;
  border-right: 1px solid var(--line);
}
.ledger > div:last-child { border-right: 0; }
.ledger dt {
  font-family: var(--display);
  font-weight: 360;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1;
  letter-spacing: -.02em;
}
.ledger dt sup { font-size: .4em; color: var(--brass); }
.ledger dd {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 12px;
  line-height: 1.5;
}

/* =========================================================================
   Manifesto / mission
   ========================================================================= */
.manifesto { padding-block: clamp(64px, 9vw, 124px); }
.manifesto__grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 56px); }
.manifesto p.lead {
  font-family: var(--display);
  font-weight: 330;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.24;
  letter-spacing: -.014em;
  max-width: 24ch;
}
.manifesto .body { max-width: 60ch; color: var(--ink-soft); display: grid; gap: 18px; }
.manifesto .body p { font-size: clamp(16.5px, 1.4vw, 19px); }
.dropcap::first-letter {
  font-family: var(--display);
  font-weight: 380;
  float: left;
  font-size: 4.4em;
  line-height: .82;
  padding: 6px 12px 0 0;
  color: var(--brass-2);
}

/* =========================================================================
   Two universes (CFA / EDOF)
   ========================================================================= */
.universes { background: #070d1a; color: var(--ink); }
.universes .wrap { padding-block: clamp(70px, 9vw, 130px); }
.universes .eyebrow { color: var(--brass-2); }
.universes .eyebrow::before { color: rgba(244,239,228,.4); }
.universes h2 { color: var(--ink); }
.universes .lede { color: rgba(244,239,228,.66); }
.uni-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: clamp(30px, 4vw, 56px);
  border: 1px solid rgba(244,239,228,.18);
}
.uni {
  padding: clamp(30px, 3.4vw, 50px);
  border-right: 1px solid rgba(244,239,228,.18);
  display: flex; flex-direction: column; gap: 22px;
}
.uni:last-child { border-right: 0; }
.uni__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brass-2);
  display: flex; justify-content: space-between; align-items: baseline;
}
.uni__tag b { font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: 0; color: rgba(244,239,228,.5); }
.uni h3 {
  font-family: var(--display); font-weight: 350;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: -.02em;
}
.uni h3 span { display: block; font-style: italic; color: var(--brass-2); font-size: .62em; margin-top: 6px; }
.uni p { color: rgba(244,239,228,.72); font-size: 16.5px; max-width: 42ch; }
.uni__clients { list-style: none; padding: 0; display: grid; gap: 0; margin-top: auto; }
.uni__clients li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0; border-top: 1px solid rgba(244,239,228,.16);
  font-size: 16px;
}
.uni__clients li .n { font-family: var(--mono); font-size: 11px; color: var(--brass-2); flex: none; width: 28px; }
.uni__clients li .l { color: var(--ink); }
.uni__clients li .l em { font-style: normal; color: rgba(244,239,228,.55); font-size: 13.5px; display: block; font-family: var(--serif); }

/* =========================================================================
   Services / accompagnement (numbered list)
   ========================================================================= */
.services { padding-bottom: clamp(40px, 6vw, 80px); }
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: 88px minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(28px, 3.4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .4s var(--ease);
}
.svc:hover { background: var(--paper-2); }
.svc__n { font-family: var(--mono); font-size: 13px; color: var(--brass); letter-spacing: .1em; padding-top: 8px; }
.svc h3 {
  font-family: var(--display); font-weight: 360;
  font-size: clamp(21px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -.01em;
}
.svc__body { color: var(--ink-soft); font-size: 16.5px; }
.svc__body .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--line-2); padding: 5px 10px; border-radius: 100px;
}

/* =========================================================================
   Conflict / defense — feature block
   ========================================================================= */
.defense { background: var(--navy); color: var(--ink); }
.defense .wrap { padding-block: clamp(70px, 9vw, 130px); }
.defense__grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 60px); align-items: end; }
.defense .eyebrow { color: var(--brass-2); }
.defense .eyebrow::before { color: rgba(244,239,228,.45); }
.defense h2 {
  font-family: var(--display); font-weight: 340;
  font-size: clamp(30px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.02em;
  max-width: 18ch; color: var(--ink);
}
.defense h2 em { font-style: italic; color: var(--brass-2); }
.defense__col { color: rgba(244,239,228,.74); display: grid; gap: 20px; max-width: 52ch; font-size: 17px; }
.defense blockquote {
  border-left: 2px solid var(--brass-2); padding-left: 22px;
  font-family: var(--display); font-style: italic; font-weight: 330;
  font-size: clamp(19px, 2vw, 26px); line-height: 1.32; color: var(--ink);
}
.defense cite { display: block; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-2); margin-top: 16px; }

/* =========================================================================
   Application — modules grid
   ========================================================================= */
.app .wrap { padding-bottom: clamp(50px, 7vw, 100px); }
.mod-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-bottom: 0;
  margin-top: clamp(28px, 4vw, 50px);
}
.mod {
  padding: clamp(24px, 2.6vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  transition: background .4s var(--ease);
  position: relative;
}
.mod:hover { background: var(--paper-2); }
.mod__n { font-family: var(--mono); font-size: 11px; color: var(--brass); letter-spacing: .14em; }
.mod h3 { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: -.01em; line-height: 1.12; }
.mod p { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.mod .pill {
  margin-top: auto; padding-top: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint);
}
.mod.is-cfa .mod__n { color: var(--brass-2); }
.mod.is-edof .mod__n { color: var(--bordeaux); }

/* Atouts band */
.atouts { padding-block: clamp(50px, 7vw, 96px); }
.atouts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.atout { background: var(--paper); padding: clamp(26px, 3vw, 42px); display: grid; gap: 12px; }
.atout .icn { width: 32px; height: 32px; color: var(--brass); }
.atout h3 { font-family: var(--display); font-weight: 380; font-size: 22px; letter-spacing: -.01em; }
.atout p { color: var(--ink-soft); font-size: 16px; max-width: 44ch; }

/* =========================================================================
   Method (timeline)
   ========================================================================= */
.method { background: var(--paper-2); }
.method .wrap { padding-block: clamp(70px, 9vw, 124px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(28px, 4vw, 50px); }
.step { background: var(--paper-2); padding: clamp(24px, 2.6vw, 38px); display: grid; gap: 14px; align-content: start; }
.step__n { font-family: var(--display); font-weight: 330; font-size: 46px; line-height: 1; color: var(--brass); }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: -.01em; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* =========================================================================
   Final CTA
   ========================================================================= */
.cta { background: #070d1a; color: var(--ink); text-align: center; }
.cta .wrap { padding-block: clamp(80px, 11vw, 160px); }
.cta .eyebrow { color: var(--brass-2); justify-content: center; }
.cta .eyebrow::before { color: rgba(244,239,228,.45); }
.cta h2 {
  font-family: var(--display); font-weight: 320;
  font-size: clamp(38px, 7vw, 92px); line-height: 1; letter-spacing: -.03em;
  margin: 22px auto 28px; max-width: 16ch;
}
.cta h2 em { font-style: italic; color: var(--brass-2); }
.cta p { max-width: 50ch; margin: 0 auto 36px; color: rgba(244,239,228,.7); font-size: 18px; }
.cta__row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta .btn--ghost { color: var(--ink); border-color: rgba(244,239,228,.5); }
.cta .btn--ghost:hover { background: rgba(244,239,228,.1); color: var(--brass-2); }

/* =========================================================================
   Footer
   ========================================================================= */
.site-foot { background: #070d1a; color: rgba(244,239,228,.7); border-top: 1px solid rgba(244,239,228,.16); }
.site-foot .wrap { padding-block: clamp(50px, 6vw, 80px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .wordmark { font-family: var(--display); font-size: 24px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.foot-brand .wordmark small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .34em; color: var(--ink-faint); margin-top: 6px; font-weight: 400; }
.foot-brand p { margin-top: 16px; max-width: 30ch; font-size: 15px; }
.foot-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 16px; font-weight: 500; }
.foot-col a, .foot-col li { display: block; font-size: 15px; padding: 5px 0; color: rgba(244,239,228,.7); transition: color .3s; list-style: none; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(244,239,228,.16); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: rgba(244,239,228,.5); }

/* =========================================================================
   Reveal animation
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   Inscription page
   ========================================================================= */
.page-hero { padding-block: clamp(50px, 7vw, 90px) clamp(30px, 4vw, 50px); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 {
  font-family: var(--display); font-weight: 330;
  font-size: clamp(38px, 6.4vw, 84px); line-height: 1; letter-spacing: -.028em;
}
.page-hero h1 em { font-style: italic; color: var(--brass-2); }
.page-hero p { max-width: 56ch; margin-top: 24px; font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-soft); }

.form-layout { display: grid; grid-template-columns: 1.55fr .85fr; gap: clamp(34px, 5vw, 72px); padding-block: clamp(46px, 6vw, 86px); align-items: start; }

/* Track selector */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.track {
  text-align: left; background: var(--paper); border: 1px solid var(--line-2);
  padding: 24px; display: grid; gap: 8px; transition: .3s var(--ease); position: relative;
}
.track:hover { border-color: var(--ink); transform: translateY(-2px); }
.track.selected { border-color: var(--brass); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--brass); }
.track .t-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.track h3 { font-family: var(--display); font-weight: 430; font-size: 26px; letter-spacing: .02em; }
.track p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; }
.track .check { position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; border: 1px solid var(--line-2); border-radius: 50%; transition: .3s; }
.track.selected .check { background: var(--brass); border-color: var(--brass); }
.track.selected .check::after { content: "✓"; color: #0c1526; font-size: 12px; display: grid; place-items: center; height: 100%; }

/* Fields */
.fieldset { border: 0; padding: 0; margin: 0; }
.legend {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass); margin: 38px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.legend .ln { color: var(--ink-faint); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: grid; gap: 7px; }
.field.col-2 { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.field label .req { color: var(--bordeaux); }
.field input, .field select, .field textarea {
  font-family: var(--serif); font-size: 16.5px; color: var(--ink);
  background: var(--paper); border: 0; border-bottom: 1.5px solid var(--line-2);
  padding: 11px 2px; transition: border-color .3s, background .3s; width: 100%;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-bottom-color: var(--brass); background: var(--paper-2);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); opacity: .7; }
.check-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 14.5px; color: var(--ink-soft); }
.check-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brass); flex: none; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.form-actions .note { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.field-error { color: var(--bordeaux); font-family: var(--mono); font-size: 12px; display: none; margin-top: 10px; }

/* Aside */
.form-aside { position: sticky; top: 96px; display: grid; gap: 26px; }
.aside-card { border: 1px solid var(--line); padding: 26px; background: var(--paper-2); }
.aside-card h4 { font-family: var(--display); font-weight: 420; font-size: 19px; margin-bottom: 14px; }
.aside-card ol { margin: 0; padding-left: 0; list-style: none; counter-reset: a; display: grid; gap: 14px; }
.aside-card ol li { counter-increment: a; position: relative; padding-left: 38px; font-size: 15px; color: var(--ink-soft); }
.aside-card ol li::before {
  content: counter(a, decimal-leading-zero); position: absolute; left: 0; top: 0;
  font-family: var(--mono); font-size: 11px; color: var(--brass); padding-top: 2px;
}
.aside-card.quote { background: var(--navy); color: var(--ink); border-color: var(--navy); }
.aside-card.quote p { font-family: var(--display); font-style: italic; font-weight: 330; font-size: 19px; line-height: 1.34; }
.aside-card.quote cite { display: block; font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-2); margin-top: 16px; }

/* Done state */
.form-done { display: none; border: 1px solid var(--brass); background: var(--paper-2); padding: clamp(34px, 5vw, 60px); text-align: center; }
.form-done .seal { width: 56px; height: 56px; margin: 0 auto 22px; color: var(--brass); }
.form-done h2 { font-family: var(--display); font-weight: 360; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.02em; margin-bottom: 16px; }
.form-done p { max-width: 48ch; margin: 0 auto 8px; color: var(--ink-soft); }

/* Method page extras */
.prose { max-width: 64ch; display: grid; gap: 18px; color: var(--ink-soft); font-size: 17.5px; padding-bottom: clamp(40px,6vw,80px); }
.prose p strong { color: var(--ink); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2vw, 26px); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mk { font-family: var(--mono); color: var(--brass); transition: transform .3s; flex: none; }
.faq details[open] summary .mk { transform: rotate(45deg); }
.faq .ans { padding: 0 0 26px; max-width: 64ch; color: var(--ink-soft); font-size: 16.5px; }

/* =========================================================================
   Responsive
   ========================================================================= */
/* Menu replié (bouton ☰) jusqu'à 1240 px : avec « Espace client » il ne tient plus sur une ligne en dessous. */
@media (max-width: 1240px) {
  .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: flex-start;
    background: var(--paper); padding: 24px var(--gutter); gap: 4px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .45s var(--ease); height: auto; }
  .nav.open { transform: none; }
  .nav a { font-size: 15px; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 12px; }
  .nav-toggle { display: block; }
}
@media (max-width: 980px) {
  .ledger { grid-template-columns: 1fr 1fr; }
  .ledger > div:nth-child(2) { border-right: 0; }
  .ledger > div:nth-child(1), .ledger > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .uni-grid { grid-template-columns: 1fr; }
  .uni { border-right: 0; border-bottom: 1px solid rgba(244,239,228,.18); }
  .uni:last-child { border-bottom: 0; }
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .svc { grid-template-columns: 1fr; gap: 12px; }
  .svc__n { padding-top: 0; }
  .mod-grid { grid-template-columns: 1fr; }
  .atouts-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .ledger { grid-template-columns: 1fr; }
  .ledger > div { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 920px) {
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; }
}
@media (max-width: 560px) {
  .tracks { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
