/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --bleu-roi:    #1F3DA6;
  --bleu-nuit:   #14225E;
  --vert:        #168A5B;
  --vert-clair:  #E6F3EC;
  --sable:       #F4F3EE;
  --pierre:      #5C6270;
  --ligne:       #DCD9D0;
  --blanc:       #FFFFFF;

  --radius: 14px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;

  --container: 1120px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--bleu-nuit);
  background: var(--sable);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bleu-nuit);
  color: var(--blanc);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--bleu-roi);
  outline-offset: 3px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
}

.container--narrow {
  max-width: 720px;
}

.section {
  padding: 6rem 1.5rem;
}

@media (max-width: 640px) {
  .section { padding: 4rem 1.25rem; }
}

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--bleu-nuit);
}

.section__title--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 22ch;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  text-align: center;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--vert);
  color: var(--blanc);
  box-shadow: 0 1px 2px rgba(20, 34, 94, 0.12);
}
.btn--primary:hover { background: #137a4f; }
.btn--primary:active { transform: scale(0.98); }

.btn--small { padding: 0.55rem 1.15rem; font-size: 0.875rem; }
.btn--large { padding: 0.95rem 1.75rem; font-size: 1rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 243, 238, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 0.5px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.nav.is-scrolled {
  box-shadow: 0 1px 0 var(--ligne), 0 4px 16px rgba(20, 34, 94, 0.06);
  border-bottom-color: var(--ligne);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--nav-height);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__logo { display: flex; align-items: center; gap: 0.5rem; }
.nav__logo-text {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--bleu-nuit);
}
.nav__link {
  font-size: 0.9375rem;
  color: var(--pierre);
  margin-left: auto;
  display: none;
}
.nav__link:hover { color: var(--bleu-nuit); }
@media (min-width: 720px) {
  .nav__link { display: inline-block; }
}

/* ============================================================
   HERO (moment fort — fond bleu nuit)
   ============================================================ */
.hero {
  background: var(--bleu-nuit);
  padding: 4.5rem 1.5rem 5.5rem;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
}
.hero__eyebrow {
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9FB0E8;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.15;
  color: var(--blanc);
  letter-spacing: -0.01em;
}
.hero__subtitle {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 38ch;
}
.hero .btn--large { margin-top: 2.25rem; }
.hero__visual { display: flex; justify-content: center; }

.micro-trust {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}
.micro-trust li { position: relative; }
.micro-trust li:not(:last-child)::after {
  content: '·';
  margin-left: 1rem;
  color: rgba(255, 255, 255, 0.35);
}
.micro-trust--center { justify-content: center; margin-top: 2rem; }
@media (max-width: 480px) {
  .micro-trust { flex-direction: column; gap: 0.4rem; }
  .micro-trust--center { align-items: center; }
  .micro-trust li:not(:last-child)::after { display: none; }
}

/* ============================================================
   ARTEFACT — confirmation de consentement horodatée
   ============================================================ */
.artefact {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}
.artefact--inline {
  margin-top: 1rem;
  box-shadow: 0 6px 24px rgba(20, 34, 94, 0.08);
  border: 0.5px solid var(--ligne);
}
.artefact__header { display: flex; align-items: center; gap: 0.6rem; }
.artefact__check {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--vert-clair);
  display: flex; align-items: center; justify-content: center;
}
.artefact__title { font-weight: 600; font-size: 0.95rem; color: var(--bleu-nuit); }
.artefact__timestamp {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: var(--pierre);
  letter-spacing: 0.01em;
}
.artefact__detail {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--bleu-nuit);
  border-top: 0.5px solid var(--ligne);
  padding-top: 0.75rem;
}

/* ============================================================
   2. RUPTURE
   ============================================================ */
.rupture { background: var(--sable); }
.rupture .section__title { text-align: center; max-width: 24ch; margin: 0 auto; }

.pain-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) {
  .pain-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
.pain {
  background: var(--blanc);
  border: 0.5px solid var(--ligne);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pain:hover {
  box-shadow: 0 10px 30px rgba(20, 34, 94, 0.06);
  transform: translateY(-2px);
}
.pain__icon { display: block; margin-bottom: 1rem; }
.pain__title { font-size: 1.0625rem; font-weight: 600; color: var(--bleu-nuit); margin-bottom: 0.5rem; }
.pain__text { font-size: 0.9375rem; line-height: 1.6; color: var(--pierre); }

.rupture__cost {
  margin: 3rem auto 0;
  max-width: 40ch;
  text-align: center;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--pierre);
}
.transition-quote {
  margin: 2.25rem auto 0;
  max-width: 26ch;
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.3;
  color: var(--bleu-roi);
}

/* ============================================================
   6bis. ANCRAGE DE VALEUR
   ============================================================ */
.value { background: var(--blanc); }
.value__card {
  background: var(--sable);
  border: 0.5px solid var(--ligne);
  border-left: 3px solid #C2913B;
  border-radius: var(--radius);
  padding: 2.75rem;
  text-align: center;
}
@media (max-width: 640px) { .value__card { padding: 1.75rem; } }
.value__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.25;
  color: var(--bleu-nuit);
  max-width: 26ch;
  margin: 0 auto;
}
.value__copy {
  margin: 1.25rem auto 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--pierre);
  max-width: 50ch;
}

/* ============================================================
   3. RENVERSEMENT
   ============================================================ */
.renversement { background: var(--blanc); text-align: center; }
.renversement__para {
  margin-top: 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--pierre);
}
.renversement__para strong { color: var(--bleu-nuit); }
.exergue {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 0.5px solid var(--ligne);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
  color: var(--bleu-nuit);
}

/* ============================================================
   4. COMMENT ÇA MARCHE — timeline
   ============================================================ */
.how { background: var(--sable); }
.timeline {
  margin-top: 3.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  position: relative;
}
/* fil vertical reliant les étapes */
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: -2.5rem;
  width: 0.5px;
  background: var(--ligne);
}
.step__num {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blanc);
  border: 0.5px solid var(--ligne);
  color: var(--bleu-roi);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
}
.step__title { font-size: 1.1rem; font-weight: 600; color: var(--bleu-nuit); margin-bottom: 0.35rem; }
.step__text { font-size: 0.9375rem; line-height: 1.6; color: var(--pierre); max-width: 46ch; }
.step .artefact--inline,
.step .lead-card { max-width: 340px; }

/* ============================================================
   ARTEFACT — fiche lead
   ============================================================ */
.lead-card {
  margin-top: 1rem;
  background: var(--blanc);
  border: 0.5px solid var(--ligne);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 6px 24px rgba(20, 34, 94, 0.08);
}
.lead-card__top { margin-bottom: 0.9rem; }
.lead-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--vert-clair);
  color: var(--vert);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
}
.lead-card__fields { display: flex; flex-direction: column; gap: 0.6rem; }
.lead-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.875rem;
  border-bottom: 0.5px solid var(--ligne);
  padding-bottom: 0.6rem;
}
.lead-card__row:last-child { border-bottom: 0; padding-bottom: 0; }
.lead-card__row dt { color: var(--pierre); }
.lead-card__row dd { color: var(--bleu-nuit); font-weight: 500; text-align: right; }
.lead-card__status { color: var(--vert) !important; }
.blur {
  filter: blur(4px);
  user-select: none;
  color: var(--bleu-nuit);
}
.lead-card__ghost-btn {
  display: block;
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pierre);
  border: 1px dashed var(--ligne);
  border-radius: 100px;
  padding: 0.55rem;
}

/* ============================================================
   5. CONSENTEMENT
   ============================================================ */
.consent { background: var(--blanc); }
.consent .section__title { max-width: 28ch; }
.consent-points {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) {
  .consent-points { grid-template-columns: 1fr; max-width: 520px; }
}
.consent-point {
  background: var(--vert-clair);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.consent-point__check {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blanc);
  display: flex; align-items: center; justify-content: center;
}
.consent-point p { font-size: 0.9375rem; line-height: 1.6; color: var(--bleu-nuit); }
.consent-point strong { font-weight: 600; }

/* ============================================================
   6. EXCLUSIVITÉ
   ============================================================ */
.exclu { background: var(--sable); }
.exclu__grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 860px) {
  .exclu__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.exclu__text {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--pierre);
  max-width: 42ch;
}
.exclu .btn { margin-top: 2rem; }

/* Carte secteurs — illustrative seulement */
.sectors {
  background: var(--blanc);
  border: 0.5px solid var(--ligne);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.sectors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  max-width: 280px;
  margin: 0 auto;
}
.hex {
  aspect-ratio: 1 / 1.1;
  background: var(--sable);
  border: 0.5px solid var(--ligne);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hex--accent {
  background: var(--bleu-roi);
  border-color: var(--bleu-roi);
}
.sectors__caption {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--pierre);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ============================================================
   7. COMPARATIF
   ============================================================ */
.compare { background: var(--blanc); }
.compare__wrap { margin-top: 3rem; }
.compare__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
}
.compare__table th,
.compare__table td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 0.5px solid var(--ligne);
  vertical-align: middle;
}
.compare__table thead th {
  font-weight: 600;
  color: var(--pierre);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--ligne);
}
.compare__table tbody th[scope="row"] {
  font-weight: 500;
  color: var(--bleu-nuit);
  width: 28%;
}
.compare__sub { font-weight: 400; color: var(--pierre); font-size: 0.8rem; }
.compare__table td { color: var(--pierre); }

/* colonne Mandavia mise en avant */
.compare__feature { position: relative; }
thead .compare__feature {
  color: var(--bleu-nuit);
  font-size: 1rem;
  font-family: var(--serif);
}
.compare__table .compare__feature {
  background: var(--vert-clair);
  color: var(--bleu-nuit);
  font-weight: 600;
}
.compare__table thead .compare__feature { border-top: 2px solid var(--vert); border-radius: 10px 10px 0 0; }
.compare__table tbody tr:last-child .compare__feature { border-radius: 0 0 10px 10px; }

.mark { display: inline-flex; align-items: center; gap: 0.4rem; }
.mark--yes { color: var(--vert); font-weight: 600; }
.mark--no { color: var(--pierre); }
.mark--dash { color: var(--ligne); }

/* Comparatif → cartes empilées en mobile */
@media (max-width: 720px) {
  .compare__table thead { display: none; }
  .compare__table,
  .compare__table tbody,
  .compare__table tr,
  .compare__table th,
  .compare__table td { display: block; width: 100%; }
  .compare__table tr {
    background: var(--blanc);
    border: 0.5px solid var(--ligne);
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    margin-bottom: 1.25rem;
  }
  .compare__table tbody th[scope="row"] {
    width: 100%;
    font-family: var(--serif);
    font-size: 1rem;
    border-bottom: 0.5px solid var(--ligne);
    padding: 0.85rem 0;
  }
  .compare__table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 0.5px solid var(--ligne);
    padding: 0.7rem 0;
    text-align: right;
  }
  .compare__table td::before {
    content: attr(data-label);
    color: var(--pierre);
    font-weight: 500;
    text-align: left;
  }
  .compare__table tr td:last-child { border-bottom: 0; }
  .compare__table .compare__feature {
    background: transparent;
    margin: 0;
    border-radius: 0;
  }
  .compare__table td.compare__feature::after {
    content: '';
  }
  /* on rappelle l'accent Mandavia via une pastille sur la valeur */
  .compare__table td.compare__feature .mark--yes { color: var(--vert); }
}

/* ============================================================
   8. FONDATEUR
   ============================================================ */
.founder { background: var(--sable); }
.founder__card {
  background: var(--blanc);
  border: 0.5px solid var(--ligne);
  border-radius: var(--radius);
  padding: 2.75rem;
  box-shadow: 0 10px 40px rgba(20, 34, 94, 0.05);
}
@media (max-width: 640px) { .founder__card { padding: 1.75rem; } }
.founder__photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
}
.founder__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  background: var(--bleu-nuit);
  color: var(--blanc);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  user-select: none;
}
.founder__note { display: flex; flex-direction: column; gap: 1rem; }
.founder__note p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.5;
  color: var(--bleu-nuit);
}
.founder__sign { margin-top: 1.75rem; }
.founder__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bleu-roi);
}
.founder__role {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  color: var(--pierre);
}

/* ============================================================
   9. POUR QUI
   ============================================================ */
.forwho { background: var(--blanc); }
.forwho__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 760px) { .forwho__grid { grid-template-columns: 1fr; } }
.forwho__col {
  border-radius: var(--radius);
  padding: 2rem;
  border: 0.5px solid var(--ligne);
}
.forwho__col--yes { background: var(--vert-clair); border-color: transparent; }
.forwho__col--no { background: var(--sable); }
.forwho__head {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: var(--bleu-nuit);
}
.forwho__list { display: flex; flex-direction: column; gap: 0.85rem; }
.forwho__list li {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--bleu-nuit);
  padding-left: 1.5rem;
  position: relative;
}
.forwho__col--yes .forwho__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--vert);
}
.forwho__col--no .forwho__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 10px; height: 1.5px;
  background: var(--pierre);
}

/* ============================================================
   10. FAQ
   ============================================================ */
.faq { background: var(--sable); }
.faq__list {
  margin-top: 2.5rem;
  border-top: 0.5px solid var(--ligne);
}
.faq__item { border-bottom: 0.5px solid var(--ligne); }
.faq__item h3 { margin: 0; }
.faq__question {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0.25rem;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--bleu-nuit);
}
.faq__icon {
  position: relative;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--bleu-roi);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq__icon::before { left: 0; top: 7.25px; width: 16px; height: 1.5px; }
.faq__icon::after  { left: 7.25px; top: 0; width: 1.5px; height: 16px; }
.faq__question[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__answer {
  padding: 0 0.25rem 1.4rem;
  animation: faqfade 0.3s ease;
}
.faq__answer p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--pierre);
  max-width: 60ch;
}
@keyframes faqfade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   10bis. RENVERSEMENT DE RISQUE
   ============================================================ */
.risk { background: var(--blanc); }
.risk__card {
  background: var(--vert-clair);
  border: 0.5px solid rgba(22, 138, 91, 0.2);
  border-left: 3px solid var(--vert);
  border-radius: var(--radius);
  padding: 2.75rem;
  text-align: center;
}
@media (max-width: 640px) { .risk__card { padding: 1.75rem; } }
.risk__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.25;
  color: var(--bleu-nuit);
  max-width: 22ch;
  margin: 0 auto;
}
.risk__copy {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--bleu-nuit);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.risk__copy strong { color: var(--vert); font-weight: 600; }

/* ============================================================
   11. CTA FINAL + CAL (moment fort — fond bleu nuit)
   ============================================================ */
.final {
  background: var(--bleu-nuit);
  text-align: center;
}
.final__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  color: var(--blanc);
  max-width: 20ch;
  margin: 0 auto;
}
.final__sub {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
/* Embed Cal.com en thème sombre (blanc sur noir) pour se fondre dans la
   section finale bleu nuit.
   ⚠️ NE PAS renommer cette classe en « cal-embed » : Cal.com injecte au
   runtime une feuille de style globale `.cal-embed { margin:0 auto; ... }`
   qui écraserait silencieusement nos marges (collision de nom de classe). */
.cal-frame {
  margin: 2.5rem auto 0;
  max-width: 960px;
  background: #0d1330;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  /* padding interne haut généreux : garantit un espace constant entre le
     bord du cadre et le calendrier, même quand l'iframe Cal se redimensionne. */
  padding: 1.5rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#cal-inline { width: 100%; }
/* L'iframe injectée par Cal doit toujours tenir dans la largeur disponible
   (sinon elle déborde et casse la mise en page sur mobile). On laisse Cal
   gérer SA hauteur : il auto-redimensionne l'iframe au contenu réel. Lui
   imposer un min-height crée un vide sombre sous le calendrier. */
#cal-inline iframe { width: 100% !important; max-width: 100%; }
/* On ne réserve une hauteur que pendant le chargement (placeholder), avant
   que Cal n'injecte l'iframe ; ensuite Cal pilote la hauteur. */
.cal-frame.is-loading #cal-inline:empty { min-height: 620px; }

/* Lien de secours discret sous le calendrier (réserver sans consentement).
   Masqué dès que l'embed Cal a injecté son iframe. */
.cal-fallback-line {
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.85rem;
}
.cal-fallback-line a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cal-fallback-line a:hover { color: var(--blanc); }
.container:has(.cal-frame iframe) .cal-fallback-line { display: none; }

/* Responsive : sur mobile, on réduit le cadre et on laisse l'embed
   occuper toute la largeur du conteneur. */
@media (max-width: 640px) {
  .cal-frame {
    margin-top: 1.75rem;
    padding: 1rem 0.4rem 0.4rem;
    max-width: 100%;
  }
  .cal-frame.is-loading #cal-inline:empty { min-height: 520px; }
}

/* ============================================================
   BANNIÈRE DE CONSENTEMENT COOKIES
   ============================================================ */
.btn--ghost {
  background: transparent;
  color: var(--bleu-nuit);
  border: 1px solid var(--ligne);
}
.btn--ghost:hover { background: var(--sable); border-color: var(--pierre); }
.btn--ghost:active { transform: scale(0.98); }

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(20, 34, 94, 0.18);
  animation: cookie-banner-in 0.25s ease both;
}
.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem 1.35rem;
}
.cookie-banner__copy { flex: 1 1 22rem; }
.cookie-banner__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bleu-nuit);
  margin-bottom: 0.25rem;
}
.cookie-banner__text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--pierre);
}
.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

@keyframes cookie-banner-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* ============================================================
   12. FOOTER
   ============================================================ */
.footer {
  background: var(--bleu-nuit);
  padding: 3rem 1.5rem;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__logo-text { color: var(--blanc); }
.footer__baseline {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
}
.footer__links a { color: rgba(255, 255, 255, 0.7); }
.footer__links a:hover { color: var(--blanc); }

/* ============================================================
   PAGES LÉGALES (mentions, confidentialité, contact)
   ============================================================ */
.page-hero {
  background: var(--bleu-nuit);
  padding: 4rem 1.5rem 3rem;
}
.page-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}
.page-hero__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}
.page-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--blanc);
}
.page-hero__lead {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
}

.legal {
  background: var(--sable);
  padding: 4rem 1.5rem 5rem;
}
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--bleu-nuit);
  margin-top: 2.75rem;
  margin-bottom: 0.85rem;
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--bleu-nuit);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.prose p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--pierre);
  margin-bottom: 1rem;
}
.prose strong { color: var(--bleu-nuit); font-weight: 600; }
.prose a {
  color: var(--bleu-roi);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover { color: var(--bleu-nuit); }
.prose ul {
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.prose ul li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--pierre);
  padding-left: 1.4rem;
  position: relative;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bleu-roi);
}
.prose ul li strong { color: var(--bleu-nuit); }

/* Champ à compléter par l'éditeur */
.placeholder {
  background: var(--vert-clair);
  color: #0F6B47;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  padding: 0.12em 0.45em;
  border-radius: 6px;
  white-space: nowrap;
}

.legal__updated {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--ligne);
  font-size: 0.8125rem;
  color: var(--pierre);
}
.legal__back {
  margin: 3rem auto 0;
  max-width: 720px;
}
.legal__back a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bleu-roi);
}
.legal__back a:hover { color: var(--bleu-nuit); }

/* Formulaire de contact */
.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--blanc);
  border: 0.5px solid var(--ligne);
  border-radius: var(--radius);
  padding: 2rem;
}
@media (max-width: 640px) { .contact-form { padding: 1.5rem; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bleu-nuit);
}
.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--bleu-nuit);
  background: var(--sable);
  border: 1px solid var(--ligne);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--bleu-roi);
  outline-offset: 1px;
  border-color: transparent;
}
.contact-form .btn { align-self: flex-start; }
.contact-form__note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--pierre);
}
.contact-direct {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--pierre);
}
.contact-direct a { color: var(--bleu-roi); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   CTA STICKY MOBILE
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 90;
  display: none;
  opacity: 0;
  transform: translateY(120%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.sticky-cta .btn { width: 100%; box-shadow: 0 8px 30px rgba(20, 34, 94, 0.25); }
.sticky-cta.is-visible { opacity: 1; transform: none; }
@media (max-width: 720px) {
  .sticky-cta { display: block; }
}

/* ============================================================ */
/* RESSOURCES — index + gabarit d'article (chantier 9)          */
/* ============================================================ */

/* Conteneur lecture longue */
.article { padding: 96px 0 64px; }
.article__inner { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* Fil d'Ariane */
.breadcrumb { font-size: 13px; color: #5C6270; margin-bottom: 24px; }
.breadcrumb a { color: #1F3DA6; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 8px; color: #DCD9D0; }

/* En-tête d'article */
.article__header { margin-bottom: 40px; border-bottom: 1px solid #DCD9D0; padding-bottom: 24px; }
.article__header h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; color: #14225E; font-size: 34px; line-height: 1.2; margin: 0 0 16px; }
.article__meta { font-size: 14px; color: #5C6270; display: flex; gap: 16px; flex-wrap: wrap; }

/* Prose long-form */
.prose { font-family: 'Inter', system-ui, sans-serif; color: #2A2F3A; font-size: 18px; line-height: 1.75; }
.prose h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; color: #14225E; font-size: 26px; line-height: 1.25; margin: 48px 0 16px; }
.prose h3 { font-family: 'Inter', system-ui, sans-serif; font-weight: 600; color: #14225E; font-size: 20px; margin: 32px 0 12px; }
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 24px; }
.prose li { margin: 0 0 10px; }
.prose a { color: #1F3DA6; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: #14225E; }
.prose blockquote { margin: 32px 0; padding: 16px 24px; border-left: 3px solid #168A5B; background: #F4F3EE; font-family: 'Fraunces', Georgia, serif; font-size: 20px; color: #14225E; border-radius: 0 14px 14px 0; }

/* Bloc CTA de fin d'article */
.article-cta { margin: 56px 0 0; padding: 32px; background: #14225E; border-radius: 14px; text-align: center; }
.article-cta__title { font-family: 'Fraunces', Georgia, serif; font-weight: 500; color: #fff; font-size: 24px; margin: 0 0 12px; }
.article-cta p { color: #C7D0EC; font-size: 16px; margin: 0 0 24px; }

/* Index ressources */
.ressources-list { display: grid; gap: 24px; max-width: 760px; margin: 40px auto 0; padding: 0 20px; }
.ressource-card { display: block; padding: 28px; background: #fff; border: 1px solid #DCD9D0; border-radius: 14px; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.ressource-card:hover { border-color: #1F3DA6; transform: translateY(-2px); }
.ressource-card__tag { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #168A5B; margin-bottom: 10px; }
.ressource-card__title { font-family: 'Fraunces', Georgia, serif; font-weight: 500; color: #14225E; font-size: 22px; line-height: 1.3; margin: 0 0 10px; }
.ressource-card__excerpt { font-family: 'Inter', system-ui, sans-serif; color: #5C6270; font-size: 15px; line-height: 1.6; margin: 0; }

@media (max-width: 640px) {
  .article { padding: 72px 0 48px; }
  .article__header h1 { font-size: 28px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 23px; }
}
