@charset "UTF-8";

/* ==========================================================================
   POLICES AUTO-HEBERGEES
   Fraunces et Instrument Sans, SIL Open Font License 1.1.
   Notices de licence : assets/fonts/OFL-fraunces.txt et OFL-instrumentsans.txt
   Servies depuis kirohq.com : aucune requete vers un tiers, aucun transfert
   d'adresse IP hors de l'infrastructure du site.
   ========================================================================== */

/* Fraunces — variable, axes opsz 9..144 et wght 100..900 */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/fraunces-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: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  /* Plage amputee de U+0131 et U+0152-0153, deja couverts par le sous-ensemble
     latin. Sans cela, la ligature oe presente dans le texte francais fait
     telecharger les deux sous-ensembles au lieu d'un seul. */
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC,
    U+02CE-02D7, U+02DD-02FF, 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;
}

/* Instrument Sans — variable, axe wght 400..700 */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/instrument-sans-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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/instrument-sans-latin-ext.woff2') format('woff2');
  /* Plage amputee de U+0131 et U+0152-0153, deja couverts par le sous-ensemble
     latin. Sans cela, la ligature oe presente dans le texte francais fait
     telecharger les deux sous-ensembles au lieu d'un seul. */
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC,
    U+02CE-02D7, U+02DD-02FF, 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;
}

/* ==========================================================================
   KiroHQ — Système de design refonte cabinets
   Tokens extraits de maquette-hero-v2.html (référence validée, §4 du brief).
   Feuille de style unique du site. L'ancienne css/site.css a été supprimée.
   Les polices sont chargées par <link> dans le <head>, pas par @import.
   ========================================================================== */

:root {
  /* ---- Couleurs (V2) ---- */
  --ink: #0A1830;
  --ink-soft: #3D4A66;
  --muted: #5D677F;   /* assombri : #75809A ne tenait pas le AA (3,73:1) */

  --accent: #7848D8;
  --accent-deep: #5F35B8;
  --accent-wash: #F1EBFC;

  --indigo: #6060D8;
  --magenta: #C048C0;
  --magenta-wash: #FAEDF8;

  --paper: #FFFFFF;
  --warm: #FBF8F3;
  /* Paliers du degrade de hero : neutre chaud melange au violet du logo
     a 5 % puis 11 %. Seule exception a la regle "aucun degrade", arbitree
     par Fabien le 23/07/2026 et limitee aux heros. */
  --hero-1: #FBF8F3;
  --hero-2: #F4EFF2;
  --hero-3: #EDE5F0;
  /* Meme construction pour les autres aplats : le fond de depart melange
     au violet du logo. Le degre varie avec la surface. */
  --warm-2: #F6F1F3;
  --cta-2:  #151D41;
  --wash-2: #E9E0F9;
  --warm-bar: #F4F1EA;
  --line: #E7E3DB;
  --line-soft: #F0EDE6;

  /* ---- Typo (V2) ---- */
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Rayons (V2) ---- */
  --r-btn: 8px;
  --r-card: 12px;
  --r-frame: 14px;
  --r-pill: 100px;

  /* ---- Ombres (V2) ---- */
  --sh-cta: 0 4px 14px rgba(120, 72, 216, .25);
  --sh-cta-hover: 0 8px 22px rgba(120, 72, 216, .32);
  --sh-float: 0 18px 50px rgba(10, 24, 48, .16);
  --sh-card: 0 10px 30px rgba(10, 24, 48, .07);

  /* ---- Espacements ---- */
  --wrap: 1160px;
  --pad-x: 28px;
  --sec-y: 88px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* height:auto est indispensable : les attributs width/height des <img> sinon
   figent la hauteur et cassent la mise en page (cas du logo). */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x); }

section { padding: var(--sec-y) 0; }
section.warm { background: linear-gradient(155deg, var(--warm) 0%, var(--warm-2) 100%); }
/* Deux sections creme qui se suivent : on inverse l'angle pour eviter la couture. */
section.warm + section.warm { background: linear-gradient(205deg, var(--warm) 0%, var(--warm-2) 100%); }

h1, h2, h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0;
}

h1 { font-size: clamp(2.1rem, 3.6vw, 3.05rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.15rem; line-height: 1.25; }

h1 em, h2 em { font-style: normal; color: var(--accent-deep); }

p { margin: 0 0 1rem; }

.kicker {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 18px;
}

.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 54ch; margin: 0 0 14px; }

.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head h2 + p { margin-top: 16px; }
.section-head p:last-child { margin-bottom: 0; }

/* Elements de grille : neutraliser min-width:auto, qui empeche un enfant de
   retrecir sous la largeur de son contenu et fait deborder la page en etroit. */
.chart-row > *, .checklist > *, .deliver > *, .field-row > *, .figure-grid > *,
.finance-row > *, .footer-grid > *, .founder-grid > *, .hero-grid > *,
.no-list > *, .offer-grid > *, .pains-grid > *, .proof-grid > *,
.steps > *, .trust > * { min-width: 0; }

/* ---------- Header ---------- */

header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
header .wrap { display: flex; align-items: center; gap: 32px; min-height: 70px; }

/* Logo officiel : assets/logos/logo-kirohq-tight.png. Jamais recréé en texte. */
.logo { width: 46px; margin-right: auto; flex: 0 0 auto; }

nav { display: flex; gap: 26px; }
nav a { color: var(--ink-soft); text-decoration: none; font-size: .94rem; }
nav a:hover { color: var(--accent-deep); }

/* ---------- Boutons ----------
   Un seul CTA sur l'index : « Réserver un diagnostic ».
   .btn-ghost est conservé comme token pour les pages d'offres (Phase 2). */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: var(--r-btn);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--sh-cta); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--sh-cta-hover); }

.btn-ghost { color: var(--ink); border: 1.5px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }

.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.link-more {
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-deep);
  border-bottom: 1px solid var(--accent);
}

/* ---------- Encart secret professionnel (V2) ---------- */

.secure-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: var(--ink);
  background: linear-gradient(150deg, var(--accent-wash) 0%, var(--wash-2) 100%);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 var(--r-btn) var(--r-btn) 0;
  max-width: 54ch;
  margin: 0 0 28px;
}

.secure-line svg { flex: 0 0 auto; margin-top: 2px; }

/* ---------- 1. Héro (V2, repris tel quel) ---------- */

.hero {
  background: linear-gradient(155deg, var(--hero-1) 0%, var(--hero-2) 52%, var(--hero-3) 100%);
  padding: 64px 0 96px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-note { font-size: .88rem; color: var(--muted); margin-top: 18px; }

.visual { position: relative; padding: 0 0 56px 18px; }
.photo { position: relative; border-radius: var(--r-card); overflow: hidden; }
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(20deg, rgba(190, 120, 50, .10), rgba(120, 72, 216, .05));
  pointer-events: none;
}
.photo img { width: 100%; height: 380px; object-fit: cover; }
.visual::before {
  content: "";
  position: absolute;
  top: -10px; right: 10px; bottom: 46px; left: 8px;
  border: 1.5px solid var(--accent);
  border-radius: var(--r-frame);
  opacity: .5;
  pointer-events: none;
}

.digest {
  position: absolute;
  left: -18px;
  bottom: 0;
  width: min(400px, 92%);
  background: #fff;
  border-radius: var(--r-card);
  box-shadow: var(--sh-float);
  border: 1px solid var(--line);
  font-size: .88rem;
  overflow: hidden;
}
.digest-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--warm-bar);
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
  font-size: .8rem;
  color: var(--muted);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #DAD4C8; flex: 0 0 auto; }
.digest-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.digest-row:last-of-type { border-bottom: 0; }
.digest-row strong { font-weight: 600; font-size: .9rem; }
.digest-row span { display: block; color: var(--muted); font-size: .8rem; }
.digest-foot { background: #FBFAF7; border-top: 1px solid var(--line); padding: 10px 16px; font-size: .8rem; color: var(--muted); }

.tag {
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  flex: 0 0 auto;
  background: linear-gradient(150deg, var(--accent-wash) 0%, var(--wash-2) 100%);
  color: var(--accent-deep);
}
.tag.ok { background: var(--magenta-wash); color: var(--magenta); }
.tag.wait { background: #F2EFE9; color: var(--muted); }

.caption { font-size: .8rem; color: var(--muted); }
.visual .caption { position: absolute; right: 12px; bottom: -26px; }

/* ---------- 2. Bandeau confiance (V2, repris tel quel) ---------- */

.trust { background: var(--paper); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { flex: 0 0 auto; margin-top: 3px; }
.trust-item strong { display: block; font-size: .92rem; font-weight: 600; }
.trust-item span { font-size: .83rem; color: var(--muted); line-height: 1.45; }

/* ---------- Photo de section : filet violet décalé ---------- */

.shot { position: relative; margin: 14px 0 0 14px; }
.shot img { position: relative; border-radius: var(--r-card); width: 100%; object-fit: cover; }
.shot::before {
  content: "";
  position: absolute;
  top: -14px; left: -14px; right: 14px; bottom: 14px;
  border: 1.5px solid var(--accent);
  border-radius: var(--r-frame);
  opacity: .5;
  pointer-events: none;
}

/* ---------- 3. Douleurs : photo + liste éditoriale ---------- */

.pains-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.pains-grid .shot img { height: 400px; }

.ledger { border-bottom: 1px solid var(--line); }
.ledger-row { border-top: 1px solid var(--line); padding: 22px 0; }
.ledger-head { display: flex; gap: 14px; align-items: baseline; margin-bottom: 6px; }
.ledger-num { font-family: var(--serif); font-size: .9rem; color: var(--accent-deep); flex: 0 0 auto; }
.ledger-row p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- 4. Aperçu des offres ---------- */

.offer-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }

.offer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 34px;
}
.offer .price { font-family: var(--serif); font-optical-sizing: auto; font-weight: 600; font-size: 1.8rem; margin: 16px 0 4px; }
.offer .price-note { font-size: .86rem; color: var(--muted); margin-bottom: 22px; }
.offer ul { list-style: none; margin: 0 0 26px; padding: 0; font-size: .95rem; color: var(--ink-soft); }
.offer li { padding: 7px 0 7px 22px; position: relative; }
.offer li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.offer-rest { padding-top: 8px; }
.offer-rest h3 { margin-bottom: 14px; }
.offer-rest p { color: var(--ink-soft); font-size: .97rem; }
.offer-rest strong { color: var(--ink); font-weight: 600; }

/* ---------- 5. Preuve : un seul aperçu produit ---------- */

.proof-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }

.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-float);
  overflow: hidden;
  font-size: .88rem;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--warm-bar);
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
  font-size: .8rem;
  color: var(--muted);
}
.mock-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .8rem;
  color: var(--muted);
}
.mock-meta strong { color: var(--ink); font-weight: 600; font-size: .84rem; }
.mock-mail { padding: 18px; }
.mock-mail p { margin: 0 0 10px; font-size: .9rem; color: var(--ink-soft); }
.mock-mail p:last-child { margin-bottom: 0; }
.mock-mail .subject { color: var(--ink); font-weight: 600; }
.mock-foot { background: #FBFAF7; border-top: 1px solid var(--line); padding: 10px 16px; font-size: .8rem; color: var(--muted); }

/* ---------- 6. Fabien ---------- */

.founder-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: center; }
.founder-grid .shot img { height: 320px; }
.founder-grid .role { color: var(--muted); font-size: .92rem; }
.founder-grid p { color: var(--ink-soft); max-width: 54ch; }

/* ---------- CTA final — fond navy, jamais violet ---------- */

.cta { background: linear-gradient(155deg, var(--ink) 0%, var(--cta-2) 100%); }
.cta h2 { color: #fff; }
.cta .lead { color: #BDC5D3; }
.cta .contact-line { margin-top: 22px; font-size: .9rem; color: #8F98A8; }
.cta .contact-line a { color: #fff; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4, .footer-grid .footer-title {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-grid a { display: block; color: var(--ink-soft); text-decoration: none; padding: 4px 0; }
.footer-grid a:hover { color: var(--accent-deep); }
.footer-grid p { color: var(--muted); }
.footer-grid .logo { width: 56px; margin: 0 0 12px; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: .84rem;
}
.footer-bottom a { color: var(--muted); text-decoration: none; margin-right: 18px; }

/* ---------- Responsive (seuil V2 : 920px) ---------- */

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust .wrap { grid-template-columns: 1fr 1fr; gap: 20px; }
  .photo img { height: 300px; }

  /* En colonne unique, le digest se place sous la photo au lieu de la recouvrir.
     Le chevauchement n'a de sens qu'en deux colonnes. */
  .visual { padding: 0; }
  .digest { position: static; width: auto; margin-top: 18px; }
  /* Le filet violet encadre la photo seule, pas la colonne entiere.
     Hauteur calee sur .photo img { height: 300px } ci-dessus. */
  .visual::before { top: -10px; bottom: auto; height: 320px; }
  .visual .flow-legend, .visual .mock-legend { margin-top: 10px; }
  /* La navigation passe sur une seconde ligne plutot que de disparaitre.
     Le site n'execute aucun JavaScript (CSP script-src 'none') : pas de menu
     deroulant. Avec quatre liens, une rangee visible vaut mieux qu'un burger. */
  header .wrap { flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 0; }
  header .logo { width: 38px; }
  nav {
    order: 3;
    flex: 1 0 100%;
    gap: 14px;
    justify-content: space-between;
    margin-top: 10px;
    padding: 0;
    border-top: 1px solid var(--line-soft);
    overflow-x: auto;
    scrollbar-width: none;
  }
  nav::-webkit-scrollbar { display: none; }
  nav a { font-size: .88rem; white-space: nowrap; padding: 9px 0; }  /* cible tactile >= 24px (WCAG 2.2 AA) */

  .pains-grid, .offer-grid, .proof-grid, .founder-grid, .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .pains-grid .shot img, .founder-grid .shot img { height: 260px; }
  section { padding: 60px 0; }
  .hero { padding: 48px 0 88px; }
  header .wrap { gap: 14px; }
  header .btn { padding: 9px 13px; font-size: .82rem; white-space: nowrap; }
}

/* ==========================================================================
   PAGES D'OFFRES (Phase 2) — mêmes tokens V2.
   §1bis : convaincre → détails, listes, prix, FAQ. Un seul CTA par page.
   ========================================================================== */

/* Héro de page d'offre : texte + carte prix (au lieu de photo + digest) */
.hero-offer .offer { position: sticky; top: 96px; }

.breadcrumb { font-size: .84rem; color: var(--muted); margin: 0 0 14px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-deep); }

/* Livrables : liste dense à deux colonnes */
.deliver { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.deliver-item { border-top: 1px solid var(--line); padding: 22px 0; }
.deliver-item h3 { margin-bottom: 6px; }
.deliver-item p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.deliver-num { font-family: var(--serif); font-size: .9rem; color: var(--accent-deep); display: block; margin-bottom: 8px; }

/* Déroulé : quatre jalons */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { border-top: 2px solid var(--accent); padding-top: 18px; }
.step .when { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* Moment éditorial : le chiffre */
.figure-rule { width: 56px; height: 3px; background: var(--accent); margin-bottom: 30px; }
.figure-big {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 22px;
}
.figure-text {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.32;
  max-width: 32ch;
  margin: 0 0 20px;
}
.figure-text em { font-style: normal; color: var(--accent-deep); }
.figure-note { max-width: 56ch; color: var(--ink-soft); margin: 0 0 18px; }
.figure-source { font-size: .82rem; color: var(--muted); margin: 0; max-width: 64ch; }

/* Financement : constat honnête, une ligne par dispositif */
.finance-row { border-top: 1px solid var(--line); padding: 22px 0; display: grid; grid-template-columns: 4fr 8fr; gap: 32px; }
.finance-row:last-child { border-bottom: 1px solid var(--line); }
.finance-row h3 { font-size: 1.05rem; }
.finance-row .who { font-size: .84rem; color: var(--muted); display: block; margin-top: 4px; }
.finance-row p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.finance-flag { color: var(--ink); font-weight: 600; }

/* FAQ : natif, sans JavaScript */
.faq { max-width: 76ch; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  position: relative;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 15px;
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--accent-deep); }
.faq .answer { padding: 0 34px 20px 0; color: var(--ink-soft); font-size: .97rem; }
.faq .answer p:last-child { margin-bottom: 0; }

@media (max-width: 920px) {
  .deliver, .steps, .finance-row { grid-template-columns: 1fr; }
  .steps { gap: 26px; }
  .finance-row { gap: 10px; }
  .hero-offer .offer { position: static; }
}

/* ---------- Variante statique du digest (hors héro flottant) ---------- */
.digest.plain { position: static; width: auto; }

/* ---------- Inclus / non inclus ---------- */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.checklist ul { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .97rem; }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist h3 { margin-bottom: 14px; }
.checklist .in li::before {
  content: "";
  position: absolute;
  left: 0; top: 20px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.checklist .out li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }
.checklist strong { color: var(--ink); font-weight: 600; }

@media (max-width: 920px) {
  .checklist { grid-template-columns: 1fr; gap: 32px; }
}

/* Quatrieme couleur de tag — indigo, micro-touche du logo */
.tag.info { background: #EEEEFB; color: var(--indigo); }

/* ---------- Liste « ce que nous ne faisons pas » (methode.html) ---------- */
.no-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.no-list li {
  position: relative;
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .97rem;
}
.no-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.no-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Citation / moment editorial ---------- */
.pull {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.3;
  color: var(--ink);
  max-width: 30ch;
  margin: 0;
  border-left: 3px solid var(--accent);
  padding-left: 26px;
}
.pull-who { margin-top: 18px; padding-left: 29px; font-size: .9rem; color: var(--muted); }

@media (max-width: 920px) { .no-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   FORMULAIRE (contact.html)
   ========================================================================== */

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 32px;
}

.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}
.field .req { color: var(--accent-deep); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: .97rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong, #D2CEC7);
  border-radius: var(--r-btn);
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}
.field textarea { resize: vertical; min-height: 130px; }

/* Safari iOS zoome la page quand un champ a une police sous 16px.
   Regle placee apres les styles de champ pour l'emporter en ordre de source. */
@media (max-width: 920px) {
  .field input, .field select, .field textarea { font-size: 16px; }
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); margin: 4px 0 22px; }
.consent input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--accent); }

.form-note { font-size: .85rem; color: var(--muted); margin: 16px 0 0; }

/* Pot de miel anti-robots — masqué aux humains, lu par les robots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Coordonnées */
.contact-aside h3 { margin-bottom: 10px; }
.contact-aside p { color: var(--ink-soft); }
.contact-aside .block { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-aside .block:first-of-type { border-top: 0; padding-top: 0; }

@media (max-width: 920px) {
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
}

/* ---------- Liste de ressources (ressources.html) ---------- */
.res-group { margin-bottom: 44px; }
.res-group > h3, .res-group-title {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 4px;
}
.res-item { border-top: 1px solid var(--line); padding: 20px 0; }
.res-item:last-child { border-bottom: 1px solid var(--line); }
.res-item h4, .res-item h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.25;
  margin: 0 0 6px;
}
.res-item h4 a, .res-item h3 a { color: var(--ink); text-decoration: none; }
.res-item h4 a:hover, .res-item h3 a:hover { color: var(--accent-deep); }
.res-item p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ==========================================================================
   ARTICLES (ressources)
   ========================================================================== */

.article { max-width: 720px; }
.article > h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  margin: 52px 0 16px;
}
.article > h2:first-child { margin-top: 0; }
.article > h3 { font-size: 1.15rem; margin: 32px 0 10px; }
.article > p { color: var(--ink-soft); margin: 0 0 18px; }
.article > p > strong { color: var(--ink); font-weight: 600; }
.article > ul, .article > ol { color: var(--ink-soft); margin: 0 0 20px; padding-left: 22px; }
.article > ul li, .article > ol li { margin-bottom: 9px; }
.article > ul li::marker { color: var(--accent); }
.article > ol li::marker { color: var(--accent-deep); font-weight: 600; }

.article-meta { font-size: .86rem; color: var(--muted); margin: 0 0 6px; }

/* Encart de calcul / méthode */
.recipe {
  background: var(--warm);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-btn) var(--r-btn) 0;
  padding: 22px 24px;
  margin: 0 0 26px;
}
.recipe h3 { margin: 0 0 12px; font-size: 1.05rem; }
.recipe p { margin: 0 0 10px; color: var(--ink-soft); font-size: .95rem; }
.recipe p:last-child { margin-bottom: 0; }
.recipe .calc {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.5;
}

/* Renvoi vers une offre en fin d'article */
.article-cta {
  border-top: 1px solid var(--line);
  margin-top: 46px;
  padding-top: 26px;
}
.article-cta h3 { margin-bottom: 8px; }
.article-cta p { color: var(--ink-soft); margin-bottom: 16px; }

.article-nav { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: .92rem; }

/* ---------- Tableau de repères chiffrés ---------- */
.data-table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: .93rem; }
.data-table th {
  text-align: left;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 0 14px 10px 0;
  border-bottom: 1px solid var(--line);
}
.data-table td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.data-table td:first-child { white-space: nowrap; color: var(--muted); font-size: .86rem; }
.data-table .fig { font-family: var(--serif); font-optical-sizing: auto; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.table-scroll { overflow-x: auto; margin-bottom: 26px; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.legal .table-scroll { margin-bottom: 20px; }
.legal .table-scroll .legal-table { margin-bottom: 0; }

@media (max-width: 720px) {
  .data-table { font-size: .88rem; min-width: 560px; }
}

/* ---------- Appartenance écosystème (footer) ---------- */
.footer-member { margin-top: 14px; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.footer-member a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.footer-member a:hover { color: var(--accent-deep); text-decoration-color: var(--accent); }

/* ---------- Bandeau écosystème (lockup partenaires) ----------
   Le lockup officiel est fourni sur son fond bleu nuit #0D013F.
   Le bandeau reprend cette couleur : le raccord est invisible et
   le logo n'est ni détouré ni recoloré, comme l'imposent les chartes. */
.ecosystem { background: #0D013F; padding: 40px 0; }
.ecosystem .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 34px;
}
.ecosystem p {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  font-weight: 600;
}
.ecosystem a { display: block; line-height: 0; }
/* Seule la hauteur est contrainte, la largeur suit : aucune déformation. */
.ecosystem img { height: 112px; width: auto; }

@media (max-width: 620px) {
  .ecosystem { padding: 30px 0; }
  .ecosystem img { height: 84px; }
}

/* ==========================================================================
   COMPOSANTS VISUELS — schémas, frises, graphiques
   ========================================================================== */

/* ---------- Schéma de flux ---------- */
.flow { margin: 0 0 8px; }
.flow svg { width: 100%; height: auto; display: block; }
.flow-legend { font-size: .84rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- Frise chronologique ---------- */
.timeline { position: relative; margin: 0 0 10px; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--accent-wash));
}
.timeline-item { position: relative; padding: 0 0 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--accent);
}
.timeline-item .when {
  display: block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 4px;
}
.timeline-item h3 { font-size: 1.05rem; margin: 0 0 5px; }
.timeline-item p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Graphique en barres ---------- */
.chart { margin: 0 0 10px; }
.chart-row { display: grid; grid-template-columns: 1fr 62px; gap: 14px; align-items: center; padding: 9px 0; }
.chart-label { font-size: .93rem; color: var(--ink-soft); }
.chart-label strong { color: var(--ink); font-weight: 600; }
.chart-bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.chart-bar span { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.chart-bar span.alt { background: var(--indigo); }
.chart-val {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  text-align: right;
}
.chart-source { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Bloc visuel encadré ---------- */
.figure-box {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--sh-card);
  padding: 28px;
  margin: 0 0 26px;
}
.figure-box h3 { margin: 0 0 18px; font-size: 1.05rem; }

/* ---------- Tableau comparatif des offres ---------- */
.offer-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.offer-table th, .offer-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.offer-table thead th {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong, #D2CEC7);
}
.offer-table tbody th { font-weight: 600; color: var(--ink); }
.offer-table td { color: var(--ink-soft); }
.offer-table .yes { color: var(--accent-deep); font-weight: 600; }
.offer-table .no { color: var(--muted); }
.offer-table .price-cell {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}
.offer-table tbody tr:last-child td, .offer-table tbody tr:last-child th { border-bottom: 0; }

@media (max-width: 720px) {
  .offer-table { font-size: .88rem; min-width: 520px; }
}

/* ---------- Croquis à main levée ---------- */
.sketch { margin: 0 0 6px; }
.sketch svg { width: 100%; height: auto; display: block; }
.sketch-note { font-size: .84rem; color: var(--muted); margin: 10px 0 0; }

/* ---------- Moment éditorial avec illustration ---------- */
.figure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.figure-grid .sketch { max-width: 100%; margin-left: auto; }

@media (max-width: 920px) {
  .figure-grid { grid-template-columns: 1fr; gap: 32px; }
  .figure-grid .sketch { max-width: 420px; margin: 0 auto; }
}

/* ==========================================================================
   PAGES LÉGALES
   ========================================================================== */
.legal { max-width: 760px; }
.hero-legal { padding: 56px 0 56px; }
.hero-legal .lead { margin-bottom: 0; }
.legal h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin: 54px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.08rem; margin: 28px 0 8px; }
.legal p { color: var(--ink-soft); margin: 0 0 14px; }
.legal ul, .legal ol { color: var(--ink-soft); margin: 0 0 18px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent-deep); }

.legal-meta { font-size: .88rem; color: var(--muted); margin: 0 0 34px; }

/* Fiche d'identité */
.identity { border: 1px solid var(--line); border-radius: var(--r-card); background: linear-gradient(155deg, var(--warm) 0%, var(--warm-2) 100%); padding: 26px 28px; margin: 0 0 26px; }
.identity dl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 20px; margin: 0; font-size: .95rem; }
.identity dt { color: var(--muted); }
.identity dd { margin: 0; color: var(--ink); }
.identity dd strong { font-weight: 600; }

/* Sommaire */
.legal-toc { border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 26px; margin: 0 0 40px; background: var(--paper); }
.legal-toc p { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 12px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: .93rem; }
.legal-toc li { margin-bottom: 6px; break-inside: avoid; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

/* Tableau légal */
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0 0 20px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table thead th { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.legal-table td { color: var(--ink-soft); }
.legal-table td:first-child { color: var(--ink); font-weight: 600; }

/* Encart d'avertissement */
.legal-note { background: linear-gradient(150deg, var(--accent-wash) 0%, var(--wash-2) 100%); border-left: 3px solid var(--accent); border-radius: 0 var(--r-btn) var(--r-btn) 0; padding: 16px 20px; margin: 0 0 22px; font-size: .95rem; }
.legal-note p { margin: 0; color: var(--ink); }
.legal-note p + p { margin-top: 10px; }

@media (max-width: 720px) {
  .identity dl { grid-template-columns: 1fr; gap: 4px 0; }
  .identity dt { margin-top: 12px; }
  .legal-toc ol { columns: 1; }
  .legal-table { font-size: .88rem; }
}

/* Notice RGPD au point de collecte (article 13) */
.form-rgpd { margin: 22px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.form-rgpd p { font-size: .84rem; line-height: 1.6; color: var(--muted); margin: 0 0 10px; }
.form-rgpd p:last-child { margin-bottom: 0; }
.form-rgpd strong { color: var(--ink-soft); font-weight: 600; }
.form-rgpd a { color: var(--accent-deep); }
.form-rgpd .link-more { font-size: .84rem; }

/* ---------- Marques d'offres ----------
   Icones derivees du vocabulaire du logo officiel (assets/logos/offres/).
   Le logo KiroHQ lui-meme n'est jamais redessine. */
.offer-mark { display: block; width: 56px; height: 56px; margin: 0 0 18px; }
.offer .offer-mark { margin-bottom: 16px; }
.hero .offer-mark { width: 64px; height: 64px; margin-bottom: 22px; }
.deliver-item .offer-mark { width: 34px; height: 34px; margin: 0 0 10px; }
@media (max-width: 920px) {
  .hero .offer-mark { width: 52px; height: 52px; margin-bottom: 18px; }
}
.offer-marks { display: flex; gap: 6px; margin: 0 0 16px; }
.offer-marks img { width: 48px; height: 48px; }

/* ==========================================================================
   FLUIDIT&Eacute; — motif de lignes
   Lignes seules, jamais d'aplat ni de d&eacute;grad&eacute; : la r&egrave;gle qui r&eacute;serve le seul
   d&eacute;grad&eacute; du site au logo reste tenue. Le motif porte le mouvement, la
   couleur reste plate.
   ========================================================================== */
.hero { position: relative; }
.hero > .wrap { position: relative; z-index: 1; }

.hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 460px;
  background: url('../assets/motifs/flux-large.svg') center bottom / 1750px auto no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* Sur fond chaud, le motif se pose sans concurrencer le texte. */
.hero-legal::before { height: 300px; opacity: .75; }

/* Filet de transition, pos&eacute; en t&ecirc;te d'une section claire qui suit un fond chaud */
.flux-filet {
  position: relative;
  height: 76px;
  margin: 0;
  background: url('../assets/motifs/flux-filet.svg') center / 100% 76px no-repeat;
  pointer-events: none;
}

@media (max-width: 920px) {
  .hero::before { height: 300px; background-size: 1200px auto; }
  .hero-legal::before { height: 220px; }
  .flux-filet { height: 54px; background-size: 100% 54px; }
}

/* ---------- Renvoi vers un article de fond ----------
   Referme la boucle du maillage : les articles pointaient vers les offres,
   l'inverse n'existait pas. */
.lire-aussi {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin: 0;
}
.lire-aussi p.kicker { margin-bottom: 14px; }
.lire-aussi ul { list-style: none; margin: 0; padding: 0; }
.lire-aussi li { margin-bottom: 10px; }
.lire-aussi li:last-child { margin-bottom: 0; }
.lire-aussi a {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 560;
  font-size: 1.06rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.lire-aussi a:hover { color: var(--accent-deep); }
.lire-aussi span { display: block; font-size: .92rem; color: var(--ink-soft); margin-top: 4px; }
