/* ESPITA — bandeaux internes uniformes, modèle page Contact.
   Accueil exclu. Aucun changement de contenu, navigation ou base de données. */
:root{--espita-inner-h:510px;--espita-inner-navy:#102c51;--espita-inner-blue:#2e5d8b;--espita-inner-gold:#f0b83e}

/* Pages principales : Contact, Campus, International, Admissions.
   Le style commun est chargé dans le header avec une version explicite contre le cache. */
body .page-hero.contact-hero,
body .cx-page .cx-hero,
body .intl-page .intl-hero,
body .admission-clean .ac-hero{
  height:var(--espita-inner-h)!important;
  min-height:var(--espita-inner-h)!important;
  max-height:none!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  position:relative!important;
  isolation:isolate;
  overflow:hidden!important;
  color:#fff!important;
  background-color:var(--espita-inner-navy)!important;
  background-image:
    linear-gradient(105deg,rgba(13,38,73,.96) 0%,rgba(27,54,90,.94) 52%,rgba(46,93,139,.92) 100%),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px)!important;
  background-size:cover!important;
  background-position:center!important;
}
/* Les photos restent dans le reste des pages, mais plus dans le bandeau
   afin de reproduire la page Contact. */
body .intl-page .intl-hero > img{display:none!important}
body .intl-page .intl-hero::before,
body .admission-clean .ac-hero::before,
body .cx-page .cx-hero::before,
body .page-hero.contact-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px)!important;
  background-size:50px 50px!important;
  opacity:.45!important;
}
body .page-hero.contact-hero .page-hero-content,
body .cx-page .cx-hero .cx-hero-inner,
body .intl-page .intl-hero .intl-hero__content,
body .admission-clean .ac-hero .ac-hero-inner{
  width:min(1200px,calc(100% - 64px))!important;
  max-width:1200px!important;
  margin-inline:auto!important;
  padding:34px 0!important;
  position:relative!important;
  z-index:2!important;
}
body .cx-page .cx-hero .cx-hero-copy{max-width:850px!important}
body .page-hero.contact-hero h1,
body .cx-page .cx-hero h1,
body .intl-page .intl-hero h1,
body .admission-clean .ac-hero h1{
  max-width:870px!important;
  margin:18px 0 20px!important;
  font-size:clamp(2.6rem,3.5vw,3.6rem)!important;
  line-height:1.09!important;
  letter-spacing:-.045em!important;
  color:#fff!important;
  text-shadow:none!important;
}
body .page-hero.contact-hero p,
body .cx-page .cx-hero p,
body .intl-page .intl-hero p,
body .admission-clean .ac-hero p{
  max-width:740px!important;
  margin:0!important;
  font-size:clamp(.95rem,1.1vw,1.05rem)!important;
  line-height:1.62!important;
  color:#dbe6f5!important;
}
body .cx-page .cx-hero .cx-eyebrow,
body .intl-page .intl-hero .eyebrow,
body .admission-clean .ac-hero .eyebrow,
body .page-hero.contact-hero .eyebrow{color:var(--espita-inner-gold)!important}
body .cx-page .cx-hero .cx-actions,
body .intl-page .intl-hero .intl-hero__actions,
body .admission-clean .ac-hero .ac-actions{margin-top:25px!important}
/* Maintenir les trois panneaux de chiffres sous les héros, sans les écraser. */
@media(max-width:900px){
  :root{--espita-inner-h:460px}
  body .page-hero.contact-hero .page-hero-content,
  body .cx-page .cx-hero .cx-hero-inner,
  body .intl-page .intl-hero .intl-hero__content,
  body .admission-clean .ac-hero .ac-hero-inner{width:calc(100% - 48px)!important}
}
@media(max-width:640px){
  body .page-hero.contact-hero,
  body .cx-page .cx-hero,
  body .intl-page .intl-hero,
  body .admission-clean .ac-hero{height:auto!important;min-height:420px!important;max-height:none!important}
  body .page-hero.contact-hero .page-hero-content,
  body .cx-page .cx-hero .cx-hero-inner,
  body .intl-page .intl-hero .intl-hero__content,
  body .admission-clean .ac-hero .ac-hero-inner{width:calc(100% - 36px)!important;padding:74px 0 76px!important}
  body .page-hero.contact-hero h1,
  body .cx-page .cx-hero h1,
  body .intl-page .intl-hero h1,
  body .admission-clean .ac-hero h1{font-size:clamp(2.15rem,9vw,2.85rem)!important;max-width:100%!important}
  body .cx-page .cx-hero .cx-actions,
  body .intl-page .intl-hero .intl-hero__actions,
  body .admission-clean .ac-hero .ac-actions{display:flex!important;gap:12px!important;flex-wrap:wrap!important}
}
@media(prefers-reduced-motion:reduce){
  body .page-hero.contact-hero *,body .cx-page .cx-hero *,body .intl-page .intl-hero *,body .admission-clean .ac-hero *{animation:none!important;transition:none!important}
}
