/* ==========================================================================
   ECSplicite — ACCUEIL EN BLOCS (reconstruction fidele de la landing)
   Charge UNIQUEMENT sur la page d'accueil (layout.php, $home). Reprend a
   l'identique le design de l'ancienne landing, section par section, mais applique au
   markup rendu par contenu.php (variante "home"). Styles SCOPES sous .hero /
   .stats-band / etc. et variables namespacees --ab-* : aucun conflit avec le
   theme actif, site-nav.css ou leadtools.css. Aucune police / CDN (RGPD).
   ---
   Etat : HERO reconstruit (preuve de fidelite). Les sections suivantes (stats,
   quiz, choix, financement, methode, temoignages, contact, faq) seront ajoutees
   ici au fur et a mesure de la reconstruction.
   ========================================================================== */

/* Variables namespacees --ab-* (uniques -> aucun conflit avec le theme). */
:root {
  --ab-magenta: var(--rose-fonce, #e5006d);
  --ab-magenta-d: var(--rose-fonce, #c2005d);
  --ab-orange: var(--or, #f7941e);
  --ab-grad: var(--grad, linear-gradient(120deg,#e5006d,#f7941e));
  --ab-grad-soft: var(--grad-soft, linear-gradient(120deg,#fde3ee,#fdefd9));
  --ab-lime: #a5c015;
  --ab-sky: #3bb0e5;
  --ab-ink: #2b2b33;
  --ab-mid: #6d6d7a;
  --ab-paper: #f5f5f7;
  --ab-border: #e7e7ee;
  --ab-shadow: 0 4px 24px rgba(43, 43, 51, .07);
  --ab-shadow-lg: 0 18px 48px rgba(43, 43, 51, .12);
  --ab-shadow-grad: 0 12px 32px rgba(229, 0, 109, .22);
  --ab-radius: 16px;
  --ab-radius-sm: 10px;
  --ab-pill: 100px;
  --ab-script: "Segoe Script", "Bradley Hand", "Brush Script MT", cursive;
}

/* ============================ HERO ============================ */
section.hero {
  position: relative; overflow: hidden; background: var(--ab-paper);
}
section.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 85% -10%, rgba(247, 148, 30, .16), transparent 60%),
              radial-gradient(50% 70% at 5% 10%, rgba(229, 0, 109, .12), transparent 55%);
}
/* Largeur commune a TOUTES les sections reconstruites (aligne sur le heros,
   remplace le .wrap 1320px du theme). Specificite #contenu -> gagne partout. */
#contenu .wrap { max-width: 1180px; margin: 0 auto; padding: 0 5vw; }
section.hero .hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem;
  align-items: center; padding: 4.5rem 5vw 4rem;
}
/* Meme uniformite de largeur que la landing : pleine largeur 1180 au-dela de
   1180px (marges par le centrage), padding 5vw conserve en dessous (mobile).
   NB : `section.hero .wrap` est liste explicitement pour battre la regle de base
   `section.hero .wrap { padding: 0 5vw }` (meme specificite, plus loin = gagne) —
   sinon le heros garderait ses marges et les 2 boutons passeraient a la ligne. */
@media (min-width: 1180px) {
  #contenu .wrap { padding-left: 0; padding-right: 0; }
}
section.hero .script { font-family: var(--ab-script); font-style: italic; font-weight: 400; }

/* Accroche + titre */
section.hero .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; color: var(--ab-magenta-d); border: 1px solid var(--ab-border);
  font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: var(--ab-pill); margin-bottom: 1.3rem; box-shadow: var(--ab-shadow);
}
section.hero .eyebrow .dotm { width: 7px; height: 7px; border-radius: 50%; background: var(--ab-grad); }
section.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; color: var(--ab-ink); }
section.hero h1 .sub-script { display: block; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--ab-magenta); margin-bottom: .4rem; letter-spacing: 0; }
section.hero .grad-text {
  background: var(--ab-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--ab-magenta);
}
section.hero p.lead { font-size: 1.08rem; color: var(--ab-mid); margin: 1.2rem 0 1.8rem; max-width: 34rem; line-height: 1.6; }

/* Boutons — scopes a #contenu (zone des blocs), donc valables sur TOUTES les
   sections reconstruites de l'accueil, sans toucher au header/nav (hors #contenu). */
#contenu .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-weight: 700; font-size: .92rem; line-height: 1;
  padding: .8rem 1.5rem; border-radius: var(--ab-pill); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
#contenu .btn-grad { background: var(--ab-grad); color: #fff; box-shadow: var(--ab-shadow-grad); }
#contenu .btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(229, 0, 109, .3); color: #fff; }
#contenu .btn-ghost { background: #fff; color: var(--ab-magenta-d); border-color: var(--ab-border); }
#contenu .btn-ghost:hover { border-color: var(--ab-magenta); color: var(--ab-magenta); transform: translateY(-2px); }
#contenu .btn-white { background: #fff; color: var(--ab-magenta-d); }
#contenu .btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .2); }
#contenu .btn-lg { padding: 1rem 2rem; font-size: 1rem; }
section.hero .hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Rangee de confiance */
section.hero .trust-row { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.8rem; }
section.hero .trust-item { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--ab-mid); font-weight: 600; }
section.hero .trust-item svg { color: var(--ab-lime); flex-shrink: 0; }

/* Visuel « seance live » : fenetre visio + bulle de parole multilingue (rappel
   des bulles du logo) + puces flottantes. Markup : ecs_hero_visuel() (contenu.php).
   Tout est decoratif (aria-hidden) ; animations coupees en reduced-motion. */
section.hero .hv { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1.02; justify-self: center; }
section.hero .hv-blob { position: absolute; border-radius: 50%; aspect-ratio: 1; }
section.hero .hv-blob.a { width: 62%; right: -6%; top: 2%; background: var(--ab-grad); opacity: .14; }
section.hero .hv-blob.b { width: 26%; left: 2%; bottom: 6%; background: var(--ab-lime); opacity: .16; }

/* Fenetre visio */
section.hero .hv-call {
  position: absolute; inset: 8% 4% 14% 8%; border-radius: 24px; overflow: hidden;
  background: var(--ab-grad); box-shadow: 0 30px 70px rgba(43, 43, 51, .22);
}
section.hero .hv-call::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 28%, transparent 62%, rgba(0, 0, 0, .55) 100%);
}
section.hero .hv-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
section.hero .hv-top {
  position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px;
  display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: .78rem; font-weight: 700;
}
section.hero .hv-live, section.hero .hv-time, section.hero .hv-name {
  background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
section.hero .hv-live { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .75rem; border-radius: var(--ab-pill); }
section.hero .hv-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b5c; animation: hv-pulse 1.8s infinite; }
section.hero .hv-time { padding: .4rem .75rem; border-radius: var(--ab-pill); font-variant-numeric: tabular-nums; }
section.hero .hv-name {
  position: absolute; z-index: 2; left: 14px; bottom: 62px; color: #fff;
  font-size: .78rem; font-weight: 700; padding: .3rem .65rem; border-radius: 8px;
}
section.hero .hv-pip {
  position: absolute; z-index: 2; right: 14px; bottom: 62px; width: 30%; aspect-ratio: 4 / 3;
  border-radius: 14px; overflow: hidden; border: 3px solid #fff; box-shadow: var(--ab-shadow-lg);
  background: var(--ab-grad); display: grid; place-items: center; color: #fff;
}
section.hero .hv-pip b { font-size: 1.6rem; font-weight: 800; }
section.hero .hv-pip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
section.hero .hv-pip span { z-index: 1; }
section.hero .hv-pip span {
  position: absolute; left: 6px; bottom: 5px; font-size: .62rem; font-weight: 700;
  background: rgba(0, 0, 0, .35); padding: .15rem .45rem; border-radius: 6px;
}
section.hero .hv-nophoto .hv-pip { background: rgba(255, 255, 255, .25); }
section.hero .hv-bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: .55rem; }
section.hero .hv-bar span {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
section.hero .hv-bar span.end { background: #ff3b5c; }
section.hero .hv-bar svg { width: 16px; height: 16px; }

/* Puces flottantes (communes) */
section.hero .hv-bubble, section.hero .hv-level, section.hero .hv-langs, section.hero .hv-next {
  position: absolute; z-index: 3; background: #fff; box-shadow: var(--ab-shadow-lg); color: var(--ab-ink);
}

/* Bulle de parole : une phrase par langue, en boucle */
section.hero .hv-bubble { left: -9%; top: 44%; width: 255px; border-radius: 20px 20px 20px 6px; padding: .9rem 1.1rem; }
section.hero .hv-bubble small {
  display: block; font-size: .68rem; font-weight: 700; color: var(--ab-mid);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: .25rem;
}
section.hero .hv-words { position: relative; height: 1.7rem; overflow: hidden; }
section.hero .hv-words span {
  position: absolute; left: 0; top: 0; font-size: 1.2rem; font-weight: 700; white-space: nowrap;
  opacity: 0; transform: translateY(100%); animation: hv-word 12.5s infinite;
}
section.hero .hv-words span:nth-child(2) { animation-delay: 2.5s; }
section.hero .hv-words span:nth-child(3) { animation-delay: 5s; }
section.hero .hv-words span:nth-child(4) { animation-delay: 7.5s; }
section.hero .hv-words span:nth-child(5) { animation-delay: 10s; }
section.hero .hv-words em {
  font-style: normal; background: var(--ab-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--ab-magenta);
}
section.hero .hv-wave { display: flex; gap: 3px; align-items: center; height: 18px; margin-top: .45rem; }
section.hero .hv-wave i { width: 3px; height: 4px; border-radius: 3px; background: var(--ab-grad); animation: hv-wave 1.1s ease-in-out infinite; }
section.hero .hv-wave i:nth-child(odd) { animation-delay: -.4s; }
section.hero .hv-wave i:nth-child(3n) { animation-delay: -.7s; }

/* Niveau CECRL */
section.hero .hv-level { right: -2%; top: 2%; width: 200px; border-radius: var(--ab-radius); padding: .8rem 1rem; }
section.hero .hv-level .t { font-size: .72rem; color: var(--ab-mid); font-weight: 500; }
section.hero .hv-level .v { display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: 1.05rem; margin: .2rem 0 .55rem; }
section.hero .hv-level .v s { text-decoration: none; color: var(--ab-mid); font-weight: 500; }
section.hero .hv-level .v b { background: var(--ab-grad); color: #fff; border-radius: 8px; padding: .1rem .5rem; }
section.hero .hv-steps { display: flex; gap: 4px; }
section.hero .hv-steps span { flex: 1; height: 6px; border-radius: 6px; background: var(--ab-border); }
section.hero .hv-steps span.on { background: var(--ab-grad); }
section.hero .hv-steps span.next { position: relative; overflow: hidden; }
section.hero .hv-steps span.next::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%;
  background: var(--ab-grad); border-radius: 6px; animation: hv-fill 3s ease-out .6s both;
}

/* Langues (pastilles : les drapeaux emoji ne s'affichent pas sous Windows) */
section.hero .hv-langs {
  left: 4%; bottom: 2%; border-radius: var(--ab-pill); padding: .45rem .9rem .45rem .55rem;
  display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700;
}
section.hero .hv-langs .flags { display: flex; }
section.hero .hv-langs .flags span {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px;
  display: grid; place-items: center; font-size: .6rem; font-weight: 800; color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
section.hero .hv-langs .flags span:first-child { margin-left: 0; }
section.hero .hv-langs .l1 { background: var(--ab-magenta); }
section.hero .hv-langs .l2 { background: var(--ab-orange); }
section.hero .hv-langs .l3 { background: var(--ab-ink); }
section.hero .hv-langs .l4 { background: var(--ab-lime); }
section.hero .hv-langs .l5 { background: var(--ab-sky); }

/* Prochaine seance */
section.hero .hv-next {
  right: 0; bottom: 6%; border-radius: var(--ab-radius); padding: .65rem .85rem;
  display: flex; gap: .65rem; align-items: center; font-size: .76rem;
}
section.hero .hv-next .pic { width: 32px; height: 32px; border-radius: 10px; background: var(--ab-lime); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
section.hero .hv-next .pic svg { width: 16px; height: 16px; }
section.hero .hv-next b { display: block; font-size: .82rem; }
section.hero .hv-next span { color: var(--ab-mid); }

/* Flottement doux, decale par puce */
section.hero .hv-float { animation: hv-float 6s ease-in-out infinite; }
section.hero .hv-float.d2 { animation-delay: -2s; }
section.hero .hv-float.d3 { animation-delay: -4s; }

@keyframes hv-word {
  0% { opacity: 0; transform: translateY(100%); }
  3%, 17% { opacity: 1; transform: none; }
  20%, 100% { opacity: 0; transform: translateY(-100%); }
}
@keyframes hv-wave { 0%, 100% { height: 4px; } 50% { height: 18px; } }
@keyframes hv-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, .6); }
  70% { box-shadow: 0 0 0 8px rgba(255, 59, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); }
}
@keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hv-fill { from { width: 0; } }

/* ============================ CHIFFRES CLES (stats) ============================ */
section.stats-band { background: var(--ab-ink); }
section.stats-band .stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
section.stats-band .stat { text-align: center; padding: 1.8rem 1rem; border-right: 1px solid rgba(255, 255, 255, .1); }
section.stats-band .stat:last-child { border-right: none; }
section.stats-band .num {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  background: var(--ab-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; white-space: nowrap;
}
section.stats-band .lbl { font-size: .78rem; color: rgba(255, 255, 255, .7); margin-top: .2rem; }

/* ============================ SECTIONS GENERIQUES ============================ */
#contenu section { scroll-margin-top: 120px; }
#contenu .sec { padding: 4.5rem 0; }
#contenu .sec-head { text-align: center; max-width: 42rem; margin: 0 auto 2.6rem; }
#contenu .sec-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ab-magenta); margin-bottom: .7rem; }
#contenu .sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
#contenu .sec-head h2 em { font-style: italic; }
#contenu .sec-head p { color: var(--ab-mid); margin-top: .8rem; font-size: 1.02rem; }

/* ============================ ENCART QUIZ (quiztease) ============================ */
section.quiz-teaser { background: var(--ab-ink); color: #fff; }
section.quiz-teaser .qt-card {
  background: var(--ab-grad); border-radius: calc(var(--ab-radius) + 4px); padding: 2.6rem;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center;
  box-shadow: var(--ab-shadow-grad);
}
section.quiz-teaser .qt-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin-bottom: .6rem; }
section.quiz-teaser .qt-card h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff; white-space: nowrap; }
section.quiz-teaser .qt-card p { color: rgba(255, 255, 255, .9); margin: .8rem 0 1.5rem; font-size: 1rem; }
section.quiz-teaser .qt-btns { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
section.quiz-teaser .qt-visual { text-align: center; }
/* Echelle CECRL : 6 pastilles, celle du niveau mis en avant (.on) en plein. */
section.quiz-teaser .qt-scale { display: flex; gap: .45rem; flex-wrap: wrap; justify-content: center; }
section.quiz-teaser .qt-lvl { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff; font-weight: 800; font-size: .78rem; }
section.quiz-teaser .qt-lvl.on { background: #fff; color: var(--ab-magenta-d); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
section.quiz-teaser .qt-feats { display: flex; gap: 1.4rem; margin-top: 1.2rem; flex-wrap: wrap; }
section.quiz-teaser .qt-feat { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: rgba(255, 255, 255, .85); font-weight: 600; }

/* ============================ ECRAN DE CHOIX (choix) ============================ */
#contenu .btn-block { width: 100%; }
section.choice { background: var(--ab-paper); }
section.choice .choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
section.choice .choice-card {
  background: #fff; border: 1px solid var(--ab-border); border-radius: var(--ab-radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; cursor: pointer;
}
section.choice .choice-card:hover { transform: translateY(-5px); box-shadow: var(--ab-shadow-lg); }
section.choice .choice-visual { padding: 1.6rem 1.6rem 0; }
section.choice .choice-visual .pic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
section.choice .choice-card.particulier .choice-visual .pic { background: var(--ab-grad); }
section.choice .choice-card.entreprise .choice-visual .pic { background: linear-gradient(120deg, var(--ab-sky), #2a8fc0); }
section.choice .choice-visual-label { display: block; margin-top: .8rem; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ab-mid); }
section.choice .choice-body { padding: 1.3rem 1.6rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
section.choice .choice-body h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .4rem; }
section.choice .choice-body p { color: var(--ab-mid); font-size: .9rem; flex: 1; }
section.choice .choice-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin: 1rem 0 1.3rem; }
section.choice .choice-tag { font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: var(--ab-pill); background: var(--ab-grad-soft); color: var(--ab-magenta-d); }
section.choice .choice-card.entreprise .choice-tag { background: #e2f3fb; color: #1f6f96; }

/* ============================ FINANCEMENT / FORMULAIRES (leadcpf) ============================ */
/* max-width:none => neutralise la collision avec `.lead` (paragraphe d'accroche,
   max-width:58ch) du theme : sans ca la SECTION `.lead` est bridee ~58ch et collee
   a gauche au lieu d'etre centree comme les autres sections. */
section.lead { background: #fff; max-width: none; }
section.lead .lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
section.lead .lead-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
section.lead .lead-copy p { color: var(--ab-mid); margin-top: .9rem; }
section.lead .lead-list { list-style: none; margin-top: 1.5rem; display: grid; gap: .8rem; }
section.lead .lead-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
section.lead .lead-list .chk { width: 22px; height: 22px; border-radius: 50%; background: #eef4d6; color: #6f8a00; display: grid; place-items: center; flex-shrink: 0; font-weight: 800; font-size: .8rem; }
section.lead .cpf-help { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.5rem; background: none; border: none; color: var(--ab-magenta); font-family: inherit; font-weight: 700; font-size: .86rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
section.lead .form-card { background: #fff; border: 1px solid var(--ab-border); border-radius: var(--ab-radius); box-shadow: var(--ab-shadow-lg); overflow: hidden; }
/* Neutralise le style "carte" de leadtools sur les conteneurs de bascule (la carte est portee par .form-card). */
section.lead .lt-leadform { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
section.lead .fc-head { background: var(--ab-grad); color: #fff; padding: 1.1rem 1.5rem; }
section.lead .fc-head.rh { background: linear-gradient(120deg, var(--ab-sky), #2a8fc0); }
section.lead .fc-head b { font-weight: 800; display: block; font-size: 1.05rem; }
section.lead .fc-head span { font-size: .82rem; opacity: .9; }
section.lead .form-card form { padding: 1.5rem; }
section.lead .field { margin-bottom: .9rem; }
section.lead .field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ab-mid); margin-bottom: .35rem; }
section.lead .field input, section.lead .field select {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid #8c8c9a; border-radius: var(--ab-radius-sm);
  font-family: inherit; font-size: .92rem; background: #fff; color: var(--ab-ink); appearance: none; transition: border-color .2s;
}
section.lead .field input:focus, section.lead .field select:focus { outline: none; border-color: var(--ab-magenta); box-shadow: 0 0 0 3px rgba(194, 0, 93, .45); }
section.lead .field.two { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
section.lead .form-legal { font-size: .7rem; color: #a3a3ad; text-align: center; margin-top: .7rem; line-height: 1.5; }
section.lead .hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ============================ METHODE / ETAPES (piliers) ============================ */
section.piliers { background: var(--ab-paper); }
section.piliers .pil-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
section.piliers .pil {
  background: #fff; border: 1px solid var(--ab-border); border-radius: var(--ab-radius); overflow: hidden;
  box-shadow: var(--ab-shadow); transition: transform .2s, box-shadow .2s;
}
section.piliers .pil:hover { transform: translateY(-4px); box-shadow: var(--ab-shadow-lg); }
section.piliers .pil-head { padding: .9rem 1.3rem; color: #fff; display: flex; align-items: center; justify-content: space-between; font-weight: 800; gap: 1rem; }
section.piliers .pil:nth-child(1) .pil-head { background: var(--ab-grad); }
section.piliers .pil:nth-child(2) .pil-head { background: linear-gradient(120deg, var(--ab-orange), #f6a13b); }
section.piliers .pil:nth-child(3) .pil-head { background: linear-gradient(120deg, var(--ab-sky), #2a8fc0); }
section.piliers .pil:nth-child(4) .pil-head { background: linear-gradient(120deg, var(--ab-lime), #7fa30a); }
section.piliers .pil-head .n { font-family: var(--ab-script); font-size: 1.3rem; opacity: .85; flex-shrink: 0; }
section.piliers .pil-body { padding: 1.4rem; }
section.piliers .pil-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .5rem; }
section.piliers .pil-body p, section.piliers .pil-body div { color: var(--ab-mid); font-size: .9rem; }

/* ============================ CONTACT MULTICANAL (contactmulti) ============================ */
section.multi { background: #fff; }
section.multi .multi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
section.multi .mc { background: #fff; border: 1px solid var(--ab-border); border-radius: var(--ab-radius); padding: 1.8rem; text-align: center; transition: transform .2s, box-shadow .2s; }
section.multi .mc:hover { transform: translateY(-4px); box-shadow: var(--ab-shadow-lg); }
section.multi .mc .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 1rem; color: #fff; }
section.multi .mc.msg .ic, section.multi .mc.bot .ic, section.multi .mc.tel .ic { background: var(--ab-grad); }
section.multi .mc h3 { font-weight: 800; font-size: 1.1rem; margin-bottom: .35rem; }
section.multi .mc p { color: var(--ab-mid); font-size: .88rem; margin-bottom: 1.2rem; }
/* Titre du contact sur une seule ligne (au-dela du mobile). */
section.multi .sec-head { max-width: none; }
@media (min-width: 700px) { section.multi .sec-head h2 { white-space: nowrap; } }

/* ============================ FAQ (pleine largeur) ============================ */
section.faq { background: #fff; }
/* Pas de max-width : la FAQ occupe la meme pleine largeur que les autres blocs. */
section.faq .faq-list { margin: 0 auto; display: grid; gap: .6rem; }
section.faq .faq-item { margin: 0; background: #fff; border: 1px solid var(--ab-border); border-radius: var(--ab-radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
section.faq .faq-item[open] { border-color: var(--ab-magenta); box-shadow: 0 10px 30px rgba(229, 0, 109, .08); }
section.faq .faq-item summary { list-style: none; cursor: pointer; position: relative; padding: .95rem 3.2rem .95rem 1.3rem; font-weight: 700; font-size: 1rem; }
section.faq .faq-item summary::-webkit-details-marker { display: none; }
section.faq .faq-item summary::after { content: '+'; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; line-height: 1; color: var(--ab-magenta); }
section.faq .faq-item[open] summary::after { content: '\2212'; }
section.faq .faq-item summary:hover { color: var(--ab-magenta-d); }
section.faq .faq-item summary:focus-visible { outline: 3px solid var(--ab-magenta); outline-offset: -3px; border-radius: var(--ab-radius); }
section.faq .faq-a { padding: 0 1.3rem 1.2rem; color: var(--ab-mid); font-size: .95rem; line-height: 1.6; }

/* ============================ TEMOIGNAGES VIDEO (temoignages) ============================ */
section.vt { background: var(--ab-paper); }
section.vt .vt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
section.vt .vt-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
section.vt .vt-count { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ab-mid); background: #fff; border: 1px solid var(--ab-border); padding: .5rem .9rem; border-radius: var(--ab-pill); }
section.vt .vt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
section.vt .vt-card { text-align: left; background: #fff; border: 1px solid var(--ab-border); border-radius: var(--ab-radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
section.vt .vt-card:hover { transform: translateY(-5px); box-shadow: var(--ab-shadow-lg); }
section.vt .vt-thumb { position: relative; height: 170px; width: 100%; background: var(--ab-grad); display: flex; align-items: center; justify-content: center; text-decoration: none; overflow: hidden; }
section.vt .vt-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .4s ease; }
section.vt .vt-thumb:hover .vt-poster { transform: scale(1.03); }
section.vt .vt-thumb-emoji { font-size: 3.4rem; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .2)); }
section.vt .vt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .28); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 1; }
section.vt .vt-duration { position: absolute; bottom: 10px; right: 10px; background: rgba(38, 38, 46, .7); color: #fff; font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 6px; z-index: 1; }
section.vt .vt-lang { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, .9); color: var(--ab-ink); font-size: .7rem; font-weight: 700; padding: .2rem .55rem; border-radius: 6px; z-index: 1; }
section.vt .vt-thumb-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.4rem .9rem .5rem; background: linear-gradient(transparent, rgba(38, 38, 46, .6)); display: flex; flex-direction: column; z-index: 1; }
section.vt .vt-thumb-name { color: #fff; font-weight: 800; font-size: .88rem; }
section.vt .vt-thumb-role { color: rgba(255, 255, 255, .85); font-size: .72rem; }
section.vt .vt-body { padding: 1.1rem 1.2rem 1.3rem; }
section.vt .vt-quote { font-size: .9rem; color: var(--ab-ink); line-height: 1.5; font-style: italic; }
section.vt .vt-meta { display: flex; justify-content: space-between; align-items: center; margin-top: .9rem; font-size: .76rem; color: var(--ab-mid); }
section.vt .vt-stars { color: var(--ab-orange); letter-spacing: 1px; }
section.vt .vt-empty { color: var(--ab-mid); font-size: .95rem; }

@media (max-width: 900px) {
  section.hero .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  section.hero .hero-copy { text-align: center; }
  section.hero .hero-copy .eyebrow { justify-content: center; }
  section.hero p.lead { margin-left: auto; margin-right: auto; }
  section.hero .hero-cta { justify-content: center; }
  section.hero .trust-row { justify-content: center; }
  section.hero .hero-visual { max-width: 420px; margin-left: auto; margin-right: auto; }
  section.hero .hv { max-width: 420px; }

  section.stats-band .stats-inner { grid-template-columns: 1fr 1fr; }
  section.stats-band .stat:nth-child(2) { border-right: none; }
  section.stats-band .stat:nth-child(1),
  section.stats-band .stat:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }

  section.quiz-teaser .qt-card { grid-template-columns: 1fr; text-align: center; }
  section.quiz-teaser .qt-card h2 { white-space: normal; }
  section.quiz-teaser .qt-btns { justify-content: center; }
  section.quiz-teaser .qt-feats { justify-content: center; }

  section.choice .choice-grid { grid-template-columns: 1fr; }
  section.lead .lead-grid { grid-template-columns: 1fr; gap: 2rem; }
  section.piliers .pil-grid { grid-template-columns: 1fr; }
  section.multi .multi-grid { grid-template-columns: 1fr; }
}

/* Petits ecrans : on ramene la bulle dans le cadre */
@media (max-width: 520px) {
  section.hero .hv-bubble { left: 0; width: 215px; padding: .7rem .9rem; }
  section.hero .hv-words span { font-size: 1rem; }
  section.hero .hv-level { width: 170px; right: 0; }
  section.hero .hv-pip { display: none; }
  /* Libelles longs (« Faire le test de positionnement → », allemand) : retour a
     la ligne autorise, sinon le bouton elargit la carte et la page deborde. */
  #contenu .btn { white-space: normal; text-align: center; line-height: 1.25; }
  section.quiz-teaser .qt-card { grid-template-columns: minmax(0, 1fr); padding: 1.8rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  section.hero .btn:hover { transform: none; }
  section.hero .hv-float, section.hero .hv-live i, section.hero .hv-wave i,
  section.hero .hv-steps span.next::after, section.hero .hv-words span { animation: none; }
  section.hero .hv-words span:first-child { opacity: 1; transform: none; }
}
