/* Feuilles regroupées par feuille_unique_v5.py (assembleur du site v5), dans cet ordre : /v5/webinaires-v5/webinaires-origine.css, /v5/accueil-v5/habillage.css */

/* ══ /v5/webinaires-v5/webinaires-origine.css ══ */
/* Recopié tel quel de l'ancien site par build/pages_v5_construire.py webinaires : ne pas modifier ici.
   Sources : css/inscription.css */

/* ══════ css/inscription.css ══════ */
/* KommIA : page Inscription, chargée après site.css. Le formulaire (noms, champs cachés, script d'envoi vers N8N) est repris
   tel quel : seules ses classes d'origine sont restylées (form-field, form-consent, form-submit, is-error, is-loading,
   form-error-global, lues par le script). Haut de page centré, formulaire sur une fiche blanche (l'élément à remplir),
   ce que tu obtiens à côté en liste ouverte, logos en colonnes à filets, questions au composant commun. */
section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em; color: var(--violet-ink); }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #876AFF, #168EFF); box-shadow: 0 0 0 4px rgba(135, 106, 255, 0.14); }
@keyframes in-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ────── Haut de page : centré ────── */
.ihero { max-width: 1320px; margin: 0 auto; padding: clamp(48px, 7vw, 104px) var(--gutter) clamp(32px, 4vw, 56px); text-align: center; }
.ihero .kicker { animation: in-up 800ms var(--ease-out) both 40ms; }
.ihero__title { margin: 0 auto; max-width: 16ch; font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.2rem); font-weight: 620; letter-spacing: -0.05em; line-height: 1; text-wrap: balance; animation: in-up 900ms var(--ease-out) both 120ms; }
.ihero__lead { margin: 24px auto 0; max-width: 40rem; font-size: 1.12rem; line-height: 1.65; color: var(--ink-70); text-wrap: pretty; animation: in-up 900ms var(--ease-out) both 240ms; }
.ihero__lead strong { font-weight: 600; color: var(--ink); }

/* ────── Formulaire et ce que tu obtiens ────── */
.signup {
  max-width: 1180px; margin: 0 auto; padding: 8px var(--gutter) var(--section-y);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 88px); align-items: start;
}
/* La fiche du formulaire : seule surface arrondie de la page, au filet en dégradé */
.form-wrap {
  padding: clamp(26px, 3vw, 40px); border: 1px solid transparent; border-radius: 28px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(150deg, rgba(22, 142, 255, 0.4), rgba(135, 106, 255, 0.28) 45%, rgba(135, 106, 255, 0.06)) border-box;
  box-shadow: 0 1px 2px rgba(40, 28, 96, 0.05), 0 40px 80px -48px rgba(52, 36, 130, 0.45);
}
.form-field { margin-bottom: 20px; }
.form-field__label { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em; color: var(--ink); }
.form-field__label .required { margin-left: 2px; color: var(--violet); }
.form-field__input {
  display: block; width: 100%; height: 52px; padding: 0 16px; border: 1px solid rgba(14, 14, 20, 0.14); border-radius: 14px;
  background: #fff; font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.form-field__input::placeholder { color: rgba(14, 14, 20, 0.4); }
.form-field__input:hover { border-color: rgba(14, 14, 20, 0.24); }
.form-field__input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(135, 106, 255, 0.16); }
.form-field__input.is-error, .form-field.is-error .form-field__input { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.1); }
.form-field__hint { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--ink-60); }
.form-field__hint strong { font-weight: 600; color: var(--ink-70); }
.form-field__error { display: none; margin-top: 8px; font-size: 13.5px; font-weight: 500; color: #D1343A; }
.form-field.is-error .form-field__error { display: block; }
/* Le sélecteur de pays du téléphone (intl-tel-input) prend toute la largeur */
.iti { display: block; width: 100%; }
.iti__country-list { font-family: inherit; font-size: 14px; }
.iti--separate-dial-code .iti__selected-flag { border-radius: 14px 0 0 14px; background: rgba(135, 106, 255, 0.06); }
/* Le consentement : une ligne ouverte, la case en violet */
.form-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 6px; padding: 14px 0 2px; border-top: 1px solid var(--line); cursor: pointer; }
.form-consent input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--violet); cursor: pointer; }
.form-consent__text { font-size: 14px; line-height: 1.55; color: var(--ink-60); }
.form-consent__text strong { font-weight: 600; color: var(--ink); }
.form-consent__text a { color: var(--violet-ink); text-underline-offset: 3px; }
.form-consent.is-error .form-consent__text { color: #D1343A; }
.form-consent.is-error input[type="checkbox"] { outline: 2px solid #E5484D; outline-offset: 2px; border-radius: 4px; }
/* Le bouton d'envoi, au dessin des boutons du site : pilule noire, flèche dans un rond blanc */
.form-submit {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 24px;
  padding: 8px 8px 8px 24px; border: 0; border-radius: 999px; background: var(--ink); color: #fff;
  font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer;
  box-shadow: 0 18px 36px -18px rgba(52, 36, 130, 0.7); transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.form-submit__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform 400ms var(--ease-spring); }
.form-submit:hover { background: #26262E; }
.form-submit:hover .form-submit__icon { transform: translateX(3px) scale(1.05); }
.form-submit:active { transform: scale(0.99); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-submit.is-loading .form-submit__label { visibility: hidden; }
.form-submit.is-loading .form-submit__icon { visibility: hidden; }
.form-submit.is-loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; animation: in-spin 800ms linear infinite; }
@keyframes in-spin { to { transform: rotate(360deg); } }
.form-submit__hint { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--ink-60); text-align: center; text-wrap: balance; }
.form-submit__hint strong { font-weight: 600; color: var(--ink); }
/* La mention d'information, toujours visible : le lien vers la politique ne dépend plus de la case facultative */
.form-privacy { margin-top: 10px; font-size: 12.5px; line-height: 1.55; color: var(--ink-60); text-align: center; text-wrap: balance; }
.form-privacy a { color: var(--violet-ink); text-underline-offset: 3px; }
.form-error-global { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: rgba(229, 72, 77, 0.07); font-size: 14px; line-height: 1.5; color: #B42328; }
.form-error-global.is-visible { display: block; }
.form-error-global a { color: inherit; }

/* Ce que tu obtiens : titre, puis une liste ouverte, un filet qui s'efface entre chaque ligne */
.signup__aside { position: sticky; top: calc(var(--nav-h) + 32px); padding-top: 8px; }
.signup__title { font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.4rem); font-weight: 620; letter-spacing: -0.04em; line-height: 1.08; text-wrap: balance; }
.perks { list-style: none; margin: 26px 0 0; padding: 0; }
.perk { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; }
.perk + .perk::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(14, 14, 20, 0.12), rgba(14, 14, 20, 0.12) 55%, transparent); }
.perk__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: rgba(135, 106, 255, 0.12); color: var(--violet-ink); }
.perk__title { font-size: 1.05rem; font-weight: 620; letter-spacing: -0.02em; line-height: 1.3; }
.perk__text { margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--ink-60); }
.perk__text strong { font-weight: 600; color: var(--ink); }
/* La preuve de Gaby, empilée à la largeur de la colonne (composant commun .proof) */
.proof--stack { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 18px; padding-top: 22px; border-top: 0; background: linear-gradient(90deg, rgba(14, 14, 20, 0.12), rgba(14, 14, 20, 0.12) 55%, transparent) left top / 100% 1px no-repeat; }
.proof--stack .proof__num { font-size: clamp(2rem, 1.3rem + 1.6vw, 2.6rem); }
.proof--stack .proof__label { font-size: 14.5px; }
.proof--stack .proof__quote p { font-size: 1.05rem; }
.later__lead a { color: var(--violet-ink); font-weight: 600; text-underline-offset: 3px; }
.signup__trust { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 18px; font-size: 14px; line-height: 1.5; color: var(--ink-60); background: linear-gradient(90deg, rgba(14, 14, 20, 0.12), transparent) left top / 100% 1px no-repeat; }
.signup__trust-icon { display: grid; flex: none; color: var(--violet); }

/* ────── Confiance : trois logos en colonnes ouvertes, un filet vertical qui s'efface entre elles ────── */
.itrust { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter) var(--section-y); text-align: center; }
.itrust__label { font-size: 14px; font-weight: 600; color: var(--ink-60); }
.itrust__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.itrust__list li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 6px 20px; }
.itrust__list li + li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, rgba(14, 14, 20, 0.12) 25%, rgba(14, 14, 20, 0.12) 75%, transparent); }
.itrust__logo { display: grid; place-items: center; height: 40px; }
.itrust__logo img { height: 30px; width: auto; }
.itrust__logo--cci img { height: 40px; }
.itrust__caption { font-size: 14.5px; color: var(--ink-60); }
.itrust__caption strong { font-weight: 600; color: var(--ink); }

/* ────── Pas encore prêt : centré, deux liens fléchés ────── */
.later { max-width: 44rem; margin: 0 auto; padding: 0 var(--gutter) var(--section-y); text-align: center; }
.later__title { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.2rem); font-weight: 620; letter-spacing: -0.035em; line-height: 1.1; }
.later__lead { margin-top: 14px; font-size: 1.05rem; line-height: 1.6; color: var(--ink-60); }
.later__links { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.later__links .text-link { display: inline-flex; align-items: center; gap: 8px; }
.later__links .text-link svg { transition: transform 300ms var(--ease-out); }
.later__links .text-link:hover svg { transform: translateX(3px); }

/* ────── Tablette et téléphone ────── */
@media (max-width: 899px) {
  .ihero { padding-top: 32px; }
  .signup { grid-template-columns: minmax(0, 1fr); }
  .signup__aside { position: static; }
  .itrust__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .itrust__list li { padding: 18px 0; }
  .itrust__list li + li::before { left: 15%; right: 15%; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(14, 14, 20, 0.12), transparent); }
}
@media (max-width: 480px) {
  .form-wrap { margin: 0 calc(var(--gutter) * -0.4); padding: 24px 20px; border-radius: 24px; }
}

/* ────── Mouvement réduit ────── */
@media (prefers-reduced-motion: reduce) {
  .ihero .kicker, .ihero__title, .ihero__lead { animation: none; }
  .form-submit, .form-submit__icon, .later__links .text-link svg { transition: none; }
}

/* ══ /v5/accueil-v5/habillage.css ══ */
/* Le pont entre l'ancien site et la v5, pour les familles de pages « riches » construites par
   build/pages_v5_construire.py (guide, fiches à imprimer, tutoriels, manuel…). Ces pages gardent la feuille d'origine
   de leur famille pour la mise en page de leurs composants ; ici, les jetons de l'ancien site prennent les valeurs
   de la v5, et ce qui portait la signature de l'ancien site (dégradés, ombres, entrées animées) est neutralisé.
   Chargée après la feuille d'origine, avant la feuille de la famille. */

:root {
  --canvas: var(--fond);
  --ink: var(--encre);
  --ink-70: var(--encre-2);
  --ink-60: var(--encre-2);
  --line: var(--filet);
  --violet-ink: var(--violet-encre);
  --blue: var(--bleu);
  --cyan: var(--turquoise);
  --grad: linear-gradient(var(--te, var(--bleu-encre)), var(--te, var(--bleu-encre)));
  --shadow-tile: none;
  --shadow-panel: none;
  --ease-out: var(--ease);
  --ease-spring: var(--ease);
  --gutter: var(--marge);
  --nav-h: 65px;
  --section-y: clamp(88px, 11.5vw, 168px);
}

/* Les entrées animées de l'ancien site : le mouvement du site v5 (mouvement.css) s'en charge, pas elles. */
main [class] { animation: none; }

/* Un mot en dégradé resté hors d'un titre : une couleur pleine. */
.grad { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; color: var(--te, var(--bleu-encre)); }

/* Le lien de texte de l'ancien site prend le dessin du lien v5. */
.text-link { color: var(--encre); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--t, var(--violet)); transition: color 0.2s; }
.text-link:hover { color: var(--te, var(--violet-encre)); }

/* Une partie de premier niveau garde les marges de la v5, quelle que soit la largeur que lui donnait l'ancien site. */
main > .haut.cadre, main > .bloc.cadre { max-width: calc(var(--max) + 2 * var(--marge)); margin-inline: auto; padding-inline: var(--marge); }
main > .haut.cadre { padding-top: clamp(28px, 6vh, 72px); padding-bottom: 0; }
main > .bloc.cadre { padding-top: clamp(88px, 11.5vw, 168px); padding-bottom: 0; }
main > .haut .titre { max-width: none; margin-inline: 0; font-weight: 600; letter-spacing: -0.036em; line-height: 1.02; font-size: clamp(2.125rem, min(4.9vw, 9.5vh), 4.375rem); text-wrap: balance; }
main:has(> .haut.cadre) + .pied { margin-top: clamp(88px, 11.5vw, 168px); }

/* Le mot en couleur d'un titre suit la couleur de sa partie. */
main > :is(.haut, .bloc) .mc { font-style: normal; color: var(--te, var(--bleu-encre)); }

/* Les couleurs des titres, réglées par Bruno le 2026-11-14 sur les pages déclinées : dans le titre du haut de page,
   le mot en couleur est bleu et le point orange (corail), jamais ocre. */
main > .haut .mc { color: var(--bleu-encre); }
:root main > .haut { --t: var(--corail); }

/* Les questions fréquentes : même balisage que celles de l'accueil (posé par le script), donc même présentation et
   mêmes micro-animations (filet qui se trace, croix qui grossit : mouvement.css). Mot du titre en bleu, point orange. */
:root main > section.faq, :root #questions.faq { --t: var(--corail); --te: var(--corail-encre); }   /* comme partout : voir « Les questions » dans couleurs.css */
:root main > section.faq .q summary::after { background: linear-gradient(var(--te), var(--te)) center / 100% 1.5px no-repeat, linear-gradient(var(--te), var(--te)) center / 1.5px 100% no-repeat; }
main > section.faq .questions__tete .chapo a { color: var(--encre); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--t); }
main > section.faq .questions__tete .chapo a:hover { color: var(--te); }
main > section.faq .q p + p { margin-top: -10px; }

/* Un bouton qui n'est pas un appel à l'essai (« Comparer les prix », « Retour à l'accueil ») : la même forme, au trait,
   sans la comète ni la pastille de couleur. Bruno, 2026-11-14 : « ce n'est pas un bouton de CTA ». Posé par le script. */
:root .btn.btn--second { gap: 10px; padding: 0 20px 0 24px; background: transparent; color: var(--encre); transform: none; animation: none;
  box-shadow: inset 0 0 0 1px var(--filet-fort, rgba(14, 14, 20, 0.22)); transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
:root .btn.btn--second::before, :root .btn.btn--second::after { display: none; }
:root .btn.btn--second svg { display: block; padding: 0; border-radius: 0; background: none; transition: transform 0.4s var(--ease); }
:root .btn.btn--second:hover { background: var(--encre); color: #fff; transform: none; box-shadow: inset 0 0 0 1px var(--encre); }
:root .btn.btn--second:hover svg { transform: translateX(3px); }
:root .btn.btn--second:active { transform: scale(0.985); }

/* Dans un titre de haut de page, un mot que l'ancien site entoure d'une balise (« auto-audit », pour qu'il ne se coupe
   pas) reste dans la phrase : la v5 met en bloc tout span posé directement dans un titre, ce qui le renvoyait à la ligne. */
main > .haut .titre > span[class] { display: inline; }
/* « text-wrap: balance », que la v5 pose sur ces span, annule « white-space: nowrap » : on le redit, pour que le mot
   ne se coupe pas non plus quand le mouvement est coupé (sinon « auto- / audit » sur téléphone). */
main > .haut .titre > span.nowrap { white-space: nowrap; text-wrap-mode: nowrap; }
