/* KONFORME, feuille de style du site.
   Pas d'étape de build : CSS natif, servi tel quel par le VPS.

   Typographie : pile système menée par SF. Ce n'est pas de la paresse, le
   produit est une app iOS et SF est la voix de la plateforme que le visiteur
   a déjà dans la main.

   Rayons : une seule échelle. 14px pour les surfaces, plein rond pour tout
   ce qui est cliquable.

   Accent unique : le vert sauge. L'encre est une couleur de texte et de
   contraste, jamais un second accent. */

:root {
  --ivory:      #F7F3EA;
  --paper:      #FFFFFF;
  --ink:        #1B2A4A;
  --sage:       #3E7C5B;

  --bg:         var(--ivory);
  --surface:    var(--paper);
  --surface-2:  #EFEADF;
  --text:       #1F2733;
  --text-2:     #5C6470;
  --text-3:     #8A9096;
  --border:     #E2DCCE;
  --accent:     var(--sage);
  --accent-soft: rgba(62, 124, 91, .12);
  --on-accent:  #FFFFFF;

  --radius:     14px;
  --shell:      1120px;
  --ease:       cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:          #12161C;
    --surface:     #1A1F27;
    --surface-2:   #222834;
    --text:        #ECE7DC;
    --text-2:      #A6ADB8;
    --text-3:      #79808B;
    --border:      #2C333F;
    --accent:      #7FC59A;
    --accent-soft: rgba(127, 197, 154, .14);
    --on-accent:   #10241A;
    --ink:         #0B0F14;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Navigation : une seule ligne, 64px ---------- */

header.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 24px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  white-space: nowrap;
}
.logo {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--ink);
  display: grid; place-items: center;
  color: #fff; font-weight: 900;
  flex: none;
}
.logo span { font-size: 16px; }
header.nav nav { display: flex; align-items: center; gap: 20px; }
.nav a.link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14.5px;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav a.link:hover { color: var(--text); }
@media (max-width: 620px) { .nav a.link.secondary { display: none; } }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 650;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), border-color .2s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: scale(.985); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-3); }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transform: none; }
}

/* ---------- Rythme général ---------- */

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 19px; line-height: 1.3; }
.lede { color: var(--text-2); font-size: 17px; max-width: 62ch; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 52ch; }

/* ---------- Hero : split asymétrique ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 32px 0 80px;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 54px); }
.hero .lede { font-size: 18px; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex;
  align-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 650;
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 999px;
}
.hero-shot { justify-self: center; width: 100%; max-width: 330px; }
.hero-shot img {
  width: 100%;
  border-radius: 34px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px rgba(27, 42, 74, .16);
}
@media (prefers-color-scheme: dark) {
  .hero-shot img { box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 16px 0 48px; }
  .hero-shot { max-width: 270px; }
}

/* ---------- Bandeau échéance : un seul bloc de couleur sur la page ---------- */

.deadline { background: var(--ink); padding: 64px 0; }
.deadline .shell {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
.deadline .date {
  font-size: clamp(38px, 6.5vw, 62px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: .95;
  color: #FFFFFF;
}
.deadline .date small {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: #9FB0C9;
  margin-top: 10px;
}
.deadline p { color: #C7D2E1; font-size: 17px; max-width: 52ch; }
.deadline strong { color: #FFFFFF; font-weight: 650; }
@media (max-width: 768px) { .deadline .shell { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Bento : cellules inégales, deux portent une image ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cell p { color: var(--text-2); font-size: 15.5px; }
.cell.wide { grid-column: span 4; }
.cell.narrow { grid-column: span 2; }
.cell.half { grid-column: span 3; }
.cell.tinted { background: var(--surface-2); }
.cell.shot { padding-bottom: 0; overflow: hidden; }
.cell.shot img {
  margin-top: 18px;
  align-self: center;
  max-width: 230px;
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--border);
  border-bottom: 0;
}
@media (max-width: 880px) {
  .bento { grid-template-columns: 1fr; }
  .cell.wide, .cell.narrow, .cell.half { grid-column: span 1; }
}

/* ---------- Tarifs : deux offres, pas de matrice ---------- */

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan.featured { border-color: var(--accent); }
.plan .price { font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.plan .price span { font-size: 15px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.plan li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 15.5px; }
.plan li::before {
  content: "";
  position: absolute; left: 1px; top: 9px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
@media (max-width: 768px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Conformité : colonnes groupées, pas de liste à filets ---------- */

.compliance { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; margin-top: 40px; }
.compliance h3 { margin-bottom: 8px; }
.compliance p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 768px) { .compliance { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Appel final ---------- */

.closing { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.closing h2 { max-width: 18ch; }
.closing .lede { max-width: 46ch; }

/* ---------- Pied de page ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 30px 24px 56px;
  max-width: var(--shell);
  margin: 0 auto;
  display: flex; flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  color: var(--text-3);
  font-size: 14px;
}
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ---------- Pages légales : classes historiques, à conserver ---------- */

.wrap { max-width: 780px; margin: 0 auto; padding: 24px 24px 72px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
h1.page { font-size: clamp(26px, 4vw, 34px); margin-bottom: 6px; }
.updated { color: var(--text-3); font-size: 14px; margin-bottom: 28px; }
.card h2 { font-size: 19px; margin: 28px 0 8px; }
.card p, p.body, .card li { color: var(--text-2); font-size: 15.5px; }
.card ul, .card ol { margin: 8px 0 0 20px; }
.card li { margin-bottom: 6px; }
@media (max-width: 640px) { .card { padding: 24px; } }

/* ---------- Entrée en scène : discrète, coupée si l'utilisateur le demande ---------- */

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s var(--ease) both; }
  .rise-2 { animation-delay: .07s; }
  .rise-3 { animation-delay: .14s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---------- Guide : article long, lisible sur une colonne étroite ---------- */

.article { max-width: 720px; }
.article p.body { font-size: 16.5px; line-height: 1.7; margin-bottom: 16px; }
.article p.lead { font-size: 18px; color: var(--text); margin-bottom: 28px; }
.article h2 { font-size: clamp(21px, 3vw, 25px); margin: 40px 0 14px; }
.article h3 { font-size: 17px; margin-bottom: 6px; }
.article ul, .article ol { margin: 0 0 18px 22px; display: flex; flex-direction: column; gap: 10px; }
.article li { font-size: 16.5px; line-height: 1.65; }
.article strong { color: var(--text); font-weight: 650; }

/* Les deux échéances : deux blocs, pas une liste à filets */
.milestones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 32px; }
.milestone {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 24px;
}
.milestone .when {
  font-size: 15px;
  font-weight: 750;
  color: var(--accent);
  margin-bottom: 10px;
}
.milestone p { color: var(--text-2); font-size: 15.5px; margin: 0; }
@media (max-width: 640px) { .milestones { grid-template-columns: 1fr; } }

.article-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 28px; }
.article .disclaimer {
  font-size: 14px;
  color: var(--text-3);
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-bottom: 0;
}
