/* La voix sans micro · page de destination */
@font-face { font-family: "Bricolage Grotesque"; src: url(polices/bricolage-grotesque-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url(polices/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --fond: #F5F1FF; --carte: #fff; --encre: #1B1840; --encre2: #4A4670;
  --violet: #6C4CF5; --violet-fonce: #5536E0; --ciel: #6EC6FF; --corail: #FF6B5A; --jaune: #FFD84D; --menthe: #2BC59A;
  --ombre: 0 20px 50px rgba(27, 24, 64, .08);
  --rayon: 32px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  font-family: Inter, system-ui, sans-serif; color: var(--encre); background-color: var(--fond); line-height: 1.55; font-size: 17px;
  background-image: radial-gradient(700px 500px at 95% 0%, rgba(110, 198, 255, .35), transparent 70%), radial-gradient(600px 600px at 0% 30%, rgba(255, 107, 90, .12), transparent 70%);
  background-repeat: no-repeat; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
h1, h2, h3 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .92em; background: #EFE9FF; color: var(--violet-fonce); padding: 2px 7px; border-radius: 8px; white-space: nowrap; }
.acc { -webkit-box-decoration-break: clone; box-decoration-break: clone; color: var(--corail); background: linear-gradient(transparent 62%, rgba(255, 216, 77, .8) 62%, rgba(255, 216, 77, .8) 92%, transparent 92%); }
.evitement { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: 12px; z-index: 10; }
.evitement:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 10px; }

/* Affilié : les mentions n'apparaissent que si un lien affilié est réglé */
.si-affilie { display: none; }
.avec-affilie .si-affilie { display: block; }
.avec-affilie .pastille-pub.si-affilie { display: inline-flex; }

/* Barre du haut */
.barre { max-width: 1120px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.marque { display: inline-flex; align-items: center; gap: 10px; color: var(--encre); text-decoration: none; font-family: "Bricolage Grotesque"; font-weight: 700; font-size: 20px; }
.marque b { color: var(--violet); font-weight: 800; }
.marque-onde { width: 38px; height: 38px; }
.pastille-pub { align-items: center; font-size: 13px; font-weight: 700; background: var(--jaune); color: var(--encre); padding: 6px 14px; border-radius: 999px; white-space: nowrap; }

main { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Accueil */
.heros { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 40px 0 72px; }
.sur-titre { display: inline-block; font-weight: 700; font-size: 14px; background: #fff; padding: 7px 16px; border-radius: 999px; box-shadow: var(--ombre); margin-bottom: 22px; }
h1 { font-size: clamp(46px, 7.4vw, 92px); }
.chapeau { font-size: clamp(18px, 2vw, 22px); color: var(--encre2); max-width: 600px; margin-top: 22px; }
.bandeau-ep { margin-top: 20px; background: var(--ciel); color: var(--encre); font-weight: 700; padding: 12px 18px; border-radius: 18px; max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions-centre { justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; padding: 16px 26px; border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-principal { background: var(--violet); color: #fff; box-shadow: 0 14px 30px rgba(108, 76, 245, .35); }
.btn-principal:hover { background: var(--violet-fonce); box-shadow: 0 18px 36px rgba(108, 76, 245, .42); }
.btn-second { background: #fff; color: var(--encre); box-shadow: var(--ombre); }
.divulgation { font-size: 14px; color: var(--encre2); margin-top: 14px; }
.divulgation-centre { text-align: center; }

/* Onde */
.scene { position: relative; display: grid; place-items: center; min-height: 420px; }
.onde { position: relative; z-index: 2; width: min(340px, 78vw); aspect-ratio: 1; background: none; border: 0; padding: 0; cursor: pointer; animation: flotte 4.5s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.onde svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 26px 30px rgba(108, 76, 245, .28)); }
.onde:active svg { transform: scale(.96); }
.onde-corps { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .25s ease; }
.onde:hover .onde-corps { transform: rotate(-3deg) scale(1.02); }
.onde-yeux { transform-box: fill-box; transform-origin: center; transition: transform .08s ease; }
.onde.cligne .onde-yeux { transform: scaleY(.1); }
.onde-pupilles { transition: transform .15s ease-out; }
.onde-bouche rect { transform-box: fill-box; transform-origin: center; animation: repos 2.4s ease-in-out infinite; }
.onde-bouche rect:nth-child(2) { animation-delay: .2s; } .onde-bouche rect:nth-child(3) { animation-delay: .4s; }
.onde-bouche rect:nth-child(4) { animation-delay: .6s; } .onde-bouche rect:nth-child(5) { animation-delay: .8s; }
.onde.parle .onde-bouche rect { animation: parle .32s ease-in-out infinite alternate; }
.onde.parle .onde-bouche rect:nth-child(2) { animation-delay: .1s; } .onde.parle .onde-bouche rect:nth-child(3) { animation-delay: .05s; }
.onde.parle .onde-bouche rect:nth-child(4) { animation-delay: .15s; } .onde.parle .onde-bouche rect:nth-child(5) { animation-delay: .08s; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes repos { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.7); } }
@keyframes parle { from { transform: scaleY(.35); } to { transform: scaleY(1.25); } }

.bulle { position: absolute; z-index: 3; top: 4%; left: 50%; transform: translateX(-62%); max-width: 280px; background: #fff; color: var(--encre); font-weight: 600; font-size: 16px; line-height: 1.4; padding: 14px 18px; border-radius: 22px 22px 22px 6px; box-shadow: var(--ombre); }
.bulle.pop { animation: pop .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: translateX(-62%) scale(.85); opacity: .4; } to { transform: translateX(-62%) scale(1); opacity: 1; } }
.deco { position: absolute; border-radius: 50%; z-index: 1; }
.deco-1 { width: 90px; height: 90px; background: var(--jaune); right: 6%; bottom: 14%; animation: flotte 5.5s ease-in-out infinite reverse; }
.deco-2 { width: 46px; height: 46px; background: var(--corail); left: 8%; bottom: 26%; animation: flotte 3.8s ease-in-out infinite; }
.deco-3 { width: 26px; height: 26px; background: var(--menthe); right: 18%; top: 22%; animation: flotte 4.2s ease-in-out infinite reverse; }

/* Sections */
.bloc-section { padding: 64px 0; }
h2 { font-size: clamp(32px, 4.4vw, 50px); }
.intro { font-size: 19px; color: var(--encre2); margin-top: 12px; max-width: 640px; }
.cache { opacity: 0; transform: translateY(18px); }
.vu { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

/* Vidéos */
.grille-videos { list-style: none; padding: 14px; margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre); }
.grille-videos a { display: block; text-decoration: none; color: var(--encre); border-radius: 18px; transition: transform .2s ease; }
.grille-videos a:hover { transform: translateY(-4px) rotate(-1deg); }
.grille-videos img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; }
.grille-videos span { display: block; font-size: 14px; font-weight: 700; padding: 10px 4px 2px; }

/* Fiches */
.fiche { background: var(--carte); border-radius: var(--rayon); padding: 32px; box-shadow: var(--ombre); margin-top: 22px; scroll-margin-top: 20px; border: 3px solid transparent; transition: border-color .3s ease; }
.fiche.en-avant { border-color: var(--violet); }
.fiche > header { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.fiche h3 { font-size: clamp(24px, 3vw, 30px); }
.badge { display: inline-block; font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 15px; padding: 6px 16px; border-radius: 999px; color: var(--encre); }
.badge-ciel { background: var(--ciel); } .badge-jaune { background: var(--jaune); } .badge-corail { background: var(--corail); color: #fff; }
.etapes { list-style: none; padding: 0; counter-reset: e; display: grid; gap: 12px; margin-top: 8px; }
.etapes li { counter-increment: e; position: relative; min-height: 66px; background: var(--fond); border-radius: 20px; padding: 20px 18px 18px 74px; }
.etapes li::before { content: counter(e); position: absolute; left: 18px; top: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 18px; background: var(--jaune); }
.etapes li:nth-child(2)::before { background: var(--ciel); } .etapes li:nth-child(3)::before { background: var(--corail); color: #fff; }
.etapes i { font-style: normal; font-weight: 700; color: var(--violet-fonce); }
.astuce { margin-top: 16px; background: #FFF7D1; border-radius: 18px; padding: 14px 18px; }
.astuce i { font-style: normal; font-weight: 700; }
.sources { margin-top: 16px; font-size: 14px; color: var(--encre2); }
.code-bloc { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--encre); border-radius: 18px; padding: 14px 16px 14px 20px; }
.code-bloc code { background: none; color: #fff; padding: 0; white-space: normal; font-size: 15px; }
.copier { font: inherit; font-weight: 700; font-size: 14px; background: var(--jaune); color: var(--encre); border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.copier.fait { background: var(--menthe); color: #fff; }
.fiche-flash { background: linear-gradient(135deg, #fff 60%, #FFF4C2); }
.duo { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.duo li { background: var(--fond); border-radius: 20px; padding: 16px 18px; }
.duo b { display: block; font-family: "Bricolage Grotesque"; font-size: 20px; color: var(--violet); }

/* Plans */
.plans { list-style: none; padding: 0; margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { background: #fff; border-radius: 28px; padding: 26px 22px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 6px; border: 3px solid transparent; }
.plan-fort { border-color: var(--violet); position: relative; }
.plan-nom { font-weight: 700; color: var(--encre2); }
.plan-prix { font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 40px; line-height: 1.1; }
.plan-prix small { font-size: 16px; font-weight: 700; color: var(--encre2); }
.plan-credits { font-weight: 600; }
.plan-pour { margin-top: 8px; font-size: 15px; color: var(--encre2); }
.note { font-size: 14px; color: var(--encre2); margin-top: 18px; }
#plans .actions { margin-top: 26px; }

/* Programme */
.programme { list-style: none; padding: 0; margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.programme li { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; background: rgba(255, 255, 255, .6); border-radius: 20px; padding: 12px 16px; color: var(--encre2); }
.programme .num { font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 26px; color: #B9B2DA; }
.programme .titre { font-weight: 600; }
.programme .etat { font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: #EAE4FF; }
.programme .dispo { background: #fff; color: var(--encre); box-shadow: var(--ombre); }
.programme .dispo .num { color: var(--violet); }
.programme .dispo .etat { background: var(--menthe); color: #fff; }
.teaser { margin-top: 26px; background: var(--encre); color: #fff; border-radius: var(--rayon); padding: 30px 32px; }
.teaser h3 { font-size: 32px; margin: 12px 0 6px; }
.teaser p { color: #D9D4F5; max-width: 620px; }
#programme .actions { margin-top: 28px; }

/* Questions */
.faq { margin-top: 26px; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 22px; box-shadow: var(--ombre); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--jaune); display: grid; place-items: center; font-family: "Bricolage Grotesque"; font-weight: 800; transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--encre2); }

/* Pied */
.pied { max-width: 1120px; margin: 40px auto 0; padding: 36px 24px 56px; text-align: center; color: var(--encre2); font-size: 15px; }
.pied a { color: var(--encre); font-weight: 600; }
.pied .petit { font-size: 13px; margin-top: 8px; }

/* Mobile */
@media (max-width: 900px) {
  .heros { grid-template-columns: 1fr; gap: 10px; padding-top: 16px; }
  .scene { min-height: 300px; order: -1; }
  .onde { width: min(240px, 62vw); }
  .bulle { top: 0; font-size: 15px; max-width: 240px; }
  .grille-videos { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .programme { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .barre { padding: 14px 16px; }
  .marque { font-size: 17px; }
  .marque-onde { width: 32px; height: 32px; }
  .pastille-pub { font-size: 11px; padding: 5px 10px; }
  main { padding: 0 16px; }
  .btn { width: 100%; justify-content: center; }
  .fiche { padding: 22px 18px; }
  .etapes li { padding: 16px 14px 14px 58px; min-height: 58px; }
  .etapes li::before { left: 14px; top: 12px; width: 32px; height: 32px; font-size: 16px; }
  .duo { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .bloc-section { padding: 48px 0; }
  code { white-space: normal; }
}

/* ——— Refonte « popoto » (26/11/2026) : même langage que mathael.com, identité lavande gardée ———
   Héros : trois ondes de voix dessinées par la nuée (nuee.js + produits.js + sous-site.js) derrière Onde, depuis « sans micro ». */
.heros { position: relative; isolation: isolate; }
.ss-nuee { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; pointer-events: none; }
/* Boutons pleins aux coins de 14 px, comme sur la home */
.btn { border-radius: 14px; }
.btn-principal { box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 1px 2px rgba(42,22,140,.28), 0 14px 28px -14px rgba(108,76,245,.8); }
.btn-principal span[aria-hidden] { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: -10px; border-radius: 9px; background: rgba(255,255,255,.18); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.btn-principal:hover span[aria-hidden] { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.relief { position: relative; }
