/* Page d'accueil : haut de page, vitrine, bande qui défile, chiffres, sections. */
.hero { position: relative; padding: 150px 20px 40px; text-align: center; overflow: hidden; isolation: isolate; }
.aurore { position: absolute; inset: -10% -20% auto; height: 900px; z-index: -2; filter: blur(90px); opacity: 0.7; }
.aurore i { position: absolute; border-radius: 50%; }
.aurore i:nth-child(1) { width: 620px; height: 420px; left: 16%; top: 0; background: #DCE8FF; animation: flotte1 18s ease-in-out infinite alternate; }
.aurore i:nth-child(2) { width: 520px; height: 380px; right: 14%; top: 60px; background: #E6F2FF; animation: flotte2 22s ease-in-out infinite alternate; }
.aurore i:nth-child(3) { width: 420px; height: 300px; left: 42%; top: 300px; background: #C9DBFF; opacity: 0.6; animation: flotte1 26s ease-in-out infinite alternate-reverse; }
@keyframes flotte1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes flotte2 { to { transform: translate(-140px, 60px) scale(0.9); } }
.hero-texte { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; }
.pastille { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; margin-bottom: 28px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--texte); text-decoration: none; background: rgba(255, 255, 255, 0.7); box-shadow: 0 0 0 1px var(--ligne); backdrop-filter: blur(10px); }
.pastille .fleche { color: var(--bleu); transition: transform 0.25s var(--ressort); }
.pastille:hover .fleche { transform: translateX(3px); }
.hero h1 { font-size: clamp(40px, 6.6vw, 92px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.98; }
.hero h1 .serif { font-weight: 400; letter-spacing: -0.03em; }
.chapeau { max-width: 640px; margin: 28px auto 36px; font-size: clamp(17px, 1.6vw, 20px); color: var(--doux); }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--tres-doux); }
.hero-texte .revele:nth-child(2) { --delai: 0.08s; }
.hero-texte .revele:nth-child(3) { --delai: 0.16s; }
.hero-texte .revele:nth-child(4) { --delai: 0.24s; }
.hero-texte .revele:nth-child(5) { --delai: 0.32s; }

/* Vitrine : film au centre, deux téléphones de part et d'autre */
.vitrine { position: relative; max-width: 1080px; height: clamp(380px, 50vw, 600px); margin: 72px auto 0; perspective: 1800px; --delai: 0.35s; }
.v-ecran { position: absolute; overflow: hidden; background: #0A0D14; }
.v-ecran video { width: 100%; height: 100%; object-fit: cover; }
.ecran-centre { left: 13%; right: 13%; top: 0; aspect-ratio: 16 / 9; border-radius: 20px; transform: rotateX(8deg); transform-origin: 50% 100%; box-shadow: 0 50px 100px -40px rgba(10, 13, 20, 0.45), 0 0 0 1px rgba(10, 13, 20, 0.06); }
.ecran-tel { bottom: 2%; width: 22%; aspect-ratio: 9 / 16; border-radius: 30px; border: 6px solid #0A0D14; box-shadow: 0 40px 80px -30px rgba(10, 13, 20, 0.5); }
.ecran-gauche { left: 0; transform: rotateY(18deg) rotateZ(-4deg); animation: flotteEcran 7s ease-in-out infinite alternate; }
.ecran-droite { right: 0; transform: rotateY(-18deg) rotateZ(4deg); animation: flotteEcran 8s ease-in-out infinite alternate-reverse; }
@keyframes flotteEcran { to { translate: 0 -14px; } }
.reflet { position: absolute; left: 10%; right: 10%; bottom: -60px; height: 120px; background: radial-gradient(ellipse at center, rgba(47, 109, 238, 0.18), transparent 70%); filter: blur(20px); z-index: -1; }
.badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; color: var(--encre); background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--ligne), 0 14px 40px -14px rgba(10, 13, 20, 0.3); animation: flotteEcran 5s ease-in-out infinite alternate; }
.badge::before { content: ''; width: 20px; height: 20px; border-radius: 50%; flex: none; background: var(--bleu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.b1 { top: -18px; right: 15%; }
.b2 { top: 48%; right: 17%; animation-delay: -2s; }
.b3 { top: 20%; left: 16%; animation-delay: -1s; }

/* Bande qui défile */
.defile { position: relative; overflow: hidden; padding: 34px 0 40px; margin-top: 64px; }
.defile-titre { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tres-doux); margin-bottom: 22px; }
.defile-piste { display: flex; width: max-content; animation: defiler 42s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.defile:hover .defile-piste { animation-play-state: paused; }
.double { display: flex; }
.matiere { display: inline-flex; align-items: center; gap: 14px; padding-right: 56px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--encre); white-space: nowrap; }
.matiere::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bleu); }
@keyframes defiler { to { transform: translateX(-50%); } }

/* Sections */
.bloc { max-width: var(--large); margin: 0 auto; padding: 110px 20px 0; }
.entete { max-width: 760px; margin-bottom: 44px; }
.form-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.points { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.points li { display: flex; align-items: center; gap: 10px; color: var(--encre); font-weight: 500; }
.points svg { color: var(--bleu); flex: none; }

.chiffres { max-width: var(--large); margin: 0 auto; padding: 96px 20px 0; }
.chiffres-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chiffres-grille div { padding: 34px 30px; border-radius: var(--rayon); background: var(--carte); }
.chiffres-grille b { display: block; font-size: clamp(48px, 6vw, 72px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--encre); font-variant-numeric: tabular-nums; }
.chiffres-grille div:first-child b { color: var(--bleu); }
.chiffres-grille span { display: block; margin-top: 12px; color: var(--doux); }

.etapes { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.etapes li { padding: 28px 26px; border-radius: var(--rayon); background: var(--carte); }
.etape-num { display: block; font-size: 14px; font-weight: 700; color: var(--bleu); letter-spacing: 0.04em; margin-bottom: 40px; }
.etapes h3 { margin-bottom: 10px; }
.etapes p { color: var(--doux); font-size: 15.5px; }

.carte-video { position: relative; border-radius: var(--rayon); overflow: hidden; background: #0A0D14; }
.carte-video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.carte-video figcaption { display: grid; gap: 4px; padding: 26px 30px 30px; background: var(--carte); }
.carte-video figcaption .surtitre { margin: 0; }
.carte-video figcaption b { font-size: 22px; letter-spacing: -0.02em; color: var(--encre); }
.carte-video figcaption span:last-child { color: var(--doux); }
.videos-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px max(20px, calc((100vw - var(--large)) / 2 + 20px)) 12px; scrollbar-width: none; }
.videos-rail::-webkit-scrollbar { display: none; }
.video-verticale { flex: 0 0 260px; aspect-ratio: 9 / 16; border-radius: var(--rayon); overflow: hidden; scroll-snap-align: start; background: #0A0D14; }
.video-verticale video { width: 100%; height: 100%; object-fit: cover; }

.prix { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 56px; border-radius: 28px; background: var(--fond-2); box-shadow: 0 0 0 1px var(--ligne); }
.prix b { color: var(--encre); }
.petit { margin-top: 16px; font-size: 14px; color: var(--tres-doux); max-width: 620px; }

.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { padding: 22px 26px; border-radius: 18px; background: var(--carte); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 17.5px; color: var(--encre); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--bleu); font-size: 22px; line-height: 1; transition: transform 0.25s var(--ressort); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--doux); }

.final { max-width: var(--large); margin: 110px auto 96px; padding: 0 20px; text-align: center; }
.final h2 { margin-bottom: 32px; }

@media (max-width: 920px) {
  .hero { padding-top: 120px; }
  .vitrine { height: auto; aspect-ratio: 1 / 0.8; margin-top: 56px; }
  .ecran-centre { left: 4%; right: 4%; }
  .ecran-tel { width: 28%; bottom: 0; border-width: 4px; border-radius: 22px; }
  .b1 { top: -14px; right: 6%; }
  .b2, .b3 { display: none; }
  .form-grille { grid-template-columns: 1fr; gap: 32px; }
  .chiffres-grille, .etapes { grid-template-columns: 1fr; }
  .etape-num { margin-bottom: 18px; }
  .bloc { padding-top: 80px; }
  .prix { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .ecran-tel { width: 32%; }
  .badge { font-size: 13px; padding: 7px 12px 7px 8px; }
  .matiere { font-size: 16px; padding-right: 40px; }
  .video-verticale { flex-basis: 70vw; }
  .videos-rail { padding-left: 20px; padding-right: 20px; }
}

/* Bouton « Appeler » (layout.mjs, boutonAppel) */
.appel-direct { margin: 28px 0 10px; color: var(--doux); font-size: 15px; }
