@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

/* ============================================================
   UPTED — Couche DA "Youdji" (essai)
   Chargee APRES styles.css : surcharge la DA v4 sans la detruire.
   Retirer le <link> pour revenir a la v4.

   Police unique Plus Jakarta Sans (variable 200-800), titres
   extrabold. Marque = bleu-nuit #050038, jamais en couleur vive.
   Fond blanc + blanc casse violace #f9f7fc en alternance.
   Accents pastel (emerald/fuchsia/sky/amber) reserves aux cartes
   en degrade tres leger + bordure assortie. Rayons doux, ombres
   discretes, filets fins.
   ============================================================ */

:root {
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;

  --ink: #050038;
  --ink-soft: #4b4a6a;
  --ink-mute: #6f6e88;
  --bg: #ffffff;
  --bg-2: #f9f7fc;
  --surface: #ffffff;
  --line: #e3e0ec;
  --line-soft: #eeecf4;

  --acc: #050038;
  --acc-ink: #050038;
  --acc-soft: #f9f7fc;
  --on-acc: #ffffff;

  --radius: 0.375rem;
  --radius-sm: 0.25rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 1px 2px 0 rgb(5 0 56 / 0.05);
  --shadow: 0 1px 3px 0 rgb(5 0 56 / 0.1), 0 1px 2px -1px rgb(5 0 56 / 0.1);
}

/* ---------- socle ---------- */
body { background: var(--bg); color: var(--ink); font-weight: 400; }
::selection { background: var(--ink); color: #fff; }

h1, h2, h3, h4, .h-display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: pretty;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); font-weight: 700; }
p, li { font-weight: 400; }
strong, b { font-weight: 700; }

.eyebrow, .crumb, .pmeta, .art-meta, .mn, .vn, .footer-bot, .load-more-count, .pcat {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}
.eyebrow { color: var(--ink-mute); font-size: 0.875rem; }
.eyebrow::before, .eyebrow::after { display: none; }

a { color: var(--ink); }
a:hover { color: var(--ink); }

/* ---------- boutons : liseré intérieur, rayon doux ---------- */
.btn, .btn-primary, .btn-ghost, .btn-line {
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-primary {
  background: var(--ink); color: #fff; border: 0;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #0d0857; box-shadow: var(--shadow); transform: none; }
.btn-ghost, .btn-line {
  background: #fff; color: var(--ink); border: 0;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.btn-ghost:hover, .btn-line:hover { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- nav : courte, filet fin, plus de trait épais ---------- */
.nav, .lp-nav {
  background: rgb(255 255 255 / 0.88);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
  z-index: 210;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-links a, .footer-col a {
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-links a.active, .nav-links a[aria-current] { color: var(--ink); font-weight: 700; }
.mega-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px -12px rgb(5 0 56 / 0.18);
}
.mega-col a:hover { background: var(--bg-2); color: var(--ink); }
.brand-logo { height: 60px; }

/* ---------- hero : bloc arrondi bleu-nuit en dégradé ---------- */
.hero { background: var(--bg); padding-top: clamp(28px, 4vw, 56px); }
.hero h1 .accent, .hero h1 span, .lp-hero h1 .hl { color: var(--ink); }
.hero-sub, .lead, .lp-lead { color: var(--ink-soft); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }

/* ---------- sections : alternance blanc / blanc cassé ---------- */
.sec { padding: clamp(52px, 7vw, 104px) 0; }
.sec + .sec { border-top: 0; }
.sec, .stats, .cta, .hero { background: var(--bg); }
.sec.band { background: var(--bg-2); }
.sec-head { margin-bottom: clamp(32px, 4vw, 56px); }

/* ---------- piliers : étapes numérotées, carte pastel ---------- */
.trio { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.pane {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0 clamp(18px, 2.4vw, 40px);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.2vw, 40px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.pane:hover { background: #fff; box-shadow: var(--shadow); transform: none; }
.pane::before {
  content: counter(pil) !important;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 999px !important;
  font-family: var(--font-body) !important;
  font-size: 1.05rem !important; font-weight: 800 !important;
  color: var(--ink) !important;
  background: var(--bg-2) !important;
  box-shadow: inset 0 0 0 1px var(--line);
}
.pane:hover::before { color: var(--ink) !important; }
.pane.seo { background: linear-gradient(160deg, rgb(16 185 129 / 0.10), #fff 62%); border-color: #a7f3d0; }
.pane.geo { background: linear-gradient(160deg, rgb(14 165 233 / 0.10), #fff 62%); border-color: #bae6fd; }
.pane.ia  { background: linear-gradient(160deg, rgb(217 70 239 / 0.10), #fff 62%); border-color: #f5d0fe; }
.pane.seo::before { background: rgb(16 185 129 / 0.14) !important; box-shadow: inset 0 0 0 1px #a7f3d0; }
.pane.geo::before { background: rgb(14 165 233 / 0.14) !important; box-shadow: inset 0 0 0 1px #bae6fd; }
.pane.ia::before  { background: rgb(217 70 239 / 0.14) !important; box-shadow: inset 0 0 0 1px #f5d0fe; }
.pane .sub-list { gap: 0; }
.pane .sub { border-bottom: 1px solid rgb(5 0 56 / 0.08); border-radius: var(--radius); }
.pane .sub:hover { background: rgb(255 255 255 / 0.7); border-radius: var(--radius); }
.pane-link {
  color: var(--ink); border-bottom: 0;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: var(--radius);
  padding: 10px 16px; background: #fff;
}
.pane-link:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pane.geo .pane-link { color: var(--ink); }
@media (max-width: 1000px) { .pane { grid-template-columns: minmax(0, 1fr); } }

.pane-cta {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}

/* ---------- chiffres clés : bloc bleu-nuit arrondi ---------- */
.stats, .stats-sec { background: var(--bg); }
.stats-grid {
  background: linear-gradient(150deg, #050038, #17114f 70%);
  border: 0; border-radius: var(--radius-lg);
  padding: clamp(28px, 3.6vw, 48px);
  color: #fff;
  box-shadow: var(--shadow);
}
.stat { border-color: rgb(255 255 255 / 0.14); }
.stat .n { font-family: var(--font-display); font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.stat .l { color: rgb(255 255 255 / 0.72); font-weight: 500; text-transform: none; letter-spacing: 0; }

/* ---------- marquee outils ---------- */
.tools { background: var(--bg-2); border-block: 1px solid var(--line); }
.tools-lab { color: var(--ink-mute); font-weight: 600; letter-spacing: 0; text-transform: none; }
/* .tool-chip reste blanc (#fff) dans styles.css, regle ecrite pour le
   fond encre de la DA v4. Le fond redevient clair juste au-dessus :
   sans cette ligne, le texte est blanc sur fond clair, invisible. */
.tool-chip { color: var(--ink-soft); opacity: 1; }
.tool-chip:hover { color: var(--ink); }
.tool-pill {
  background: #fff; color: var(--ink-soft);
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600;
}

/* ---------- logos clients : cellules douces ---------- */
.lp-logos { border-top: 0; gap: clamp(10px, 1.4vw, 18px); }
.lp-logo {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.lp-logo:hover { background: #fff; box-shadow: var(--shadow); }

/* ---------- cartes de fonctionnalités : pastel + bordure assortie ---------- */
.fgrid { gap: clamp(16px, 2vw, 24px); border: 0; }
.fcard {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.fcard:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-2px); }
.fcard:nth-child(4n+1) { background: linear-gradient(160deg, rgb(16 185 129 / 0.08), #fff 58%); border-color: #a7f3d0 !important; }
.fcard:nth-child(4n+2) { background: linear-gradient(160deg, rgb(14 165 233 / 0.08), #fff 58%); border-color: #bae6fd !important; }
.fcard:nth-child(4n+3) { background: linear-gradient(160deg, rgb(217 70 239 / 0.08), #fff 58%); border-color: #f5d0fe !important; }
.fcard:nth-child(4n+4) { background: linear-gradient(160deg, rgb(245 158 11 / 0.08), #fff 58%); border-color: #fde68a !important; }
.fcard .ic {
  border-radius: var(--radius);
  background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.fcard .tags span { border-radius: 999px; background: rgb(255 255 255 / 0.8); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; letter-spacing: 0; }

/* ---------- piliers en colonnes / étapes ---------- */
.pillars { gap: clamp(16px, 2vw, 24px); border-top: 0; }
.pillar {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.8vw, 34px);
  background: #fff; box-shadow: var(--shadow-sm);
}
.pillar .pn {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 999px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 800;
  color: var(--ink); background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (max-width: 760px) { .pillar { border-bottom: 1px solid var(--line); } }

.steps .step, .step-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-sm);
}
.step-n, .info-list .step-n {
  border-radius: 999px !important;
  background: var(--ink) !important; color: #fff !important;
  font-weight: 800;
}

/* ---------- split ---------- */
.split-media { border-radius: var(--radius-lg); background: var(--bg-2) !important; box-shadow: var(--shadow-sm); }
.split-media .ph-lab { border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); border: 0; background: #fff; }

/* ---------- pourquoi : cartes pastel ---------- */
.why-points { gap: clamp(16px, 2vw, 22px); }
.why-point {
  border-top: 0; padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-sm);
}
.why-point:nth-child(1) { background: linear-gradient(160deg, rgb(16 185 129 / 0.08), #fff 58%); border-color: #a7f3d0; }
.why-point:nth-child(2) { background: linear-gradient(160deg, rgb(14 165 233 / 0.08), #fff 58%); border-color: #bae6fd; }
.why-point:nth-child(3) { background: linear-gradient(160deg, rgb(217 70 239 / 0.08), #fff 58%); border-color: #f5d0fe; }
.why-point:nth-child(4) { background: linear-gradient(160deg, rgb(245 158 11 / 0.08), #fff 58%); border-color: #fde68a; }
.why-point b { font-weight: 800; }

/* ---------- accordéon ---------- */
.acc { border-top: 0; display: grid; gap: 12px; }
.acc-item {
  border: 1px solid var(--line) !important; border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-sm);
}
/* pas de rognage sur l'item : c'est .acc-a qui porte la transition
   de hauteur, sinon la reponse ouverte est coupee en bas */
.acc-item.open { overflow: visible; }
.acc-q { font-weight: 700; }
.acc-q .pm { border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); border: 0; }
.acc-item.open { box-shadow: var(--shadow); }
.acc-item.open .pm { background: var(--ink); color: #fff; }

/* ---------- tarifs ---------- */
.price {
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-sm);
}
.price.feat {
  border: 1px solid var(--line); border-color: var(--line);
  background: linear-gradient(160deg, #050038, #17114f 75%); color: #fff;
  box-shadow: var(--shadow);
}
.price.feat h3, .price.feat .pp, .price.feat li { color: #fff; }
.price.feat li::before { color: #a7f3d0; }
.price.feat .ribbon { background: rgb(255 255 255 / 0.16); color: #fff; border-radius: 999px; }
.price.feat .btn-primary { background: #fff; color: var(--ink); }
.price.feat .btn-primary:hover { background: var(--bg-2); }
.price li::before { color: var(--ink); }
.price .pp { font-family: var(--font-display); font-weight: 800; }

/* ---------- valeurs ---------- */
.values { gap: clamp(16px, 2vw, 24px); border-top: 0; }
.value {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.8vw, 34px);
  background: #fff; box-shadow: var(--shadow-sm);
}
.value .vn { color: var(--ink-mute); letter-spacing: 0; font-weight: 700; }
.lead-big em { color: var(--ink); font-style: normal; font-weight: 800; }

/* ---------- formulaires ---------- */
.field label { font-weight: 600; color: var(--ink-soft); letter-spacing: 0; text-transform: none; }
.field input, .field textarea, .field select {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-family: var(--font-body);
  box-shadow: var(--shadow-sm);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ink); outline: 0;
  box-shadow: 0 0 0 3px rgb(5 0 56 / 0.12);
}
.field input.err, .field textarea.err { border-color: #e11d48; box-shadow: 0 0 0 3px rgb(225 29 72 / 0.12); }
.chip { border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); border: 0; font-weight: 600; background: #fff; }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.info-card { border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.form-done {
  border-radius: var(--radius-lg); border: 1px solid #a7f3d0;
  background: linear-gradient(160deg, rgb(16 185 129 / 0.10), #fff 60%);
}
.form-done .ok { background: #059669; border-radius: 999px; }

/* ---------- CTA final : grand bloc arrondi bleu-nuit ---------- */
.cta { padding: clamp(40px, 6vw, 88px) 0; }
.cta .wrap { max-width: var(--maxw); padding-inline: var(--gutter); }
.cta-card {
  background: linear-gradient(150deg, #050038, #17114f 70%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 72px);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-card h2 { color: #fff; max-width: 24ch; margin-inline: auto; }
.cta-card h2 span { color: #a7f3d0; }
.cta-card p { color: rgb(255 255 255 / 0.78); max-width: 56ch; margin: 20px auto 32px; }
.cta-card .btn-primary { background: #fff; color: var(--ink); margin-inline: auto; }
.cta-card .btn-primary:hover { background: var(--bg-2); }
.cta-card .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4); }
.cta-card .btn-ghost:hover { background: rgb(255 255 255 / 0.1); box-shadow: inset 0 0 0 1px #fff; }

/* ---------- blog ---------- */
.filter { border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); border: 0; font-weight: 600; background: #fff; }
.filter.on { background: var(--ink); color: #fff; box-shadow: none; }
.post { border-radius: var(--radius-lg); }
.pthumb { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.post:hover .pthumb { transform: translateY(-2px); box-shadow: var(--shadow); }
.pcat { border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); border: 0; background: #fff; font-weight: 600; font-size: 0.72rem; }
.pmeta { color: var(--ink-mute); font-size: 0.8rem; }
.post h3 { font-size: 1.25rem; font-weight: 700; }
.post .pread { color: var(--ink); font-weight: 700; }
.feat-post { border-bottom-color: var(--line); }

/* ---------- article ---------- */
.art-cat { color: var(--ink-mute); letter-spacing: 0; font-weight: 700; }
.art-meta { color: var(--ink-mute); font-size: 0.85rem; }
.art-hero { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.art-hero img { border-radius: var(--radius-lg); }
.blog-rail a {
  color: var(--ink-soft); font-weight: 600; border-radius: var(--radius);
  border-left: 2px solid var(--line); padding-left: 12px;
}
.blog-rail a:hover { color: var(--ink); border-left-color: var(--ink); background: var(--bg-2); }
.prose h2 { font-weight: 800; letter-spacing: -0.02em; }
.prose h3 { font-weight: 700; }
.prose blockquote {
  border-left: 3px solid var(--line);
  background: var(--bg-2); border-radius: var(--radius);
  padding: 18px 22px; font-style: normal; color: var(--ink);
}
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose code, code { border-radius: var(--radius-sm); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); border: 0; }
.prose table { border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.prose th { background: var(--bg-2); font-weight: 700; }
.art-share { border-top-color: var(--line); }
.art-author .av { border-radius: 999px; background: var(--ink); }
.art-author b { font-weight: 700; }

/* ---------- pied de page ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-col a { color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); padding-left: 3px; }
.footer-col h4, .footer-col b { font-weight: 700; letter-spacing: 0; text-transform: none; }
.footer-bot { border-top-color: var(--line); color: var(--ink-mute); font-size: 0.8rem; }

/* ---------- landing ---------- */
.lp-hero::before { display: none !important; }
.lp-form-card {
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow);
}
.lp-form-card::before { height: 4px; background: var(--ink); }
.lp-hl { border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); }
.lp-badges .ck { background: var(--ink); color: #fff; border-radius: 999px; }
.lp-trust { background: var(--bg-2); border-block: 1px solid var(--line); }
.lp-mod {
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-sm);
}
.lp-mod:hover { border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-2px); }
.lp-mod .mn { color: var(--ink-mute); }
.lp-quote blockquote { font-weight: 700; }
.lp-quote figcaption { color: var(--ink-mute); letter-spacing: 0; text-transform: none; font-size: 0.85rem; }

/* ---------- micro-interaction signature ---------- */
@media (prefers-reduced-motion: no-preference) {
  .lp-logo:hover, .art-author .av:hover { transform: rotate(-1deg); transition: transform .2s ease; }
}


/* ============================================================
   Poids typographiques : la couche Caprasimo forcait 400 avec
   une specificite de classe, on la reprend a la meme portee.
   ============================================================ */
.hero h1, .phero h1, .art-head h1, .lp-hero h1 { font-weight: 800; letter-spacing: -0.028em; line-height: 1.06; }
.sec-head h2, .cta-card h2, .feat-post h2, .split h2, .lp-form-card h2 { font-weight: 700; letter-spacing: -0.022em; line-height: 1.1; }
.pane h3, .step h3, .fcard h3, .pillar h3, .value h3, .post h3, .lp-mod h3, .acc-q { font-weight: 700; letter-spacing: -0.014em; line-height: 1.2; }
.lead-big { font-weight: 700; letter-spacing: -0.018em; }
.stat .n { font-weight: 800; letter-spacing: -0.03em; }
.price .pp { font-weight: 800; letter-spacing: -0.024em; }
.price .pp small { font-weight: 500; }
.price .pname { font-weight: 700; }
.prose blockquote { font-weight: 500; letter-spacing: 0; }
.prose h2 { font-weight: 800; }
.prose h3 { font-weight: 700; }

/* grand chiffre des piliers en colonnes : pastille, plus de chiffre geant */
.pillar .pn {
  display: grid !important; place-items: center;
  width: 40px; height: 40px; border-radius: 999px;
  font-size: 1rem !important; font-weight: 800 !important;
  line-height: 1 !important; letter-spacing: 0 !important;
  color: var(--ink) !important; background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}


/* logo : meme hauteur nav et pied de page */
.brand-logo, .footer .brand-logo, .lp-nav .brand-logo { height: 60px; width: auto; }
@media (max-width: 620px) { .brand-logo, .footer .brand-logo, .lp-nav .brand-logo { height: 50px; } }


/* --- alternance : le CTA reste blanc (bloc sombre a l'interieur),
       le pied de page prend la teinte pour trancher avec lui --- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); }


/* ============================================================
   Reprise sur les !important de la couche v4
   ============================================================ */

/* pastille numerotee des piliers : v4 forcait height/inset/position
   en !important, ce qui ecrasait le chiffre dans 15px de haut */
.pane::before,
.pane.seo::before, .pane.geo::before, .pane.ia::before {
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  display: grid !important;
  place-items: center !important;
  place-self: start !important;
  border-radius: 999px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

/* visuels : v4 forcait le fond gris, on garde la teinte de la DA */
.split-media, .pthumb, .art-hero { background: var(--bg-2) !important; }
.art-author .av { background: var(--ink); }


/* ============================================================
   Pastels : reserves aux cartes de benefices et aux 3 piliers.
   Les cartes de prestations reviennent en blanc + filet fin,
   sinon chaque section repete le meme arc-en-ciel.
   ============================================================ */
.fcard,
.fcard:nth-child(4n+1), .fcard:nth-child(4n+2),
.fcard:nth-child(4n+3), .fcard:nth-child(4n+4) {
  background: #fff;
  border-color: var(--line) !important;
}
.fcard:hover { border-color: var(--line) !important; box-shadow: var(--shadow); }
.fcard .tags span { background: var(--bg-2); }


/* titres de colonnes du pied de page : plus de petites capitales */
.footer-col h2, .footer-col h3, .footer-col h4 {
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0; text-transform: none;
  color: var(--ink-mute);
}


/* titre du hero : la hauteur de ligne doit laisser passer les jambages */
.hero h1, .phero h1, .lp-hero h1 { line-height: 1.12; padding-bottom: 2px; }


/* ============================================================
   Classes reelles du markup (les selecteurs precedents visaient
   des noms absents et ne s'appliquaient pas)
   ============================================================ */

/* carte de tarif mise en avant : le nom du plan est un .pname, pas un h3 */
.price .pname { color: var(--ink-soft); }
.price.feat .pname { color: rgb(255 255 255 / 0.72); }
.price.feat .pp, .price.feat .pp small { color: #fff; }
.price.feat .pp small { color: rgb(255 255 255 / 0.66); }
.price.feat li { color: rgb(255 255 255 / 0.86); }

/* le CTA de cette carte est un .btn-acc (bleu electrique de l'ancienne DA) */
.btn-acc {
  background: var(--ink); color: #fff; border: 0;
  border-radius: var(--radius); font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.btn-acc:hover { background: #0d0857; box-shadow: var(--shadow); }
.price.feat .btn-acc { background: #fff; color: var(--ink); }
.price.feat .btn-acc:hover { background: var(--bg-2); }

/* bandeau "Le plus choisi" : ramene dans la carte, fond opaque */
.price.feat { position: relative; padding-top: clamp(46px, 5vw, 58px); }
.price.feat .ribbon {
  top: 16px; left: 50%; transform: translateX(-50%);
  background: rgb(255 255 255 / 0.14);
  color: #fff; border-radius: 999px;
  padding: 6px 14px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0; text-transform: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22);
}

/* micro-libelles restes en capitales */
.stat .lab, .mega-tag {
  text-transform: none; letter-spacing: 0;
  font-weight: 600; font-size: 0.8125rem;
}
.stat .lab { color: rgb(255 255 255 / 0.72); }
.mega-tag { color: var(--ink-mute); }


/* ============================================================
   Accents par pilier : l'ancienne DA laissait #1b3cf0 et #0f0f10
   dans --acc-seo / --acc-geo / --acc-ia, consommes par 17 regles
   (chips du blog, fleches, survol du mega-menu). On les redefinit
   sur les trois teintes pastel deja utilisees pour les piliers,
   en version foncee pour rester lisible sur blanc.
   ============================================================ */
:root {
  --acc-seo: #047857;  /* emerald 700 */
  --acc-geo: #0369a1;  /* sky 700 */
  --acc-ia:  #a21caf;  /* fuchsia 700 */
}
.geo-badge { background: var(--ink); color: #fff; }


/* ============================================================
   Piliers : la couche v4 posait une grille 3 colonnes (numero /
   texte / sous-liste) pensee pour des lignes pleine largeur.
   La DA Youdji remet trois cartes cote a cote : dans 400px de
   large, h3 et .sub-list se retrouvaient dans la meme case et se
   superposaient. On repasse chaque carte en colonne simple.
   ============================================================ */
.pane {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  gap: 0 !important;
}
.pane::before {
  grid-column: auto !important;
  grid-row: auto !important;
  margin-bottom: 18px !important;
}
.pane h3,
.pane > p,
.pane .pane-link,
.pane .sub-list {
  grid-column: auto !important;
  grid-row: auto !important;
  width: auto !important;
  max-width: none !important;
}
.pane h3 { margin: 0 0 10px; }
.pane > p { margin: 0 0 20px; }
.pane .sub-list { display: grid; margin: 0 0 22px; }
.pane .pane-link { margin-top: auto; align-self: flex-start !important; }


/* ============================================================
   Mega-menu : pont invisible entre le lien et le panneau.
   .mega-panel est decale de 14px sous .nav-item (top: calc(100% + 14px)
   dans styles.css). Cet espace n'appartient a la boite d'aucun des
   deux elements : en descendant la souris tout droit, le survol de
   .nav-item se coupe avant d'atteindre le panneau, qui se referme.
   Un pseudo-element comble ce vide sans rien changer au visuel (il
   est transparent). Largeur = celle du lien, pas celle du panneau
   (480px) : un premier essai aussi large que le panneau chevauchait
   les items voisins (~80 a 160px d'ecart) et leur volait le survol,
   ce qui coupait le menu encore plus tot qu'avant le correctif.
   ============================================================ */
.nav-item.has-mega::after {
  content: "";
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  width: 100%;
  height: 24px;
  z-index: 119;
}

/* ============================================================
   Articles de blog : pas de grand visuel sous le titre, demande
   explicite de Ted. display:none casse la mise en page : la grille
   de l'article (styles.css ~1147) place le sommaire et le texte en
   grid-row: 3 en supposant que l'image occupe la ligne 2. La retirer
   du flux decale tout et vide visuellement les deux colonnes.
   visibility:hidden + hauteur nulle garde sa case dans la grille.
   ============================================================ */
.art-hero { visibility: hidden; height: 0; min-height: 0; padding: 0; margin: 0; border: 0; overflow: hidden; }

/* ============================================================
   Bug preexistant (independant de la DA) : la grille de l'article
   (styles.css ~1147) ne place explicitement que 4 enfants de .wrap
   (art-head, art-hero, blog-rail, prose). Sur les articles avec une
   FAQ, un encart CTA ou le bloc de partage apres le texte, ces
   sections supplementaires ne recoivent aucun grid-column et
   tombent par defaut dans la colonne 1, large de 210px seulement
   (celle du sommaire) : leur contenu deborde par-dessus le sommaire
   sticky. On les fait spanner toute la largeur, comme le titre et
   l'image juste au-dessus.
   ============================================================ */
.article .wrap:has(> .blog-rail) > .prose ~ * {
  grid-column: 1 / -1;
}
