/* =========================================================
   MIKE.BUILDS — L'ACCUEIL (refonte du 9 octobre 2026)
   =========================================================
   Tout ce qui est propre à la page d'accueil « L'IA pour les entrepreneurs
   TDAH ». Les couleurs, les polices, le stabilo, les boutons, la nav et le
   footer viennent de style.css (la DA partagée) : ici on ne redéfinit rien
   de tout ça, on construit les sections par-dessus.

   Le mouvement suit la règle d'Apple : réponse immédiate, ressorts sans
   rebond par défaut (--ressort), un peu de rebond seulement quand l'objet
   « arrive » avec de l'élan (--rebond). Et tout s'arrête avec
   prefers-reduced-motion, tout en bas du fichier.
   ========================================================= */

:root {
  --ressort: cubic-bezier(0.22, 1, 0.36, 1);        /* amorti : s'installe sans dépasser */
  --rebond: cubic-bezier(0.34, 1.45, 0.64, 1);      /* un peu d'élan, pour ce qui « tombe » */
  --r-xl: 28px;
  --verre: rgba(255, 255, 255, 0.62);
  --verre-bord: rgba(255, 255, 255, 0.55);
  --acid-lueur: rgba(200, 255, 45, 0.22);
}
[data-theme="dark"] {
  --verre: rgba(29, 37, 33, 0.62);
  --verre-bord: rgba(255, 255, 255, 0.1);
  --acid-lueur: rgba(200, 255, 45, 0.16);
}

body.accueil { overflow-x: clip; }

/* ---------- La ligne de progression, tout en haut ---------- */
.progression {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: var(--acid);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 60;
  pointer-events: none;
}

/* ---------- Les titres de cette page ---------- */
/* Grand titre de section : même police que le hero, interligne 1.02 parce
   que la plupart portent un stabilo long (bande de 1,11 em, voir style.css) :
   en dessous de 1.11 deux bandes superposées se toucheraient — on reste
   juste au-dessus quand le stabilo court sur deux lignes. */
.titre-xl {
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  max-width: 18ch;
}
.titre-xl .highlight.highlight-long { line-height: 1.15; }
.section-head-gauche {
  margin: 0 0 56px;
  text-align: left;
  align-items: flex-start;
  max-width: 820px;
}
.section-head-gauche p { font-size: 20px; max-width: 560px; }

/* ---------- Sections sombres ---------- */
.sombre {
  background: var(--panel-bg);
  color: var(--panel-text);
}
.sombre .section-head p, .sombre p { color: var(--panel-text-60); }
.sombre h2, .sombre h3, .sombre strong { color: var(--panel-text); }
.sombre .field {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--panel-border);
  color: var(--panel-text);
}
.sombre .field::placeholder { color: var(--panel-text-45); }
.sombre .field:focus { outline-color: var(--acid); }

/* ---------- Nav en verre ---------- */
.nav-verre {
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav-verre.est-descendu {
  border-bottom-color: var(--ink-10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.nav-cta { display: inline-flex; }
@media (max-width: 860px) { .nav-cta { display: none; } }

/* ---------- Apparition au défilement ----------
   Tout élément [data-reveal] part légèrement bas et transparent, et se pose
   quand accueil.js lui donne .est-la. --i décale les enfants d'une même
   grappe (0, 1, 2…) pour qu'ils arrivent l'un après l'autre. */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ressort) calc(var(--i, 0) * 90ms),
    transform 0.9s var(--ressort) calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
[data-reveal].est-la { opacity: 1; transform: none; }

/* ---------- Boutons ---------- */
.btn { transition: transform 0.35s var(--ressort), opacity 0.15s ease, box-shadow 0.35s var(--ressort); }
.btn:active { transform: scale(0.97); transition-duration: 0.1s; }
.btn-acid { box-shadow: 0 0 0 0 var(--acid-lueur); }
.btn-acid:hover { box-shadow: 0 14px 34px var(--acid-lueur); opacity: 1; }
.btn-fantome {
  background: rgba(255, 255, 255, 0.06);
  color: var(--panel-text);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(8px);
}
.btn-fantome:hover { background: rgba(255, 255, 255, 0.12); opacity: 1; }

/* =========================================================
   1. HERO
   ========================================================= */
.hero-tdah {
  position: relative;
  background: var(--panel-bg);
  color: var(--panel-text);
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  /* la trame de style.css, mais plus visible sur le sombre */
  --grid-line: rgba(200, 255, 45, 0.06);
  padding: 72px 0 96px;
}
/* La lueur verte qui suit la souris : --mx / --my sont posés par accueil.js
   (en %, 50/40 au repos). Un seul dégradé radial, animé par transform :
   c'est le compositeur qui bouge, pas la peinture. */
.hero-lueur {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(600px 600px at var(--mx, 50%) var(--my, 40%), var(--acid-lueur), transparent 60%),
    radial-gradient(900px 500px at 85% 110%, rgba(200, 255, 45, 0.08), transparent 60%);
  transition: background-position 0.2s;
  filter: blur(10px);
}
.hero-tdah-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}
.pill-sombre { color: var(--panel-text); border-color: var(--panel-border); }
.hero-texte { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero-titre {
  font-size: clamp(40px, 5.8vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.05em;
  display: flex;
  flex-direction: column;
  gap: 0.04em;
}
.hero-titre .ligne { display: block; }
.hero-titre .highlight.highlight-long { line-height: 1.12; }
.hero-sous {
  font-size: 19px;
  line-height: 1.55;
  color: var(--panel-text-60);
  max-width: 560px;
  display: flex; flex-direction: column; gap: 14px;
}
.hero-sous p { color: var(--panel-text-60); }
.hero-sous .hero-question { color: var(--panel-text); font-weight: 700; font-size: 21px; }
/* La pastille du hero, plus grande que les autres (demande de Mike). */
.pill-grande { font-size: 14px; padding: 11px 22px 11px 16px; letter-spacing: 0.16em; }
.pill-grande .dot { width: 10px; height: 10px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-preuve {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--panel-text-60);
}
.hero-avatar-mini {
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  flex-shrink: 0;
}
.hero-avatar-mini img { width: 100%; height: 100%; object-fit: cover; }

/* La pile de notifications */
.hero-pile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.pile-titre {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--panel-text-60);
}
.dot-vive {
  width: 8px; height: 8px; border-radius: 50%; background: var(--acid); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(200, 255, 45, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 255, 45, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(200, 255, 45, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 255, 45, 0); }
}
.pile { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-height: 300px; }
.notif {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(-14px) scale(0.96);
  transition: opacity 0.6s var(--ressort), transform 0.7s var(--rebond);
}
.notif.est-la { opacity: 1; transform: none; }
.notif.est-ancienne { opacity: 0.45; }
.notif-icone {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.notif-corps { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notif-corps strong { font-size: 15px; font-weight: 700; color: var(--panel-text); }
.notif-corps span { font-size: 13px; color: var(--panel-text-60); }
.notif-heure { font-size: 12px; color: var(--panel-text-45); align-self: flex-start; }

.hero-defile {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--panel-border);
  border-radius: 14px;
}
.hero-defile span {
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--acid);
  animation: defile 1.8s var(--ressort) infinite;
}
@keyframes defile {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 960px) {
  .hero-tdah-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-tdah { min-height: 0; padding: 56px 0 80px; }
  .hero-pile { max-width: 520px; }
}
@media (max-width: 640px) {
  .hero-titre { font-size: clamp(40px, 11.5vw, 56px); }
  .hero-sous { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .pile { min-height: 0; }
  .notif:nth-child(n+5) { display: none; }
  .hero-defile { display: none; }
}

/* =========================================================
   2. BIENVENUE
   ========================================================= */
.bienvenue { padding: 120px 0; }
.bienvenue-inner {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.bienvenue-photo {
  margin: 0;
  position: relative;
  width: 300px; height: 300px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px var(--card-shadow);
  transform-style: preserve-3d;
}
.bienvenue-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ressort); }
.bienvenue-photo:hover img { transform: scale(1.08); }
.bienvenue-photo figcaption, .qsj-photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 11px;
  border-radius: var(--r-pill);
  background: rgba(10, 14, 12, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.bienvenue-photo figcaption .dot, .qsj-photo figcaption .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--acid);
}
.bienvenue-texte { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.bienvenue-lead {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.bienvenue-lead em { font-style: normal; color: var(--acid-dark); }
.bienvenue-lead { isolation: isolate; }
.bienvenue-texte p:not(.bienvenue-lead) { color: var(--ink-60); font-size: 19px; }
.puces-objets {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.puces-objets li {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink-15);
  font-weight: 700; font-size: 14px;
  transition: background 0.3s var(--ressort), color 0.3s, border-color 0.3s, transform 0.4s var(--ressort);
}
.puces-objets li:hover { background: var(--acid); color: var(--on-acid); border-color: var(--acid); transform: translateY(-2px); }

@media (max-width: 800px) {
  .bienvenue { padding: 80px 0; }
  .bienvenue-inner { grid-template-columns: 1fr; gap: 32px; }
  .bienvenue-photo { width: 200px; height: 200px; }
}

/* =========================================================
   3. NEWSLETTER (la carte en verre)
   ========================================================= */
.newsletter-tdah { position: relative; overflow: hidden; }
.newsletter-tdah::before {
  content: '';
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(500px 400px at 20% 30%, var(--acid-lueur), transparent 60%),
    radial-gradient(600px 400px at 85% 80%, var(--acid-lueur), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.carte-verre {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 56px 48px;
  border-radius: var(--r-xl);
  background: var(--verre);
  border: 1px solid var(--verre-bord);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 40px 90px var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  display: flex; flex-direction: column; gap: 18px;
  text-align: center; align-items: center;
}
.carte-verre h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.newsletter-lead { color: var(--ink-60); font-size: 18px; max-width: 560px; }
.newsletter-form { width: 100%; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
/* ⚠️ style.css met le bouton de .newsletter-form en width:100% (l'ancien
   formulaire était en colonne). Ici le champ et le bouton sont côte à côte :
   on rend au bouton sa largeur naturelle, le champ prend le reste. */
.champ-ligne { display: flex; gap: 10px; }
.champ-ligne .field { flex: 1 1 auto; width: auto; min-width: 0; padding: 18px 22px; border-radius: var(--r-pill); font-size: 17px; }
.champ-ligne .btn { flex: 0 0 auto; width: auto; padding: 18px 28px; white-space: nowrap; }
.newsletter-accord {
  display: flex; gap: 12px; align-items: flex-start;
  text-align: left; font-size: 13px; color: var(--ink-60); cursor: pointer;
}
.newsletter-accord input {
  flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--acid-dark);
}
.newsletter-form-sombre .newsletter-accord { color: var(--panel-text-60); }
.newsletter-form-sombre .newsletter-accord input { accent-color: var(--acid); }
.gate-done { font-weight: 700; font-size: 18px; }
.form-error { color: #D14343; font-size: 14px; margin-top: 10px; }

@media (max-width: 640px) {
  .carte-verre { padding: 36px 22px 30px; }
  .champ-ligne { flex-direction: column; }
  .champ-ligne .btn { width: 100%; }
}

/* =========================================================
   4 & 8. CITATIONS qui s'allument mot par mot
   ========================================================= */
.citation-scroll { padding: 160px 0; }
.citation-scroll blockquote { margin: 0; max-width: 980px; }
.mots-scroll {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 62px);
  letter-spacing: -0.045em;
  line-height: 1.12;
  color: var(--panel-text);
}
/* Chaque mot est enveloppé par accueil.js ; --p (0 → 1) vient du défilement. */
.mots-scroll .mot { opacity: 0.18; transition: opacity 0.35s ease, color 0.35s ease; }
.mots-scroll .mot.est-lu { opacity: 1; }
.mots-scroll .mot.est-fort.est-lu { color: var(--acid); }
.citation-scroll footer {
  margin-top: 28px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--panel-text-60);
}
.citation-scroll footer a { text-decoration: underline; text-underline-offset: 3px; }
.citation-karp { border-top: 1px solid var(--panel-border); }
@media (max-width: 640px) { .citation-scroll { padding: 100px 0; } }

/* =========================================================
   5. LE PROBLÈME — la grille « bento »
   ========================================================= */
.bento {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.bento-carte {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--ink-10);
  box-shadow: 0 1px 0 var(--ink-10);
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
  transition: transform 0.5s var(--ressort), box-shadow 0.5s var(--ressort), border-color 0.3s;
}
[data-theme="dark"] .bento-carte { background: var(--card); }
.bento-carte:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px var(--card-shadow);
  border-color: var(--ink-15);
}
.bento-carte .num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--acid-dark);
}
.bento-carte h3 {
  font-size: 22px;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.bento-carte p { color: var(--ink-60); font-size: 15.5px; line-height: 1.5; }
.bento-large { grid-column: span 2; }
.bento-large h3 { font-size: clamp(26px, 3vw, 36px); max-width: 14ch; }
.bento-large p { font-size: 17px; max-width: 46ch; }
.bento-accent { background: var(--panel-bg); color: var(--panel-text); border-color: transparent; }
.bento-accent h3 { color: var(--panel-text); }
.bento-accent p { color: var(--panel-text-60); }
.bento-accent .num { color: var(--acid); }
/* Un halo vert qui glisse derrière la carte au survol. */
.bento-carte::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  right: -120px; bottom: -140px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--acid-lueur), transparent);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.6s var(--ressort), transform 0.6s var(--ressort);
  pointer-events: none;
}
.bento-carte:hover::after { opacity: 1; transform: scale(1); }

.bento-conclusion {
  margin: 48px auto 0;
  max-width: 760px;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: -0.035em;
  line-height: 1.25;
  isolation: isolate;
}
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-large { grid-column: auto; }
}

/* =========================================================
   6. POURQUOI L'IA — le face-à-face + les trois bulles
   ========================================================= */
.pourquoi-ia .section-head-gauche { max-width: 900px; }
.eyebrow-grand { font-size: 16px; letter-spacing: 0.18em; }
/* La devise, tout en bas de la section : une ligne, en grand, centrée. */
.devise {
  margin: 88px auto 0;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 56px);
  letter-spacing: -0.045em;
  line-height: 1.2;
  color: var(--panel-text) !important;
  isolation: isolate;
}

.duel {
  border-radius: var(--r-xl);
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  margin-bottom: 64px;
}
.duel-entete, .duel-ligne {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 16px 28px;
}
.duel-entete {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--panel-text-45);
  border-bottom: 1px solid var(--panel-border);
}
.duel-ligne { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.duel-ligne > span:first-child { font-weight: 600; font-size: 16px; }
.duel-sep {
  padding: 14px 28px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--acid);
  background: rgba(200, 255, 45, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.jauge {
  display: block;
  height: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.jauge i {
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.2s var(--ressort);
}
.jauge-toi i { background: rgba(255, 255, 255, 0.35); }
.jauge-ia i { background: var(--acid); box-shadow: 0 0 18px var(--acid-lueur); }
.duel.est-la .jauge i { transform: scaleX(1); }
.duel.est-la .duel-ligne:nth-child(2) .jauge i { transition-delay: 0.05s; }
.duel.est-la .duel-ligne:nth-child(3) .jauge i { transition-delay: 0.15s; }
.duel.est-la .duel-ligne:nth-child(4) .jauge i { transition-delay: 0.25s; }
.duel.est-la .duel-ligne:nth-child(5) .jauge i { transition-delay: 0.35s; }
.duel.est-la .duel-ligne:nth-child(6) .jauge i { transition-delay: 0.45s; }
.duel.est-la .duel-ligne:nth-child(8) .jauge i { transition-delay: 0.6s; }
.duel.est-la .duel-ligne:nth-child(9) .jauge i { transition-delay: 0.7s; }
.duel.est-la .duel-ligne:nth-child(10) .jauge i { transition-delay: 0.8s; }
.duel-legende { padding: 14px 28px; font-size: 13px; color: var(--panel-text-45); }

@media (max-width: 640px) {
  .duel-entete, .duel-ligne { grid-template-columns: 1fr; gap: 8px; padding: 14px 18px; }
  .duel-entete span:not(:first-child) { display: none; }
  .jauge { height: 8px; position: relative; margin-left: 56px; overflow: visible; }
  .jauge i { border-radius: 8px; }
  .jauge::before {
    position: absolute; left: -56px; top: -4px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--panel-text-45);
  }
  .jauge-toi::before { content: 'Toi'; }
  .jauge-ia::before { content: "L'IA"; color: var(--acid); }
}

.resume-ia {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  max-width: 760px;
  margin: 0 auto 72px;
  text-align: center;
  color: var(--panel-text-60);
}
.resume-ia strong { color: var(--panel-text); }

/* Les trois bulles */
.cycle { position: relative; }
.cycle-boucle {
  position: absolute;
  left: 0; right: 0; top: -40px;
  width: 100%; height: 120px;
  color: var(--panel-text-45);
  pointer-events: none;
}
.bulles {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.bulle { display: flex; justify-content: center; }
.bulle-rond {
  position: relative;
  width: min(260px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--panel-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer;
  transition: transform 0.6s var(--ressort), background 0.5s, border-color 0.5s, box-shadow 0.6s var(--ressort);
  animation: respire 6s ease-in-out infinite;
}
.bulle:nth-child(2) .bulle-rond { animation-delay: -2s; }
.bulle:nth-child(3) .bulle-rond { animation-delay: -4s; }
@keyframes respire { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
/* L'anneau qui tourne : un dégradé conique derrière la bulle. */
.bulle-rond::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, var(--acid) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s;
  animation: tourne 6s linear infinite;
}
@keyframes tourne { to { transform: rotate(360deg); } }
.bulle-rond::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--panel-bg);
  z-index: -1;
}
.bulle.est-active .bulle-rond {
  transform: scale(1.08);
  background: rgba(200, 255, 45, 0.08);
  border-color: transparent;
  box-shadow: 0 30px 70px var(--acid-lueur);
}
.bulle.est-active .bulle-rond::before { opacity: 1; }
.bulle-mot {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.bulle.est-active .bulle-mot { color: var(--acid); }
.bulle-sous { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--panel-text-60); font-weight: 700; }

.bulles-textes {
  position: relative;
  margin-top: 56px;
  min-height: 240px;
}
.bulle-texte {
  position: absolute; inset: 0;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.5s var(--ressort), transform 0.6s var(--ressort);
}
.bulle-texte.est-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.bulle-texte h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.04em; line-height: 1.1; }
.bulle-texte p { font-size: 18px; line-height: 1.55; }
.bulle-verdict {
  font-family: var(--font-title); font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
  color: var(--acid) !important;
}

@media (max-width: 760px) {
  .cycle-boucle { display: none; }
  .bulles { grid-template-columns: 1fr; gap: 14px; }
  .bulle-rond { width: 100%; max-width: 420px; aspect-ratio: auto; border-radius: 24px; padding: 22px; flex-direction: row; justify-content: space-between; animation: none; }
  /* Un rectangle qui tourne dépasse de sa boîte : pas d'anneau conique ici,
     la bulle active prend juste une bordure verte. */
  .bulle-rond::before { display: none; }
  .bulle-rond::after { border-radius: 24px; }
  .bulle.est-active .bulle-rond { transform: none; border-color: var(--acid); }
  .bulles-textes { min-height: 0; margin-top: 32px; }
  .bulle-texte { text-align: left; align-items: flex-start; }
}

/* =========================================================
   7. MES AUTOMATISATIONS — tableau de bord + ReelMotion
   ========================================================= */
.tableau-bord {
  border-radius: var(--r-xl);
  background: var(--card);
  border: 1px solid var(--ink-10);
  box-shadow: 0 30px 70px var(--card-shadow);
  overflow: hidden;
  margin-bottom: 72px;
}
.tb-entete {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-40);
  border-bottom: 1px solid var(--ink-10);
  background: var(--surface);
}
.tb-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.tb-liste li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--ink-10);
  transition: background 0.3s;
}
.tb-liste li:nth-child(odd) { border-right: 1px solid var(--ink-10); }
.tb-liste li:hover { background: var(--surface); }
.tb-icone {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.tb-nom { display: flex; flex-direction: column; gap: 2px; font-weight: 700; font-size: 16px; min-width: 0; }
.tb-nom small { font-weight: 500; font-size: 13px; color: var(--ink-60); }
.tb-etat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--acid-soft-2);
  color: var(--acid-dark);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
}
.tb-etat::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--acid-dark); }
.tb-etat.tb-bientot { background: var(--surface); color: var(--ink-40); }
.tb-etat.tb-bientot::before { background: var(--ink-15); }
.tb-btn { padding: 10px 16px; font-size: 13px; }
@media (max-width: 800px) {
  .tb-liste { grid-template-columns: 1fr; }
  .tb-liste li { grid-template-columns: 44px 1fr; }
  .tb-liste li:nth-child(odd) { border-right: none; }
  .tb-etat, .tb-btn { grid-column: 2; justify-self: start; }
}

.produit-demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 56px;
  border-radius: var(--r-xl);
  background: var(--panel-bg);
  color: var(--panel-text);
  overflow: hidden;
  position: relative;
  min-height: 520px;
}
.produit-demo::before {
  content: '';
  position: absolute; inset: -30%;
  background: radial-gradient(500px 500px at 80% 50%, var(--acid-lueur), transparent 60%);
  pointer-events: none;
}
.produit-demo-texte { position: relative; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.produit-demo-texte .pill-badge { color: var(--panel-text); border-color: var(--panel-border); }
.produit-demo-nom { font-size: clamp(44px, 5vw, 64px); letter-spacing: -0.055em; line-height: 0.95; }
.produit-demo-nom span { color: var(--acid); }
.produit-demo-accroche { font-family: var(--font-title); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: var(--panel-text) !important; }
.produit-demo-texte p { color: var(--panel-text-60); font-size: 17px; max-width: 460px; }
.produit-demo-tdah {
  padding-left: 16px;
  border-left: 3px solid var(--acid);
  font-style: italic;
}
/* Trois reels inclinés, qui débordent de la carte : c'est voulu. */
.produit-demo-reels {
  position: relative;
  display: flex;
  gap: 16px;
  transform: rotate(-6deg) translateY(30px);
  justify-content: center;
}
.produit-demo-reels video {
  width: 150px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--panel-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  background: #0A0E0C;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s var(--ressort), transform 0.9s var(--rebond);
}
.produit-demo-reels video:nth-child(2) { translate: 0 -28px; transition-delay: 0.12s; }
.produit-demo-reels video:nth-child(3) { transition-delay: 0.24s; }
.produit-demo.est-la .produit-demo-reels video { opacity: 1; transform: none; }
@media (max-width: 900px) {
  /* minmax(0, 1fr) : sans le 0, la rangée de reels (trois vidéos à largeur
     fixe) élargissait la colonne et le texte sortait de la carte. */
  .produit-demo { grid-template-columns: minmax(0, 1fr); padding: 36px 28px 0; min-height: 0; gap: 24px; }
  .produit-demo-reels { transform: rotate(-4deg) translateY(16px); gap: 10px; }
  .produit-demo-reels video { width: 30%; min-width: 0; flex: 0 1 auto; }
}

/* =========================================================
   9. QUI SUIS-JE
   ========================================================= */
.qsj-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}
.qsj-photo {
  position: sticky;
  top: 100px;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 90px var(--card-shadow);
}
.qsj-photo img { width: 100%; height: auto; display: block; }
.qsj-texte .section-head-gauche { margin-bottom: 32px; }
.apropos { display: flex; flex-direction: column; gap: 44px; }
.apropos p { color: var(--ink-60); font-size: 17.5px; line-height: 1.65; }
.apropos p + p { margin-top: 12px; }
.apropos-intro p, .apropos-bloc p { margin: 0; }
.apropos-intro p + p, .apropos-bloc p + p { margin-top: 12px; }
.apropos-bloc h3 {
  font-size: 26px;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.apropos-fort {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 22px !important;
  letter-spacing: -0.03em;
  line-height: 1.25 !important;
  color: var(--ink) !important;
  isolation: isolate;
}
.apropos-liste { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.apropos-liste li { position: relative; padding-left: 26px; color: var(--ink-60); font-size: 17px; line-height: 1.5; }
.apropos-liste li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--acid);
}
.social-gauche { justify-content: flex-start; margin-top: 8px; }
.apropos-signature { margin-top: 20px !important; font-weight: 700; color: var(--ink) !important; }

@media (max-width: 900px) {
  .qsj-layout { grid-template-columns: 1fr; gap: 36px; }
  .qsj-photo { position: static; max-width: 420px; }
}

/* =========================================================
   10. DERNIER APPEL
   ========================================================= */
.appel-final { position: relative; overflow: hidden; padding: 140px 0; }
.appel-final::before {
  content: '';
  position: absolute; inset: -30%;
  background: radial-gradient(700px 500px at 50% 100%, var(--acid-lueur), transparent 60%);
  pointer-events: none;
}
.appel-final-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
}
.appel-final .titre-xl { max-width: 22ch; }
.appel-final p { font-size: 19px; max-width: 520px; }
.appel-final .newsletter-form { max-width: 620px; }

/* =========================================================
   MOUVEMENT RÉDUIT : tout se pose, rien ne bouge
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .notif, .produit-demo-reels video { opacity: 1; transform: none; transition: none; }
  .jauge i { transform: scaleX(1); transition: none; }
  .mots-scroll .mot { opacity: 1; }
  .bulle-rond, .bulle-rond::before, .dot-vive, .hero-defile span { animation: none; }
  .btn, .bento-carte, .bienvenue-photo img { transition: none; }
  .progression { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .carte-verre, .hero-pile, .nav-verre { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .carte-verre { background: var(--card); }
  .hero-pile { background: rgba(255, 255, 255, 0.08); }
}
