/* Site de Lumo : styles. Les couleurs viennent de tokens.css (copie de da/lumo/tokens.css). */

:root {
  --gris: #55556A;
  --ligne: #E9E5DC;
  --carte: #FFFFFF;
  --carte-2: #EFECE4;
  --ombre: 0 1px 2px rgba(20, 20, 43, .05), 0 12px 32px rgba(20, 20, 43, .08);
  --large: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--creme); color: var(--encre); font: 500 16px/1.55 var(--police-texte); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; }
svg { flex: none; }
:is(a, button, summary):focus-visible { outline: 3px solid #225EEC; outline-offset: 3px; border-radius: 12px; }
.evitement { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--encre); color: var(--creme); }
.evitement:focus { top: 16px; }

.conteneur { width: min(var(--large), 100% - 48px); margin-inline: auto; }
.centre { text-align: center; }
section { position: relative; }

/* ───────── Typographie ───────── */
.titre-section { font: 400 clamp(40px, 5.2vw, 64px)/1.02 var(--police-titre); letter-spacing: -0.01em; }
.titre-section em { font-style: italic; }
.titre-section.centre { text-align: center; }
.etiquette { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 99px; background: var(--carte-2); font-size: 13px; font-weight: 700; color: var(--encre); }
.etiquette.blanc { background: #fff; }
.chapeau { margin: 18px auto 0; max-width: 560px; color: var(--gris); font-size: 18px; }
.chapeau.gauche { margin-left: 0; }

/* ───────── Boutons ───────── */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 8px 0 26px; border-radius: 99px; font-weight: 700; font-size: 17px; border: 1px solid transparent; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease; }
.btn:not(:has(.rond-fleche)) { padding-right: 26px; }
.btn:hover { transform: translateY(-1px); }
.btn-soleil { background: linear-gradient(180deg, #FFD56E, var(--soleil)); color: var(--encre); box-shadow: 0 8px 20px rgba(245, 166, 35, .35), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-noir { background: var(--encre); color: var(--creme); box-shadow: 0 8px 20px rgba(20, 20, 43, .25); }
.btn-blanc { background: #fff; color: var(--encre); box-shadow: var(--ombre); }
.btn-petit { height: 44px; font-size: 15px; padding-left: 18px; }
.btn.plein { width: 100%; justify-content: center; padding: 0 20px; }
.rond-fleche { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--encre); color: var(--soleil); }
.rond-fleche.clair { background: var(--creme); color: var(--encre); }
.btn-petit .rond-fleche { width: 32px; height: 32px; }
.rond-fleche svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.btn:hover .rond-fleche svg { transform: translateX(2px); }
/* Libellé qui roule au survol (comme le modèle) */
/* Le vrai texte reste en place (transparent, lu par les lecteurs d'écran) ; deux copies glissent vers le haut. */
.roule-btn, .roule span { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; vertical-align: middle; -webkit-text-fill-color: transparent; }
.roule-btn::before, .roule-btn::after, .roule span::before, .roule span::after { content: attr(data-texte); position: absolute; left: 0; top: 0; -webkit-text-fill-color: currentColor; transition: transform .35s cubic-bezier(.6, 0, .2, 1); }
.roule-btn::after, .roule span::after { top: 100%; }
@media (hover: hover) {
  .btn:hover .roule-btn::before, .btn:hover .roule-btn::after, .roule:hover span::before, .roule:hover span::after { transform: translateY(-100%); }
}
.boutons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

svg.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.ic.soleil { color: #E39B12; fill: #FFC94A; } svg.ic.vert { color: var(--payee-texte); } svg.ic.bleu { color: var(--envoyee-texte); } svg.ic.rose { color: var(--retard-texte); }

/* ───────── Navigation ───────── */
.nav { position: fixed; z-index: 50; top: 16px; left: 50%; transform: translateX(-50%); width: min(820px, 100% - 32px); height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 10px 0 22px; border-radius: 22px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 10px 30px rgba(20, 20, 43, .08); transition: box-shadow .3s ease; }
.nav.scrolle { box-shadow: 0 12px 34px rgba(20, 20, 43, .14); }
.nav-logo img { height: 32px; width: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 9px 16px; border-radius: 99px; font-weight: 600; font-size: 15px; }
.nav ul a:hover { background: var(--carte-2); }

/* ───────── 1. Héros ───────── */
.heros { padding: 150px 0 0; overflow: hidden; text-align: center; }
.ciel-heros { position: absolute; inset: 0; background: linear-gradient(180deg, #9CC9FF 0%, #BFD9FA 30%, #F3DCD3 60%, #FFC9A4 82%, var(--creme) 100%); }
.soleil-heros { position: absolute; left: 50%; top: 52%; width: 360px; height: 360px; margin-left: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 226, 150, .9), rgba(255, 201, 74, 0) 65%); }
.nuage { position: absolute; height: 46px; border-radius: 99px; background: rgba(255, 255, 255, .75); filter: blur(1px); }
.nuage::before, .nuage::after { content: ""; position: absolute; bottom: 14px; border-radius: 50%; background: inherit; }
.nuage::before { width: 60px; height: 60px; left: 22%; }
.nuage::after { width: 84px; height: 84px; left: 44%; }
.nuage.n1 { width: 200px; top: 150px; left: 6%; animation: derive 40s linear infinite alternate; }
.nuage.n2 { width: 160px; top: 110px; right: 8%; animation: derive 34s linear infinite alternate-reverse; }
.nuage.n3 { width: 120px; top: 300px; right: 22%; opacity: .6; animation: derive 46s linear infinite alternate; }
@keyframes derive { to { transform: translateX(60px); } }
.collines { position: absolute; bottom: 0; width: 46vw; max-width: 720px; height: auto; z-index: 1; }
.collines-g { left: 0; } .collines-d { right: 0; }

.heros-texte { position: relative; z-index: 3; }
.titre-orbite { position: relative; display: inline-block; }
.titre-heros { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: .22em; flex-wrap: wrap; font: 400 clamp(46px, 7vw, 100px)/1 var(--police-titre); letter-spacing: -0.015em; padding: 0 12px; }
.titre-heros em { font-style: italic; }
.tuile-titre { display: inline-grid; place-items: center; width: 1.12em; height: 1.12em; border-radius: .28em; background: linear-gradient(145deg, #2A2A52, var(--encre)); box-shadow: 0 .12em .3em rgba(20, 20, 43, .35), inset 0 1px 0 rgba(255, 255, 255, .25); transform: rotate(-6deg); }
.tuile-titre img { width: 100%; border-radius: .28em; }
.sous-titre-heros { position: relative; margin: 26px auto 0; max-width: 600px; font-size: 20px; line-height: 1.4; color: #3B3B52; }
.preuves { list-style: none; display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin: 28px 0 0; padding: 0; font-size: 15px; font-weight: 600; color: #3B3B52; }
.preuves li { display: inline-flex; align-items: center; gap: 8px; }
.preuves.gauche { justify-content: flex-start; }

/* La mascotte : position et profondeur pilotées par js/site.js */
.mascotte { position: absolute; left: 50%; top: 50%; width: 92px; height: 84px; margin: -42px 0 0 -46px; z-index: 3; pointer-events: none; will-change: transform; }
.mascotte svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 14px rgba(245, 166, 35, .35)); }
.mascotte.derriere { z-index: 1; }
.mascotte .cape { transform-origin: 62px 62px; animation: cape .5s ease-in-out infinite alternate; }
.mascotte .oeil { transform-box: fill-box; transform-origin: center; animation: cligne 4s infinite; }
@keyframes cape { from { transform: rotate(-6deg) scaleX(1); } to { transform: rotate(4deg) scaleX(.9); } }
@keyframes cligne { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }

.cadre-capture { position: relative; z-index: 2; margin: 56px auto 0; padding: 10px; border-radius: 26px; background: rgba(255, 255, 255, .9); box-shadow: 0 30px 70px rgba(20, 20, 43, .16); }
.cadre-capture img { border-radius: 18px; width: 100%; height: auto; }
.cadre-heros { width: min(1040px, 92vw); margin-bottom: -150px; }
.heros::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 2; background: linear-gradient(180deg, rgba(247, 245, 240, 0), var(--creme) 75%); pointer-events: none; }

/* Bandeau de logos */
.logos { padding: 172px 0 30px; }
.etiquette-filet { position: relative; text-align: center; margin: 0 auto 26px; width: min(var(--large), 100% - 48px); }
.etiquette-filet::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ligne); }
.etiquette-filet span { position: relative; display: inline-block; padding: 7px 16px; border-radius: 99px; background: var(--carte-2); font-size: 14px; font-weight: 600; color: #3B3B52; }
.defile { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.defile-piste { display: flex; width: max-content; gap: 56px; list-style: none; margin: 0; padding: 0; animation: defile 38s linear infinite; }
.defile:hover .defile-piste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }
.logos .defile-piste li { display: inline-flex; align-items: center; gap: 10px; font: 600 22px var(--police-titre); color: #8A8798; letter-spacing: .01em; }
.logos .defile-piste svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── 2. Avant / après ───────── */
.avant-apres { padding: 130px 0 120px; }
.aa-scene { margin-top: 44px; }
.aa-commande { display: flex; align-items: flex-end; justify-content: center; gap: 0; position: relative; z-index: 2; }
.aa-onglet { width: 190px; height: 52px; border: 0; background: none; font-weight: 700; font-size: 15px; color: #8A8798; transition: color .3s; }
.aa-onglet.actif { color: var(--encre); }
.molette { position: relative; width: 116px; height: 116px; margin-bottom: -50px; }
.molette-dos { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 200deg, #2A2A52, var(--encre) 40%, #3A3A66 60%, var(--encre)); box-shadow: 0 14px 30px rgba(20, 20, 43, .35); }
.molette-cran { position: absolute; left: 50%; top: -10px; width: 24px; height: 30px; margin-left: -12px; border-radius: 8px 8px 4px 4px; background: var(--encre); z-index: 0; transform-origin: 12px 68px; transition: transform .1s linear; }
.molette-face { position: absolute; inset: 14px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FFFFFF, #E7E3EF 55%, #C9C3D6); box-shadow: inset 0 -6px 12px rgba(20, 20, 43, .18), inset 0 4px 8px rgba(255, 255, 255, .8); transition: background .4s; }
.molette-face img { width: 46px; border-radius: 12px; }
.aa-apres-actif .molette-face { background: radial-gradient(circle at 35% 30%, #FFF6D2, #FFD866 55%, #F5A623); }
.aa-cartes { position: relative; width: min(760px, 100%); margin: 0 auto; min-height: 380px; }
.aa-carte { position: absolute; inset: 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; padding: 74px 40px 40px; border-radius: 30px; transition: opacity .5s ease, transform .5s ease; }
.aa-avant { background: var(--carte-2); }
.aa-apres { background: radial-gradient(120% 90% at 85% 0%, rgba(156, 201, 255, .28), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(255, 179, 138, .25), transparent 60%), var(--encre); color: var(--creme); opacity: 0; transform: scale(.97); }
.aa-apres-actif .aa-avant { opacity: 0; transform: scale(.97); }
.aa-apres-actif .aa-apres { opacity: 1; transform: none; }
.aa-carte h3 { font: 400 32px/1.1 var(--police-titre); margin-bottom: 18px; }
.liste-croix, .liste-check, .liste-chevron { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.liste-croix li, .liste-check li, .liste-chevron li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.liste-croix svg, .liste-check svg, .liste-chevron svg { width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.liste-croix svg { color: var(--retard-texte); }
.liste-check svg { color: #7FD8A2; }
.liste-chevron svg { color: var(--envoyee-texte); }
.aa-droite { display: grid; gap: 14px; }
.aa-chiffre { padding: 18px 20px; border-radius: 20px; background: #fff; }
.aa-chiffre strong { display: block; font: 400 38px/1 var(--police-titre); }
.aa-chiffre span { font-size: 14px; color: var(--gris); }
.verre-sombre { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.verre-sombre strong { color: var(--soleil); }
.verre-sombre span { color: rgba(247, 245, 240, .75); }

/* ───────── 3. Grille bento ───────── */
.fonctions { padding: 110px 0; }
.entete-deux { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.entete-droite { max-width: 360px; text-align: right; display: grid; justify-items: end; gap: 18px; }
.entete-droite p { margin: 0; color: var(--gris); font-size: 17px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 380px 380px; gap: 20px; }
.bento-carte { position: relative; overflow: hidden; border-radius: 28px; padding: 28px; background: var(--carte); display: flex; flex-direction: column; align-items: center; text-align: center; }
.bento-carte h3 { font: 700 22px var(--police-texte); }
.bento-texte { margin: auto 0 0; color: var(--gris); font-size: 15px; max-width: 300px; }
.b-factures { background: var(--carte-2); }
.b-relances { background: linear-gradient(180deg, #CFE3FF, #F6E5DA); }
.b-efacture { grid-row: span 2; grid-column: 3; background: radial-gradient(120% 70% at 50% 0%, rgba(156, 201, 255, .22), transparent 65%), var(--encre); color: var(--creme); }
.b-efacture .bento-texte { color: rgba(247, 245, 240, .78); }
.b-tresorerie { grid-column: span 2; flex-direction: row; align-items: stretch; text-align: left; background: linear-gradient(180deg, #DCEBFF 0%, #F7E6DB 70%, #FFD9A0 100%); }
.b-tres-texte { display: flex; flex-direction: column; width: 40%; }
.b-tres-texte .bento-texte { margin-top: 10px; }
.mini-facture { width: 100%; max-width: 300px; margin: 22px 0 14px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: var(--ombre); text-align: left; font-size: 13px; }
.mf-tete { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.mf-tete small { display: block; color: var(--gris); }
.mf-tete .badge { margin-left: auto; }
.mf-logo { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #1F3A34; color: #F3E9DA; font: italic 15px var(--police-titre); }
.mf-ligne, .mf-total { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--ligne); }
.mf-total { font-weight: 800; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.badge.envoyee { background: var(--envoyee-pastille); color: var(--envoyee-texte); }
.defile-puces { width: calc(100% + 56px); margin: 0 -28px; }
.defile-puces .defile-piste { gap: 10px; animation-duration: 22s; }
.defile-puces li { padding: 6px 14px; border-radius: 99px; background: #fff; font-size: 13px; font-weight: 600; }
.pile-notifs { position: relative; width: 100%; max-width: 300px; height: 170px; margin-top: 30px; }
.notif { position: absolute; left: 0; right: 0; display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: #fff; box-shadow: var(--ombre); text-align: left; font-size: 14px; }
.notif small { display: block; color: var(--gris); }
.notif.n-1 { top: 0; transform: rotate(-2deg); }
.notif.n-2 { top: 78px; transform: rotate(1.5deg) translateX(14px); animation: notif 4s ease-in-out infinite; }
@keyframes notif { 0%, 100% { transform: rotate(1.5deg) translate(14px, 0); } 50% { transform: rotate(1.5deg) translate(14px, -6px); } }
.notif-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.notif-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.notif-ico.soleil { background: var(--beurre); color: #8A5A00; } .notif-ico.vert { background: var(--menthe); color: var(--payee-texte); }
.mot-alterne { position: relative; height: 100px; width: 100%; margin: auto 0; overflow: hidden; }
.mot-alterne span { position: absolute; inset: 0; display: grid; place-items: center; font: 800 clamp(40px, 4.4vw, 62px)/1 var(--police-texte); letter-spacing: -0.03em; color: var(--soleil); opacity: 0; animation: mot 8s infinite; }
.mot-alterne span:nth-child(2) { animation-delay: 2s; } .mot-alterne span:nth-child(3) { animation-delay: 4s; } .mot-alterne span:nth-child(4) { animation-delay: 6s; }
@keyframes mot { 0% { opacity: 0; transform: translateY(40%); } 5%, 22% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; transform: translateY(-40%); } }
.flottants { position: relative; flex: 1; }
.flottant { position: absolute; border-radius: 22px; background: #fff; box-shadow: 0 20px 40px rgba(20, 20, 43, .12); }
.anneau-carte { left: 4%; top: 40px; width: 190px; height: 210px; display: grid; place-items: center; transform: rotate(-4deg); }
.anneau-carte svg { width: 140px; }
.anneau-carte b { position: absolute; font: 400 30px var(--police-titre); }
.scenarios { right: 2%; top: 70px; width: 260px; padding: 16px 18px; display: grid; gap: 10px; transform: rotate(3deg); font-size: 14px; }
.scenarios div { display: flex; align-items: center; gap: 8px; }
.scenarios b { margin-left: auto; }
.pt { width: 10px; height: 10px; border-radius: 50%; }

/* ───────── 4. Aperçu ───────── */
.apercu { padding: 130px 0 120px; background: linear-gradient(180deg, var(--creme) 0%, #E5EEFB 22%, #F2E8E1 60%, var(--creme) 100%); overflow: hidden; }
.apercu-fond { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; }
.apercu-fond svg { width: 100%; height: 100%; }
.apercu .conteneur { position: relative; }
.cadre-apercu { width: 100%; margin-top: 60px; }
.trois-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; text-align: left; }
.carte-icone { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 22px; background: #fff; box-shadow: var(--ombre); }
.carte-icone p { margin: 0; font-size: 16px; color: #3B3B52; }
.carte-icone b { color: var(--encre); }
.carre-noir { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--encre); color: var(--soleil); flex: none; }
.carre-noir svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── 5. Étapes et 6. Sécurité ───────── */
.etapes, .securite { padding: 110px 0; }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.deux-chiffres { display: flex; gap: 56px; margin-top: 40px; }
.deux-chiffres strong { display: block; font: 400 44px/1 var(--police-titre); }
.deux-chiffres span { color: var(--gris); font-size: 15px; }
.etapes-carte { padding: 26px; border-radius: 30px; background: var(--carte-2); }
.etapes-onglets { display: flex; gap: 6px; padding: 5px; border-radius: 99px; background: #fff; width: max-content; margin: 0 auto 30px; }
.etapes-onglets button { border: 0; background: none; height: 38px; padding: 0 18px; border-radius: 99px; font-weight: 700; font-size: 14px; color: var(--gris); }
.etapes-onglets button.actif { background: var(--encre); color: var(--creme); }
.schema { display: flex; align-items: center; justify-content: center; gap: 0; height: 170px; }
.noeud { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--ombre); }
.ic-noeud { width: 30px; height: 30px; fill: none; stroke: var(--encre); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pointilles { width: 70px; height: 2px; background: repeating-linear-gradient(90deg, #A9A6B8 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: pointilles 1s linear infinite; }
.pointilles.d { animation-direction: reverse; }
@keyframes pointilles { to { background-position: 24px 0; } }
.puce { position: relative; width: 120px; height: 120px; border-radius: 30px; display: grid; place-items: center; background: linear-gradient(145deg, #2A2A52, var(--encre)); box-shadow: 0 20px 40px rgba(20, 20, 43, .3), inset 0 1px 0 rgba(255, 255, 255, .25); }
.puce img { width: 84px; border-radius: 20px; }
.badge-puce { position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 99px; background: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: var(--ombre); }
.etape { text-align: center; padding: 26px 10px 6px; }
.etape h3 { font: 700 22px var(--police-texte); }
.etape p { margin: 8px auto 0; max-width: 380px; color: var(--gris); }

.inverse > :first-child { order: 0; }
.arbre-carte { display: flex; flex-direction: column; align-items: center; padding: 40px 30px; border-radius: 30px; background: var(--carte-2); }
.arbre-haut { width: 110px; height: 76px; border-radius: 26px; display: grid; place-items: center; background: linear-gradient(160deg, #D9D0FF, #A99BF0); box-shadow: 0 16px 30px rgba(108, 92, 200, .35), inset 0 2px 0 rgba(255, 255, 255, .5); color: #fff; }
.arbre-haut svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.trait-v { width: 2px; height: 34px; background: repeating-linear-gradient(180deg, #A9A6B8 0 5px, transparent 5px 10px); }
.arbre-milieu { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; box-shadow: var(--ombre); }
.trait-h { width: 64%; height: 30px; border: 2px dashed #A9A6B8; border-bottom: 0; border-radius: 14px 14px 0 0; margin-top: 12px; }
.arbre-bas { display: flex; justify-content: space-between; width: 82%; margin-top: -2px; }
.sceau { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 4px; background: #fff; box-shadow: var(--ombre), inset 0 0 0 6px var(--creme); text-align: center; font-size: 11.5px; line-height: 1.2; }
.sceau svg { width: 26px; height: 26px; fill: none; stroke: var(--encre); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto; }
.securite-texte .btn { margin: 26px 0 30px; }

/* ───────── 7. Cas d'usage ───────── */
.usages { padding: 110px 0; }
.carrousel { margin-top: 44px; overflow: hidden; }
.carrousel-piste { display: flex; gap: 18px; width: max-content; list-style: none; margin: 0; padding: 0; animation: defile 60s linear infinite; }
.carrousel:hover .carrousel-piste { animation-play-state: paused; }
.carrousel-piste > li { width: 340px; height: 400px; border-radius: 28px; flex: none; }
.usage-visuel { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 22px; }
.usage-visuel svg { position: absolute; top: 50px; left: 50%; width: 150px; height: 150px; margin-left: -75px; fill: none; stroke: var(--encre); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.usage-visuel::before { content: ""; position: absolute; top: 30px; left: 50%; width: 190px; height: 190px; margin-left: -95px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.usage-visuel span { position: relative; padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .85); font-weight: 700; font-size: 14px; }
.uv-1 { background: linear-gradient(160deg, var(--beurre), #FFC98A); }
.uv-2 { background: linear-gradient(160deg, var(--lilas), #B9B2F2); }
.uv-3 { background: linear-gradient(160deg, #FFE1D0, var(--peche)); }
.uv-4 { background: linear-gradient(160deg, var(--menthe), #A9DFC0); }
.usage-texte { display: flex; flex-direction: column; padding: 28px; text-align: left; background: linear-gradient(180deg, #DCEBFF 0%, #F2E8E1 65%, #FFD9A0 100%); }
.usage-texte h3 { font: 400 30px var(--police-titre); }
.usage-texte p { margin: 10px 0 0; color: #3B3B52; }
.usage-chiffre { margin-top: auto; }
.usage-chiffre strong { display: block; font: 400 40px/1 var(--police-titre); }
.usage-chiffre span { font-size: 14px; color: #3B3B52; }
.fondateur { margin-top: 56px; }
.pastilles { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 26px; }
.pastilles li { padding: 6px 14px; border-radius: 99px; background: var(--carte-2); font-size: 14px; font-weight: 600; }
blockquote { margin: 0 auto; max-width: 720px; }
blockquote p { margin: 0; font: 400 clamp(22px, 2.4vw, 28px)/1.35 var(--police-titre); }
blockquote footer { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 600; color: var(--gris); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--encre); flex: none; }
.a-peche { background: var(--peche); } .a-menthe { background: #BFE8D0; } .a-lilas { background: #D2CAFF; } .a-beurre { background: #FFE39A; } .a-ciel { background: var(--ciel); }

/* ───────── 8. Intégrations ───────── */
.integrations { padding: 60px 0 110px; }
.integrations-carte { position: relative; overflow: hidden; border-radius: 40px; padding: 80px 40px 60px; background: var(--carte-2); }
.herbe { position: absolute; left: 0; bottom: 0; width: 380px; }
.integrations .chapeau { margin-bottom: 26px; }
.orbite { position: relative; height: 380px; margin-top: 30px; }
.orbite-anneau { position: absolute; left: 50%; top: 330px; width: 0; height: 0; animation: tourne 60s linear infinite; }
.orbite-anneau span { position: absolute; left: -36px; top: -36px; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--ombre); transform: rotate(var(--a)) translateY(-280px) rotate(calc(-1 * var(--a))); }
.orbite-anneau span svg { width: 28px; height: 28px; fill: none; stroke: var(--encre); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: tourne 60s linear infinite reverse; }
@keyframes tourne { to { transform: rotate(360deg); } }
.orbite-centre { position: absolute; left: 50%; top: 150px; width: 120px; height: 120px; margin-left: -60px; border-radius: 50%; overflow: hidden; box-shadow: 0 24px 50px rgba(20, 20, 43, .35); }
.orbite-centre img { width: 100%; }
.orbite-texte { position: absolute; left: 0; right: 0; top: 296px; margin: 0; text-align: center; font: 400 28px/1.15 var(--police-titre); }

/* ───────── 9. Chiffres ───────── */
.chiffres { padding: 60px 0 100px; overflow: hidden; }
.chiffres-scene { position: relative; width: min(var(--large), 100% - 48px); height: 860px; margin: 0 auto; }
.chiffres-titre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 520px; text-align: center; z-index: 1; }
.stat-carte { position: absolute; width: 220px; height: 220px; border-radius: 28px; padding: 20px; display: flex; flex-direction: column; z-index: 2; }
.stat-tete { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; line-height: 1.25; }
.stat-tete svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #fff; fill: none; stroke: var(--encre); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stat-carte strong { margin-top: auto; font: 400 44px/1 var(--police-titre); }
.stat-carte small { margin-top: 6px; font-size: 13px; color: var(--gris); }
.stat-carte.gris { background: var(--carte-2); }
.stat-carte.noir { background: var(--encre); color: var(--creme); }
.stat-carte.noir small { color: rgba(247, 245, 240, .72); }
.stat-carte.noir .stat-tete svg { background: var(--soleil); }
.stat-carte.soleil { background: linear-gradient(160deg, #FFD56E, var(--soleil)); }
.stat-carte.soleil small { color: #4A3A10; }
.stat-carte.lilas { background: var(--lilas); }
.s1 { left: 6%; top: 20px; } .s2 { right: 6%; top: 0; } .s3 { left: 0; top: 520px; } .s4 { left: 38%; top: 620px; } .s5 { right: 0; top: 470px; } .s6 { left: 28%; top: -40px; width: 180px; height: 180px; }

/* ───────── 10. Témoignages ───────── */
.temoignages { padding: 120px 0 140px; overflow: hidden; background: linear-gradient(180deg, var(--creme) 0%, #D8E6FA 25%, #F4D9CC 70%, #FFD3A8 100%); }
.paysage-soir { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; }
.paysage-soir svg { width: 100%; height: 100%; }
.temoignages .conteneur { position: relative; margin-bottom: 44px; }
.defile-avis { position: relative; }
.defile-avis .defile-piste { gap: 20px; animation-duration: 55s; }
.avis { width: 380px; min-height: 270px; padding: 26px; border-radius: 26px; background: #fff; box-shadow: var(--ombre); display: flex; flex-direction: column; }
.etoiles { color: #E39B12; letter-spacing: 2px; font-size: 18px; }
.avis p { margin: 12px 0 18px; font-size: 17px; }
.avis footer { margin-top: auto; display: flex; gap: 12px; align-items: center; }
.avis b { display: block; }
.avis small { color: var(--gris); }

/* ───────── 11. Tarifs ───────── */
.tarifs { padding: 120px 0; }
.bascule { display: inline-flex; align-items: center; gap: 12px; margin: 30px 0 34px; font-weight: 700; color: var(--gris); }
.bascule .actif { color: var(--encre); }
.interrupteur { position: relative; width: 56px; height: 30px; border: 0; border-radius: 99px; background: #CFCBD9; padding: 0; }
.interrupteur span { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: left .25s ease; }
.interrupteur[aria-checked="true"] { background: var(--encre); }
.interrupteur[aria-checked="true"] span { left: 29px; }
.remise { padding: 3px 10px; border-radius: 99px; background: var(--menthe); color: var(--payee-texte); font-size: 13px; }
.enveloppe-tarifs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(860px, 100%); margin: 0 auto; padding: 14px; border-radius: 36px; background: #fff; box-shadow: var(--ombre); text-align: left; }
.formule { padding: 30px; border-radius: 26px; background: var(--carte-2); }
.formule.sombre { background: radial-gradient(120% 70% at 100% 0%, rgba(255, 201, 74, .18), transparent 60%), var(--encre); color: var(--creme); }
.formule h3 { display: flex; align-items: center; justify-content: space-between; font: 700 22px var(--police-texte); }
.populaire { padding: 4px 12px; border-radius: 99px; background: var(--soleil); color: var(--encre); font-size: 12.5px; }
.cible { margin: 4px 0 18px; color: var(--gris); }
.sombre .cible { color: rgba(247, 245, 240, .72); }
.prix { display: flex; align-items: baseline; gap: 8px; margin: 0 0 22px; }
.prix strong { font: 400 64px/1 var(--police-titre); }
.prix span { color: var(--gris); font-weight: 600; }
.sombre .prix span { color: rgba(247, 245, 240, .72); }
.formule .btn { margin-bottom: 24px; }
.sombre .liste-chevron svg { color: var(--soleil); }
.reassurance { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin: 22px 0 0; color: var(--gris); font-size: 15px; }
.reassurance i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.bande-equipe { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(860px, 100%); margin: 28px auto 0; padding: 28px 30px; border-radius: 28px; text-align: left; background: linear-gradient(100deg, #DCEBFF 0%, #F2E8E1 55%, #FFC9A4 100%); }
.bande-equipe h3 { font: 700 22px var(--police-texte); }
.bande-equipe p { margin: 4px 0 0; color: #3B3B52; max-width: 460px; }

/* ───────── 12. FAQ ───────── */
.faq { padding: 110px 0; }
.faq-grille { align-items: start; grid-template-columns: 1fr 1.25fr; }
.encore { margin-top: 40px; padding: 26px; border-radius: 26px; background: var(--carte-2); max-width: 400px; }
.avatars { display: flex; align-items: center; margin-bottom: 14px; }
.avatars .avatar { border: 3px solid var(--carte-2); margin-left: -8px; }
.avatars .avatar:first-child { margin-left: 0; }
.avatars .plus { margin: 0 6px; font-weight: 800; color: var(--gris); }
.avatars .toi { background: var(--envoyee); color: #fff; margin-left: 0; font-size: 12px; }
.encore h3 { font: 700 22px var(--police-texte); }
.encore p { margin: 4px 0 18px; color: var(--gris); }
.accordeon { display: grid; gap: 12px; }
.accordeon details { border-radius: 20px; background: #fff; border: 1px solid var(--ligne); }
.accordeon details[open] { background: var(--carte-2); border-color: transparent; }
.accordeon summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 17px; cursor: pointer; }
.accordeon summary::-webkit-details-marker { display: none; }
.accordeon summary::after { content: "+"; width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--carte-2); font-size: 20px; font-weight: 600; transition: transform .25s; }
.accordeon details[open] summary::after { content: "−"; background: var(--encre); color: var(--creme); }
.accordeon details p { margin: 0; padding: 0 22px 22px; color: #3B3B52; }

/* ───────── 13. CTA final et pied ───────── */
.final { padding: 140px 0 40px; overflow: hidden; background: linear-gradient(180deg, var(--creme) 0%, #BBD3F2 30%, #E9C8C8 60%, #FFC09A 85%, #FFD9A0 100%); }
.final-ciel { position: absolute; inset: 0; }
.final-ciel svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; }
.soleil-couchant { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; margin-left: -110px; border-radius: 50%; background: radial-gradient(circle, #FFD866 0 46%, rgba(255, 201, 74, 0) 70%); }
.final-texte { position: relative; }
.pied { position: relative; margin-top: 260px; }
.pied-carte { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; padding: 44px; border-radius: 32px; background: #fff; box-shadow: 0 30px 60px rgba(20, 20, 43, .12); }
.pied-marque img { height: 36px; width: auto; }
.pied-marque p { color: var(--gris); max-width: 300px; margin: 14px 0 22px; }
.pied-liens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pied-liens h3 { font: 700 16px var(--police-texte); margin-bottom: 12px; }
.pied-liens ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pied-liens a { color: var(--gris); }
.pied-liens a:hover { color: var(--encre); }
.nouveau { margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--encre); color: var(--creme); font-size: 11px; font-weight: 700; }
.credits { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid var(--ligne); font-size: 14px; color: var(--gris); }

/* ───────── Apparition au défilement (activée par js/site.js) ───────── */
.js [data-revele] { opacity: 0; transform: translateY(28px); }

/* ───────── Mobile ───────── */
@media (max-width: 900px) {
  .nav ul { display: none; }
  .nav { height: 58px; }
  .heros { padding-top: 120px; }
  .titre-heros { font-size: clamp(40px, 11vw, 60px); }
  .collines { width: 70vw; }
  .cadre-heros { margin-bottom: -60px; }
  .logos { padding-top: 110px; }
  .entete-deux { flex-direction: column; align-items: flex-start; }
  .entete-droite { text-align: left; justify-items: start; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bento-carte { min-height: 360px; }
  .b-efacture, .b-tresorerie { grid-column: auto; grid-row: auto; }
  .b-tresorerie { flex-direction: column; min-height: 520px; }
  .b-tres-texte { width: 100%; }
  .trois-cartes, .deux-colonnes, .faq-grille, .enveloppe-tarifs, .pied-carte { grid-template-columns: 1fr; }
  .aa-onglet { width: 120px; }
  .aa-cartes { min-height: 560px; }
  .aa-carte { grid-template-columns: 1fr; padding: 70px 24px 26px; align-content: start; }
  .chiffres-scene { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .chiffres-titre { position: static; transform: none; width: auto; grid-column: 1 / -1; margin-bottom: 20px; }
  .stat-carte { position: static; width: auto; height: 200px; }
  .s6 { width: auto; height: 200px; }
  .orbite { height: 320px; }
  .orbite-anneau span { transform: rotate(var(--a)) translateY(-200px) rotate(calc(-1 * var(--a))); width: 56px; height: 56px; left: -28px; top: -28px; }
  .orbite-anneau { top: 270px; }
  .orbite-centre { top: 110px; width: 96px; height: 96px; margin-left: -48px; }
  .orbite-texte { top: 230px; font-size: 22px; }
  .pied-liens { grid-template-columns: 1fr 1fr; }
  .bande-equipe { flex-direction: column; align-items: flex-start; }
  .pied { margin-top: 160px; }
  .heros-texte { padding: 0 20px; }
  .deux-colonnes, .faq-grille { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .etapes-carte { padding: 20px 14px; }
  .etapes-onglets button { padding: 0 12px; }
  .noeud { width: 54px; height: 54px; }
  .ic-noeud { width: 24px; height: 24px; }
  .pointilles { width: 26px; }
  .puce { width: 92px; height: 92px; border-radius: 24px; }
  .puce img { width: 64px; }
  .arbre-carte { padding: 30px 16px; }
  .arbre-bas { width: 100%; }
  .sceau { width: 88px; height: 88px; font-size: 10.5px; }
  .deux-chiffres { gap: 28px; }
  .entete-deux .btn { align-self: flex-start; }
  .mascotte { width: 64px; height: 58px; margin: -29px 0 0 -32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .mot-alterne span:first-child { opacity: 1; }
}
