/* =====================================================================
   Pokéworth · système de design v19
   Fichier unique des variables (couleurs, typographie, espacements, arrondis, boutons, mouvement)
   et de leur application à toutes les pages. Chargé après style.css : il le remplace pour tout
   ce qui touche à l'apparence. Pour régler le site, modifier les variables de :root ci-dessous.
   Portée « body.v19 » : priorité sur les anciennes règles sans les réécrire une à une.
   ===================================================================== */
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/instrument-sans-wght.woff2) format("woff2-variations"),url(../fonts/instrument-sans-wght.woff2) format("woff2")}

:root{
  /* --- couleurs --- */
  --c-nuit:#070B14; --c-surface:#0D1422; --c-surface-2:#121B2D; --c-champ:#0A101C;
  --c-ligne:#1E2940; --c-ligne-forte:#2B3852;
  --c-texte:#EDF1F7; --c-texte-2:#A3AEC2; --c-texte-3:#7B879D;
  --c-accent:#5B8DEF; --c-accent-fort:#3A66C4; --c-accent-survol:#4673D6; --c-danger:#F87171; --c-succes:#34D399;
  /* --- typographie : échelle 1,25 à partir de 16 px --- */
  --font:"Instrument Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --t-12:.75rem; --t-13:.8125rem; --t-14:.875rem; --t-16:1rem; --t-18:1.125rem; --t-20:1.25rem; --t-25:1.5625rem; --t-31:1.9375rem; --t-39:2.4375rem; --t-48:3rem;
  --lh:1.6; --lh-titre:1.12;
  /* --- espacements : grille de 8 px --- */
  --s-1:8px; --s-2:16px; --s-3:24px; --s-4:32px; --s-5:40px; --s-6:48px; --s-8:64px; --s-10:80px; --s-12:96px;
  --largeur:1120px; --largeur-texte:68ch;
  /* --- formes --- */
  --r:10px; --r-btn:8px; --r-petit:6px;
  /* --- mouvement --- */
  --d-court:150ms; --d:200ms; --d-long:250ms; --ease:cubic-bezier(.2,.7,.2,1);

  /* --- correspondance avec les variables des versions précédentes (style.css) --- */
  --bg:var(--c-nuit); --bg2:var(--c-surface); --surface:var(--c-surface); --surface-hi:var(--c-surface-2);
  --accent:var(--c-accent); --acc:var(--c-accent); --acc2:var(--c-accent); --accent-dark:var(--c-accent-fort); --accent-grad:var(--c-accent-fort);
  --gold:var(--c-accent); --on-accent:#fff;
  --txt:var(--c-texte); --muted:var(--c-texte-2); --body:var(--c-texte-2); --dim:var(--c-texte-2); --faint:var(--c-texte-3);
  --line:var(--c-ligne); --up:var(--c-succes); --down:var(--c-danger);
  --card-bg:var(--c-surface); --card-rim:none; --card-drop:none; --card-blur:none;
  --pill-bg:transparent; --pill-sh:none; --btn-r:var(--r-btn); --btn-r-sm:var(--r-btn); --lq-r:var(--r-btn);
  --uc-blur:0px; --uc-sat:100%; --uc-fill:0; --uc-tint-a:0; --uc-rim:0; --uc-spec:0; --uc-glow:0; --uc-glow-r:0px; --uc-drop:0;
  /* échelle (v18.0) */
  --fs-body:var(--t-16); --fs-lead:var(--t-18); --fs-field:var(--t-16);
  --fs-h1-hero:clamp(2.125rem,3.4vw,var(--t-48)); --fs-h1:clamp(1.75rem,2.4vw,2.25rem); --fs-h2:clamp(1.5rem,2.2vw,var(--t-31));
  --fs-h3:var(--t-20); --fs-h3-card:var(--t-16); --fs-h4:var(--t-16);
  --card-pad:var(--s-3); --card-pad-sm:var(--s-2); --card-pad-doc:var(--s-5); --card-pad-lg:var(--s-6); --card-r:var(--r); --card-r-sm:var(--r);
  --sec-y:clamp(var(--s-8),7vw,var(--s-12)); --sec-hero-t:clamp(var(--s-4),6vw,var(--s-12)); --sec-hero-b:clamp(var(--s-6),6vw,var(--s-10));
  --sec-pw-t:clamp(var(--s-3),4vw,var(--s-6)); --sec-pw-b:clamp(var(--s-6),6vw,var(--s-10));
  --cw:var(--largeur); --wrap:var(--largeur); --doc-w:760px; --measure:var(--largeur-texte);
  /* boutons (v18.4) */
  --b-h:40px; --b-px:18px; --b-fs:var(--t-14); --b-fw:600; --b-r:var(--r-btn); --b-gap:var(--s-1);
  --b-primary:var(--c-accent-fort); --b-primary-fg:#fff; --b-line:var(--c-ligne-forte); --b-fg:var(--c-texte);
  --b-hover:var(--c-surface-2); --b-press:#18233A; --b-danger:var(--c-danger); --b-danger-hover:rgba(248,113,113,.10);
  --b-oauth-max:360px; --login-max:440px;
}
@media (max-width:760px){ :root{ --b-h:44px; --card-pad-doc:var(--s-3); --card-pad-lg:var(--s-4); } }
@media (min-width:1800px){ :root{ --z:1.1; --cw:1200px; } }
@media (min-width:2200px){ :root{ --z:1.25; } }

/* ---------------------------------------------------------------- base */
html body.v19{font-family:var(--font)!important;font-size:var(--t-16)!important;line-height:var(--lh);font-weight:400;color:var(--c-texte);
  background:var(--c-nuit)!important;background-image:none!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-feature-settings:"kern"}
html body.v19::before,html body.v19::after{background:none!important;background-image:none!important;opacity:0!important}
html body.v19 :is(button,input,select,textarea){font-family:inherit}
html body.v19 *{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;text-shadow:none!important}
html body.v19 :is(h1,h2,h3,h4){font-family:var(--font);font-weight:600;color:var(--c-texte);letter-spacing:-.015em;line-height:var(--lh-titre);text-wrap:balance;background:none;-webkit-text-fill-color:currentColor}
html body.v19 main h1{letter-spacing:-.022em}
html body.v19 :is(h3,h4){letter-spacing:-.005em}
html body.v19 p{text-wrap:pretty}
html body.v19 a{transition:color var(--d-court) var(--ease)}
html body.v19 ::selection{background:rgba(91,141,239,.35);color:#fff}
html body.v19 :focus-visible{outline:2px solid var(--c-accent)!important;outline-offset:3px}
html body.v19 .wrap{width:min(var(--wrap),100% - 48px)}
@media (max-width:640px){ html body.v19 .wrap{width:calc(100% - 32px)} }
html body.v19 :is(.note,.sub,.lead){color:var(--c-texte-2)}
html body.v19 .lead,html body.v19 .sec-head .sub{font-size:var(--t-18)!important;line-height:1.55;max-width:44ch}
/* plus de sur-titres décoratifs au-dessus des titres */
html body.v19 .eyebrow,html body.v19 .sx-eyebrow{display:none!important}

/* ---------------------------------------------------------------- navigation */
html body.v19 .nav{background:rgba(7,11,20,.94)!important;border-bottom:1px solid var(--c-ligne)!important;box-shadow:none!important}
html body.v19 .nav .wrap{height:64px}
html body.v19 .nav :is(.nl,.nav-menu>a,.nav-menu .nl-dd){font-size:var(--t-14)!important;font-weight:500!important;color:var(--c-texte-2)!important;padding:8px 10px!important;border-radius:var(--r-petit)!important;background:none!important;letter-spacing:0}
html body.v19 .nav :is(.nl,.nav-menu>a,.nav-menu .nl-dd):hover,html body.v19 .nav [aria-current="page"]{color:var(--c-texte)!important}
html body.v19 .nav .wrap>.nl-acct{background:transparent!important;border:1px solid var(--c-ligne-forte)!important;color:var(--c-texte)!important;border-radius:var(--r-btn)!important;font-weight:600!important;padding:0 16px!important;min-height:36px;display:inline-flex;align-items:center;transition:background-color var(--d) var(--ease),border-color var(--d) var(--ease)}
html body.v19 .nav .wrap>.nl-acct:hover{background:var(--c-surface-2)!important;border-color:#44526E!important}
html body.v19 .nav-sub{background:var(--c-surface)!important;border:1px solid var(--c-ligne)!important;border-radius:var(--r)!important;box-shadow:0 16px 32px -20px rgba(0,0,0,.8)!important}
@media (max-width:959px){
  html body.v19 .nav .nav-menu,html body.v19 header.nav.open{background:var(--c-nuit)!important}
  html body.v19 .nav :is(.nav-menu>a,.nav-menu .nl-dd){font-size:var(--t-16)!important;padding:12px 16px!important}
}

/* ---------------------------------------------------------------- sections */
html body.v19 .sec{padding-block:var(--sec-y)!important}
html body.v19 .sec + .sec::before{background:var(--c-ligne)!important;height:1px!important;opacity:1!important;box-shadow:none!important}
html body.v19 .sec-head{text-align:left!important;margin:0 0 var(--s-6)!important;max-width:none}
html body.v19 .sec-head :is(h1,h2){margin:0 0 var(--s-2)!important;max-width:22ch}
html body.v19 .sec-head .sub{margin:0!important}
html body.v19 .center:not(.wa-soon):not(.hero-cta){text-align:left}

/* ---------------------------------------------------------------- blocs (cartes) */
html body.v19 .card{background:var(--c-surface)!important;background-image:none!important;border:1px solid var(--c-ligne)!important;border-radius:var(--r)!important;box-shadow:none!important}
html body.v19 a.card{transition:border-color var(--d) var(--ease),background-color var(--d) var(--ease)}
html body.v19 a.card:hover{border-color:var(--c-ligne-forte)!important;background:var(--c-surface-2)!important}
html body.v19 .card :is(h2,h3){margin-top:0}
html body.v19 :is(.pill,.tag,.plan-flag,.sx-badge,.pill-soon){border-radius:var(--r-petit)!important;background:transparent!important;border:1px solid var(--c-ligne-forte)!important;color:var(--c-texte-2)!important;box-shadow:none!important;font-weight:600;letter-spacing:0;text-transform:none}
html body.v19 .plan-flag{border-color:var(--c-accent)!important;color:var(--c-accent)!important}

/* ---------------------------------------------------------------- accueil : haut de page */
html body.v19 .hero3{min-height:0!important;padding-top:var(--sec-hero-t)!important;padding-bottom:var(--sec-hero-b)!important;text-align:left}
html body.v19 .hero3-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:var(--s-8);align-items:center}
html body.v19 .hero3 h1{font-size:var(--fs-h1-hero)!important;line-height:1.08!important;margin:0 0 var(--s-3)!important;max-width:15ch}
html body.v19 .hero3 .lead{font-size:var(--t-20)!important;max-width:34ch;margin:0 0 var(--s-4)!important}
html body.v19 .hero3 .store-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:flex-start!important;margin:0}
html body.v19 .hero3 .store-badge img{height:40px;width:auto}
html body.v19 .hero3 .store-badge.off{opacity:.55;filter:none}
html body.v19 .hero3 .store-soon{font-size:var(--t-13);color:var(--c-texte-3);margin:12px 0 0;text-align:left}
html body.v19 .hero3 .hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-2);margin-top:var(--s-3)}
html body.v19 .hero3 .hero-prix{margin:var(--s-4) 0 0;padding-top:var(--s-3);border-top:1px solid var(--c-ligne);font-size:var(--t-14);color:var(--c-texte-2);max-width:46ch}
html body.v19 .hero3 .hero-prix strong{color:var(--c-texte);font-weight:600}
html body.v19 .hero3-vis{display:flex;justify-content:center}
@media (max-width:900px){
  html body.v19 .hero3-grid{grid-template-columns:1fr;gap:var(--s-6)}
  html body.v19 .hero3 .lead{font-size:var(--t-16)!important}
}

/* ---------------------------------------------------------------- cadres iPhone (captures de l'app) */
html body.v19 .phone{background:#1A2234!important;padding:2.6%!important;border-radius:15%/7%!important;box-shadow:0 0 0 1px #2E3A54,0 28px 56px -32px rgba(0,0,0,.95)!important}
html body.v19 .phone img{border-radius:12.5%/5.8%!important}
html body.v19 .phone-fig,html body.v19 .hero-phone{margin:0;will-change:transform}
html body.v19 .hero-phone{width:min(300px,72vw)}
html body.v19 .hero-phone img{width:100%;height:auto;display:block}

/* ---------------------------------------------------------------- fonctionnalités */
html body.v19 .fx-row{gap:var(--s-10)!important;padding-block:var(--s-6)!important;border:0!important;background:none!important}
html body.v19 .fx-text h3{font-size:var(--t-25)!important;line-height:1.2!important;margin:0 0 var(--s-2)!important}
html body.v19 .fx-text p{font-size:var(--t-16)!important;color:var(--c-texte-2);max-width:42ch}
/* liste des autres fonctionnalités : texte simple sur deux colonnes, sans icônes ni encadrés */
html body.v19 .fx-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-4) var(--s-8)!important;margin-top:var(--s-8)!important}
html body.v19 .fx-grid .fx-card{background:none!important;border:0!important;padding:0!important;border-radius:0!important}
html body.v19 .fx-grid .fx-card .ico{display:none!important}
html body.v19 .fx-grid .fx-card h3{font-size:var(--t-16)!important;margin:0 0 4px!important}
html body.v19 .fx-grid .fx-card p{font-size:var(--t-14)!important;color:var(--c-texte-2);margin:0;max-width:52ch}
@media (max-width:720px){ html body.v19 .fx-grid{grid-template-columns:1fr} }

/* ---------------------------------------------------------------- tarifs, FAQ, actualités */
html body.v19 .plan{text-align:left}
html body.v19 .plan .price{font-size:var(--t-31)!important;letter-spacing:-.02em;color:var(--c-texte)!important;-webkit-text-fill-color:currentColor;background:none!important}
html body.v19 .plan.pro{border-color:var(--c-accent-fort)!important}
html body.v19 .faq{max-width:760px}
html body.v19 .faq-item{background:none!important;border:0!important;border-bottom:1px solid var(--c-ligne)!important;border-radius:0!important;box-shadow:none!important}
html body.v19 .faq-q{padding:var(--s-2) 0!important;font-size:var(--t-16)!important;font-weight:600!important;border-radius:0!important;background:none!important;transition:color var(--d) var(--ease)}
html body.v19 .faq-q[aria-expanded="true"]{background:none!important;color:var(--c-texte)}
html body.v19 .faq-q:hover{color:#fff}
html body.v19 .faq-a{color:var(--c-texte-2)}
html body.v19 .faq-a>:first-child{padding-top:0!important}

/* ---------------------------------------------------------------- formulaires */
html body.v19 main :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){
  background:var(--c-champ)!important;border:1px solid var(--c-ligne-forte)!important;border-radius:var(--r-btn)!important;color:var(--c-texte)!important;
  min-height:44px;padding:10px 12px;font-size:var(--t-16)!important;box-shadow:none!important;transition:border-color var(--d) var(--ease)}
html body.v19 main :is(input,select,textarea):hover{border-color:#3A4864!important}
html body.v19 main :is(input,select,textarea):focus-visible{border-color:var(--c-accent)!important;outline:2px solid rgba(91,141,239,.35)!important;outline-offset:0}
html body.v19 .wp-f>span,html body.v19 .pw-field label{font-size:var(--t-13)!important;font-weight:600!important;color:var(--c-texte-2)!important;letter-spacing:0}
html body.v19 input[type=checkbox],html body.v19 input[type=radio]{accent-color:var(--c-accent)}

/* ---------------------------------------------------------------- boutons (complément du système v18.4) */
html body.v19 :is(.cta,.pw-btn):not(.pa-btn):not(#_){letter-spacing:0!important;transition:background-color var(--d) var(--ease),border-color var(--d) var(--ease),color var(--d) var(--ease)}
html body.v19 :is(.cta,.pw-btn):not(.ghost):not(.danger):not(.quiet):not(.pa-btn):not(#_):hover{background:var(--c-accent-survol)!important;box-shadow:none!important}
html body.v19 .pw-seg button,html body.v19 .filters button{border-radius:var(--r-btn)!important}
html body.v19 .filters button[aria-pressed="true"],html body.v19 .pw-seg button[aria-pressed="true"]{background:var(--c-surface-2)!important;border-color:var(--c-accent)!important;color:var(--c-texte)!important}
html body.v19 .pw-linkbtn{color:var(--c-accent)}

/* ---------------------------------------------------------------- espace connecté */
html body.v19 .pw-nav{border-bottom:1px solid var(--c-ligne)!important;gap:var(--s-3)}
html body.v19 .pw-nav a{padding:12px 0!important;font-size:var(--t-14)!important;font-weight:600!important;color:var(--c-texte-2)!important;border-bottom:2px solid transparent}
html body.v19 .pw-nav a[aria-current="page"]{color:var(--c-texte)!important;border-bottom-color:var(--c-accent)!important}
html body.v19 .pw-id h1{font-size:var(--fs-h1)!important}
html body.v19 .wp-kpi{padding:var(--s-2) var(--s-3)!important}
html body.v19 .wp-kpi span{font-size:var(--t-13)!important;color:var(--c-texte-2)}
html body.v19 .wp-kpi b{font-size:var(--t-25)!important;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
html body.v19 .pw-items .pw-v,html body.v19 .pw-items .pw-q{font-variant-numeric:tabular-nums}
html body.v19 .pw-msg{border-radius:var(--r-btn)!important}
html body.v19 :is(dialog.pw-modal,dialog.pw-crop){border-radius:var(--r)!important;box-shadow:0 24px 48px -24px rgba(0,0,0,.9)!important}
html body.v19 .pw-menu{border-radius:var(--r)!important}
html body.v19 .pw-av{font-family:var(--font)}

/* ---------------------------------------------------------------- pages de contenu (mentions, CGU, confidentialité, méthode, sources) */
html body.v19 .doc .card h1{font-size:var(--fs-h1)!important}
html body.v19 .doc .card h2{font-size:var(--t-20)!important;margin-top:var(--s-5)!important}
html body.v19 .doc :is(p,li){max-width:var(--largeur-texte);color:var(--c-texte-2)}
html body.v19 .doc strong{color:var(--c-texte)}

/* ---------------------------------------------------------------- pied de page */
html body.v19 footer{border-top:1px solid var(--c-ligne)!important;background:var(--c-nuit)!important;box-shadow:none!important}
html body.v19 footer h2{font-size:var(--t-13)!important;text-transform:none!important;letter-spacing:0!important;color:var(--c-texte)!important;font-weight:600!important}
html body.v19 footer a{color:var(--c-texte-2)!important;font-size:var(--t-14)}
html body.v19 footer a:hover{color:var(--c-texte)!important}
html body.v19 footer .copy,html body.v19 footer .f-legal{color:var(--c-texte-3)!important;font-size:var(--t-13)!important}

/* ---------------------------------------------------------------- mouvement */
html body.v19 .reveal{opacity:0;transform:translateY(8px);transition:opacity var(--d-long) ease-out,transform var(--d-long) ease-out}
html body.v19 .reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html body.v19 .reveal{opacity:1!important;transform:none!important;transition:none!important}
  html body.v19 .phone-fig,html body.v19 .hero-phone{transform:none!important}
  html body.v19 *{transition-duration:0s!important;animation-duration:0s!important}
}
html body.v19 .wrap.doc{width:min(var(--doc-w),100% - 48px)}
@media (max-width:640px){ html body.v19 .wrap.doc{width:calc(100% - 32px)} }

/* corrections après relecture */
html body.v19 .phone::before{display:none!important}
html body.v19 .hero-phone{container-type:inline-size}
html body.v19 .fx-grid>.fx-card{display:block!important;max-width:none!important;min-width:0!important;flex:none!important}
html body.v19 .faq{margin:0!important;gap:0!important}
html body.v19 :is(h2,h3).center,html body.v19 .help-links-t{text-align:left}
html body.v19 :is(.hero3-text,.hero3 h1,.hero3 .lead,.hero3 .store-soon,.hero3 .hero-prix,.fx-text,.fx-text h3,.fx-text p,.sec-head,.sec-head h2,.sec-head .sub){text-align:left!important;margin-left:0}
html body.v19 .hero-phone{justify-self:center}
html body.v19 .fx-vis.phone-fig{width:clamp(200px,22vw,264px)!important}
@media (max-width:900px){ html body.v19 .fx-row{gap:var(--s-4)!important;padding-block:var(--s-4)!important} html body.v19 .fx-vis.phone-fig{justify-self:center;margin-inline:auto} }
html body.v19 .wp-kpi b{font-family:var(--font)!important}
