/* ==========================================================================
   Design v2 : indigo + jaune, fond clair (chargé après style.css)
   ========================================================================== */
:root {
  --bg: #ffffff;
  --bg-alt: #f7f4ec;
  --surface: #ffffff;
  --border: #e6e8f2;
  --text: #12123a;
  --muted: #5a5f7d;
  --accent: #2563eb;
  --accent-2: #14147a;
  --indigo: #14147a;
  --indigo-2: #1d1d94;
  --yellow: #ffd02e;
  --yellow-ink: #8a6a00;
  --cream: #f7f4ec;
  --tint-y: #fff4c7;
  --tint-b: #e3e9ff;
  --radius: 12px;
  --font: 'Poppins', system-ui, sans-serif;
}
body { font-size: 16px; }
h1, h2, h3 { letter-spacing: -0.01em; font-weight: 700; }
a:hover { color: var(--accent); }
.eyebrow { color: var(--yellow-ink); font-family: var(--font) !important; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .9rem; }
.prose { color: #2a2e45; }
.hl { background: var(--yellow); padding: 0 .3em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.blue { color: var(--accent); }

/* Boutons */
.btn { border-radius: 999px; }
.btn-primary, .btn-primary:hover { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1d4fd8; }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-yellow, .btn-yellow:hover { background: var(--yellow); color: var(--text); }
.btn-white, .btn-white:hover { background: #fff; color: var(--indigo); }

/* En-tête indigo */
.site-header, .site-header.is-scrolled { background: var(--indigo); border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10,10,60,.7); }
.site-header .brand, .site-header .brand:hover { color: #fff; }
.nav-links { background: none; border: 0; }
.nav-links a { color: #d6d8f5; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.is-current { color: var(--indigo); background: var(--yellow); }
.site-nav .btn-primary, .site-nav .btn-primary:hover { background: #fff; color: var(--indigo) !important; }
.site-nav .lang-switch { border-color: rgba(255,255,255,.3); }
.site-nav .lang-switch a { color: #d6d8f5; }
.site-nav .lang-switch a.is-active { background: var(--yellow); color: var(--indigo); }
.nav-toggle { background: transparent; border-color: rgba(255,255,255,.3); }
.nav-toggle .bar { background: #fff; }
.sub-menu { background: #fff; }
.sub-menu a, .sub-menu a:hover { color: var(--text); background: none; }
@media (max-width: 960px) {
  .site-header, .site-header.is-scrolled, body.nav-open .site-header { background: var(--indigo); }
  .site-nav { background: var(--indigo); }
  .nav-links li { border-color: rgba(255,255,255,.15); }
  .nav-links a, .nav-links a:hover { color: #fff; background: none; }
  .nav-links a.is-current { color: var(--yellow); background: none; }
  .nav-mobile-foot a { color: var(--yellow); }
  .nav-mobile-foot .muted { color: #d6d8f5; }
}

/* Sections génériques */
.page-head { background: var(--indigo); color: #fff; border-bottom: 0; }
.page-head .lead, .page-head .muted { color: #d6d8f5; }
.page-head .eyebrow { color: var(--yellow); }
.section-alt { background: var(--cream); border-block: 0; }
.card { box-shadow: 0 6px 18px rgba(20,20,122,.05); }
.card:hover { border-color: var(--accent); }
.chip { color: var(--indigo); background: var(--tint-b); border: 0; font-family: var(--font); font-weight: 500; }
.hp-plan:hover { border-color: var(--accent); }
.form input, .form textarea, .form select { background: #fff; }
.notice.ok { background: #e7f8ef; border-color: #9ad9b6; }
.billing-toggle button.is-active { background: var(--indigo); color: #fff; }
.billing-toggle button.is-active .save { background: var(--yellow); color: var(--indigo); }
.billing-toggle .save { background: var(--tint-b); color: var(--indigo); }

/* Pied de page */
.site-footer { background: var(--cream); border-top: 0; }
.footer-cta { background: var(--yellow); border: 0; border-radius: 16px; }
.footer-cta .muted { color: #2a2a55; }
.footer-cta .btn-primary { background: var(--accent); color: #fff; }
.footer-bottom { border-color: #ddd6c4; }
.site-footer .lang-switch a.is-active { background: var(--indigo); color: #fff; }

/* ===== Accueil v2 ===== */
.v2-hero { background: var(--indigo); color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.v2-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.v2-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.15; }
.v2-hero h1 em { font-style: normal; color: var(--yellow); }
.v2-hero .lead { color: #d6d8f5; font-size: 1.05rem; max-width: 500px; }
.v2-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.5rem; color: #d6d8f5; font-size: .85rem; }
.v2-stats strong { display: block; color: #fff; font-size: 1.4rem; }
.v2-visual { position: relative; padding: 1.5rem; }
.v2-visual::before { content: ''; position: absolute; left: 0; top: 0; width: 120px; height: 160px; background-image: radial-gradient(var(--yellow) 2px, transparent 2px); background-size: 14px 14px; }
.v2-dash { position: relative; background: #fff; color: var(--text); border-radius: 14px; padding: 1.5rem; box-shadow: 0 25px 60px rgba(0,0,0,.35); }
.v2-dots { display: flex; gap: .4rem; margin-bottom: 1.2rem; }
.v2-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b5b; }
.v2-dots i:nth-child(2) { background: var(--yellow); } .v2-dots i:nth-child(3) { background: #3ddc97; }
.v2-dash-title { font-weight: 700; }
.v2-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.v2-tile { border: 1px solid var(--border); border-radius: 10px; padding: .9rem; }
.v2-tile span { display: block; font-size: .75rem; color: var(--muted); }
.v2-tile b { font-weight: 700; }
.v2-tile .ok { color: #1e9e63; }
.v2-bar { height: 8px; background: var(--border); border-radius: 4px; margin-top: .6rem; overflow: hidden; }
.v2-bar i { display: block; height: 100%; width: 85%; background: var(--accent); border-radius: 4px; }
.v2-badge { position: absolute; right: -.5rem; top: -.5rem; background: #fff; color: var(--text); border: 2px solid var(--yellow); border-radius: 10px; padding: .55rem .9rem; font-size: .8rem; font-weight: 600; box-shadow: 0 10px 25px rgba(0,0,0,.2); }
@media (max-width: 900px) { .v2-hero-grid { grid-template-columns: 1fr; } .v2-badge { right: .5rem; } }

.v2-center { text-align: center; }
.v2-center .lead { margin-inline: auto; }
.v2-steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; text-align: left; }
.v2-step { border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; }
.v2-step-num { height: 130px; border-radius: 8px; background: #f2f3fb; display: grid; place-items: center; font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.v2-step h3 { font-size: 1.05rem; margin: 1rem 0 .4rem; }
.v2-step p { font-size: .9rem; color: var(--muted); margin: 0; }

.v2-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.v2-split-visual { position: relative; padding: 1rem; }
.v2-split-visual svg.v2-dash-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.v2-ui { position: relative; background: #fff; border: 2px solid var(--accent); border-radius: 12px; padding: 1.25rem; box-shadow: 8px 8px 0 var(--accent); max-width: 320px; }
.v2-ui + .v2-ui { margin: 2rem 0 0 auto; }
.v2-ui strong { font-size: .9rem; }
.v2-ui small { display: block; font-size: .75rem; color: var(--muted); margin-top: .5rem; }
.v2-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.v2-pills span { background: #f2f3fb; border-radius: 999px; padding: .3rem .8rem; font-size: .75rem; }
.v2-pills .y { background: var(--yellow); }
.v2-quote { border-top: 2px solid var(--yellow); margin-top: 1.75rem; padding-top: 1.25rem; }
.v2-quote p { color: var(--accent); font-weight: 600; font-style: italic; margin: 0; }
@media (max-width: 900px) { .v2-split { grid-template-columns: 1fr; } .v2-split-visual { order: 2; } }

.v2-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.v2-feature { border: 1px solid var(--border); border-radius: 10px; padding: 2rem 1.5rem; text-align: center; box-shadow: 0 6px 18px rgba(20,20,122,.05); color: var(--text); transition: transform .2s, border-color .2s; }
.v2-feature:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--text); }
.v2-ic { width: 56px; height: 56px; margin: 0 auto; border-radius: 12px; background: var(--tint-y); display: grid; place-items: center; }
.v2-feature:nth-child(even) .v2-ic { background: var(--tint-b); }
.v2-ic svg { width: 28px; height: 28px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.v2-feature h3 { font-size: 1.02rem; margin: 1rem 0 .5rem; }
.v2-feature p { font-size: .88rem; color: var(--muted); margin: 0; }

.v2-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.v2-product { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(20,20,122,.06); color: var(--text); display: flex; flex-direction: column; }
.v2-product:hover { color: var(--text); transform: translateY(-3px); }
.v2-product { transition: transform .2s; }
.v2-product-top { height: 170px; display: grid; place-items: center; color: #fff; font-size: 1.8rem; font-weight: 800; background: var(--indigo); }
.v2-product:nth-child(2) .v2-product-top { background: var(--accent); }
.v2-product:nth-child(3) .v2-product-top { background: var(--yellow); color: var(--indigo); }
.v2-product-body { padding: 1.25rem; }
.v2-product-body h3 { font-size: 1.1rem; margin: .6rem 0 .3rem; }
.v2-product-body p { font-size: .88rem; color: var(--muted); }
.v2-product-body .link-arrow { font-size: .9rem; }

.v2-cta { background: var(--yellow); border-radius: 16px; padding: clamp(2.5rem, 6vw, 3.5rem) 2rem; text-align: center; }
.v2-cta .eyebrow { color: var(--indigo); }
.v2-cta h2 { font-weight: 800; }
.v2-cta p { max-width: 560px; margin-inline: auto; color: #2a2a55; }

.home-pricing .hp-plan.is-featured { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.home-pricing .hp-plan.is-featured .muted { color: #d6d8f5; }
.home-pricing .hp-plan.is-featured .link-arrow { color: var(--yellow); }

/* Logo */
.brand-logo { height: 30px; width: auto; }
.bl-bar { stroke: #4c8dff; }
.bl-arrow { stroke: var(--yellow); }
.site-header .bw-a, .site-header .bw-b { color: #fff; }
.site-header .bw-b { font-weight: 700; }
.site-header .bw-dot { color: var(--yellow); }
.site-footer .bl-bar { stroke: var(--accent); }
.site-footer .bl-arrow { stroke: #f5b800; }
.site-footer .bw-a, .site-footer .bw-b { color: var(--text); font-weight: 700; }
.site-footer .bw-dot { color: var(--accent); }

/* Menu desktop v2 : lisible sur indigo */
@media (min-width: 961px) {
  .site-nav .nav-links > li > a { font-family: var(--font); font-size: .92rem; font-weight: 500; text-transform: none; letter-spacing: 0; padding: 8px 14px; border-radius: 999px; color: #e4e6fb; }
  .site-nav .nav-links > li > a:hover { color: #fff; background: rgba(255,255,255,.1); }
  .site-nav .nav-links > li > a.is-current { color: var(--indigo); background: var(--yellow); }
  .site-nav .nav-links > li > a.is-current::before { content: none; }
  .site-nav .nav-links .sub-menu { background: #fff; border: 0; box-shadow: 0 24px 50px -16px rgba(10,10,60,.45); }
  .site-nav .sub-menu a { color: var(--text) !important; }
  .site-nav .sub-menu a:hover { background: var(--tint-b) !important; }
  .site-nav .sub-menu strong { color: var(--text); }
  .site-nav .sub-menu span { color: var(--muted); }
}
@media (max-width: 960px) {
  .site-nav .sub-menu a { background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.15) !important; color: #fff !important; }
  .site-nav .sub-menu strong { color: #fff; }
  .site-nav .sub-menu span { color: #d6d8f5; }
  .site-nav .sub-menu a::after { color: var(--yellow); }
}

/* Hero : tableau de bord plus haut */
.v2-visual { padding: 2rem 1.5rem 3rem; }
.v2-dash { padding: 1.75rem; }
.v2-chart { margin-top: 1rem; border: 1px solid var(--border); border-radius: 10px; padding: .9rem 1rem 1rem; }
.v2-chart-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .75rem; color: var(--muted); }
.v2-chart-head b { color: var(--text); font-size: .95rem; }
.v2-bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; margin-top: .7rem; }
.v2-bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--tint-b); }
.v2-bars i:nth-last-child(-n+6) { background: var(--accent); }
.v2-activity { list-style: none; margin: 1rem 0 0; padding: 0; font-size: .82rem; }
.v2-activity li { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; border-top: 1px solid var(--border); }
.v2-activity em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.v2-ok { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; }
.v2-ok.y { background: var(--yellow); }
.v2-score { position: absolute; left: -.5rem; bottom: .5rem; background: var(--yellow); color: var(--indigo); border-radius: 12px; padding: .7rem 1rem; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.v2-score span { display: block; font-size: .72rem; font-weight: 600; }
.v2-score b { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.v2-score small { font-size: .8rem; font-weight: 600; }
@media (max-width: 900px) { .v2-score { left: .5rem; bottom: 0; } }
@media (max-width: 480px) { .v2-activity em { display: none; } }

/* ===== Effets décoratifs ===== */
.v2-hero { position: relative; }
.v2-hero::after { content: ''; position: absolute; right: -18px; top: 55%; width: 90px; height: 110px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 110'%3E%3Cpath d='M30 100 C 0 75, 15 20, 55 22 C 92 24, 90 70, 58 68 C 40 66, 44 44, 66 46' fill='none' stroke='%23fff' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.v2-hero h1 { position: relative; z-index: 0; }
.v2-hero h1::before { content: ''; position: absolute; z-index: -1; left: -42px; top: -28px; width: 130px; height: 130px; border-radius: 50%; background: var(--yellow); }
.v2-hero h1::after { content: ''; position: absolute; left: -58px; top: -50px; width: 34px; height: 30px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 30'%3E%3Cg stroke='%23fff' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M17 3 21 13'/%3E%3Cpath d='M4 13 15 18'/%3E%3Cpath d='M3 27 14 24'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
.deco { position: relative; overflow: hidden; }
.deco > .wrap { position: relative; z-index: 1; }
.deco::before { content: ''; position: absolute; pointer-events: none; }
.deco-arrow::before, .deco-arrow-r::before { top: clamp(3.5rem, 8vw, 6rem); width: 110px; height: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 34'%3E%3Cpath d='M2 14 C 14 22, 24 4, 36 16 S 62 26, 90 18' fill='none' stroke='%2314147A' stroke-width='3' stroke-dasharray='7 6' stroke-linecap='round'/%3E%3Cpath d='M88 10 106 18 88 26z' fill='%2314147A'/%3E%3C/svg%3E") no-repeat center / contain; }
.deco-arrow::before { left: 0; }
.deco-arrow-r::before { right: 0; transform: scaleX(-1); }
.deco-half-r::before { right: -70px; top: 3rem; width: 150px; height: 150px; border-radius: 50%; background: var(--yellow); }
.deco-half-l::before { left: -70px; bottom: 3rem; width: 150px; height: 150px; border-radius: 50%; background: var(--yellow); }
.deco-ring-l::before { left: -60px; top: 4rem; width: 130px; height: 130px; border-radius: 50%; border: 22px solid var(--yellow); }
@media (max-width: 700px) {
  .v2-hero h1::before { width: 90px; height: 90px; left: -20px; top: -18px; }
  .v2-hero h1::after { left: -26px; top: -40px; }
  .v2-hero::after { width: 60px; height: 75px; top: auto; bottom: 20px; }
  .deco-arrow::before, .deco-arrow-r::before { top: 1.2rem; width: 80px; }
  .deco-half-r::before, .deco-half-l::before { width: 100px; height: 100px; }
  .deco-ring-l::before { width: 90px; height: 90px; border-width: 16px; }
}

/* Étapes : frise numérotée */
.v2-steps { position: relative; gap: 2rem; text-align: center; }
.v2-steps::before { content: ''; position: absolute; top: 40px; left: 12.5%; right: 12.5%; border-top: 2px dashed #c3c8e6; }
.v2-step { position: relative; border: 0; padding: 0 .5rem; background: none; }
.v2-step-num { position: relative; width: 80px; height: 80px; margin: 0 auto; border-radius: 50%; background: #fff; border: 2px solid var(--accent); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37,99,235,.18); font-size: 0; }
.v2-step:nth-child(even) .v2-step-num { border-color: var(--yellow); box-shadow: 0 10px 24px rgba(255,208,46,.3); }
.v2-step-num svg { width: 32px; height: 32px; fill: none; stroke: var(--indigo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.v2-step-num span { position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%; background: var(--indigo); color: #fff; font-size: .85rem; font-weight: 700; display: grid; place-items: center; border: 3px solid #fff; }
.v2-step h3 { margin-top: 1.25rem; }
.v2-step p { max-width: 240px; margin-inline: auto; }
@media (max-width: 960px) {
  .v2-steps { grid-template-columns: 1fr; text-align: left; gap: 1.5rem; max-width: 520px; margin-inline: auto; }
  .v2-steps::before { top: 40px; bottom: 40px; left: 39px; right: auto; border-top: 0; border-left: 2px dashed #c3c8e6; }
  .v2-step { display: grid; grid-template-columns: 80px 1fr; column-gap: 1.25rem; align-items: start; padding: 0; }
  .v2-step-num { grid-row: span 2; margin: 0; }
  .v2-step h3 { margin-top: .9rem; }
  .v2-step p { margin: 0; max-width: none; }
}

/* En-tête des pages internes : deux formes, entièrement visibles */
.page-head { position: relative; overflow: hidden; }
.page-head > .wrap { position: relative; z-index: 1; }
/* Droite : barres du logo qui sortent de l'écran ; gauche : anneau jaune coupé par le bord */
.page-head::before { content: ''; position: absolute; right: -60px; top: 50%; width: 260px; height: 164px; margin-top: -82px; pointer-events: none; opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='70 120 620 390'%3E%3Cg fill='none' stroke-width='76' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M122 172 293 462' stroke='%234C8DFF'/%3E%3Cpath d='M298 172 469 462' stroke='%234C8DFF'/%3E%3Cpath d='M466 172H628L548 318' stroke='%23FFD02E'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
.page-head::after { content: ''; position: absolute; left: -55px; bottom: 1.25rem; width: 120px; height: 120px; border-radius: 50%; border: 20px solid var(--yellow); pointer-events: none; }
@media (max-width: 1240px) { .page-head::after { display: none; } }
@media (max-width: 760px) { .page-head::before { width: 150px; height: 95px; margin-top: -47px; right: -50px; opacity: .6; } }
.page-head .service-jump a { color: #fff; border-color: rgba(255,255,255,.35); }
.page-head .service-jump a:hover { color: var(--indigo); background: var(--yellow); border-color: var(--yellow); }
.page-head .service-jump .sj-price { color: var(--indigo); background: var(--yellow); border-color: var(--yellow); font-weight: 600; }

/* Menu desktop : majuscules + soulignement */
@media (min-width: 961px) {
  .site-nav .nav-links > li > a { text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; font-weight: 600; padding: 8px 12px; border-radius: 0; background: none !important; position: relative; }
  .site-nav .nav-links > li > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
  .site-nav .nav-links > li > a:hover::after, .site-nav .nav-links > li > a.is-current::after { transform: scaleX(1); }
  .site-nav .nav-links > li > a.is-current { color: var(--yellow); }
  .site-nav .nav-links > li.has-sub > a::after { right: 26px; }
}
@media (prefers-reduced-motion: reduce) { .site-nav .nav-links > li > a::after { transition: none; } }

/* Hero mobile : tableau de bord plus compact */
@media (max-width: 900px) {
  .v2-visual { padding: 1.5rem .75rem 2.5rem; }
  .v2-dash { padding: 1.1rem; }
  .v2-dots { margin-bottom: .7rem; }
  .v2-tiles { gap: .55rem; margin-top: .7rem; }
  .v2-tile { padding: .6rem .7rem; }
  .v2-chart { margin-top: .6rem; padding: .7rem .8rem .8rem; }
  .v2-bars { height: 44px; margin-top: .5rem; gap: 3px; }
  .v2-activity { display: none; }
  .v2-score { padding: .5rem .8rem; bottom: .25rem; }
  .v2-score b { font-size: 1.3rem; }
}

/* Hero : tableau de bord plus compact (toutes tailles) */
.v2-visual { padding: 1.5rem 1rem 2.5rem; }
.v2-dash { padding: 1.3rem; }
.v2-dots { margin-bottom: .8rem; }
.v2-tiles { gap: .6rem; margin-top: .8rem; }
.v2-tile { padding: .7rem .8rem; }
.v2-chart { margin-top: .7rem; padding: .75rem .9rem .85rem; }
.v2-bars { height: 48px; margin-top: .5rem; gap: 4px; }
.v2-activity { display: none; }
.v2-score { padding: .55rem .9rem; bottom: .25rem; }
.v2-score b { font-size: 1.35rem; }

/* Expertise : flèche qui relie le thème à l'extension */
.v2-ui + .v2-flow + .v2-ui { margin: 0 0 0 auto; }
.v2-flow { position: relative; height: 84px; margin-left: 45%; border-left: 2px dashed var(--indigo); }
.v2-flow::after { content: ''; position: absolute; left: -8px; bottom: -2px; border: 7px solid transparent; border-top: 10px solid var(--indigo); border-bottom: 0; }
.v2-flow span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--yellow); color: var(--indigo); font-size: .75rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; }

/* Menu mobile : sous-menu lisible */
@media (max-width: 960px) {
  .site-nav .nav-links .sub-menu, .site-nav .sub-menu { background: transparent !important; box-shadow: none !important; }
  .site-nav .sub-menu a { background: rgba(255,255,255,.07) !important; border: 1px solid rgba(255,255,255,.15) !important; }
  .site-nav .sub-menu strong { color: #fff !important; }
  .site-nav .sub-menu span { color: #d6d8f5 !important; }
  .site-nav .nav-links a::after, .site-nav .nav-links a.is-current::after { color: var(--yellow) !important; }
  .site-nav .has-sub.is-expanded > a, .site-nav .has-sub > a[aria-expanded="true"] { color: var(--yellow) !important; }
  .site-nav .caret-down { border-color: var(--yellow) !important; color: var(--yellow) !important; }
  .nav-links li { border-color: rgba(255,255,255,.15) !important; }
}

/* Produits : mini maquettes à la place des titres */
.v2-product-top { height: auto; padding: 0; font-size: 0; display: block; }
.v2-product-top svg { display: block; width: 100%; height: auto; }
.v2-product:hover .v2-product-top svg { transform: scale(1.03); }
.v2-product-top svg { transition: transform .3s; }

/* Produits : cartes simples */
.v2-product { position: relative; padding: 2rem 1.75rem 1.75rem; border: 1px solid var(--border); border-top: 4px solid var(--indigo); border-radius: 14px; box-shadow: 0 10px 28px rgba(20,20,122,.07); }
.v2-product:nth-child(2) { border-top-color: var(--accent); }
.v2-product:nth-child(3) { border-top-color: var(--yellow); }
.v2-product-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--indigo); margin-bottom: 1.25rem; }
.v2-product:nth-child(2) .v2-product-ic { background: var(--accent); }
.v2-product:nth-child(3) .v2-product-ic { background: var(--yellow); }
.v2-product-ic svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.v2-product:nth-child(3) .v2-product-ic svg { stroke: var(--indigo); }
.v2-product-body { padding: 0; display: flex; flex-direction: column; flex: 1; }
.v2-product-body h3 { font-size: 1.3rem; margin: .8rem 0 .4rem; }
.v2-product-body p { flex: 1; }
.v2-product-body .chip { align-self: flex-start; }
.v2-product:hover { border-color: var(--accent); }

/* CTA du pied de page : moitié sur la section du haut, moitié sur le pied de page (CSS seul) */
body:has(.footer-cta) main { padding-bottom: 0; }
main:has(> .section-alt:last-child, > .stack-band:last-child) { background: none; }
.site-footer { overflow-x: clip; isolation: isolate; }
.footer-cta { margin-top: 0 !important; position: relative; }
.footer-cta::before { content: ''; position: absolute; z-index: -1; top: 0; height: 50%; left: -100vw; right: -100vw; background: var(--bg); pointer-events: none; }
body:has(main > .section-alt:last-child) .footer-cta::before, body:has(main > .stack-band:last-child) .footer-cta::before { background: var(--cream); }

/* Produits : titres en majuscules */
.v2-product-body h3 { text-transform: uppercase; letter-spacing: .04em; }

/* Avis clients */
.v2-reviews { background: var(--indigo); color: #fff; }
.v2-reviews h2 { color: #fff; }
.v2-reviews .eyebrow { color: var(--yellow); }
.v2-carousel { margin-top: 2.5rem; text-align: left; }
.v2-review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2.5rem) / 3); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 6px; outline: none; }
.v2-review-track::-webkit-scrollbar { display: none; }
.v2-review-track:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; border-radius: 16px; }
.v2-review-track > .v2-review { scroll-snap-align: start; }
.v2-carousel-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.75rem; }
.v2-car-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.v2-car-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.v2-car-btn:hover:not(:disabled) { background: var(--yellow); border-color: var(--yellow); color: var(--indigo); }
.v2-car-btn:disabled { opacity: .35; cursor: default; }
.v2-car-dots { display: flex; gap: .5rem; }
.v2-car-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.35); cursor: pointer; transition: width .25s, background .25s; }
.v2-car-dots button[aria-selected="true"] { width: 26px; background: var(--yellow); }
@media (max-width: 900px) { .v2-review-track { grid-auto-columns: calc((100% - 1.25rem) / 2); } }
@media (max-width: 600px) { .v2-review-track { grid-auto-columns: 86%; } }
.v2-review { margin: 0; background: #fff; color: var(--text); border-radius: 14px; padding: 1.75rem 1.5rem; display: flex; flex-direction: column; position: relative; }
.v2-review::before { content: '\201C'; position: absolute; right: 1.25rem; top: .25rem; font-size: 4.5rem; line-height: 1; font-weight: 800; color: var(--yellow); }
.v2-stars { color: var(--yellow); letter-spacing: 2px; font-size: 1rem; }
.v2-review blockquote { margin: .9rem 0 1.2rem; flex: 1; }
.v2-review blockquote p { margin: 0; font-size: .98rem; line-height: 1.65; }
.v2-review figcaption { font-weight: 600; color: var(--accent); font-size: .9rem; }
.v2-review-note { margin: 1.5rem 0 0; font-size: .8rem; color: #c9cbef; }
.section.v2-reviews { padding-bottom: clamp(3rem, 6vw, 4.5rem); }

/* Tarifs (accueil) : espacement et badge */
.section.home-pricing { padding-top: clamp(4rem, 9vw, 6rem); }
@media (max-width: 760px) { .deco-arrow::before, .deco-arrow-r::before { display: none; } }
.plan-badge { font-family: var(--font); font-weight: 700; letter-spacing: .06em; background: var(--yellow); color: var(--indigo); padding: 5px 14px; }
.home-pricing .hp-plan.is-featured ul li::before, .home-pricing .hp-plan.is-featured li::marker { color: var(--yellow); }

/* En-têtes internes : arabesque blanche sur le bord droit (remplace les barres du logo) */
.page-head::before { right: -22px; top: 50%; width: 100px; height: 124px; margin-top: -62px; opacity: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 110'%3E%3Cpath d='M30 100 C 0 75, 15 20, 55 22 C 92 24, 90 70, 58 68 C 40 66, 44 44, 66 46' fill='none' stroke='%23fff' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
@media (max-width: 760px) { .page-head::before { width: 64px; height: 80px; margin-top: -40px; right: -16px; opacity: 1; } }

/* Footer social */
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--indigo); color: #fff; transition: background .2s, transform .2s; }
.footer-social a:hover, .footer-social a:focus-visible { background: var(--accent); transform: translateY(-2px); }

/* Barre de progression de lecture : au bas du header, en jaune */
.site-header { position: sticky; }
.site-header .read-progress { position: absolute; top: auto; bottom: 0; left: 0; right: 0; height: 4px; background: rgba(255,255,255,.12); }
.site-header .read-progress span { background: var(--yellow); box-shadow: 0 0 8px rgba(255,208,46,.6); transition: transform .1s linear; }
