/* Lex Appeal — feuille de styles du site 2.0
   Charte : Figtree, violet #5700F8, vert #98FD9F, lavande #F8F4FF, noir #101010 */

:root {
  --violet: #5700f8;
  --violet-fonce: #3d00ad;
  --violet-moyen: #9c66ff;
  --violet-clair: #d6c0ff;
  --vert: #98fd9f;
  --vert-moyen: #34cc3e;
  --vert-fonce: #237e29;
  --lavande: #f8f4ff;
  --lavande-bord: #ece6fb;
  --noir: #101010;
  --noir-pur: #000000;
  --blanc: #ffffff;
  --texte: #101010;
  --texte-doux: #4a4458;
  --texte-discret: #5a5470;
  --sur-violet: #ece3ff;
  --sur-noir: #dcd6ea;
  --sur-noir-doux: #c9c2dc;
  --rayon: 24px;
  --rayon-s: 16px;
  --largeur: 1200px;
  --gouttiere: 24px;
  --police: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--police); color: var(--texte); background: var(--blanc); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
a:hover { color: var(--violet-fonce); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--vert-moyen); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--noir); color: var(--blanc); padding: 12px 18px; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; color: var(--blanc); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.section { padding: 104px 0; }
.section--s { padding: 72px 0; }
.section--lavande { background: var(--lavande); }
.section--violet { background: var(--violet); color: var(--blanc); }
.section--noir { background: var(--noir-pur); color: var(--blanc); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack--l { gap: 48px; }
.stack--s { gap: 14px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > .grow { flex: 1 1 480px; min-width: 0; }
.split > .side { flex: 0 1 400px; min-width: 0; }
.center { text-align: center; align-items: center; }

/* Typographie */
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.section--violet .eyebrow, .section--noir .eyebrow, .hero .eyebrow { color: var(--vert); }
.h1 { font-weight: 800; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.05; letter-spacing: -.02em; }
.h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.015em; }
.h3 { font-weight: 800; font-size: 26px; line-height: 1.2; }
.lead { font-size: 19px; line-height: 1.55; color: var(--texte-doux); max-width: 680px; }
.section--violet .lead, .hero .lead { color: var(--sur-violet); }
.section--noir .lead { color: var(--sur-noir-doux); }
.accent-vert { color: var(--vert); }
.accent-violet { color: var(--violet); }
.small { font-size: 14px; }

/* Boutons */
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--vert { background: var(--vert); color: var(--noir); }
.btn--vert:hover { background: #b6ffbb; color: var(--noir); }
.btn--violet { background: var(--violet); color: var(--blanc); }
.btn--violet:hover { background: var(--violet-fonce); color: var(--blanc); }
.btn--contour { border-color: currentColor; color: var(--blanc); font-weight: 700; }
.btn--contour:hover { color: var(--blanc); background: rgba(255,255,255,.1); }
.btn--contour-violet { border-color: var(--violet); color: var(--violet); font-weight: 700; }
.lien-fleche { font-weight: 700; text-decoration: none; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lavande-bord); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--noir); }
.logo img { width: 36px; height: 36px; }
.logo span { font-weight: 700; font-size: 15px; letter-spacing: .32em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--noir); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--violet); }
.nav .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.nav .btn, .nav .btn:hover { color: var(--blanc); }
.lang { font-size: 14px; color: var(--texte-discret); }
.lang a { color: var(--texte-discret); }
.lang strong { color: var(--violet); }
.burger { display: none; background: none; border: 0; width: 48px; height: 48px; padding: 12px; cursor: pointer; color: var(--noir); }
@media (max-width: 960px) {
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--blanc); border-bottom: 1px solid var(--lavande-bord); padding: 8px var(--gouttiere) 20px; }
  .nav.is-open { display: flex; }
  .nav a, .nav .lang { padding: 14px 0; border-bottom: 1px solid var(--lavande-bord); font-size: 17px; }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
}

/* Hero */
.hero { background: var(--violet); color: var(--blanc); }
.hero__in { display: flex; flex-wrap: wrap; align-items: stretch; gap: 48px; }
.hero__txt { flex: 1 1 480px; padding: 96px 0 88px; display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.hero__img { flex: 1 1 400px; display: flex; min-height: 420px; }
.hero__img img { width: 100%; object-fit: cover; object-position: 62% center; border-radius: 28px 28px 0 0; margin-top: 56px; }
.hero__preuve { font-size: 14px; color: var(--violet-clair); }
.hero--page .hero__txt { padding: 72px 0 80px; }
.fil { font-size: 14px; color: var(--violet-clair); }
.fil a { color: var(--violet-clair); text-decoration: none; }
.fil a:hover { color: var(--blanc); text-decoration: underline; }
.module-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.module-tag b { font-size: 20px; color: var(--vert); }
.module-tag i { width: 64px; height: 4px; background: var(--vert); border-radius: 2px; }
.module-tag span { font-weight: 600; font-size: 17px; color: var(--sur-violet); }
.pastille { align-self: flex-start; background: var(--blanc); color: var(--violet); font-size: 15px; font-weight: 600; padding: 10px 18px; border-radius: 999px; }
.visuel { flex: 0 1 380px; border-radius: 28px; overflow: hidden; background: var(--noir-pur); }
.visuel--violet { background: var(--violet-fonce); aspect-ratio: 840 / 688; display: flex; align-items: center; justify-content: center; }
.visuel--violet svg { width: 76%; }
@media (max-width: 760px) {
  .hero__txt { padding: 56px 0 40px; }
  .hero__img { min-height: 300px; }
  .hero__img img { margin-top: 0; }
  .hero--page .hero__txt { padding: 48px 0 24px; }
  .hero--page .visuel { margin-bottom: 48px; }
  .section { padding: 72px 0; }
}

/* Grilles et cartes */
.grille { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grille--logos { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.carte { background: var(--lavande); border-radius: var(--rayon); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.section--lavande .carte { background: var(--blanc); }
.section--lavande .carte--violet { background: var(--violet); }
.carte--violet { background: var(--violet); color: var(--blanc); }
.carte--noir { background: var(--noir); color: var(--blanc); }
.carte p { color: var(--texte-doux); }
.carte--violet p, .carte--noir p { color: var(--sur-violet); }
.carte__num { font-weight: 800; font-size: 20px; color: var(--violet); }
.carte--violet .carte__num { color: var(--vert); }
.carte__titre { font-weight: 700; font-size: 24px; line-height: 1.25; }
.carte__sous { font-weight: 600; font-size: 15px; color: var(--violet); margin-top: -8px; }
.carte--violet .carte__sous { color: var(--vert); }
.carte__lien { font-weight: 700; font-size: 15px; color: var(--violet); margin-top: auto; }
.carte--violet .carte__lien { color: var(--vert); }
a.carte { text-decoration: none; color: var(--texte); transition: transform .15s ease, box-shadow .15s ease; min-height: 220px; }
a.carte--violet { color: var(--blanc); }
a.carte:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(87,0,248,.14); }
.carte--pointilles { background: none; border: 2px dashed var(--violet-clair); justify-content: center; }
.etiquette { align-self: flex-start; background: var(--violet); color: var(--blanc); font-weight: 700; font-size: 13px; letter-spacing: .06em; padding: 8px 16px; border-radius: 999px; text-transform: uppercase; }
.etape__label { color: var(--violet); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.etape p { font-size: 18px; color: var(--texte); }
.logo-client { height: 88px; border-radius: var(--rayon-s); background: var(--lavande); display: flex; align-items: center; justify-content: center; padding: 16px; }
.section--lavande .logo-client { background: var(--blanc); }
.logo-client img { max-height: 44px; max-width: 120px; width: auto; }

/* Promesses (fond noir) */
.promesse { border-top: 2px solid var(--vert); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.promesse h3 { font-size: 22px; font-weight: 700; color: #b896ff; }
.promesse p { font-size: 16px; color: var(--sur-noir); }

/* Méthode */
.methode .carte { padding: 36px 32px; }
.methode h3 { color: var(--vert); font-weight: 800; font-size: 32px; }
.resultat { background: var(--noir); color: var(--blanc); border-radius: 20px; padding: 24px 32px; font-size: 18px; font-weight: 700; }
.resultat b { color: var(--vert); }

/* Cas client */
.cas { display: flex; flex-wrap: wrap; border-radius: 28px; overflow: hidden; background: var(--lavande); }
.cas__gauche { flex: 1 1 340px; background: var(--violet); color: var(--blanc); padding: 48px 40px; display: flex; flex-direction: column; gap: 18px; }
.cas__gauche p { color: var(--sur-violet); }
.cas__filet { width: 72px; height: 4px; background: var(--vert); border-radius: 2px; margin-top: 8px; }
.cas__droite { flex: 2 1 560px; padding: 40px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.chiffres { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.chiffre { background: var(--blanc); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.chiffre b { font-weight: 800; font-size: 40px; color: var(--violet); line-height: 1.05; }
.chiffre span { font-size: 15px; font-weight: 600; color: var(--texte-discret); }
.adoption { flex: 1 1 260px; background: var(--noir); color: var(--blanc); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.adoption b { font-weight: 800; font-size: 40px; color: var(--vert); line-height: 1; }
.adoption span { font-size: 15px; color: var(--sur-noir); }
.adoption q { font-size: 18px; font-weight: 700; line-height: 1.4; quotes: "« " " »"; }
.preuves { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.preuves p { font-size: 16px; color: #2b2738; }
.cas-compact { background: var(--noir); color: var(--blanc); border-radius: var(--rayon); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.cas-compact__haut { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: baseline; }
.cas-compact__haut b { color: var(--vert); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.cas-compact__haut span { font-size: 15px; color: var(--sur-noir-doux); }
.cas-compact .chiffre { background: none; padding: 0; }
.cas-compact .chiffre b { color: var(--blanc); font-size: 36px; }
.cas-compact .chiffre:last-child b { color: var(--vert); }
.cas-compact .chiffre span { color: var(--sur-noir-doux); }

/* Fondateur */
.portrait { position: relative; }
.portrait::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; background: var(--violet); border-radius: 28px; }
.portrait--vert::before { inset: -20px 28px 28px -20px; background: var(--vert); }
.portrait img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 28%; border-radius: 28px; }
@media (max-width: 760px) { .portrait { margin: 0 24px 24px 0; } }

/* Fait pour vous si */
.coche { background: var(--blanc); border-radius: 20px; padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.coche svg { flex-shrink: 0; }
.coche p { font-size: 17px; }

/* Blocs divers */
.bandeau-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.bandeau-cta .h2 { font-size: clamp(28px, 3vw, 40px); max-width: 680px; }
.module-ligne { text-decoration: none; color: var(--texte); background: var(--lavande); border-radius: var(--rayon); padding: 32px 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; transition: transform .15s ease; }
.module-ligne:hover { transform: translateX(4px); color: var(--texte); }
.module-ligne__num { color: var(--violet); font-weight: 800; font-size: 40px; width: 64px; }
.module-ligne__txt { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.module-ligne__txt b { font-weight: 800; font-size: 26px; }
.module-ligne__txt em { font-style: normal; font-weight: 700; font-size: 15px; color: var(--violet); }
.module-ligne__txt span { font-size: 17px; color: var(--texte-doux); }
.module-ligne__desc { flex: 0 1 300px; font-size: 15px; color: var(--texte-doux); }
.mini-module { text-decoration: none; color: var(--texte); border: 2px solid var(--lavande-bord); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.mini-module b { color: var(--violet); }
.mini-module span { font-weight: 700; font-size: 19px; }
.mini-module:hover { border-color: var(--violet); color: var(--texte); }
.repere { border-radius: var(--rayon); padding: 28px; background: var(--blanc); display: flex; flex-direction: column; gap: 10px; }
.repere b { font-weight: 800; font-size: 14px; letter-spacing: .12em; color: var(--violet); }
.repere p { font-size: 19px; font-weight: 700; line-height: 1.35; }
.repere--violet { background: var(--violet); color: var(--blanc); }
.repere--violet b { color: var(--vert); }
.methode-ligne { border-top: 4px solid var(--violet); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.methode-ligne b { font-weight: 800; font-size: 26px; }
.methode-ligne p { color: var(--texte-doux); }
.citation-grande { font-weight: 900; font-size: 120px; line-height: .8; color: var(--violet-moyen); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--violet-clair); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 15px; }
.chip-groupe { display: flex; flex-direction: column; gap: 10px; }
.chip-groupe b { font-size: 15px; color: var(--violet); }
.fait { background: var(--lavande); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.fait b { font-weight: 800; font-size: 26px; color: var(--violet); line-height: 1.15; }
.fait span { color: var(--texte-doux); font-size: 16px; }
.fait--violet { background: var(--violet); }
.fait--violet b { color: var(--vert); }
.fait--violet span { color: var(--sur-violet); }

/* Formulaires */
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label { font-size: 15px; font-weight: 600; }
.champ input, .champ select, .champ textarea { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--violet-clair); min-height: 48px; background: var(--blanc); color: var(--texte); width: 100%; }
.champ textarea { resize: vertical; min-height: 140px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px rgba(87,0,248,.15); }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--texte-doux); }
.case input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--violet); }
.hp { position: absolute; left: -9999px; }
.message-form { border-radius: 14px; padding: 14px 18px; font-weight: 600; }
.message-form--ok { background: #e6fde8; color: var(--vert-fonce); }
.message-form--ko { background: #fde8ea; color: #a1122a; }
.boite { border: 2px solid var(--lavande-bord); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.agenda { background: var(--lavande); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.agenda__cadre { background: var(--blanc); border-radius: 20px; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
.agenda__cadre iframe { width: 100%; min-height: 640px; border: 0; border-radius: 12px; }
.coordonnees { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.coordonnees a { background: var(--noir); color: var(--blanc); text-decoration: none; border-radius: 20px; padding: 22px 26px; display: flex; flex-direction: column; gap: 4px; }
.coordonnees b { color: var(--vert); font-size: 13px; letter-spacing: .1em; }
.coordonnees span { font-weight: 600; font-size: 17px; }

/* Diagnostic */
.diag-carte { max-width: 820px; margin: -84px auto 0; background: var(--blanc); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 16px 48px rgba(87,0,248,.12); display: flex; flex-direction: column; gap: 26px; position: relative; }
.diag-axes { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.diag-axes span { background: var(--lavande); border-radius: 14px; padding: 14px; font-weight: 700; font-size: 15px; text-align: center; }
.diag-progres { height: 8px; background: var(--lavande-bord); border-radius: 999px; overflow: hidden; }
.diag-progres i { display: block; height: 8px; background: var(--violet); border-radius: 999px; transition: width .25s ease; }
.diag-entete { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--texte-discret); }
.diag-entete b { color: var(--violet); }
.diag-options { display: flex; flex-direction: column; gap: 12px; }
.diag-option { text-align: left; font: inherit; font-size: 17px; font-weight: 600; padding: 18px 22px; min-height: 56px; border-radius: 16px; cursor: pointer; border: 2px solid var(--lavande-bord); background: var(--blanc); color: var(--texte); }
.diag-option:hover { border-color: var(--violet-clair); }
.diag-option[aria-pressed="true"] { border-color: var(--violet); background: #f1eaff; }
.lien-bouton { align-self: flex-start; background: none; border: 0; color: var(--violet); font: inherit; font-weight: 700; font-size: 15px; padding: 10px 0; min-height: 44px; cursor: pointer; }
.diag-score { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.diag-rond { width: 132px; height: 132px; border-radius: 50%; background: var(--violet); color: var(--blanc); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.diag-rond b { font-weight: 900; font-size: 44px; line-height: 1; }
.diag-rond span { font-size: 14px; color: var(--violet-clair); }
.diag-barre { display: flex; flex-direction: column; gap: 6px; }
.diag-barre div:first-child { display: flex; justify-content: space-between; font-weight: 700; }
.diag-barre div:first-child span:last-child { color: var(--violet); }
.diag-barre .piste { height: 12px; background: var(--lavande-bord); border-radius: 999px; overflow: hidden; }
.diag-barre .piste i { display: block; height: 12px; border-radius: 999px; }
.diag-priorites { background: var(--noir); color: var(--blanc); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.diag-priorites > b { color: var(--vert); font-size: 14px; letter-spacing: .1em; }
.diag-cta { background: var(--violet); color: var(--blanc); border-radius: 20px; padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.diag-cta p { color: var(--sur-violet); }

/* Pages légales */
.legal { max-width: 820px; }
.legal h2 { font-size: 24px; font-weight: 800; margin-top: 16px; }
.legal p, .legal li { color: #2b2738; }
.a-completer { background: #fff4d6; padding: 0 4px; border-radius: 4px; }

/* Pied de page */
.footer { background: var(--noir); color: var(--sur-noir-doux); padding: 56px 0 40px; }
.footer a { color: var(--sur-noir-doux); text-decoration: none; }
.footer a:hover { color: var(--blanc); }
.footer__haut { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col > b { color: var(--blanc); }
.footer .logo { color: var(--blanc); }
.footer__bas { border-top: 1px solid #2c2838; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: #a39cb6; }
.footer__bas div { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__bas a { color: #a39cb6; }
.footer .plaquette { color: var(--vert); font-weight: 600; }
