/* ESPITA — Harmonie 2026. Couleurs chaleureuses, même système visuel sur tout le site. */
:root{--eh-navy:#122b50;--eh-blue:#214d7a;--eh-wine:#245b8f;--eh-rose:#0d91a8;--eh-gold:#e9b749;--eh-cream:#f5f8fc;--eh-paper:#fff;--eh-mist:#f5f6f9;--eh-border:#e5e4e9;--eh-text:#25324a;--eh-muted:#66738a;--eh-radius:20px;--eh-shadow:0 16px 38px rgba(24,42,71,.07)}
body.espita-theme-classic{--eh-wine:#244a82;--eh-rose:#4a78ac;--eh-cream:#f5f8fd;--eh-gold:#e3b44e}
body:not(.admin-body){background:#fff;color:var(--eh-text);font-family:Manrope,Arial,sans-serif;font-size:15px;line-height:1.65}
body:not(.admin-body) .container{max-width:1200px}
body:not(.admin-body) .section{padding-block:clamp(52px,6.2vw,88px)!important}
body:not(.admin-body) h1,body:not(.admin-body) h2,body:not(.admin-body) h3{font-family:Manrope,Arial,sans-serif;letter-spacing:-.035em}
body:not(.admin-body) h2{font-size:clamp(1.65rem,2.5vw,2.45rem)!important;line-height:1.2!important;color:var(--eh-navy)}
body:not(.admin-body) h3{font-size:clamp(1.05rem,1.6vw,1.3rem)!important;line-height:1.3!important}
body:not(.admin-body) p{line-height:1.7}
body:not(.admin-body) .eyebrow{color:var(--eh-wine);font-weight:850;letter-spacing:.115em;font-size:.7rem}
body:not(.admin-body) .eyebrow.light{color:var(--eh-gold)}
body:not(.admin-body) .btn,body:not(.admin-body) button.btn{border-radius:999px;min-height:46px;font-size:.88rem;letter-spacing:0;font-weight:800}
body:not(.admin-body) .btn-gold{background:var(--eh-gold);color:var(--eh-navy);border-color:var(--eh-gold);box-shadow:none}
body:not(.admin-body) .btn-navy{background:var(--eh-navy);border-color:var(--eh-navy);color:#fff}
body:not(.admin-body) a:focus-visible,body:not(.admin-body) button:focus-visible{outline:3px solid var(--eh-rose);outline-offset:3px}
/* Corporate identity shared header + internal pages */
body:not(.admin-body) .topbar{background:var(--eh-navy)}
body:not(.admin-body) .site-header{background:#fff}
body:not(.admin-body) .page-hero,body:not(.admin-body) .compact-hero,body:not(.admin-body) .testimonials-hero{background:linear-gradient(120deg,var(--eh-navy),#2a4266 63%,var(--eh-wine));}
body:not(.admin-body) .page-hero h1,body:not(.admin-body) .page-hero h2{color:#fff!important;font-size:clamp(2rem,4vw,3.6rem)!important;line-height:1.13!important}
body:not(.admin-body) .page-hero p{max-width:650px;font-size:clamp(.94rem,1.25vw,1.08rem)!important;line-height:1.65;opacity:.92}
body:not(.admin-body) .page-hero-content{padding-block:clamp(42px,6vw,76px)}
body:not(.admin-body) .section-soft{background:var(--eh-cream)}
body:not(.admin-body) .info-card,body:not(.admin-body) .program-card,body:not(.admin-body) .career-card,body:not(.admin-body) .curriculum-card,body:not(.admin-body) .practical-card,body:not(.admin-body) .testimonial-card,body:not(.admin-body) .content-sidebar,body:not(.admin-body) .international-card{border-radius:var(--eh-radius);border-color:var(--eh-border);box-shadow:var(--eh-shadow)}
body:not(.admin-body) .section-heading p,body:not(.admin-body) .split-heading p,body:not(.admin-body) .feature-copy>p,body:not(.admin-body) .en186-head p{max-width:600px;font-size:.97rem!important;line-height:1.65!important}
/* Hero in the same visual language, warm without losing ESPITA blue */
body:not(.admin-body) .video-hero{background:var(--eh-navy);min-height:min(730px,88svh)}
body:not(.admin-body) .video-hero-overlay{background:linear-gradient(90deg,rgba(10,29,59,.94),rgba(18,43,80,.78) 52%,rgba(12,67,109,.33))!important}
body:not(.admin-body) .video-hero-copy h1{font-size:clamp(2.3rem,4.3vw,4.15rem)!important;max-width:740px;line-height:1.1!important}
body:not(.admin-body) .video-hero-copy>p{max-width:530px;font-size:1.02rem!important;line-height:1.65!important}
body:not(.admin-body) .video-program-card{border-radius:var(--eh-radius);backdrop-filter:blur(12px);border-color:rgba(255,255,255,.22)}
body:not(.admin-body) .video-hero-proof{border-color:rgba(255,255,255,.24)}
body:not(.admin-body) .video-ticker{background:var(--eh-wine);color:#fff}
body:not(.admin-body) .recognition-strip{background:#fff;border-bottom:1px solid var(--eh-border)}
/* Home pathways: coherent single palette instead of disparate gradients */
body:not(.admin-body) .home-pathways-v20{background:#fff}
body:not(.admin-body) .home-pathway-card{border-radius:var(--eh-radius);border:1px solid rgba(255,255,255,.18);overflow:hidden;background:linear-gradient(145deg,var(--eh-navy),#234d78)!important;box-shadow:var(--eh-shadow)}
body:not(.admin-body) .home-pathway-card:nth-child(even){background:linear-gradient(145deg,#185385,#287a9c)!important}
body:not(.admin-body) .home-pathway-card:nth-child(3){background:linear-gradient(145deg,#1e466c,#356689)!important}
body:not(.admin-body) .home-pathway-card h3,body:not(.admin-body) .home-pathway-card small{color:#fff!important}
body:not(.admin-body) .home-pathways-all,body:not(.admin-body) .home-editorial-all{color:var(--eh-navy)}
/* News & agenda: never render a tall empty white panel */
body:not(.admin-body) .home-editorial-v20{background:var(--eh-cream)}
body:not(.admin-body) .home-news-lead,body:not(.admin-body) .home-news-small,body:not(.admin-body) .home-agenda{background:#fff;border:1px solid var(--eh-border);border-radius:var(--eh-radius);box-shadow:var(--eh-shadow);overflow:hidden}
body:not(.admin-body) .home-agenda{min-height:0!important;height:auto!important;align-self:start!important;padding:26px!important}
body:not(.admin-body) .home-agenda-title strong{font-size:1.22rem!important;color:var(--eh-navy)}
body:not(.admin-body) .home-agenda-empty{font-size:.91rem!important;line-height:1.6;color:var(--eh-muted);margin-block:12px 4px;max-width:270px}
body:not(.admin-body) .home-agenda-date{background:var(--eh-cream);color:var(--eh-wine);border-radius:12px}
/* Institutional network stripped of competing pink/blue visual cues */
body:not(.admin-body) .espita-network-v186{background:#fff;padding-block:clamp(52px,6.2vw,84px)}
body:not(.admin-body) .en186-head h2{color:var(--eh-navy)!important}
body:not(.admin-body) .en186-head p{display:block;-webkit-line-clamp:unset;max-width:620px}
body:not(.admin-body) .en186-card{border-color:var(--eh-border);border-radius:var(--eh-radius);box-shadow:var(--eh-shadow)}
body:not(.admin-body) .en186-dot{background:var(--eh-wine);box-shadow:0 0 0 6px rgba(36,91,143,.09)}
body:not(.admin-body) .en186-dot.pro{background:var(--eh-blue);box-shadow:0 0 0 6px rgba(33,77,122,.08)}
body:not(.admin-body) .feature-showcase{background:var(--eh-navy)}
body:not(.admin-body) .campus-preview{background:var(--eh-cream)}
body:not(.admin-body) .feature-media img{border-radius:var(--eh-radius)}
/* Candidate video hero */
body:not(.admin-body) .marketing-international{background:linear-gradient(117deg,var(--eh-navy) 0%,#233f67 55%,#245b8f 100%);color:white}
body:not(.admin-body) .marketing-international h2{color:#fff!important}
body:not(.admin-body) .marketing-international p{color:#e5eaf1;display:block;-webkit-line-clamp:unset}
body:not(.admin-body) .marketing-international-video{border:1px solid rgba(255,255,255,.20);border-radius:var(--eh-radius);box-shadow:0 20px 45px rgba(7,13,31,.18)}
body:not(.admin-body) .marketing-play-icon{background:var(--eh-gold);color:var(--eh-navy)!important}
/* Real alumni + documentary portrait/video testimonials like the supplied reference */
body:not(.admin-body) .marketing-alumni{background:#fff}
body:not(.admin-body) .marketing-heading{align-items:end;gap:24px}
body:not(.admin-body) .marketing-heading h2{color:var(--eh-navy)}
body:not(.admin-body) .marketing-alumni-card{border-radius:var(--eh-radius);overflow:hidden;border:1px solid var(--eh-border);box-shadow:var(--eh-shadow)}
body:not(.admin-body) .marketing-alumni-picture{background:linear-gradient(145deg,var(--eh-navy),var(--eh-wine));aspect-ratio:4/3}
body:not(.admin-body) .marketing-alumni-copy small{color:var(--eh-wine)}
body:not(.admin-body) .marketing-voices{background:linear-gradient(122deg,#102d54,#184a7d 52%,#236f92);color:#fff}
body:not(.admin-body) .marketing-voices .eyebrow{color:var(--eh-gold)}
body:not(.admin-body) .marketing-voices .marketing-heading h2{color:#fff!important}
body:not(.admin-body) .marketing-voices-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body:not(.admin-body) .marketing-voice{display:flex;flex-direction:column;padding:0!important;gap:0;overflow:hidden;border-radius:var(--eh-radius);background:#fff;border:0;box-shadow:0 20px 44px rgba(6,25,58,.22)}
body:not(.admin-body) .marketing-voice-media{position:relative;height:275px;background:#273249;overflow:hidden}
body:not(.admin-body) .marketing-voice-media img,body:not(.admin-body) .marketing-voice-media video{display:block;width:100%;height:100%;object-fit:cover;max-height:unset;border-radius:0}
body:not(.admin-body) .marketing-voice-content{padding:23px 23px 25px;display:flex;flex-direction:column;gap:14px;flex:1}
body:not(.admin-body) .marketing-voice-type{color:var(--eh-wine);letter-spacing:.1em;font-size:.7rem;font-weight:850;text-transform:uppercase}
body:not(.admin-body) .marketing-voice blockquote{color:var(--eh-navy);font-weight:650;font-size:.98rem;line-height:1.65;margin:0;flex:1}
body:not(.admin-body) .marketing-voice-author{border-top:1px solid var(--eh-border);padding-top:14px;gap:3px}
body:not(.admin-body) .marketing-voice-author strong{color:var(--eh-navy)}
body:not(.admin-body) .marketing-voice-author small{color:var(--eh-muted)}
body:not(.admin-body) .marketing-voice.text-only .marketing-voice-content{min-height:260px}
/* All primary internal pages consistent surfaces */
body:not(.admin-body) .program-hero{background-color:var(--eh-navy)}
body:not(.admin-body) .quick-facts{background:var(--eh-cream)}
body:not(.admin-body) .practical-section,body:not(.admin-body) .program-presentation,body:not(.admin-body) .related-section{background:#fff}
body:not(.admin-body) .curriculum-section,body:not(.admin-body) .careers-section{background:var(--eh-cream)}
body:not(.admin-body) .program-grid .program-card,body:not(.admin-body) .info-cards>*,body:not(.admin-body) .practical-grid>*,body:not(.admin-body) .career-grid>*{border-radius:var(--eh-radius)}
body:not(.admin-body) .text-link{color:var(--eh-wine)}
body:not(.admin-body) .marketing-heading>span{color:var(--eh-muted)}
/* Mobile consistency */
@media(max-width:980px){body:not(.admin-body) .marketing-voices-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.admin-body) .video-hero{min-height:640px}}
@media(max-width:650px){body:not(.admin-body) .marketing-voices-grid{grid-template-columns:1fr}body:not(.admin-body) .marketing-voice-media{height:320px}body:not(.admin-body) .video-hero{min-height:0}body:not(.admin-body) .video-hero-copy h1{font-size:clamp(2.05rem,8vw,2.7rem)!important}body:not(.admin-body) .en186-head{gap:12px}body:not(.admin-body) .home-agenda{padding:22px!important}body:not(.admin-body) .section{padding-block:54px!important}}
@media(prefers-reduced-motion:reduce){body:not(.admin-body) .en186-track{animation:none}body:not(.admin-body) *{scroll-behavior:auto!important}}

body:not(.admin-body) .marketing-voice-media:empty{display:none}

/* HOTFIX CONTRASTE — 25 NOV 2026. Titres visibles sur fonds sombres, identité bleu/or. */
body:not(.admin-body) .video-program-card h2,
body:not(.admin-body) .video-hero .video-program-card h2,
body:not(.admin-body) .feature-showcase h2,
body:not(.admin-body) .feature-showcase .feature-copy h2,
body:not(.admin-body) .final-cta h2,
body:not(.admin-body) .marketing-international h2,
body:not(.admin-body) .marketing-voices h2,
body:not(.admin-body) .dark-section h2 {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  opacity:1 !important;
  text-shadow:none !important;
}
body:not(.admin-body) .video-program-card h2{font-size:clamp(1.65rem,2.5vw,2.25rem)!important;line-height:1.22!important}
body:not(.admin-body) .feature-showcase .feature-copy h2,
body:not(.admin-body) .final-cta h2{font-size:clamp(1.8rem,2.8vw,2.6rem)!important;line-height:1.18!important}
body:not(.admin-body) .feature-showcase .feature-copy p,
body:not(.admin-body) .final-cta p,
body:not(.admin-body) .marketing-international p{color:#e4ecf7!important;opacity:1!important}
body:not(.admin-body) .feature-showcase .check-grid span,
body:not(.admin-body) .video-program-card a{color:#fff!important}
body:not(.admin-body) .feature-showcase .eyebrow,
body:not(.admin-body) .final-cta .eyebrow,
body:not(.admin-body) .video-program-card>span,
body:not(.admin-body) .marketing-voices .eyebrow{color:#f1c35a!important}
body:not(.admin-body) .video-program-card{background:rgba(7,28,57,.90)!important}
body:not(.admin-body) .video-program-card a:hover{color:#f1c35a!important}
body:not(.admin-body) .marketing-voices{background:linear-gradient(120deg,#102b50,#1f5984)!important}
body:not(.admin-body) .marketing-voice blockquote{color:#122b50!important}
body:not(.admin-body) .marketing-voice-type{color:#17618a!important}
body:not(.admin-body) .home-pathway-card:nth-child(even){background:linear-gradient(145deg,#185385,#287a9c)!important}
body:not(.admin-body) .home-pathway-card h3{-webkit-text-fill-color:#fff!important}
body:not(.admin-body) .page-hero h1,
body:not(.admin-body) .page-hero h2,
body:not(.admin-body) .program-hero h1{color:#fff!important;-webkit-text-fill-color:#fff!important}
