/* Verso — feuille de style unique.
   Couleurs et polices reprises de la maquette Claude Design. */

:root {
  --ink: #12223B;          /* bleu nuit : texte, boutons */
  --ink-hover: #2B4C7E;
  --ink-dark: #0C1729;     /* pied de page */
  --text: #374151;         /* paragraphes */
  --muted: #4B5563;        /* petites lignes */
  --line: #E5E7EB;
  --line-strong: #D1D5DB;
  --field: #9CA3AF;
  --soft: #F5F6F8;         /* fonds de section clairs */
  --tile: #F3F4F6;
  --marker: #FDE68A;       /* surligneur jaune */
  --on-dark: #E5E7EB;
  --on-dark-muted: #CBD5E1;
  --radius: 16px;
  --max: 1120px;
  --display: 'Space Grotesk', Inter, system-ui, sans-serif;
}

/* Polices hébergées dans le site (assets/fonts/), plus de Google Fonts : l'adresse IP des visiteurs ne part pas chez Google.
   Mêmes fichiers que Google Fonts (Inter v20, Space Grotesk v22), licence SIL OFL 1.1 (voir assets/fonts/OFL-*.txt). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/inter-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/inter-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; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('fonts/space-grotesk-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('fonts/space-grotesk-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; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.55; }
a { color: var(--ink); }
a:hover { color: var(--ink-hover); }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h2 { font-family: var(--display); font-size: 40px; letter-spacing: -1px; line-height: 1.1; }
h3 { font-size: 20px; line-height: 1.3; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 80px 24px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.lead { font-size: 18px; color: var(--text); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }
.mark { background: var(--marker); padding: 0 6px; border-radius: 4px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.dark { background: var(--ink); color: #fff; }
.dark .lead { color: var(--on-dark); }
.soft { background: var(--soft); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--ink-hover); outline-offset: 2px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 16px 24px; border-radius: 12px; font-weight: 600; font-size: 17px; text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 14px; font-size: 15px; border-radius: 10px; }
.btn-marker { background: var(--marker); }

/* En-tête */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header nav { max-width: var(--max); margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo span { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.5px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; }
.nav-links a { text-decoration: none; font-weight: 500; }
.nav-links .btn { color: #fff; font-size: 15px; min-height: 44px; padding: 12px 18px; border-radius: 10px; }

/* Héros */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-family: var(--display); font-size: 56px; line-height: 1.05; letter-spacing: -1.5px; }
.hero .lead { font-size: 20px; max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.callout { border: 2px solid var(--ink); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.example { flex: 1 1 380px; min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 1px 2px rgba(18,34,59,.06); }
.example-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; }
.pill { font-size: 13px; font-weight: 400; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 10px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: var(--tile); border-radius: 12px; padding: 16px; }
.tile p:first-child { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.big { font-family: var(--display); font-size: 30px; font-weight: 700; }
.highlight { background: var(--marker); border-radius: 12px; padding: 16px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; }

/* Chiffres clés */
.stats { padding-top: 48px; padding-bottom: 48px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat .num { font-family: var(--display); font-size: 40px; font-weight: 700; }
.stat p { color: var(--on-dark); }
.stat .src { font-size: 13px; color: var(--on-dark-muted); }

/* Cartes */
.card { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.card.featured { border: 2px solid var(--ink); }
.card p { color: var(--text); }
.card .small { color: var(--muted); }
.card > a { font-weight: 600; font-size: 15px; margin-top: auto; }
.tag { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--field); color: var(--text) !important; }
.tag.on { background: var(--marker); border-color: var(--marker); color: var(--ink) !important; }
.step { font-family: var(--display); font-size: 18px; font-weight: 700; width: 40px; height: 40px; border-radius: 999px; background: var(--marker); display: flex; align-items: center; justify-content: center; }
.price { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--ink) !important; }

/* Droits */
.rights { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 72px; padding-bottom: 72px; }
.rights > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.box { background: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.box p { color: var(--text); }

/* Formulaire */
.form-section { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.form-section > .stack { flex: 1 1 380px; min-width: 0; gap: 16px; }
.form-card { flex: 1 1 440px; min-width: 0; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, legend { font-size: 14px; font-weight: 600; }
.field input, .field select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: 10px; min-height: 48px; background: #fff; }
.field input[type=file] { border-style: dashed; background: #F9FAFB; min-height: 56px; font-size: 15px; }
.row2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
fieldset { border: 1px solid var(--line-strong); border-radius: 10px; padding: 14px 16px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.choice input { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; }
.consent { font-size: 14px; color: var(--text); }
.form-note { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; padding: 80px 24px; display: flex; flex-direction: column; gap: 16px; }
.faq details { background: #fff; border-radius: 14px; padding: 22px 24px; }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; }
.faq details p { margin-top: 8px; color: var(--text); }

/* À propos */
.about { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.avatar { width: 120px; height: 120px; border-radius: 999px; background: var(--line); object-fit: cover; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); text-align: center; }
.about .stack { flex: 1 1 420px; min-width: 0; }

/* Pied de page */
.site-footer { background: var(--ink-dark); color: var(--on-dark-muted); }
.site-footer .wrap { padding: 40px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; }
.site-footer a { color: var(--on-dark); }
.site-footer strong { font-family: var(--display); color: #fff; font-size: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer .disclaimer { width: 100%; font-size: 13px; }

/* Pages juridiques */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-family: var(--display); font-size: 40px; letter-spacing: -1px; line-height: 1.1; margin-bottom: 8px; }
.legal h2 { font-size: 22px; letter-spacing: 0; margin: 36px 0 10px; font-family: Inter, system-ui, sans-serif; }
.legal p, .legal li { color: var(--text); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--soft); }
.legal .updated { color: var(--muted); font-size: 14px; }
.back { display: inline-block; margin-bottom: 24px; font-weight: 600; }

@media (max-width: 640px) {
  .wrap { padding: 56px 20px; }
  .hero h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
  .tiles { grid-template-columns: 1fr; }
}
