/* AVYRA, feuille de style unique.
   Palette relevée sur le logo (pixels dominants) : bleu #0146A3, vert #40C17E.
   Règles du skill site-web : une seule courbe et une seule durée (C9), vert réservé
   au bouton principal et aux accents sur fond sombre, fond gris réservé à la section
   problème (C19), apparitions qui partent d'un état lisible (opacité 0,7),
   prefers-reduced-motion respecté (tout devient statique), aucun traceur.
   Assouplissements voulus par Khaled le 11/10 : quelques emojis dans les étapes, plus
   d'effets (fond du héros, pointeur lumineux, démonstration animée, barre de progression). */

:root {
  --bleu: #0146a3;
  --bleu-vif: #0a5bd1;
  --vert: #40c17e;
  --nuit: #04183a;
  --nuit-2: #0a2a63;
  --ciel: #eaf1fb;
  --papier: #f7f9fc;
  --blanc: #ffffff;
  --encre: #0b1a33;
  --gris: #55627c;
  --ligne: #dbe4f2;
  --probleme: #eceef2;
  --menthe: rgba(64, 193, 126, 0.28);

  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.5s;
  --rayon: 16px;
  --col: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6;
  color: var(--encre); background: var(--papier);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; color: var(--nuit); font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl { margin: 0; }

.wrap { width: 100%; max-width: var(--col); margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.aller-au-contenu {
  position: absolute; left: 12px; top: -60px; z-index: 80;
  background: var(--nuit); color: #fff; padding: 12px 16px; border-radius: 10px;
  transition: top 0.2s var(--ease);
}
.aller-au-contenu:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--bleu-vif); outline-offset: 3px; border-radius: 6px; }

/* Accent éditorial : serif italique, surligné d'un trait menthe */
.accent {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
  color: var(--bleu);
  background-image: linear-gradient(var(--menthe), var(--menthe));
  background-repeat: no-repeat; background-size: 100% 0.2em; background-position: 0 92%;
}
.sombre .accent { color: var(--vert); background-image: none; }

/* Barre de progression de lecture */
.progression {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none;
  background: linear-gradient(90deg, var(--bleu), var(--vert)); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Boutons : un vert, un seul rôle ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border: 0; border-radius: 12px; cursor: pointer; text-decoration: none;
  font: 800 1.02rem/1 var(--sans); letter-spacing: -0.005em; color: var(--nuit); background: var(--vert);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 10px 26px -12px rgba(64, 193, 126, 0.9);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn .fleche { display: inline-block; transition: transform 0.2s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 16px 30px -12px rgba(64, 193, 126, 1); }
.btn:hover .fleche { transform: translateX(6px); }
.btn:active { transform: translateY(0); }
.btn-petit { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn-pulse { position: relative; }
.btn-pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 15px; border: 2px solid var(--vert);
  opacity: 0; pointer-events: none; animation: anneau 3.2s var(--ease) 2s infinite;
}
@keyframes anneau { 0% { opacity: 0.65; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.12); } }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 60; background: rgba(247, 249, 252, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--ligne);
}
.entete .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.marque img { width: 48px; height: auto; }
.nav { display: none; gap: 26px; }
.nav a { color: var(--encre); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--bleu); }
.entete-cta { display: none; }
.hero-passe .entete-cta { display: inline-flex; animation: apparait var(--dur) var(--ease); }
html:not(.js) .entete-cta { display: inline-flex; }
@keyframes apparait { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lien-retour { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 700; color: var(--bleu); text-decoration: none; }
.lien-retour:hover { text-decoration: underline; }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 44px; background: linear-gradient(180deg, var(--ciel) 0%, var(--papier) 100%); }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; opacity: 0.55;
}
.hero::before { width: 360px; height: 360px; right: -80px; top: -60px; background: radial-gradient(circle, rgba(10, 91, 209, 0.35), transparent 70%); animation: derive 16s ease-in-out infinite alternate; }
.hero::after { width: 300px; height: 300px; left: -90px; bottom: -80px; background: radial-gradient(circle, rgba(64, 193, 126, 0.4), transparent 70%); animation: derive 20s ease-in-out infinite alternate-reverse; }
@keyframes derive { from { transform: translate(0, 0) scale(1); } to { transform: translate(-30px, 24px) scale(1.12); } }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grille { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 8.2vw, 3.9rem); }
.hero .promesse { margin: 20px 0 26px; font-size: 1.1rem; color: var(--gris); max-width: 34em; }
.hero .promesse strong { color: var(--encre); font-weight: 700; }
.micro { display: block; margin-top: 12px; font-size: 0.9rem; color: var(--gris); }

.faits { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; border-top: 1px solid var(--ligne); }
.fait { padding: 16px 12px 0 0; }
.fait + .fait { padding-left: 14px; border-left: 1px solid var(--ligne); }
.fait-num { display: block; font: italic 400 1.7rem/1 var(--serif); color: var(--bleu); }
.fait-txt { display: block; margin-top: 6px; font-size: 0.82rem; line-height: 1.35; font-weight: 600; color: var(--encre); }

/* Téléphone : demandes qui arrivent (illustration étiquetée « Exemple ») */
.telephone { position: relative; width: 100%; max-width: 330px; margin: 0 auto; border-radius: 34px; padding: 12px; background: linear-gradient(160deg, var(--nuit-2), var(--nuit)); box-shadow: 0 40px 70px -30px rgba(4, 24, 58, 0.55); }
.telephone-ecran { border-radius: 24px; background: #eef3fb; padding: 20px 14px 16px; min-height: 420px; position: relative; overflow: hidden; }
.telephone-ecran::before { content: ""; position: absolute; top: 8px; left: 50%; width: 78px; height: 6px; margin-left: -39px; background: #cfd9ea; border-radius: 6px; }
.heure { display: block; text-align: center; margin: 12px 0 10px; font-weight: 800; font-size: 2.2rem; color: var(--nuit); letter-spacing: -0.04em; }
.etiquette-exemple { position: absolute; top: 22px; right: 12px; padding: 3px 9px; border-radius: 999px; background: var(--blanc); color: var(--bleu); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.notif { display: flex; gap: 10px; align-items: center; background: var(--blanc); border-radius: 16px; padding: 11px 12px; margin-top: 8px; box-shadow: 0 10px 24px -14px rgba(4, 24, 58, 0.45); }
.notif img { width: 32px; height: 32px; border-radius: 8px; }
.notif b { display: block; font-size: 0.82rem; color: var(--nuit); }
.notif span { font-size: 0.74rem; color: var(--gris); }
.lead-carte { margin-top: 10px; background: var(--blanc); border-radius: 16px; padding: 12px 14px; box-shadow: 0 10px 24px -14px rgba(4, 24, 58, 0.45); }
.lead-ligne { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--ligne); font-size: 0.8rem; }
.lead-ligne:first-child { border-top: 0; }
.lead-ligne dt { color: var(--gris); }
.lead-ligne dd { margin: 0; font-weight: 700; color: var(--nuit); text-align: right; }
.flou { display: inline-block; width: 92px; height: 10px; border-radius: 6px; background: #c5d1e6; vertical-align: middle; }
.lead-appel { margin-top: 8px; display: block; text-align: center; padding: 10px; border-radius: 10px; background: var(--nuit); color: #fff; font-weight: 800; font-size: 0.84rem; }
.js .telephone .n1 { animation: glisse var(--dur) var(--ease) 0.3s both; }
.js .telephone .n2 { animation: glisse var(--dur) var(--ease) 0.8s both; }
.js .telephone .n3 { animation: glisse var(--dur) var(--ease) 1.3s both; }
.js .telephone .lead-carte { animation: glisse var(--dur) var(--ease) 1.8s both; }
@keyframes glisse { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ---------- Bande des 48 heures ---------- */
.bande-48 { padding: 34px 0; background: var(--nuit); color: #dce6f8; position: relative; overflow: hidden; }
.bande-48::before { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(64, 193, 126, 0.28), transparent 70%); }
.bande-48 .wrap { position: relative; display: grid; gap: 14px; align-items: center; }
.chiffre-48 { font: 800 clamp(3.2rem, 14vw, 5.4rem)/1 var(--sans); letter-spacing: -0.05em; color: #fff; }
.chiffre-48 small { font: italic 400 0.5em/1 var(--serif); color: var(--vert); margin-left: 8px; letter-spacing: 0; }
.bande-48 p { margin: 0; font-size: 1.1rem; max-width: 36em; color: #dce6f8; }
.bande-48 p strong { color: #fff; }
.chiffre-48 .avant { display: block; margin: 0 0 6px; font: 700 0.9rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: #9fb2d6; }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.titre-section { font-size: clamp(1.7rem, 5.6vw, 2.7rem); max-width: 22em; }
.titre-moyen { font-size: clamp(1.5rem, 4.4vw, 2.1rem); }
.intro { margin: 16px 0 0; max-width: 40em; color: var(--gris); font-size: 1.06rem; }
.sombre { background: var(--nuit); color: #dce6f8; }
.sombre h2, .sombre h3 { color: #fff; }
.sombre .intro { color: #b8c7e4; }
.fond-ciel { background: var(--ciel); }

/* Pointeur lumineux sur les cartes */
.fx { position: relative; overflow: hidden; }
.fx::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s var(--ease);
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(64, 193, 126, 0.16), transparent 62%);
}
.fx:hover::before { opacity: 1; }
.fx > * { position: relative; }

/* Trois portes */
.portes { display: grid; gap: 14px; margin-top: 30px; }
.porte {
  display: flex; flex-direction: column; gap: 10px; padding: 22px; min-height: 150px;
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); text-decoration: none; color: var(--encre);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.porte:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(1, 70, 163, 0.55); border-color: #b9cdea; }
.porte-num { font: italic 400 1.5rem/1 var(--serif); color: var(--bleu); }
.porte h3 { font-size: 1.12rem; line-height: 1.25; }
.porte p { margin: 0; color: var(--gris); font-size: 0.95rem; }
.porte .lien { margin-top: auto; font-weight: 800; color: var(--bleu); font-size: 0.95rem; }
.porte .lien .fleche { display: inline-block; transition: transform 0.2s var(--ease); }
.porte:hover .lien .fleche { transform: translateX(6px); }
.porte-vedette { background: var(--nuit); border-color: var(--nuit); color: #dce6f8; }
.porte-vedette h3, .porte-vedette .porte-num { color: #fff; }
.porte-vedette p { color: #b8c7e4; }
.porte-vedette .lien { color: var(--vert); }

/* ---------- Problème : blocs illustrés ---------- */
.probleme { background: var(--probleme); }
.blocs { display: grid; gap: 16px; margin-top: 32px; }
.bloc { background: var(--blanc); border: 1px solid #d7dbe3; border-radius: 20px; padding: 24px; display: grid; gap: 20px; align-content: start;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.bloc:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(4, 24, 58, 0.45); }
.bloc-num { display: inline-block; margin-bottom: 12px; font: 800 0.78rem/1 var(--sans); letter-spacing: 0.12em; color: #7a8394; }
.bloc h3 { font-size: 1.28rem; line-height: 1.2; }
.bloc p { margin: 10px 0 0; color: var(--gris); }
.bloc-resolu { background: linear-gradient(150deg, var(--bleu), #0a3a85); border-color: var(--bleu); }
.bloc-resolu .bloc-num { color: var(--vert); }
.bloc-resolu h3 { color: #fff; }
.bloc-resolu p { color: #d6e3fa; }

/* Illustration 1 : mois en dents de scie */
.mois { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 130px; padding-top: 6px; border-bottom: 2px solid #d7dbe3; }
.mois i { display: block; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #8aa6d4, #5f82bf); transform-origin: 50% 100%; }
.mois i:nth-child(1) { height: 72%; } .mois i:nth-child(2) { height: 34%; } .mois i:nth-child(3) { height: 88%; } .mois i:nth-child(4) { height: 14%; }
.mois i:nth-child(5) { height: 62%; } .mois i:nth-child(6) { height: 8%; } .mois i:nth-child(7) { height: 78%; } .mois i:nth-child(8) { height: 22%; }
.mois i:nth-child(9) { height: 92%; } .mois i:nth-child(10) { height: 12%; } .mois i:nth-child(11) { height: 58%; } .mois i:nth-child(12) { height: 30%; }
.mois-noms { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-top: 6px; font-size: 0.62rem; font-weight: 700; text-align: center; color: #8a93a5; }
.js .reveal .mois i { transform: scaleY(0.04); transition: transform 0.7s var(--ease); }
.js .reveal.is-in .mois i { transform: none; }
.js .reveal.is-in .mois i:nth-child(2) { transition-delay: .05s; } .js .reveal.is-in .mois i:nth-child(3) { transition-delay: .1s; }
.js .reveal.is-in .mois i:nth-child(4) { transition-delay: .15s; } .js .reveal.is-in .mois i:nth-child(5) { transition-delay: .2s; }
.js .reveal.is-in .mois i:nth-child(6) { transition-delay: .25s; } .js .reveal.is-in .mois i:nth-child(7) { transition-delay: .3s; }
.js .reveal.is-in .mois i:nth-child(8) { transition-delay: .35s; } .js .reveal.is-in .mois i:nth-child(9) { transition-delay: .4s; }
.js .reveal.is-in .mois i:nth-child(10) { transition-delay: .45s; } .js .reveal.is-in .mois i:nth-child(11) { transition-delay: .5s; } .js .reveal.is-in .mois i:nth-child(12) { transition-delay: .55s; }




/* ---------- Avec / sans AVYRA ---------- */
.comparaison { display: grid; gap: 16px; margin-top: 32px; }
.cote { padding: 26px 24px; border-radius: 20px; }
.cote h3 { font-size: 1.2rem; margin-bottom: 16px; }
.cote ul { display: grid; gap: 0; }
.cote li { position: relative; padding: 13px 0 13px 38px; border-top: 1px solid rgba(0, 0, 0, 0.08); font-size: 0.98rem; }
.cote li:first-child { border-top: 0; }
.cote li::before { content: ""; position: absolute; left: 0; top: 14px; width: 24px; height: 24px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 13px; }
.cote-sans { background: #eceef2; color: #4b566d; border: 1px solid #d7dbe3; }
.cote-sans h3 { color: #4b566d; }
.cote-sans li::before { background-color: #cfd5e1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b566d' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.cote-avec { background: linear-gradient(150deg, var(--bleu), #0a3a85); color: #eaf1ff; box-shadow: 0 30px 50px -34px rgba(1, 70, 163, 0.9); }
.cote-avec h3 { color: #fff; }
.cote-avec li { border-top-color: rgba(255, 255, 255, 0.18); font-weight: 600; }
.cote-avec li::before { background-color: var(--vert); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304183a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.badge-inclus { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--vert); color: var(--nuit); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: middle; }

/* ---------- Système : trois étapes et démonstration animée ---------- */
.systeme-grille { display: grid; gap: 34px; margin-top: 34px; align-items: center; }
.etapes { display: grid; gap: 12px; }
.etape {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px; background: var(--blanc);
  border: 1px solid var(--ligne); border-radius: var(--rayon); cursor: default;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.etape.actif { border-color: var(--vert); box-shadow: 0 20px 36px -26px rgba(64, 193, 126, 0.95); transform: translateX(4px); }
.etape-emoji { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: var(--ciel); }
.etape.actif .etape-emoji { background: var(--nuit); }
.etape h3 { font-size: 1.15rem; }
.etape p { margin: 6px 0 0; color: var(--gris); font-size: 0.97rem; }
.etape-fin { margin-top: 20px; font-weight: 700; color: var(--nuit); }

.demo { position: relative; width: 100%; max-width: 300px; margin: 0 auto; border-radius: 32px; padding: 11px; background: linear-gradient(160deg, var(--nuit-2), var(--nuit)); box-shadow: 0 40px 70px -32px rgba(4, 24, 58, 0.6); }
.demo-ecran { position: relative; height: 470px; border-radius: 23px; overflow: hidden; background: #eef3fb; }
.scene { position: absolute; inset: 0; opacity: 0; transform: scale(0.97); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); pointer-events: none; }
.scene.on { opacity: 1; transform: none; }
.demo-etiquette { position: absolute; z-index: 3; top: 12px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: rgba(4, 24, 58, 0.78); color: #fff; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.demo-points { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.demo-points i { width: 8px; height: 8px; border-radius: 50%; background: #c3cee3; transition: background var(--dur) var(--ease), width var(--dur) var(--ease); }
.demo-points i.on { width: 22px; border-radius: 6px; background: var(--vert); }

/* Scène 1 : la vidéo */
.s-video { background: linear-gradient(160deg, #0a3a85, var(--nuit)); color: #fff; padding: 56px 20px 22px; display: grid; align-content: space-between; }
.s-video .accroche { font-size: 1.5rem; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.s-video .accroche em { font: italic 400 1em/1.1 var(--serif); color: var(--vert); }
.s-video .lecture { margin-top: 18px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.s-video .lecture i { display: block; height: 100%; width: 0; background: var(--vert); }
.scene.on .lecture i { width: 100%; transition: width 3s linear; }
.s-video .cta-fake { margin-top: 16px; padding: 12px; text-align: center; border-radius: 10px; background: #fff; color: var(--nuit); font-weight: 800; font-size: 0.88rem; }

/* Scène 2 : le formulaire qui trie */
.s-form { padding: 52px 16px 16px; display: grid; gap: 10px; align-content: start; }
.s-form h4 { margin: 0 0 4px; font-size: 1rem; color: var(--nuit); }
.q { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; border-radius: 12px; background: #fff; border: 1.5px solid #c9d5ea; font-size: 0.84rem; font-weight: 600; color: var(--encre); opacity: 0.35; transition: opacity 0.4s var(--ease), border-color 0.4s var(--ease); }
.q b { width: 20px; height: 20px; border-radius: 50%; background: #dfe5f0; flex: none; }
.scene.on .q { opacity: 1; border-color: var(--vert); }
.scene.on .q b { background: var(--vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304183a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.scene.on .q:nth-of-type(1) { transition-delay: 0.3s; } .scene.on .q:nth-of-type(2) { transition-delay: 0.9s; } .scene.on .q:nth-of-type(3) { transition-delay: 1.5s; }
.s-form .envoi { margin-top: 6px; padding: 12px; text-align: center; border-radius: 10px; background: var(--vert); color: var(--nuit); font-weight: 800; font-size: 0.88rem; }
.s-form .tri { margin-top: 4px; font-size: 0.74rem; color: var(--gris); text-align: center; }

/* Scène 3 : la demande arrive */
.s-recu { padding: 52px 14px 16px; background: #eef3fb; }
.s-recu .notif { margin-top: 0; }
.s-recu .lead-carte { margin-top: 10px; }

/* ---------- Preuve : deux vrais sites ---------- */
.realisations { display: grid; gap: 22px; margin-top: 30px; }
.realisation { display: block; text-decoration: none; color: var(--encre); }
.cadre { border-radius: 12px; overflow: hidden; background: var(--blanc); border: 1px solid var(--ligne); box-shadow: 0 24px 44px -28px rgba(4, 24, 58, 0.5); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.cadre-barre { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #e9eef7; border-bottom: 1px solid var(--ligne); }
.cadre-barre i { width: 9px; height: 9px; border-radius: 50%; background: #c3cee3; }
.cadre-barre span { margin-left: 8px; font-size: 0.75rem; color: var(--gris); font-weight: 600; }
.realisation:hover .cadre { transform: translateY(-4px); box-shadow: 0 30px 50px -28px rgba(4, 24, 58, 0.6); }
.realisation .legende { margin-top: 14px; font-size: 0.95rem; color: var(--gris); }
.realisation .legende strong { display: block; color: var(--nuit); font-size: 1.02rem; }


/* Contrat */
.engagement { margin-top: 28px; padding: 26px 24px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--rayon); background: rgba(255, 255, 255, 0.04); }
.engagement p { margin: 0 0 12px; font-size: 1.12rem; color: #fff; }
.engagement p:last-child { margin: 0; font-size: 0.96rem; color: #b8c7e4; }

/* Sélection */
.criteres { margin-top: 24px; display: grid; gap: 10px; }
.criteres li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 12px; font-weight: 600; }
.criteres li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; background: var(--bleu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.honnete { margin-top: 22px; max-width: 40em; color: var(--encre); font-size: 1.08rem; }

/* Fondateur */
.fondateur { display: grid; gap: 22px; align-items: center; }
.fondateur-pastille { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--blanc); border: 1px solid var(--ligne); box-shadow: 0 14px 26px -16px rgba(4, 24, 58, 0.5); }
.fondateur-pastille img { width: 52px; height: 52px; }
.reseaux { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.reseaux a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ligne); background: var(--blanc); text-decoration: none; font-weight: 700; font-size: 0.93rem; color: var(--nuit); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.reseaux a:hover { border-color: var(--bleu); transform: translateY(-2px); }

/* FAQ */
.faq { margin-top: 28px; border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.04rem; color: var(--nuit); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2px solid var(--bleu); border-bottom: 2px solid var(--bleu); transform: rotate(45deg); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .reponse { padding: 0 0 22px; max-width: 42em; color: var(--gris); }
.faq .reponse strong { color: var(--encre); }

/* Contact */
.contact { background: linear-gradient(180deg, var(--papier), var(--ciel)); }
.contact-grille { display: grid; gap: 30px; }
.formulaire { display: grid; gap: 16px; padding: 24px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 18px; box-shadow: 0 30px 60px -40px rgba(4, 24, 58, 0.55); }
.champ { display: grid; gap: 6px; }
.champ label { font-weight: 700; font-size: 0.93rem; color: var(--nuit); }
.champ .aide { font-size: 0.82rem; color: var(--gris); }
.champ input, .champ select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c9d5ea; border-radius: 10px; font: 500 1rem/1.2 var(--sans); color: var(--encre); background: #fbfcfe; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.champ input:focus, .champ select:focus { outline: none; border-color: var(--bleu-vif); box-shadow: 0 0 0 4px rgba(10, 91, 209, 0.16); }
.champ-case { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--gris); }
.champ-case input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--bleu); }
.piege { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.formulaire .btn { width: 100%; }
.alt-contact { margin-top: 18px; font-size: 0.95rem; color: var(--gris); }
.alt-contact a { display: inline-block; padding: 12px 0; font-weight: 700; }

/* Pied */
.pied { padding: 40px 0 46px; background: var(--blanc); border-top: 1px solid var(--ligne); font-size: 0.93rem; color: var(--gris); }
.pied-grille { display: grid; gap: 24px; }
.pied img { width: 64px; }
.pied ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
.pied a { color: var(--nuit); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.pied small { display: block; margin-top: 18px; color: var(--gris); }

/* Pages légales, merci, 404 */
.page-simple { padding: 56px 0 72px; background: var(--blanc); }
.page-simple .wrap { max-width: 780px; }
.page-simple h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); margin-bottom: 8px; }
.page-simple h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.page-simple p, .page-simple li { color: #2a3753; }
.page-simple ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.page-simple li { margin-bottom: 6px; }
.maj { color: var(--gris); font-size: 0.92rem; }
.a-completer { background: #fff3cd; padding: 1px 6px; border-radius: 4px; font-weight: 700; }

/* Apparitions au défilement : départ lisible, jamais caché */
.js .reveal { opacity: 0.7; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Largeurs ---------- */
@media (min-width: 700px) {
  .portes { grid-template-columns: repeat(3, 1fr); }
  .realisations { grid-template-columns: 1fr 1fr; }
  .blocs { grid-template-columns: repeat(2, 1fr); }
  .bloc-large { grid-column: span 2; grid-template-columns: 1.1fr 1fr; align-items: center; }
  .comparaison { grid-template-columns: 1fr 1fr; }
  .criteres { grid-template-columns: 1fr 1fr; }
  .fondateur { grid-template-columns: auto 1fr; gap: 30px; }
  .formulaire { grid-template-columns: 1fr 1fr; }
  .formulaire .plein { grid-column: 1 / -1; }
  .pied-grille { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .fait-txt { font-size: 0.9rem; }
  .bande-48 .wrap { grid-template-columns: auto 1fr; gap: 34px; }
}
@media (min-width: 940px) {
  body { font-size: 18px; }
  .wrap { padding: 0 32px; }
  .nav { display: flex; }
  .hero { padding: 76px 0 80px; }
  .hero-grille { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .systeme-grille { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .contact-grille { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
  section { padding: 88px 0; }
  .bande-48 { padding: 44px 0; }
}

/* Mouvement réduit : tout est statique, rien n'est caché */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal .mois i, .js .reveal .pf-pro, .js .reveal .sc-t, .js .reveal .cr-barres i, .js .reveal .phase { opacity: 1; transform: none; }
  .progression { display: none; }
}


/* ======================================================================
   Version du 11/10 (soir, retours de Khaled) : schémas refaits, comparatif,
   apports, phases, histoire du fondateur.
   ====================================================================== */

/* Problème 02 : une plateforme de devis, une demande, plusieurs artisans */
.plateforme { display: grid; gap: 8px; }
.pf-devis { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--ciel); border: 1px solid #c9d8f0; }
.pf-devis svg { flex: none; width: 30px; height: 36px; }
.pf-devis b { display: block; font-size: 0.9rem; color: var(--nuit); }
.pf-devis span { font-size: 0.76rem; color: var(--gris); }
.pf-pro { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid #d7dbe3; }
.pf-av { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #e3e8f1; display: grid; place-items: center; }
.pf-av svg { width: 19px; height: 19px; }
.pf-nom { flex: 1; height: 9px; border-radius: 5px; background: #e3e8f1; }
.pf-pro em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 0.7rem; font-weight: 800; color: var(--bleu); background: var(--ciel); padding: 4px 9px; border-radius: 999px; }
.pf-pro.vous { border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(1, 70, 163, 0.1); }
.pf-pro.vous .pf-av { background: var(--bleu); }
.js .reveal .pf-pro { opacity: 0.25; transform: translateX(-14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js .reveal.is-in .pf-pro { opacity: 1; transform: none; }
.js .reveal.is-in .pf-pro:nth-child(3) { transition-delay: 0.12s; } .js .reveal.is-in .pf-pro:nth-child(4) { transition-delay: 0.24s; } .js .reveal.is-in .pf-pro:nth-child(5) { transition-delay: 0.36s; }

/* Problème 03 : une semaine trop pleine, pas de place pour chercher des clients */
.surcharge { display: grid; gap: 12px; }
.sc-titre { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8a93a5; }
.sc-pile { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-t { --r: -1.5deg; padding: 9px 13px; border-radius: 10px; font-size: 0.82rem; font-weight: 700; color: #fff; background: #5f82bf; transform: rotate(var(--r)); }
.sc-t:nth-child(2) { background: #0146a3; --r: 1.2deg; } .sc-t:nth-child(3) { background: #6f8fcb; --r: -0.8deg; }
.sc-t:nth-child(4) { background: #0a3a85; --r: 1.6deg; } .sc-t:nth-child(5) { background: #7d9ad0; --r: -1.2deg; } .sc-t:nth-child(6) { background: #35599a; --r: 0.8deg; }
.sc-vide { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 2px dashed #c3cadb; color: #8a93a5; font-weight: 700; font-size: 0.84rem; }
.sc-vide svg { flex: none; width: 20px; height: 20px; }
.sc-vide em { margin-left: auto; font-style: normal; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #b3412f; background: #fbe9e5; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.js .reveal .sc-t { opacity: 0; transform: translateY(-16px) rotate(var(--r)); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.js .reveal.is-in .sc-t { opacity: 1; transform: rotate(var(--r)); }
.js .reveal.is-in .sc-t:nth-child(2) { transition-delay: 0.08s; } .js .reveal.is-in .sc-t:nth-child(3) { transition-delay: 0.16s; }
.js .reveal.is-in .sc-t:nth-child(4) { transition-delay: 0.24s; } .js .reveal.is-in .sc-t:nth-child(5) { transition-delay: 0.32s; } .js .reveal.is-in .sc-t:nth-child(6) { transition-delay: 0.4s; }

/* Problème 04 : la croissance prévisible, réglable */
.croissance { display: grid; gap: 12px; }
.cr-barres { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 150px; gap: 6px; align-items: end; height: 150px; border-bottom: 2px solid rgba(255, 255, 255, 0.35); }
.cr-barres i { display: block; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #8ff5c0, var(--vert)); height: calc(var(--b) * var(--k, 0.75) * 1.5px); transform-origin: 50% 100%; transition: height 0.08s linear; }
.cr-barres i:nth-child(1) { --b: 30; } .cr-barres i:nth-child(2) { --b: 35; } .cr-barres i:nth-child(3) { --b: 41; } .cr-barres i:nth-child(4) { --b: 47; }
.cr-barres i:nth-child(5) { --b: 53; } .cr-barres i:nth-child(6) { --b: 60; } .cr-barres i:nth-child(7) { --b: 67; } .cr-barres i:nth-child(8) { --b: 74; }
.cr-barres i:nth-child(9) { --b: 81; } .cr-barres i:nth-child(10) { --b: 88; } .cr-barres i:nth-child(11) { --b: 94; } .cr-barres i:nth-child(12) { --b: 100; }
.cr-mois { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; font-size: 0.62rem; font-weight: 700; text-align: center; color: #9fc0f5; }
.cr-reglage { display: grid; gap: 8px; margin-top: 4px; }
.cr-reglage > span { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.cr-reglage b { font-weight: 600; letter-spacing: 0; text-transform: none; color: #b9d0f5; }
.cr-reglage input { width: 100%; height: 28px; accent-color: var(--vert); cursor: pointer; }
.js .reveal .cr-barres i { transform: scaleY(0.05); }
.js .reveal.is-in .cr-barres i { transform: none; animation: monte 0.7s var(--ease) both; }
@keyframes monte { from { transform: scaleY(0.05); } to { transform: none; } }
.js .reveal.is-in .cr-barres i:nth-child(2) { animation-delay: 0.05s; }
.js .reveal.is-in .cr-barres i:nth-child(3) { animation-delay: 0.10s; }
.js .reveal.is-in .cr-barres i:nth-child(4) { animation-delay: 0.15s; }
.js .reveal.is-in .cr-barres i:nth-child(5) { animation-delay: 0.20s; }
.js .reveal.is-in .cr-barres i:nth-child(6) { animation-delay: 0.25s; }
.js .reveal.is-in .cr-barres i:nth-child(7) { animation-delay: 0.30s; }
.js .reveal.is-in .cr-barres i:nth-child(8) { animation-delay: 0.35s; }
.js .reveal.is-in .cr-barres i:nth-child(9) { animation-delay: 0.40s; }
.js .reveal.is-in .cr-barres i:nth-child(10) { animation-delay: 0.45s; }
.js .reveal.is-in .cr-barres i:nth-child(11) { animation-delay: 0.50s; }
.js .reveal.is-in .cr-barres i:nth-child(12) { animation-delay: 0.55s; }

/* Comparatif : « avec AVYRA » en évidence */
.marque-avec { display: inline; background: var(--bleu); color: #fff; padding: 0.02em 0.3em 0.1em; border-radius: 0.28em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.surligne { color: #fff; font-weight: 800; background: linear-gradient(transparent 58%, rgba(64, 193, 126, 0.7) 58%); padding: 0 2px; }
.cote-avec h3 { font-size: 1.5rem; }
.cote-avec h3::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--vert); margin-top: 10px; }

/* Ce que ça change pour vous */
.apports { display: grid; gap: 14px; margin-top: 30px; }
.apport { padding: 24px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--ligne); display: grid; gap: 12px; align-content: start; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.apport:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(1, 70, 163, 0.55); }
.apport-ico { width: 52px; height: 52px; border-radius: 15px; background: var(--ciel); display: grid; place-items: center; }
.apport-ico svg { width: 27px; height: 27px; fill: none; stroke: var(--bleu); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.apport h3 { font-size: 1.18rem; }
.apport p { margin: 0; color: var(--gris); }

/* Phases : frise verticale sur mobile, horizontale sur ordinateur */
.phases { display: grid; margin-top: 34px; }
.phase { position: relative; padding: 0 0 30px 68px; }
.phase::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; background: linear-gradient(var(--bleu), rgba(1, 70, 163, 0.12)); }
.phase:last-child::before { display: none; }
.phase-num { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bleu); color: #fff; font: italic 400 1.35rem/1 var(--serif); box-shadow: 0 12px 22px -10px rgba(1, 70, 163, 0.85); }
.phase-badge { display: inline-block; margin-bottom: 8px; padding: 4px 11px; border-radius: 999px; background: var(--ciel); color: var(--bleu); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.03em; }
.phase h3 { font-size: 1.22rem; }
.phase ul { margin-top: 10px; display: grid; gap: 7px; }
.phase li { position: relative; padding-left: 20px; color: var(--gris); font-size: 0.97rem; }
.phase li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--vert); }
.phase-note { margin: 8px 0 0; font-size: 0.85rem; color: #8a93a5; }

/* Histoire du fondateur */
.histoire { display: grid; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--ligne); box-shadow: 0 30px 60px -40px rgba(4, 24, 58, 0.5); }
.histoire-cote { padding: 32px 26px; background: linear-gradient(150deg, var(--nuit), var(--nuit-2)); color: #fff; display: grid; align-content: space-between; gap: 26px; }
.histoire-cote q { display: block; quotes: none; font: italic 400 clamp(1.6rem, 5.4vw, 2.1rem)/1.2 var(--serif); color: #fff; }
.histoire-cote q em { color: var(--vert); }
.qui { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 0.98rem; }
.qui img { width: 50px; height: 50px; border-radius: 50%; background: #fff; padding: 6px; }
.qui small { font-weight: 500; color: #b9c8e6; font-size: 0.82rem; }
.histoire-texte { padding: 28px 26px 30px; }
.histoire-texte h2 { margin-bottom: 0.6em; }
.histoire-texte p { color: var(--encre); font-size: 1.03rem; }

@media (min-width: 700px) {
  .apports { grid-template-columns: 1fr 1fr; }
  .histoire { grid-template-columns: 0.9fr 1.1fr; }
  .histoire-cote, .histoire-texte { padding: 38px 34px; }
}
@media (min-width: 940px) {
  .phases { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .phase { padding: 72px 0 0 0; }
  .phase::before { left: 52px; right: -22px; top: 23px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--bleu), rgba(1, 70, 163, 0.18)); }
  .phase:last-child::before { display: none; }
}


/* ======================================================================
   Finition (retours de Khaled, 11/10 soir) : lisibilité, rythme, profondeur.
   ====================================================================== */
body { line-height: 1.68; }
.titre-section { font-size: clamp(1.85rem, 5.8vw, 3rem); line-height: 1.08; }
.intro { font-size: 1.12rem; color: #46536f; max-width: 38em; }
.sombre .intro { color: #c3d1ee; }

/* Étiquette au-dessus des titres : un trait vert, un texte discret */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 800 0.74rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bleu); }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--vert); }
.sombre .kicker { color: #9fc0f5; }

/* Panneaux flottants : les sections colorées deviennent de grandes cartes arrondies */
.bande-48, .probleme, .fond-ciel, .sombre, .contact { margin: 0 10px; border-radius: 28px; }
.contact { border: 1px solid var(--ligne); }
.bande-48 { margin-top: -18px; position: relative; z-index: 2; }
.hero { padding-bottom: 64px; }
@media (min-width: 940px) {
  .bande-48, .probleme, .fond-ciel, .sombre, .contact { margin: 0 24px; border-radius: 40px; }
  .bande-48 { margin-top: -30px; }
  .hero { padding-bottom: 88px; }
}

/* Fond pointillé discret */
.hero, .fond-ciel {
  background-image: radial-gradient(rgba(1, 70, 163, 0.1) 1px, transparent 1.2px);
  background-size: 24px 24px;
}
.hero { background-color: var(--ciel); background-image: radial-gradient(rgba(1, 70, 163, 0.1) 1px, transparent 1.2px), linear-gradient(180deg, var(--ciel) 0%, var(--papier) 100%); background-size: 24px 24px, 100% 100%; }
.fond-ciel { background-color: var(--ciel); }
.probleme { background-image: radial-gradient(rgba(4, 24, 58, 0.07) 1px, transparent 1.2px); background-size: 24px 24px; }
.sombre { background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px), linear-gradient(160deg, var(--nuit), #072250); background-size: 24px 24px, 100% 100%; }

/* Bouton : reflet qui balaie au survol (sans pseudo-élément, pour garder l'anneau) */
.btn {
  background-image: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%), linear-gradient(var(--vert), var(--vert));
  background-size: 260% 100%, 100% 100%; background-position: 130% 0, 0 0; background-repeat: no-repeat;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-position 0.9s var(--ease);
}
.btn:hover { background-position: -30% 0, 0 0; }

/* Cartes : même profondeur partout */
.porte, .apport, .bloc, .cadre, .etape, .criteres li { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 12px 28px -22px rgba(4, 24, 58, 0.35); }
.hero h1 { letter-spacing: -0.035em; }
.hero h1 .accent { padding: 0 0.04em; }

/* Apparitions échelonnées : chaque carte d'un groupe arrive après la précédente */
.js .reveal.is-in { transition-delay: calc(var(--d, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal.is-in { transition-delay: 0s; }
  .btn { transition: none !important; }
}


/* ======================================================================
   Mouvement et dynamisme (retours de Khaled, 11/10 nuit)
   ====================================================================== */

/* Haut de page : téléphone qui flotte, puces, notifications qui se renouvellent, défilé des métiers */
.telephone { animation: flotte-tel 7s ease-in-out infinite alternate; }
@keyframes flotte-tel { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.puce { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px 9px 10px; border-radius: 999px; background: #fff; color: var(--nuit); font-size: 0.78rem; font-weight: 800; box-shadow: 0 16px 30px -14px rgba(4, 24, 58, 0.5); border: 1px solid var(--ligne); }
.puce svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--vert); color: var(--nuit); }
.puce-1 { left: -34px; top: 74px; animation: flotte-a 5.5s ease-in-out infinite alternate; }
.puce-2 { right: 22px; bottom: -18px; animation: flotte-a 6.5s ease-in-out -2s infinite alternate; }
@keyframes flotte-a { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@media (max-width: 699px) { .puce { display: none; } }
.notif.rejoue { animation: glisse 0.5s var(--ease) both !important; }
.defile { margin-top: 46px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.defile-piste { display: flex; gap: 12px; width: max-content; animation: defile 42s linear infinite; }
.defile span { flex: none; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--ligne); font-weight: 700; font-size: 0.9rem; color: var(--nuit); }
@keyframes defile { to { transform: translateX(-50%); } }

/* 48 heures : barre qui se remplit en même temps que le chiffre monte */
.barre-48 { margin-top: 16px; height: 6px; max-width: 360px; border-radius: 6px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.barre-48 i { display: block; height: 100%; width: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--vert), #9ff5c6); transform-origin: 0 50%; transform: scaleX(0); }
.barre-48-legende { display: flex; justify-content: space-between; max-width: 360px; margin-top: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9fb2d6; }

/* Où en êtes-vous : icône, ligne « si c'est vous », survol vivant */
.porte { position: relative; overflow: hidden; transform-style: preserve-3d; }
.porte-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--ciel); display: grid; place-items: center; transition: transform 0.4s var(--ease), background 0.4s var(--ease); }
.porte-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--bleu); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s var(--ease); }
.porte-vedette .porte-ico { background: rgba(255, 255, 255, 0.12); }
.porte-vedette .porte-ico svg { stroke: var(--vert); }
.porte:hover .porte-ico, .porte:focus-visible .porte-ico { transform: rotate(-8deg) scale(1.12); background: var(--vert); }
.porte:hover .porte-ico svg, .porte:focus-visible .porte-ico svg { stroke: var(--nuit); }
.porte-num { position: absolute; right: 20px; top: 16px; font-size: 2.6rem; opacity: 0.12; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease); }
.porte:hover .porte-num { transform: scale(1.18) rotate(-4deg); opacity: 0.24; }
.porte-si { display: block; margin-top: 2px; padding-top: 12px; border-top: 1px dashed var(--ligne); font-size: 0.88rem; font-style: italic; color: var(--gris); transition: color 0.3s var(--ease); }
.porte-vedette .porte-si { border-top-color: rgba(255, 255, 255, 0.25); color: #b8c7e4; }
.porte:hover .porte-si { color: var(--bleu); }
.porte-vedette:hover .porte-si { color: var(--vert); }
.porte:hover, .porte:focus-visible { border-color: var(--vert); box-shadow: 0 0 0 3px rgba(64, 193, 126, 0.22), 0 26px 44px -26px rgba(1, 70, 163, 0.6); }
.porte:active { transform: scale(0.985); }
.porte { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.porte:hover { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }

/* Parcours : cinq étapes, une frise qui se trace, l'étape active qui avance */
@media (min-width: 940px) { .phases { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.phase { cursor: pointer; }
.phase::before { transform: scale(0, 1); transform-origin: 0 50%; }
.phase.is-in::before { transform: none; transition: transform 0.9s var(--ease) calc(var(--d, 0) * 0.28s + 0.25s); }
@media (max-width: 939px) { .phase::before { transform: scale(1, 0); transform-origin: 50% 0; } .phase.is-in::before { transform: none; } }
.phase-num { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease); }
.phase.actif .phase-num { transform: scale(1.18); background: var(--vert); color: var(--nuit); box-shadow: 0 0 0 7px rgba(64, 193, 126, 0.25), 0 14px 24px -10px rgba(64, 193, 126, 0.9); }
.phase h3 { font-size: 1.3rem; transition: color 0.3s var(--ease); }
.phase.actif h3 { color: var(--bleu); }
.phase.actif .phase-badge { background: var(--nuit); color: #fff; }
.phase-badge { transition: background 0.3s var(--ease), color 0.3s var(--ease); }
@media (min-width: 940px) {
  .phase { padding: 78px 14px 18px; border-radius: 20px; transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease); }
  .phase.actif { background: #fff; box-shadow: 0 26px 44px -30px rgba(1, 70, 163, 0.55); }
  .phase-num { left: 14px; }
  .phase::before { left: 66px; right: -16px; }
}

/* FAQ : cartes, icônes, ouverture animée */
.faq { border-top: 0; display: grid; gap: 12px; margin-top: 32px; }
.faq details { border: 1px solid var(--ligne); border-radius: 20px; background: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 12px 28px -22px rgba(4, 24, 58, 0.35); transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease); }
.faq details:hover { border-color: #b9cdea; }
.faq details[open] { border-color: var(--vert); background: linear-gradient(180deg, #fff, #f2fbf6); box-shadow: 0 26px 44px -30px rgba(64, 193, 126, 0.8); }
.faq summary { display: flex; align-items: center; gap: 14px; padding: 16px 56px 16px 18px; font-size: 1.06rem; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin: -11px 0 0; border: 0; border-radius: 50%; transform: none; background: linear-gradient(var(--bleu), var(--bleu)) center / 10px 2px no-repeat, linear-gradient(var(--bleu), var(--bleu)) center / 2px 10px no-repeat, var(--ciel); transition: transform 0.3s var(--ease), background-color 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); margin-top: -11px; background-color: var(--vert); }
.faq-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--ciel); display: grid; place-items: center; color: var(--bleu); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.faq-ico svg { width: 23px; height: 23px; }
.faq details[open] .faq-ico { background: var(--nuit); color: var(--vert); }
.faq .reponse { padding: 0 24px 22px 76px; max-width: none; }
.faq .reponse .lead { margin: 0 0 6px; font-size: 1.12rem; font-weight: 800; color: var(--nuit); letter-spacing: -0.01em; }
.faq .reponse p { margin: 0 0 0.6em; }
.faq details[open] .reponse { animation: ouvre 0.4s var(--ease); }
@keyframes ouvre { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .faq .reponse { padding: 0 18px 20px 18px; } .faq summary { padding-right: 52px; } }

@media (prefers-reduced-motion: reduce) {
  .telephone, .puce, .defile-piste { animation: none !important; }
  .defile-piste { flex-wrap: wrap; width: auto; }
  .barre-48 i { transform: none; }
  .phase::before { transform: none; }
  .porte, .porte:hover { transform: none; }
}

.bande-48 .wrap > .reveal:first-child { min-width: min(360px, 100%); }


/* Transition entre le constat (trois façons de dépendre) et la solution */
.pont { display: grid; justify-items: center; gap: 10px; margin: 44px 0 26px; text-align: center; }
.pont-trait { width: 2px; height: 34px; background: linear-gradient(transparent, #9aa4b8); }
.pont-titre { font-size: clamp(1.5rem, 4.8vw, 2.3rem); max-width: 18em; }
.pont-fleche { width: 14px; height: 14px; border-right: 3px solid var(--bleu); border-bottom: 3px solid var(--bleu); transform: rotate(45deg); margin-top: 4px; animation: descend 1.8s ease-in-out infinite; }
@keyframes descend { 0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.5; } 50% { transform: translateY(8px) rotate(45deg); opacity: 1; } }
.blocs-solution { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .pont-fleche { animation: none !important; } }


/* ===== Ajouts du 11/10/2026 : vidéo d'accueil, bouton WhatsApp, bloc « à l'appel », « Aller plus loin », pages outils ===== */
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.video-bloc { padding: 8px 0 40px; }
.video-bloc .wrap { max-width: 980px; }
.video-cadre { position: relative; border-radius: 22px; overflow: hidden; background: var(--nuit); box-shadow: 0 40px 70px -40px rgba(4, 24, 58, 0.55); aspect-ratio: 16 / 9; }
.video-cadre video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--nuit); }
.video-lecture { display: none; position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: linear-gradient(0deg, rgba(4, 24, 58, 0.18) 0%, rgba(4, 24, 58, 0) 40%); cursor: pointer; }
.js .video-lecture { display: block; }
.video-lecture[hidden] { display: none !important; }
.video-triangle { position: absolute; left: 18px; bottom: 18px; width: 64px; height: 64px; border-radius: 50%; background: var(--vert); box-shadow: 0 14px 30px -10px rgba(4, 24, 58, 0.6); transition: transform 0.2s var(--ease); }
.video-triangle::after { content: ""; position: absolute; left: 25px; top: 19px; border-left: 21px solid var(--nuit); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video-lecture:hover .video-triangle { transform: scale(1.07); }
.video-lecture:focus-visible { outline: 4px solid var(--vert); outline-offset: -4px; }
.video-duree { position: absolute; left: 92px; bottom: 28px; padding: 9px 18px; border-radius: 99px; background: rgba(255, 255, 255, 0.96); color: var(--nuit); font-weight: 800; font-size: 0.95rem; }
.video-texte { margin-top: 12px; font-size: 0.92rem; color: var(--gris); }
.video-texte summary { cursor: pointer; font-weight: 700; color: var(--bleu); min-height: 44px; display: flex; align-items: center; }
.video-texte p { max-width: 62em; }
.wa-flot { position: fixed; right: 16px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -8px rgba(4, 24, 58, 0.5); z-index: 40; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.wa-flot svg { width: 34px; height: 34px; }
.wa-flot:hover { transform: scale(1.06); }
.wa-flot:focus-visible { outline: 4px solid var(--nuit); outline-offset: 3px; }
.js .wa-flot { opacity: 0; pointer-events: none; transform: translateY(12px); }
.js.hero-passe .wa-flot { opacity: 1; pointer-events: auto; transform: none; }
.appel { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: var(--blanc); border: 1px solid var(--ligne); max-width: 34em; }
.appel-titre { margin: 0 0 8px; font-weight: 800; color: var(--nuit); }
.appel-liste { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.appel-liste li { position: relative; padding-left: 28px; color: #2a3753; }
.appel-liste li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: var(--vert); }
.appel-liste li::after { content: ""; position: absolute; left: 5px; top: calc(0.35em + 3px); width: 5px; height: 8px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg); }
.appel-note { margin: 0; font-size: 0.9rem; color: var(--gris); }
.plus-loin { padding: 36px 0; background: var(--papier); }
.plus-loin .kicker { margin-bottom: 18px; }
.plus-loin-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plus-loin-liste a { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--blanc); border: 1px solid var(--ligne); text-decoration: none; color: var(--nuit); transition: transform 0.2s var(--ease), border-color 0.2s var(--ease); min-height: 44px; }
.plus-loin-liste a:hover { transform: translateY(-2px); border-color: var(--bleu); }
.plus-loin-liste b { font-size: 1.05rem; }
.plus-loin-liste span { color: var(--gris); font-size: 0.93rem; }
@media (min-width: 860px) { .plus-loin-liste { grid-template-columns: repeat(3, 1fr); } }
/* pages outils : simulateur, compatibilité, classeur */
.page-outil { padding: 48px 0 72px; background: var(--papier); }
.page-outil .wrap { max-width: 900px; }
.page-outil h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin-bottom: 12px; }
.page-outil .intro { margin-top: 0; }
.page-outil h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.outil-grille { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 820px) { .outil-grille { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.carte-outil { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 18px; padding: 24px; box-shadow: 0 30px 60px -44px rgba(4, 24, 58, 0.5); }
.carte-outil .champ { margin-bottom: 16px; }
.carte-outil .champ:last-child { margin-bottom: 0; }
.resultat { background: linear-gradient(150deg, var(--bleu), #0a3a85); color: #eaf1ff; border-color: transparent; }
.resultat h2 { color: #fff; margin: 0 0 14px; font-size: 1.1rem; }
.res-ligne { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.res-ligne span { color: #cfe0fb; }
.res-ligne b { font-size: 1.15rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.res-grand { font-size: 1.9rem; color: #fff; }
.formule { margin-top: 14px; font-size: 0.86rem; color: #cfe0fb; }
.note-outil { margin-top: 18px; font-size: 0.92rem; color: var(--gris); }
.compat-cols { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 760px) { .compat-cols { grid-template-columns: 1fr 1fr; } }
.compat-cols > div { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 18px; padding: 22px; }
.compat-cols h2 { margin: 0 0 12px; font-size: 1.15rem; }
.compat-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.compat-cols li { position: relative; padding-left: 30px; color: #2a3753; }
.compat-oui li::before { content: "✓"; position: absolute; left: 0; color: var(--vert); font-weight: 800; }
.compat-non li::before { content: "✕"; position: absolute; left: 0; color: #6a748c; font-weight: 800; }
.compat-non { background: var(--probleme) !important; }
.exemple { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 760px) { .exemple { grid-template-columns: 1fr 1fr; } }
.exemple > div { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--ligne); background: var(--blanc); }
.exemple b { display: block; margin-bottom: 6px; }
.exemple .passe { border-color: #b6e3c9; background: #f1fbf5; }
.exemple .stop { background: var(--probleme); border-color: #d7dbe3; }
.cta-bas { margin-top: 36px; padding: 26px; border-radius: 18px; background: var(--ciel); display: grid; gap: 14px; justify-items: start; }
.cta-bas p { margin: 0; font-weight: 700; color: var(--nuit); font-size: 1.1rem; }
.kit-feuilles { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.kit-feuilles li { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px; padding: 14px 18px; }
.kit-feuilles b { display: block; }
.video-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }
.video-wa { font-weight: 700; color: var(--bleu); min-height: 44px; display: inline-flex; align-items: center; }
.video-cadre video { cursor: pointer; }

/* Guide gratuit (envoyé par e-mail) */
.guide-grille { display: grid; gap: 30px; }
.guide-liste { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.guide-liste li { position: relative; padding-left: 30px; color: var(--nuit); font-weight: 600; }
.guide-liste li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 10px; border-left: 3px solid var(--vert); border-bottom: 3px solid var(--vert); transform: rotate(-45deg); }
.formulaire-guide .facultatif { font-weight: 500; color: var(--gris); }
.guide-note { margin: 0; font-size: 0.85rem; color: var(--gris); }
@media (min-width: 860px) {
  .guide-grille { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
}

/* Libellé de démarrage de la vidéo : peut passer sur deux lignes sans sortir du cadre. */
.video-duree { right: 18px; width: max-content; max-width: calc(100% - 110px); line-height: 1.3; font-family: var(--sans); }
@media (max-width: 600px) {
  .video-triangle { left: 12px; bottom: 12px; width: 48px; height: 48px; }
  .video-duree { left: 70px; bottom: 14px; max-width: calc(100% - 82px); padding: 7px 12px; font-size: 0.8rem; }
  .video-triangle::after { left: 19px; top: 14px; border-left-width: 15px; border-top-width: 10px; border-bottom-width: 10px; }
}

/* Pas de ligature « fi » / « fl » : dans Plus Jakarta Sans elle fait disparaître le point du i (« profil », « définitive » ; Khaled, 11/10). */
body, h1, h2, h3, h4, b, strong, button, input, select, textarea { font-variant-ligatures: no-common-ligatures; font-feature-settings: "liga" 0, "clig" 0; }
