/* ============================================================
   CACHADA ACADEMY — DARK EDITION
   Palette: bleu nuit, bleu électrique, blanc et gold
   Chargé après styles.css afin de préserver la structure light.
   ============================================================ */
:root{
  color-scheme:dark;
  --blue:#3b82ff;
  --blue-2:#65a2ff;
  --blue-dark:#06122f;
  --blue-light:#92baff;
  --gold:#f6c34b;
  --gold-2:#ffe39a;
  --gold-dark:#dcae35;
  --white:#ffffff;
  --ivory:#050a18;
  --paper:#0b1429;
  --pearl:#172443;
  --ink:#f4f7ff;
  --muted:#a8b5d0;
  --line:rgba(146,186,255,.16);
  --shadow:0 30px 90px rgba(0,0,0,.48);
  --shadow-sm:0 18px 50px rgba(0,0,0,.34);
}
html{background:#050a18}
body.dark-theme{
  background:
    radial-gradient(1100px 650px at 88% -10%,rgba(30,103,245,.20),transparent 65%),
    radial-gradient(760px 520px at -8% 38%,rgba(246,195,75,.055),transparent 66%),
    linear-gradient(180deg,#050a18 0%,#071127 48%,#050a18 100%);
  color:var(--ink);
}
body.dark-theme::before{
  background:
    radial-gradient(650px circle at var(--glow-x) var(--glow-y),rgba(59,130,255,.13),transparent 58%),
    radial-gradient(480px circle at 78% 22%,rgba(246,195,75,.055),transparent 70%);
  opacity:1;
}
body.dark-theme::after{opacity:.055;mix-blend-mode:soft-light}
.dark-theme ::selection{background:var(--gold);color:#06122f}
.dark-theme .section--paper{background:linear-gradient(180deg,rgba(12,24,49,.96),rgba(7,15,34,.96))}
.dark-theme .display{color:#f7f9ff;text-shadow:0 14px 40px rgba(0,0,0,.25)}
.dark-theme .display em{color:var(--gold)}
.dark-theme .lead,.dark-theme .section-head p{color:var(--muted)}
.dark-theme .eyebrow{color:var(--gold)}
.dark-theme .eyebrow::before{background:linear-gradient(90deg,var(--gold),rgba(246,195,75,.12))}
.dark-theme .diamond{background:var(--gold)}
.dark-theme .skip-link{background:var(--gold);color:#06122f}

/* Header */
.dark-theme .site-header,
.dark-theme .formation-landing .site-header{
  background:rgba(5,10,24,.84);
  border-bottom:1px solid rgba(146,186,255,.13);
  box-shadow:0 8px 34px rgba(0,0,0,.16);
}
.dark-theme .site-header.is-scrolled{background:rgba(5,10,24,.965);border-color:rgba(246,195,75,.18);box-shadow:0 16px 44px rgba(0,0,0,.35)}
.dark-theme .brand img{filter:brightness(0) invert(1) drop-shadow(0 8px 18px rgba(0,0,0,.28))}
.dark-theme .brand:hover img{filter:brightness(0) invert(1) sepia(.2) drop-shadow(0 0 15px rgba(246,195,75,.23))}
.dark-theme .nav-links a{color:#dbe6ff}
.dark-theme .nav-links a:hover,.dark-theme .nav-links a.active{color:#fff}
.dark-theme .nav-links a::after,.dark-theme .nav-links a.active::before{background:var(--gold)}
.dark-theme .menu-toggle{color:var(--gold);background:rgba(255,255,255,.035);border-color:rgba(246,195,75,.28)}
@media(max-width:940px){.dark-theme .nav-links{background:rgba(6,14,32,.985);border-color:rgba(146,186,255,.14);box-shadow:0 30px 70px rgba(0,0,0,.5)}}

/* Buttons — contrast guaranteed */
.dark-theme .btn-primary{
  color:#06122f;
  background:linear-gradient(135deg,#ffe294,var(--gold) 45%,#e5ab24);
  border-color:rgba(255,230,158,.7);
  box-shadow:0 14px 34px rgba(246,195,75,.22),inset 0 1px rgba(255,255,255,.52);
}
.dark-theme .btn-primary:hover{color:#06122f;background:linear-gradient(135deg,#fff0bd,#f8c949);box-shadow:0 19px 48px rgba(246,195,75,.32),0 0 0 4px rgba(246,195,75,.10)}
.dark-theme .btn-outline{
  color:#eef4ff!important;
  background:rgba(14,30,61,.78)!important;
  border-color:rgba(146,186,255,.42)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.2)!important;
}
.dark-theme .btn-outline:hover,.dark-theme .btn-outline:focus-visible{
  color:#06122f!important;
  background:linear-gradient(135deg,#fff,#ffefbb)!important;
  border-color:var(--gold)!important;
}
.dark-theme .btn-light{
  color:#06122f!important;
  background:linear-gradient(135deg,#fff,#eaf2ff)!important;
  border-color:rgba(255,255,255,.82)!important;
}
.dark-theme .btn-light:hover{color:#06122f!important;background:linear-gradient(135deg,#fff2c6,var(--gold))!important;border-color:var(--gold)!important}
.dark-theme .cta .btn-outline,.dark-theme .cta .btn-outline:visited{color:#06122f!important;background:linear-gradient(135deg,#fff,#e7f1ff)!important;border-color:rgba(255,255,255,.84)!important}
.dark-theme .formation-hero .btn-outline,.dark-theme .formation-about__copy .btn-outline{color:#fff!important;background:rgba(6,18,47,.76)!important;border-color:rgba(246,195,75,.64)!important}
.dark-theme .formation-hero .btn-outline:hover,.dark-theme .formation-about__copy .btn-outline:hover{color:#06122f!important;background:var(--gold)!important}

/* Home hero */
.dark-theme .hero{background:linear-gradient(180deg,rgba(6,18,47,.64),rgba(5,10,24,.12));border-bottom:1px solid rgba(146,186,255,.08)}
.dark-theme .hero-copy h1{color:#f8faff;text-shadow:0 22px 55px rgba(0,0,0,.4)}
.dark-theme .hero-copy .lead{color:#b8c7e4}
.dark-theme .hero-art{border-color:rgba(246,195,75,.36);box-shadow:0 38px 110px rgba(0,0,0,.58),0 0 0 8px rgba(8,19,43,.88),0 0 0 10px rgba(246,195,75,.12)}
.dark-theme .hero-art::before{display:none}
.dark-theme .hero-art::after{border-color:rgba(255,255,255,.24);background:linear-gradient(180deg,rgba(2,8,23,.03),rgba(2,8,23,.18))}
.dark-theme .hero-art .landscape{filter:saturate(1.08) contrast(1.05) brightness(.82)}
.dark-theme .hero-art .monogram{filter:brightness(0) invert(1) drop-shadow(0 18px 22px rgba(0,0,0,.65)) drop-shadow(0 0 22px rgba(255,255,255,.6))}
.dark-theme .hero-note{color:#fff;background:rgba(5,13,31,.85);border-color:rgba(246,195,75,.52);box-shadow:0 14px 35px rgba(0,0,0,.42)}
.dark-theme .hero-sparkle{color:var(--gold);text-shadow:0 0 14px var(--gold)}
.dark-theme .trust-strip{background:linear-gradient(118deg,#07132f,#0a255a 58%,#124897);border:1px solid rgba(146,186,255,.16);box-shadow:0 28px 68px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.08)}
.dark-theme .trust-item+.trust-item{border-color:rgba(255,255,255,.10)}
.dark-theme .trust-item:hover{background:rgba(255,255,255,.055)}
.dark-theme .trust-item strong{color:#fff}.dark-theme .trust-item p{color:#aebddb}
.dark-theme .trust-item .icon-ring{background:linear-gradient(145deg,#ffe49a,var(--gold));color:#06122f;box-shadow:0 10px 26px rgba(246,195,75,.18)}

/* Cards */
.dark-theme .service-card,.dark-theme .detail-card,.dark-theme .contact-card,
.dark-theme .geo-card,.dark-theme .quote-card,.dark-theme .process-item,
.dark-theme .formation-method-card,.dark-theme .price-card:not(.featured),
.dark-theme .info-card,.dark-theme .comparison-card,.dark-theme .form-card{
  color:var(--ink);
  background:linear-gradient(145deg,rgba(15,28,55,.97),rgba(8,18,39,.97));
  border-color:rgba(146,186,255,.16);
  box-shadow:0 20px 52px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.025);
}
.dark-theme .service-card::before,.dark-theme .detail-card::before,.dark-theme .contact-card::before,.dark-theme .formation-method-card::before{background:linear-gradient(90deg,var(--blue),var(--gold))}
.dark-theme .service-card:hover,.dark-theme .detail-card:hover,.dark-theme .contact-card:hover,.dark-theme .formation-method-card:hover{background:linear-gradient(145deg,#12274c,#0b1833);border-color:rgba(246,195,75,.52);box-shadow:0 30px 75px rgba(0,0,0,.42),0 0 0 2px rgba(246,195,75,.07)}
.dark-theme .service-card h3,.dark-theme .detail-card h2,.dark-theme .detail-card h3,
.dark-theme .contact-card h3,.dark-theme .process-item h3,.dark-theme .info-card h3,
.dark-theme .feature-row h3,.dark-theme .formation-method-card h3,.dark-theme .service-title,
.dark-theme .quote-card blockquote{color:#f5f8ff}
.dark-theme .service-card p,.dark-theme .detail-card li,.dark-theme .process-item p,
.dark-theme .info-card p,.dark-theme .feature-row p,.dark-theme .formation-method-card p,
.dark-theme .quote-card p{color:var(--muted)}
.dark-theme .service-card .icon-ring{background:linear-gradient(145deg,#184b9f,#2d78f3);color:#fff;border-color:var(--gold);box-shadow:0 13px 30px rgba(0,0,0,.34),0 0 24px rgba(59,130,255,.14)}
.dark-theme .text-link{color:#9fc1ff}.dark-theme .text-link span{color:var(--gold)}
.dark-theme .icon-ring{background:rgba(59,130,255,.12);color:#9fc1ff;border:1px solid rgba(146,186,255,.12)}
.dark-theme .fx-card::before{background:radial-gradient(340px circle at var(--mx) var(--my),rgba(59,130,255,.17),transparent 64%)}

/* Process, pricing, geography */
.dark-theme .editorial-panel{background:linear-gradient(145deg,#07142f,#0b2d68 58%,#1458ae);border-color:rgba(246,195,75,.48);box-shadow:0 38px 95px rgba(0,0,0,.46)}
.dark-theme .editorial-panel p{color:#b9c8e4}
.dark-theme .process-item::after{background:linear-gradient(var(--blue),var(--gold))}
.dark-theme .process-number{color:var(--gold)}
.dark-theme .price-card .tag{background:rgba(246,195,75,.10);border-color:rgba(246,195,75,.42);color:var(--gold-2)}
.dark-theme .price-card h3{color:#f5f8ff}.dark-theme .price-card .price{color:var(--gold)}
.dark-theme .price-card p,.dark-theme .price-card li{color:var(--muted)}
.dark-theme .price-card li::before{color:var(--gold)}
.dark-theme .price-card.featured{background:linear-gradient(145deg,#07142f,#0b3071 58%,#1669d0);border-color:var(--gold);box-shadow:0 38px 95px rgba(0,0,0,.5),0 0 0 5px rgba(246,195,75,.08)}
.dark-theme .price-card.featured h3{color:#fff}
.dark-theme .chip{background:#0b1833;border-color:rgba(146,186,255,.2);color:#dfe9ff;box-shadow:0 8px 20px rgba(0,0,0,.2)}
.dark-theme .chip:nth-child(2n){background:rgba(246,195,75,.09);border-color:rgba(246,195,75,.35);color:var(--gold-2)}
.dark-theme .geo-card::after{border-color:rgba(246,195,75,.26);box-shadow:0 0 0 34px rgba(59,130,255,.05),0 0 0 68px rgba(246,195,75,.035)}
.dark-theme .quote-mark{color:var(--gold)}

/* Inner pages */
.dark-theme .page-hero{background:linear-gradient(128deg,#050d22,#09255a 62%,#0b4ca8);border-bottom-color:rgba(246,195,75,.24);box-shadow:inset 0 -1px rgba(255,255,255,.07)}
.dark-theme .page-hero::after{background:radial-gradient(circle,var(--gold) 0 5%,rgba(246,195,75,.16) 8% 34%,transparent 68%)}
.dark-theme .page-hero .display,.dark-theme .page-hero .eyebrow{color:#fff}
.dark-theme .page-hero .lead,.dark-theme .page-hero .breadcrumb{color:#bdcae2}
.dark-theme .page-hero .breadcrumb a{color:var(--gold-2)}
.dark-theme .service-prose p,.dark-theme .service-prose li,.dark-theme .prose p,.dark-theme .prose li{color:#b1bdd3}
.dark-theme .service-prose h2,.dark-theme .service-prose h3,.dark-theme .prose h2,.dark-theme .prose h3{color:#f5f8ff}
.dark-theme .service-summary-card{background:linear-gradient(145deg,#0e1d3b,#09142b);border-color:rgba(246,195,75,.24);box-shadow:0 24px 65px rgba(0,0,0,.34)}
.dark-theme .service-summary-card h2,.dark-theme .service-summary-card h3{color:#fff}
.dark-theme .service-summary-card p,.dark-theme .service-summary-card li{color:var(--muted)}
.dark-theme .comparison-card--featured{border-color:rgba(246,195,75,.48);background:linear-gradient(145deg,#12254a,#0c1b38)}
.dark-theme .comparison-tag{color:var(--gold);background:rgba(246,195,75,.1);border-color:rgba(246,195,75,.28)}
.dark-theme .notice{color:#c5d1e7;background:rgba(59,130,255,.08);border-left-color:var(--gold)}
.dark-theme .check-list li{color:#b9c5da}.dark-theme .check-list li::before{color:var(--gold)}

/* FAQ */
.dark-theme .faq-item{border-color:rgba(146,186,255,.13)}
.dark-theme .faq-button{color:#eff4ff}.dark-theme .faq-button:hover{color:var(--gold-2)}
.dark-theme .faq-button span:last-child{color:var(--gold)}
.dark-theme .faq-answer p{color:var(--muted)}

/* Forms */
.dark-theme .contact-card{background:linear-gradient(145deg,#07142f,#0b367d);border-color:rgba(246,195,75,.35)}
.dark-theme .contact-line span,.dark-theme .contact-line a{color:#c0cce1}
.dark-theme .field label{color:var(--gold-2)}
.dark-theme .field input,.dark-theme .field select,.dark-theme .field textarea,
.dark-theme .lead-form .field input{
  color:#f7f9ff;
  background:#071127;
  border-color:rgba(146,186,255,.2);
  box-shadow:inset 0 1px rgba(255,255,255,.02);
}
.dark-theme .field input::placeholder,.dark-theme .field textarea::placeholder{color:#6f7e9d}
.dark-theme .field input:focus,.dark-theme .field select:focus,.dark-theme .field textarea:focus{color:#fff;background:#0b1934;border-color:var(--gold);box-shadow:0 0 0 4px rgba(246,195,75,.08),0 14px 34px rgba(0,0,0,.22)}
.dark-theme .form-note,.dark-theme .form-status{color:var(--muted)}

/* CTA */
.dark-theme .cta{background:linear-gradient(115deg,#040b1b,#09285f 58%,#0e4fa9);border-color:var(--gold)}
.dark-theme .cta p{color:#bdc9df}.dark-theme .cta .display{color:#fff}
.dark-theme .cta::before{border-color:rgba(246,195,75,.24);box-shadow:0 0 0 58px rgba(246,195,75,.035),0 0 0 116px rgba(59,130,255,.025)}

/* Formation School */
.dark-theme.formation-landing{background:#050a18}
.dark-theme .formation-hero{background:linear-gradient(122deg,#030817,#07142f 36%,#0a347a 76%,#0d58bc);color:#fff}
.dark-theme .formation-hero__landscape{opacity:.25;filter:brightness(.72) saturate(1.05)}
.dark-theme .formation-hero__lead,.dark-theme .formation-proofline{color:#b9c6dd}
.dark-theme .formation-mini-trust{color:var(--gold-2)}
.dark-theme .lead-card{background:rgba(9,20,43,.96);border-color:var(--gold);box-shadow:0 42px 110px rgba(0,0,0,.58),0 0 0 7px rgba(246,195,75,.055)}
.dark-theme .lead-card__body h2{color:#fff}.dark-theme .lead-card__body>p,.dark-theme .lead-form__privacy{color:var(--muted)!important}
.dark-theme .lead-card__play{background:var(--gold);color:#06122f}
.dark-theme .formation-brandbar{background:#081126;border-color:var(--gold);box-shadow:0 18px 45px rgba(0,0,0,.3)}
.dark-theme .formation-brandbar__grid>div+div{border-color:rgba(146,186,255,.12)}
.dark-theme .formation-brandbar strong{color:#f5f8ff}.dark-theme .formation-brandbar small{color:var(--muted)}
.dark-theme .formation-line-icon{background:var(--gold);color:#06122f}
.dark-theme .formation-results{background:linear-gradient(180deg,#071127,#050a18)}
.dark-theme .trustpilot-card,.dark-theme .testimonial-video{background:#0b1730;border-color:rgba(146,186,255,.16);box-shadow:0 20px 60px rgba(0,0,0,.28)}
.dark-theme .testimonial-video__copy h3{color:#fff}.dark-theme .testimonial-video__copy p{color:var(--muted)}
.dark-theme .formation-about{background:linear-gradient(145deg,#07142f,#0b357a)}
.dark-theme .formation-about__copy p,.dark-theme .formation-community__copy p{color:#bdc9df}
.dark-theme .formation-about__highlight{background:rgba(246,195,75,.08);border-color:rgba(246,195,75,.32);color:#fff}
.dark-theme .formation-community{background:#081126}
.dark-theme .formation-disclaimer{color:#8493af}
.dark-theme .journey-rail{background:rgba(5,12,28,.86);border-color:rgba(146,186,255,.18);box-shadow:0 12px 38px rgba(0,0,0,.38)}
.dark-theme .journey-rail__dot{border-color:var(--gold)}.dark-theme .journey-rail a.is-active .journey-rail__dot{background:var(--gold);box-shadow:0 0 0 5px rgba(246,195,75,.10)}
.dark-theme .school-mobile-cta{background:rgba(5,12,28,.92);border-color:rgba(246,195,75,.26);box-shadow:0 18px 55px rgba(0,0,0,.48)}

/* Simulator */
.dark-theme.simulator-page{background:linear-gradient(180deg,#050a18,#071127 42%,#050a18)}
.dark-theme .simulator-shell{background:#081126;border-color:rgba(246,195,75,.25);box-shadow:0 42px 120px rgba(0,0,0,.58),0 0 0 7px rgba(59,130,255,.04)}
.dark-theme .simulator-controls{background:linear-gradient(155deg,#0d1c39,#071127);border-color:rgba(146,186,255,.14)}
.dark-theme .simulator-heading h2,.dark-theme .range-label label,.dark-theme .return-selector legend{color:#f4f7ff}
.dark-theme .simulator-heading p{color:var(--muted)}.dark-theme .simulator-kicker{color:var(--gold)}
.dark-theme .range-label output{color:#06122f;background:var(--gold);box-shadow:0 8px 22px rgba(246,195,75,.18)}
.dark-theme .range-group input[type=range]{background:linear-gradient(90deg,var(--gold) 0 var(--value),rgba(146,186,255,.13) var(--value) 100%)}
.dark-theme .range-group input[type=range]::-webkit-slider-thumb{background:var(--blue);border-color:#0b1730;box-shadow:0 0 0 2px var(--gold),0 7px 18px rgba(0,0,0,.4)}
.dark-theme .range-group input[type=range]::-moz-range-thumb{background:var(--blue);border-color:#0b1730;box-shadow:0 0 0 2px var(--gold),0 7px 18px rgba(0,0,0,.4)}
.dark-theme .range-limits{color:#8290ac}
.dark-theme .return-selector label span{background:#09152d;border-color:rgba(146,186,255,.18)}
.dark-theme .return-selector label strong{color:#eaf1ff}.dark-theme .return-selector label small{color:#9eacc7}
.dark-theme .return-selector input:checked+span{background:linear-gradient(145deg,#123a7c,#1763ca);border-color:var(--gold)}
.dark-theme .simulator-assumptions span{background:rgba(59,130,255,.10);color:#9eacc7}
.dark-theme .simulator-results{background:linear-gradient(145deg,#020817,#07142f 43%,#0b3f91)}
.dark-theme .simulator-legal{color:#8d9bb5}.dark-theme .simulator-legal::before{color:var(--gold)}
.dark-theme .simulator-teaser{background:linear-gradient(135deg,#06122f,#0b357a);border-color:rgba(246,195,75,.28)}

/* Footer and overlays */
.dark-theme .site-footer{background:linear-gradient(145deg,#020611,#050d21 62%,#071a3c);color:#fff;border-top:0}
.dark-theme .site-footer::before{background:linear-gradient(90deg,var(--blue),var(--gold),var(--blue-2))}
.dark-theme .footer-brand img{filter:brightness(0) invert(1) drop-shadow(0 8px 18px rgba(0,0,0,.3))}
.dark-theme .footer-brand p,.dark-theme .footer-links a,.dark-theme .footer-links span,.dark-theme .footer-bottom{color:#93a2bd}
.dark-theme .footer-title{color:var(--gold)}.dark-theme .footer-links a:hover{color:#fff}.dark-theme .footer-bottom{border-color:rgba(146,186,255,.10)}
.dark-theme .site-loader{background:#050a18}.dark-theme .site-loader__mark{filter:brightness(0) invert(1) drop-shadow(0 0 18px rgba(246,195,75,.18))}.dark-theme .site-loader__label{color:var(--gold)}.dark-theme .site-loader__line{background:rgba(255,255,255,.08)}.dark-theme .site-loader__line::after{background:linear-gradient(90deg,var(--blue),var(--gold))}
.dark-theme .scroll-progress__bar{background:linear-gradient(90deg,var(--blue),var(--gold),var(--blue-2));box-shadow:0 0 18px rgba(246,195,75,.32)}
.dark-theme .page-transition{background:linear-gradient(145deg,#020611,#09265a)}
.dark-theme .cursor-glow{background:radial-gradient(circle,rgba(59,130,255,.13),rgba(246,195,75,.03) 43%,transparent 70%);mix-blend-mode:screen}
.dark-theme .lightbox__close{background:#0b1730;color:var(--gold);border-color:rgba(246,195,75,.35)}
.dark-theme .lightbox__image{background:#081126}

/* Better browser controls in dark mode */
.dark-theme input,.dark-theme textarea,.dark-theme select{color-scheme:dark}
.dark-theme hr{border-color:rgba(146,186,255,.12)}
.dark-theme a:focus-visible,.dark-theme button:focus-visible,.dark-theme input:focus-visible,.dark-theme select:focus-visible,.dark-theme textarea:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* ============================================================
   VIBRANT BLUE EDITION — brighter dark mode
   Keeps the dark identity while replacing near-black surfaces
   with luminous royal blue and stronger gold highlights.
   ============================================================ */
:root{
  --blue:#1677ff;
  --blue-2:#55b1ff;
  --blue-dark:#08275f;
  --blue-light:#c1ddff;
  --gold:#ffd13d;
  --gold-2:#fff0a6;
  --gold-dark:#e6ad00;
  --ivory:#08245a;
  --paper:#0e367a;
  --pearl:#1552ad;
  --ink:#ffffff;
  --muted:#c9daf5;
  --line:rgba(193,221,255,.24);
  --shadow:0 28px 80px rgba(2,18,54,.34);
  --shadow-sm:0 16px 42px rgba(2,18,54,.25);
}
html{background:#09295f}
body.dark-theme{
  background:
    radial-gradient(1050px 680px at 92% -8%,rgba(76,174,255,.42),transparent 62%),
    radial-gradient(760px 560px at -6% 42%,rgba(255,209,61,.13),transparent 66%),
    linear-gradient(180deg,#0b347a 0%,#0b2e6e 46%,#09285f 100%);
}
body.dark-theme::before{
  background:
    radial-gradient(720px circle at var(--glow-x) var(--glow-y),rgba(86,178,255,.24),transparent 58%),
    radial-gradient(520px circle at 78% 20%,rgba(255,209,61,.10),transparent 70%);
}
.dark-theme .section--paper{
  background:linear-gradient(180deg,rgba(18,67,143,.96),rgba(11,45,104,.97));
}
.dark-theme .lead,.dark-theme .section-head p{color:#d3e2f8}

/* Header — royal blue glass rather than black */
.dark-theme .site-header,
.dark-theme .formation-landing .site-header{
  background:rgba(8,43,101,.88);
  border-bottom-color:rgba(255,209,61,.22);
  box-shadow:0 10px 35px rgba(0,23,70,.20);
  backdrop-filter:blur(18px) saturate(1.35);
}
.dark-theme .site-header.is-scrolled{
  background:rgba(8,47,111,.97);
  border-color:rgba(255,209,61,.34);
  box-shadow:0 16px 48px rgba(0,22,66,.28);
}
.dark-theme .nav-links a{color:#eaf4ff}
@media(max-width:940px){
  .dark-theme .nav-links{
    background:rgba(9,49,112,.985);
    border-color:rgba(255,209,61,.22);
  }
}

/* Buttons — brighter and more energetic */
.dark-theme .btn-primary{
  background:linear-gradient(135deg,#fff2a9 0%,#ffd13d 42%,#f2b700 100%);
  border-color:#ffe887;
  box-shadow:0 14px 36px rgba(255,209,61,.34),0 0 22px rgba(255,209,61,.12),inset 0 1px rgba(255,255,255,.62);
}
.dark-theme .btn-outline{
  color:#08275f!important;
  background:linear-gradient(135deg,#ffffff,#dcecff)!important;
  border-color:rgba(255,255,255,.92)!important;
  box-shadow:0 12px 28px rgba(1,27,76,.18),0 0 0 1px rgba(255,209,61,.18)!important;
}
.dark-theme .btn-outline:hover,.dark-theme .btn-outline:focus-visible{
  color:#061d49!important;
  background:linear-gradient(135deg,#fff9db,#ffd13d)!important;
  box-shadow:0 16px 36px rgba(255,209,61,.28)!important;
}
.dark-theme .formation-hero .btn-outline,
.dark-theme .formation-about__copy .btn-outline{
  color:#08275f!important;
  background:linear-gradient(135deg,#fff,#e6f2ff)!important;
  border-color:#fff!important;
}

/* Home hero — brighter image and blue atmosphere */
.dark-theme .hero{
  background:linear-gradient(135deg,rgba(9,48,112,.96),rgba(18,91,195,.72) 58%,rgba(21,117,255,.34));
  border-bottom-color:rgba(255,209,61,.22);
}
.dark-theme .hero-copy .lead{color:#dceaff}
.dark-theme .hero-art{
  border-color:rgba(255,209,61,.72);
  box-shadow:0 34px 90px rgba(0,27,83,.34),0 0 0 8px rgba(15,65,140,.72),0 0 34px rgba(255,209,61,.17);
}
.dark-theme .hero-art .landscape{filter:saturate(1.22) contrast(1.04) brightness(1.02)}
.dark-theme .hero-note{background:rgba(8,44,102,.82);border-color:rgba(255,209,61,.78)}
.dark-theme .trust-strip{
  background:linear-gradient(118deg,#0c3b86,#0c58c2 58%,#197cff);
  border-color:rgba(255,209,61,.28);
  box-shadow:0 24px 60px rgba(0,27,83,.30),inset 0 1px rgba(255,255,255,.15);
}
.dark-theme .trust-item p{color:#d2e3ff}

/* Cards — brighter blue surfaces with gold light */
.dark-theme .service-card,.dark-theme .detail-card,.dark-theme .contact-card,
.dark-theme .geo-card,.dark-theme .quote-card,.dark-theme .process-item,
.dark-theme .formation-method-card,.dark-theme .price-card:not(.featured),
.dark-theme .info-card,.dark-theme .comparison-card,.dark-theme .form-card{
  background:linear-gradient(145deg,rgba(21,78,165,.98),rgba(11,49,111,.98));
  border-color:rgba(193,221,255,.27);
  box-shadow:0 20px 52px rgba(0,25,78,.24),inset 0 1px rgba(255,255,255,.08);
}
.dark-theme .service-card:hover,.dark-theme .detail-card:hover,.dark-theme .contact-card:hover,.dark-theme .formation-method-card:hover{
  background:linear-gradient(145deg,#1a65cd,#0d4495);
  border-color:rgba(255,209,61,.78);
  box-shadow:0 30px 72px rgba(0,25,78,.30),0 0 30px rgba(255,209,61,.10);
}
.dark-theme .service-card p,.dark-theme .detail-card li,.dark-theme .process-item p,
.dark-theme .info-card p,.dark-theme .feature-row p,.dark-theme .formation-method-card p,
.dark-theme .quote-card p{color:#d2e1f7}
.dark-theme .service-card .icon-ring{
  background:linear-gradient(145deg,#2b91ff,#1263db);
  border-color:#ffd13d;
  box-shadow:0 13px 30px rgba(0,29,88,.25),0 0 24px rgba(255,209,61,.14);
}
.dark-theme .text-link{color:#d8ebff}
.dark-theme .icon-ring{background:rgba(79,166,255,.22);color:#e4f2ff;border-color:rgba(255,255,255,.16)}
.dark-theme .fx-card::before{background:radial-gradient(360px circle at var(--mx) var(--my),rgba(100,190,255,.25),transparent 64%)}

/* Panels, prices and inner pages */
.dark-theme .editorial-panel{
  background:linear-gradient(145deg,#0d3f8f,#0f62cf 58%,#2588ff);
  box-shadow:0 34px 88px rgba(0,25,78,.32),0 0 35px rgba(255,209,61,.08);
}
.dark-theme .editorial-panel p{color:#d9e8ff}
.dark-theme .price-card.featured{
  background:linear-gradient(145deg,#0d4599,#0f67d6 58%,#2587ff);
  box-shadow:0 34px 88px rgba(0,25,78,.34),0 0 32px rgba(255,209,61,.12);
}
.dark-theme .chip{background:#123f89;color:#eef6ff}
.dark-theme .page-hero{
  background:linear-gradient(128deg,#0a3478,#0f5bc2 62%,#1d7cff);
  border-bottom-color:rgba(255,209,61,.38);
}
.dark-theme .page-hero .lead,.dark-theme .page-hero .breadcrumb{color:#d6e6ff}
.dark-theme .service-prose p,.dark-theme .service-prose li,.dark-theme .prose p,.dark-theme .prose li{color:#d0dff5}
.dark-theme .service-summary-card{
  background:linear-gradient(145deg,#1554ad,#0c3a82);
  border-color:rgba(255,209,61,.34);
}
.dark-theme .comparison-card--featured{background:linear-gradient(145deg,#1964c9,#0d438f)}
.dark-theme .notice{background:rgba(68,155,255,.18);color:#e4efff}
.dark-theme .check-list li{color:#d5e4f8}

/* Forms and CTA */
.dark-theme .contact-card{background:linear-gradient(145deg,#0e499e,#126be0)}
.dark-theme .contact-line span,.dark-theme .contact-line a{color:#e0ecff}
.dark-theme .field input,.dark-theme .field select,.dark-theme .field textarea,
.dark-theme .lead-form .field input{
  background:#0b3373;
  border-color:rgba(193,221,255,.34);
}
.dark-theme .field input:focus,.dark-theme .field select:focus,.dark-theme .field textarea:focus{
  background:#0d438f;
}
.dark-theme .cta{
  background:linear-gradient(115deg,#0b3a83,#0e62cf 58%,#2587ff);
  box-shadow:0 30px 80px rgba(0,25,78,.28),0 0 35px rgba(255,209,61,.08);
}
.dark-theme .cta p{color:#d9e7fb}

/* Formation School */
.dark-theme.formation-landing{background:#0a2d68}
.dark-theme .formation-hero{
  background:linear-gradient(122deg,#0a3273,#0d4ba4 36%,#106bdc 76%,#2587ff);
}
.dark-theme .formation-hero__landscape{opacity:.38;filter:brightness(.95) saturate(1.2)}
.dark-theme .formation-hero__lead,.dark-theme .formation-proofline{color:#d9e8ff}
.dark-theme .lead-card{background:rgba(12,55,121,.96);box-shadow:0 38px 95px rgba(0,25,78,.34),0 0 28px rgba(255,209,61,.10)}
.dark-theme .lead-card__body>p,.dark-theme .lead-form__privacy{color:#d2e1f7!important}
.dark-theme .formation-brandbar{background:#0e3e87}
.dark-theme .formation-results{background:linear-gradient(180deg,#0f438e,#0a2e69)}
.dark-theme .trustpilot-card,.dark-theme .testimonial-video{background:#114b9e;border-color:rgba(193,221,255,.25)}
.dark-theme .formation-about{background:linear-gradient(145deg,#0c428f,#126bdc)}
.dark-theme .formation-about__copy p,.dark-theme .formation-community__copy p{color:#d8e7fb}
.dark-theme .formation-community{background:#0d3b82}
.dark-theme .journey-rail,.dark-theme .school-mobile-cta{background:rgba(10,48,107,.92)}

/* Simulator */
.dark-theme.simulator-page{background:linear-gradient(180deg,#0a3478,#0d438f 42%,#092d67)}
.dark-theme .simulator-shell{
  background:#0d438f;
  border-color:rgba(255,209,61,.42);
  box-shadow:0 38px 100px rgba(0,25,78,.35),0 0 30px rgba(255,209,61,.08);
}
.dark-theme .simulator-controls{background:linear-gradient(155deg,#165bb8,#0d3d83)}
.dark-theme .range-group input[type=range]{background:linear-gradient(90deg,var(--gold) 0 var(--value),rgba(204,228,255,.28) var(--value) 100%)}
.dark-theme .return-selector label span{background:#0e428c;border-color:rgba(193,221,255,.30)}
.dark-theme .return-selector input:checked+span{background:linear-gradient(145deg,#1b76ed,#2494ff)}
.dark-theme .simulator-results{background:linear-gradient(145deg,#0b3479,#0f58bd 43%,#2587ff)}
.dark-theme .simulator-teaser{background:linear-gradient(135deg,#0d428f,#126bdc)}

/* Footer and overlays — still grounded, but no near-black */
.dark-theme .site-footer{
  background:linear-gradient(145deg,#082c66,#0b3e88 62%,#0f55b3);
}
.dark-theme .footer-brand p,.dark-theme .footer-links a,.dark-theme .footer-links span,.dark-theme .footer-bottom{color:#c2d5f2}
.dark-theme .site-loader{background:#0a3478}
.dark-theme .page-transition{background:linear-gradient(145deg,#0a3478,#1473e8)}
.dark-theme .cursor-glow{background:radial-gradient(circle,rgba(91,185,255,.22),rgba(255,209,61,.06) 43%,transparent 70%)}
.dark-theme .lightbox__close,.dark-theme .lightbox__image{background:#0d428d}
