@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Open+Sans:wght@400;500;600;700;800&display=swap');

/* ── Empêche le scroll horizontal sur toutes les pages ── */
html { overflow-x: hidden; }
body { overflow-x: hidden; }

/* ═══════════════════════════════════════════════════════════
   COLLÈGE PRIVÉ LES ÉLITES DE TOUMODI — Design System
   Navy + Or · Institutionnel premium · zéro emoji (icônes SVG)
═══════════════════════════════════════════════════════════ */
:root {
  /* Fonts */
  --disp: 'Montserrat', sans-serif;
  --ui:   'Open Sans', sans-serif;
  --lbl:  'Open Sans', sans-serif;

  /* Navy scale */
  --navy:     #0E1E3F;
  --navy-700: #15294F;
  --navy-600: #1E3A6B;
  --blue:     #21408A;

  /* Gold scale */
  --gold:      #E6A92B;   /* brand gold — accents on dark */
  --gold-soft: #F3CC66;
  --gold-ink:  #8A6010;   /* readable gold on light surfaces */

  /* Neutrals */
  --paper:   #F6F8FC;
  --cream:   #FBF9F3;
  --surface: #FFFFFF;
  --ink:     #0C1526;
  --muted:   #525C73;
  --mid:     #8A93A8;
  --line:    rgba(14,30,63,.10);
  --line-2:  rgba(14,30,63,.16);

  /* Shape & depth */
  --rad:    10px;
  --rad-lg: 18px;
  --rad-xl: 26px;
  --shadow:    0 1px 2px rgba(14,30,63,.04), 0 8px 24px rgba(14,30,63,.07);
  --shadow-lg: 0 8px 24px rgba(14,30,63,.10), 0 30px 60px rgba(14,30,63,.13);
  --shadow-gold: 0 10px 30px rgba(230,169,43,.30);

  --maxw: 1200px;
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--disp); line-height: 1.04; letter-spacing: -.01em; }
a { color: var(--gold-ink); text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--navy); }

/* ── SVG icon primitives ── */
.ic { width: 22px; height: 22px; stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-chip {
  width: 56px; height: 56px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, rgba(230,169,43,.16), rgba(230,169,43,.06));
  color: var(--gold-ink); border: 1px solid rgba(230,169,43,.28);
}
.icon-chip .ic { width: 26px; height: 26px; stroke-width: 1.6; }

/* ── Layout ── */
.inner { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.sec { padding: 112px 0; }
.text-c { text-align: center; }
.eyebrow {
  font-family: var(--lbl); font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.eyebrow.center { justify-content: center; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--gold-ink); }
.section-head { max-width: 640px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.04rem; }
.section-head.center { margin-inline: auto; }

/* ── Buttons ── */
.btn-p {
  display: inline-flex; align-items: center; gap: .6rem;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy); font-family: var(--lbl); font-size: .84rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
  padding: 15px 28px; border: none; border-radius: var(--rad); cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease; white-space: nowrap;
}
.btn-p:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); color: var(--navy); }
.btn-p .ic { width: 18px; height: 18px; }
.btn-navy {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--navy); color: #fff; font-family: var(--lbl); font-size: .84rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase; padding: 15px 28px;
  border: none; border-radius: var(--rad); cursor: pointer; transition: transform .16s, box-shadow .16s;
}
.btn-navy:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-outline {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--navy); font-family: var(--lbl); font-size: .84rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase; padding: 13px 26px;
  border: 1.5px solid var(--line-2); border-radius: var(--rad); cursor: pointer;
  background: transparent; transition: border-color .18s, color .18s, background .18s;
}
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-text {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--lbl); font-size: .82rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  color: var(--navy); border-bottom: 2px solid transparent; padding-bottom: 3px; transition: gap .18s, border-color .18s;
}
.btn-text:hover { gap: .8rem; border-bottom-color: var(--gold); }
.btn-text .ic { width: 16px; height: 16px; }

/* ── Topbar ── */
.topbar { background: var(--navy); color: rgba(255,255,255,.72); font-size: .76rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.topbar-in { max-width: var(--maxw); margin: 0 auto; padding: 9px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.topbar-in .tb-left { display: inline-flex; align-items: center; gap: 9px; font-family: var(--lbl); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.topbar-in .tb-left .ic { width: 15px; height: 15px; color: var(--gold); }
.topbar-contact { display: inline-flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-contact a { color: rgba(255,255,255,.74); display: inline-flex; align-items: center; gap: 7px; transition: color .18s; }
.topbar-contact a .ic { width: 15px; height: 15px; color: var(--gold); }
.topbar-contact a:hover { color: #fff; }
@media(max-width:760px){ .topbar-in .tb-left{display:none} .topbar-in{justify-content:center} }

/* ── Splash ── */
#splash {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(120% 120% at 50% 0%, var(--navy-700) 0%, var(--navy) 60%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .7s cubic-bezier(.4,0,.2,1), visibility .7s;
}
#splash.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.sp-mark { width: 96px; height: auto; margin-bottom: 22px; animation: spPop .8s cubic-bezier(.16,1,.3,1) both; filter: drop-shadow(0 12px 30px rgba(0,0,0,.4)); }
.sp-name { font-family: var(--disp); font-weight: 800; font-size: 1.15rem; color: #fff; text-transform: uppercase; letter-spacing: .04em; text-align: center; line-height: 1.18; animation: spIn .7s .1s both; }
.sp-name span { display: block; font-family: var(--lbl); font-size: .64rem; font-weight: 600; color: var(--gold); letter-spacing: .12em; margin-top: 9px; }
.sp-bar { width: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: 2px; margin-top: 22px; animation: spBar 1s .26s cubic-bezier(.16,1,.3,1) both; }
@keyframes spIn { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:none} }
@keyframes spPop { from{opacity:0;transform:scale(.86)} to{opacity:1;transform:none} }
@keyframes spBar { from{width:0} to{width:68px} }

/* ── Nav (glass) ── */
.nav { position: sticky; top: 0; z-index: 600; background: rgba(14,30,63,.78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid rgba(230,169,43,.18); }
.nav-in { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; height: 74px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 13px; }
.nav-brand-mark { height: 40px; width: auto; }
.nav-brand-name { font-family: var(--disp); font-weight: 800; font-size: .92rem; color: #fff; line-height: 1.08; letter-spacing: .01em; }
.nav-brand-name span { display: block; font-family: var(--lbl); font-size: .64rem; font-weight: 600; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-family: var(--lbl); font-size: .8rem; font-weight: 600; letter-spacing: .01em; text-transform: uppercase; color: rgba(255,255,255,.74); padding: 9px 14px; border-radius: 8px; transition: color .18s, background .18s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); background: rgba(230,169,43,.1); }
.nav-links .nav-cta { margin-left: 10px; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--navy) !important; font-weight: 700; padding: 11px 20px; }
.nav-links .nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); background: linear-gradient(135deg, var(--gold-soft), var(--gold)); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; }
.hamburger span { display: block; width: 25px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
@media(max-width:980px){ .nav-links{display:none} .hamburger{display:flex} }

/* ── Mobile overlay ── */
.mob-overlay { position: fixed; inset: 0; z-index: 9998; background: var(--navy); transform: translateX(100%); transition: transform .38s cubic-bezier(.4,0,.2,1); overflow-y: auto; padding: 90px 36px 48px; }
.mob-overlay.open { transform: translateX(0); }
.mob-close { position: absolute; top: 22px; right: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--gold); color: var(--navy); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.mob-close .ic { width: 24px; height: 24px; stroke-width: 2.2; }
.mob-close:hover { transform: rotate(90deg); }
.mob-overlay a.mob-link { display: flex; align-items: center; justify-content: space-between; font-family: var(--disp); font-size: 1.7rem; font-weight: 700; color: #fff; padding: 1.05rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mob-overlay a.mob-link .ic { color: var(--gold); width: 20px; height: 20px; opacity: .7; }
.mob-overlay a.mob-link:hover { color: var(--gold); }
.mob-contact { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; }
.mob-contact a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--lbl); font-size: .72rem; color: rgba(255,255,255,.6); letter-spacing: .04em; }
.mob-contact a .ic { width: 16px; height: 16px; color: var(--gold); }
.mob-contact a:hover { color: var(--gold); }

/* ── Hero ── */
#hero { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero-in { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 64px 28px 80px; display: grid; grid-template-columns: 1fr .92fr; gap: 56px; align-items: center; width: 100%; }
.hero-text .eyebrow { color: var(--gold); }
.hero-text .eyebrow::before { background: var(--gold); }
.hero-title { font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 800; color: #fff; line-height: 1.08; margin: 20px 0 22px; letter-spacing: -.01em; }
.hero-title em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,.72); margin-bottom: 36px; max-width: 480px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-ctas .btn-ghost { display: inline-flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.82); font-family: var(--lbl); font-size: .82rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; border-bottom: 2px solid transparent; padding-bottom: 3px; transition: gap .18s, border-color .18s, color .18s; }
.hero-ctas .btn-ghost .ic { width: 16px; height: 16px; }
.hero-ctas .btn-ghost:hover { color: var(--gold); border-bottom-color: var(--gold); gap: .8rem; }
.hero-vals { display: flex; gap: 14px; margin-top: 46px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.13); flex-wrap: wrap; }
.hero-val { display: inline-flex; align-items: center; gap: 11px; }
.hero-val .ic { color: var(--gold); width: 22px; height: 22px; }
.hero-val span { font-family: var(--lbl); font-size: .76rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ── Hero carousel (visual) ── */
.hero-visual { position: relative; }
.hero-carousel { position: relative; border-radius: var(--rad-xl); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.1); aspect-ratio: 4/5; background: var(--navy-700); }
.hc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hc-slide.active { opacity: 1; }
.hc-slide img { width: 100%; height: 100%; object-fit: contain; display: block; background: #0a1830; }
.hc-slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 24px 22px; background: linear-gradient(to top, rgba(14,30,63,.95) 15%, rgba(14,30,63,.55) 65%, transparent); }
.hc-slide-cap .hc-tag { font-family: var(--lbl); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); display: block; }
.hc-slide-cap h3 { font-family: var(--disp); font-size: clamp(.95rem,1.8vw,1.18rem); font-weight: 700; color: #fff; margin-top: 6px; line-height: 1.25; }
.hc-dots { position: absolute; top: 18px; right: 18px; z-index: 3; display: flex; gap: 7px; }
.hc-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.hc-dot.active { background: var(--gold); transform: scale(1.25); }
.hc-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(14,30,63,.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.hc-arrow:hover { background: var(--gold); color: var(--navy); }
.hc-arrow .ic { width: 18px; height: 18px; }
.hc-arrow.prev { left: 14px; }
.hc-arrow.next { right: 14px; }
.hero-badge { position: absolute; top: 18px; right: 18px; z-index: 4; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--navy); padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-gold); }
.hero-badge strong { display: block; font-family: var(--disp); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.hero-badge span { font-family: var(--lbl); font-size: .63rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; opacity: .85; }
@media(max-width:980px){
  .hero-in { grid-template-columns:1fr; padding:40px 20px 48px; gap:32px; }
  .hero-carousel { aspect-ratio: 16/9; }
  .hero-badge { top: 12px; right: 12px; padding: 10px 16px; }
  .hero-badge strong { font-size: 1.3rem; }
  .hero-badge span { font-size: .6rem; }
  .hc-slide-cap { padding: 28px 18px 16px; }
  .hc-slide-cap h3 { font-size: .97rem; }
  .hero-title { font-size: clamp(2rem, 6vw, 3rem); }
}
@media(max-width:600px){
  .hero-in { padding: 32px 16px 40px; gap: 24px; }
  .hero-title { font-size: clamp(1.7rem, 7.5vw, 2.4rem); }
  .hero-sub { font-size: .94rem; }
  .hero-carousel { aspect-ratio: 4/3; }
  .hero-badge { top: 10px; right: 10px; padding: 8px 12px; border-radius: 10px; }
  .hero-badge strong { font-size: 1.1rem; }
  .hero-badge span { font-size: .56rem; }
  .hc-arrow { width: 32px; height: 32px; }
  .hc-slide-cap h3 { font-size: .88rem; }
  .hc-slide-cap { padding: 22px 14px 12px; }
}
@media(max-width:380px){
  .hero-title { font-size: 1.55rem; }
  .hero-sub { font-size: .88rem; }
  .hc-slide-cap .hc-tag { font-size: .58rem; }
  .hc-slide-cap h3 { font-size: .82rem; }
  .hero-badge { top: 8px; right: 8px; }
}

/* ── Stats band ── */
.stats { background: var(--navy-700); position: relative; }
.stats-in { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: 52px 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); position: relative; }
.stat:last-child { border-right: none; }
.stat .ic { color: var(--gold); width: 26px; height: 26px; margin: 0 auto 14px; }
.stat-num { font-family: var(--disp); font-size: 3rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-num em { color: var(--gold); font-style: normal; }
.stat-label { font-family: var(--lbl); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 11px; }
@media(max-width:720px){ .stats-in{grid-template-columns:repeat(2,1fr)} .stat:nth-child(2){border-right:none} .stat:nth-child(1),.stat:nth-child(2){border-bottom:1px solid rgba(255,255,255,.08)} }

/* ── About ── */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 76px; align-items: center; }
.about-media { position: relative; }
.about-media .frame { border-radius: var(--rad-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media .frame img { width: 100%; height: 540px; object-fit: cover; }
.about-media .accent { position: absolute; inset: 18px -18px -18px 18px; border: 2px solid rgba(230,169,43,.4); border-radius: var(--rad-xl); z-index: -1; }
.about-tag { position: absolute; top: -22px; right: -18px; background: var(--navy); color: #fff; padding: 18px 22px; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid rgba(230,169,43,.25); text-align: center; }
.about-tag strong { font-family: var(--disp); font-size: 1.5rem; font-weight: 800; color: var(--gold); display: block; line-height: 1; }
.about-tag span { font-family: var(--lbl); font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.about-body h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; margin: 16px 0 18px; }
.about-body > p { color: var(--muted); margin-bottom: 15px; }
.values { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.value { display: flex; align-items: flex-start; gap: 18px; padding: 18px 20px; background: var(--cream); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--rad); transition: transform .2s, box-shadow .2s; }
.value:hover { transform: translateX(5px); box-shadow: var(--shadow); }
.value .icon-chip { width: 48px; height: 48px; border-radius: 11px; }
.value .icon-chip .ic { width: 22px; height: 22px; }
.value h4 { font-family: var(--disp); font-weight: 700; font-size: 1.04rem; margin-bottom: 3px; }
.value p { font-size: .9rem; color: var(--muted); line-height: 1.5; }
@media(max-width:920px){ .about-grid{grid-template-columns:1fr; gap:54px} .about-media .accent{display:none} }

/* ── Mission quote band ── */
.mission { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%); position: relative; overflow: hidden; }
.mission::before { content:''; position:absolute; inset:0; background: radial-gradient(60% 100% at 100% 0%, rgba(230,169,43,.12), transparent 60%); }
.mission-in { position: relative; max-width: 860px; margin: 0 auto; text-align: center; padding: 92px 28px; }
.mission .quote-mark { color: var(--gold); width: 48px; height: 48px; margin: 0 auto 18px; opacity: .9; }
.mission blockquote { font-family: var(--disp); font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 700; color: #fff; line-height: 1.3; }
.mission blockquote em { color: var(--gold); font-style: normal; }
.mission cite { display: block; margin-top: 24px; font-family: var(--lbl); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); font-style: normal; }

/* ── Atouts (feature cards) ── */
.atouts { background: var(--paper); }
.atouts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 38px 30px; position: relative; overflow: hidden; transition: transform .24s, box-shadow .24s, border-color .24s; }
.feature::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature:hover::before { transform: scaleX(1); }
.feature .icon-chip { margin-bottom: 22px; }
.feature h3 { font-size: 1.16rem; font-weight: 700; margin-bottom: 10px; }
.feature p { font-size: .92rem; color: var(--muted); line-height: 1.62; }
@media(max-width:920px){ .atouts-grid{grid-template-columns:repeat(2,1fr)} }
@media(max-width:560px){ .atouts-grid{grid-template-columns:1fr} }

/* ── Gallery preview (home) ── */
.gallery-prev { background: var(--surface); }
.gp-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 46px; }
.gp-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 320px; gap: 16px; }
.gp-item { border-radius: var(--rad-lg); overflow: hidden; position: relative; cursor: pointer; }
.gp-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.16,1,.3,1); }
.gp-item:hover img { transform: scale(1.07); }
.gp-item .gp-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(to top, rgba(14,30,63,.85), transparent); color: #fff; font-family: var(--lbl); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.gp-item:hover .gp-cap { opacity: 1; transform: none; }
@media(max-width:720px){ .gp-grid{grid-template-columns:1fr 1fr; grid-auto-rows:200px} .gp-item:first-child{grid-column:1/-1; grid-row:span 1} }

/* ── Admissions / Inscription ── */
.adm { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); position: relative; overflow: hidden; }
.adm::before { content:''; position:absolute; top:-90px; right:-90px; width:360px; height:360px; background: radial-gradient(circle, rgba(230,169,43,.14), transparent 70%); }
.adm-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.adm-text h2 { color: #fff; font-size: clamp(1.9rem,3.4vw,2.8rem); font-weight: 800; margin: 16px 0 14px; }
.adm-text h2 em { color: var(--gold); }
.adm-text > p { color: rgba(255,255,255,.72); margin-bottom: 34px; }
.tarifs { display: flex; flex-direction: column; gap: 13px; }
.tarif { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--rad); padding: 18px 22px; }
.tarif.feat { border-color: rgba(230,169,43,.4); background: rgba(230,169,43,.09); }
.tarif .t-l { font-family: var(--lbl); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.tarif .t-sub { font-size: .82rem; color: rgba(255,255,255,.45); margin-top: 3px; }
.tarif .t-amt { font-family: var(--disp); font-size: 1.4rem; font-weight: 800; color: var(--gold); white-space: nowrap; }
.tarif .t-amt small { font-size: .58em; opacity: .8; font-weight: 600; }
.adm-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: var(--rad-lg); padding: 44px 38px; }
.adm-card h3 { font-family: var(--disp); font-size: 1.4rem; color: #fff; margin: 12px 0 10px; }
.adm-card > p { color: rgba(255,255,255,.62); font-size: .92rem; margin-bottom: 28px; }
.steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.step { display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,.78); font-size: .92rem; }
.step-n { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 800; font-size: .82rem; flex-shrink: 0; }
@media(max-width:920px){ .adm-in{grid-template-columns:1fr; gap:48px} }

/* ── Events preview / list ── */
.events { background: var(--paper); }
.ev-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 46px; }
.ev-list { display: flex; flex-direction: column; gap: 18px; }
.ev-row { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 24px 28px; transition: transform .2s, box-shadow .2s; }
.ev-row:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.ev-date { text-align: center; border-right: 1px solid var(--line); padding-right: 16px; }
.ev-date .d { font-family: var(--disp); font-size: 2.1rem; font-weight: 800; color: var(--navy); line-height: 1; }
.ev-date .m { font-family: var(--lbl); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-top: 3px; }
.ev-body h4 { font-family: var(--disp); font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.ev-body p { font-size: .9rem; color: var(--muted); }
.ev-tag { font-family: var(--lbl); font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(230,169,43,.12); color: var(--gold-ink); padding: 7px 14px; border-radius: 30px; white-space: nowrap; }
@media(max-width:640px){ .ev-row{grid-template-columns:68px 1fr} .ev-tag{display:none} }

/* ── Events page cards (CMS hydrated) ── */
.ev-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 52px; }
.ev-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--rad-lg); overflow: hidden; transition: transform .24s, box-shadow .24s; display: flex; flex-direction: column; }
.ev-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.ev-card img { width: 100%; height: 210px; object-fit: cover; }
.ev-card-body { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }
.ev-card-date { font-family: var(--lbl); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.ev-card-title { font-family: var(--disp); font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; line-height: 1.2; }
.ev-card-text { font-size: .92rem; color: var(--muted); line-height: 1.6; flex: 1; }
.ev-card-tag { align-self: flex-start; margin-top: 18px; font-family: var(--lbl); font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(14,30,63,.06); color: var(--navy); padding: 6px 13px; border-radius: 30px; }
@media(max-width:920px){ .ev-cards{grid-template-columns:repeat(2,1fr)} }
@media(max-width:560px){ .ev-cards{grid-template-columns:1fr} }

/* ── Contact ── */
.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 76px; }
.contact-info h2 { font-size: clamp(1.9rem,3.4vw,2.6rem); font-weight: 800; margin: 16px 0 16px; }
.contact-info > p { color: var(--muted); margin-bottom: 34px; }
.cdetails { display: flex; flex-direction: column; gap: 18px; }
.cdetail { display: flex; align-items: flex-start; gap: 16px; }
.cdetail .icon-chip { width: 50px; height: 50px; border-radius: 12px; }
.cdetail .icon-chip .ic { width: 22px; height: 22px; }
.cd-l { font-family: var(--lbl); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; }
.cd-v { font-size: .96rem; color: var(--ink); line-height: 1.55; }
.cd-v a { color: var(--navy); }
.cd-v a:hover { color: var(--gold-ink); }
.form-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 40px 38px; }
.contact-form { display: flex; flex-direction: column; gap: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--lbl); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: #C0392B; }
.field input, .field select, .field textarea { font-family: var(--ui); font-size: .96rem; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--rad); padding: 13px 15px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(33,64,138,.12); }
.field textarea { resize: vertical; min-height: 120px; }
@media(max-width:920px){ .contact-grid{grid-template-columns:1fr; gap:48px} .form-row{grid-template-columns:1fr} }

/* ── Inscription steps strip ── */
.insc-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 30px; }
.insc-step { background: var(--cream); border: 1px solid var(--line); border-radius: var(--rad); padding: 16px 16px; display: flex; align-items: flex-start; gap: 12px; }
.insc-step .step-n { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 800; font-size: .82rem; flex-shrink: 0; }
.insc-step strong { display: block; font-size: .88rem; margin-bottom: 2px; }
.insc-step span { font-size: .8rem; color: var(--muted); line-height: 1.4; }
@media(max-width:760px){ .insc-steps{grid-template-columns:1fr} }

/* ── Fee summary card ── */
.fee-card { margin-top: 30px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 26px 28px; }
.fee-card .cd-l { margin-bottom: 14px; }
.fee-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fee-row:last-child { border-bottom: none; }
.fee-row span { font-size: .94rem; }
.fee-row strong { color: var(--navy); font-family: var(--disp); white-space: nowrap; }
@media(max-width:380px){ .fee-row{flex-direction:column; align-items:flex-start; gap:2px} }

/* ── Page banner (inner) ── */
.page-banner { background: linear-gradient(125deg, var(--navy) 0%, var(--navy-600) 58%, var(--navy-700) 100%); padding: 84px 0 62px; position: relative; overflow: hidden; }
.page-banner::after { content:''; position:absolute; top:-70px; right:-50px; width:320px; height:320px; background: radial-gradient(circle, rgba(230,169,43,.16), transparent 70%); }
.page-banner .eyebrow { color: var(--gold); }
.page-banner .eyebrow::before { background: var(--gold); }
.page-banner h1 { font-size: clamp(2.1rem,4.4vw,3.5rem); font-weight: 800; color: #fff; text-transform: uppercase; margin-top: 14px; position: relative; z-index: 1; }
.page-banner h1 em { color: var(--gold); }
.page-banner p { color: rgba(255,255,255,.64); margin-top: 14px; max-width: 520px; position: relative; z-index: 1; }
/* ── Page banners avec fond photo (overlay plus léger = photo visible) ── */
.page-banner.has-photo { background: linear-gradient(125deg, rgba(14,30,63,.62) 0%, rgba(30,58,107,.48) 50%, rgba(14,30,63,.60) 100%), var(--pb-img, var(--navy)) center/cover no-repeat; }
.page-banner.has-photo .inner { position: relative; z-index: 1; }

/* ── Sections avec fond photo (stats, mission, admissions) ── */
.stats.has-photo { background: linear-gradient(rgba(14,30,63,.72), rgba(14,30,63,.72)), var(--sp-img) center/cover no-repeat; }
.mission.has-photo { background: linear-gradient(135deg, rgba(14,30,63,.65) 0%, rgba(30,58,107,.50) 100%), var(--sp-img) center/cover no-repeat; }
.adm.has-photo { background: linear-gradient(135deg, rgba(14,30,63,.68) 0%, rgba(14,30,63,.72) 100%), var(--sp-img) center/cover no-repeat; }
.events-dark-photo { background: linear-gradient(rgba(14,30,63,.70), rgba(14,30,63,.70)), var(--sp-img) center/cover no-repeat; }
.events-dark-photo h2 { color: #fff; }
.events-dark-photo .eyebrow { color: var(--gold); }
.events-dark-photo .eyebrow::before { background: var(--gold); }

/* ── Bandeau photo entre sections (effet parallax visuel) ── */
.photo-band {
  width: 100%; height: 320px;
  background: linear-gradient(rgba(14,30,63,.52), rgba(14,30,63,.52)), var(--pb2-img) center/cover no-repeat;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
@media (hover: hover) {
  .photo-band { background-attachment: fixed; }
}
.photo-band-caption {
  text-align: center; padding: 0 24px;
  position: relative; z-index: 1;
}
.photo-band-caption span {
  display: block; font-family: var(--lbl); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.photo-band-caption p {
  font-family: var(--disp); font-size: clamp(1.3rem,2.6vw,2rem); font-weight: 700;
  color: #fff; max-width: 640px; line-height: 1.3;
}
@media(max-width:600px) { .photo-band { height: 200px; } }

/* ── Breadcrumb ── */
.breadcrumb { background: var(--cream); border-bottom: 1px solid var(--line); }
.breadcrumb-in { max-width: var(--maxw); margin: 0 auto; padding: 14px 28px; font-family: var(--lbl); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); display: flex; gap: 9px; align-items: center; }
.breadcrumb-in a { color: var(--navy); }
.breadcrumb-in a:hover { color: var(--gold-ink); }
.breadcrumb-in .ic { width: 13px; height: 13px; opacity: .5; }

/* ── Gallery full ── */
.gallery-section-title { font-family: var(--disp); font-size: 1.15rem; font-weight: 700; color: var(--navy); border-left: 4px solid var(--gold); padding-left: 14px; margin: 0 0 0; }
.gallery-full { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 24px; }
.gf-item { border-radius: var(--rad-lg); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; position: relative; }
.gf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.16,1,.3,1); }
.gf-item:hover img { transform: scale(1.07); }
.gf-item::after { content:''; position:absolute; inset:0; background:rgba(14,30,63,0); transition:background .3s; }
.gf-item:hover::after { background:rgba(14,30,63,.28); }
.gf-zoom { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%) scale(.85); width:54px; height:54px; border-radius:50%; background:rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .3s, transform .3s; z-index:2; }
.gf-zoom .ic { color: var(--navy); width: 22px; height: 22px; }
.gf-item:hover .gf-zoom { opacity:1; transform:translate(-50%,-50%) scale(1); }
.gf-cap { position:absolute; left:0; right:0; bottom:0; z-index:2; padding:16px; background:linear-gradient(to top, rgba(14,30,63,.82), transparent); color:#fff; font-family:var(--lbl); font-size:.58rem; letter-spacing:.08em; text-transform:uppercase; opacity:0; transition:opacity .3s; }
.gf-item:hover .gf-cap { opacity:1; }
@media(max-width:680px){ .gallery-full{grid-template-columns:repeat(2,1fr)} }
@media(max-width:430px){ .gallery-full{grid-template-columns:1fr} }

/* ── Lightbox ── */
#lightbox { position:fixed; inset:0; z-index:9000; background:rgba(8,16,33,.95); display:none; align-items:center; justify-content:center; padding:40px; }
#lightbox.open { display:flex; }
#lightbox img { max-width:90vw; max-height:84vh; border-radius:var(--rad-lg); box-shadow:0 30px 80px rgba(0,0,0,.6); }
.lb-close { position:absolute; top:24px; right:24px; width:52px; height:52px; border-radius:50%; background:var(--gold); color:var(--navy); border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .25s; }
.lb-close .ic { width: 24px; height: 24px; stroke-width: 2.2; }
.lb-close:hover { transform:rotate(90deg); }

/* ── Team ── */
.team-block { margin-bottom: 60px; }
.team-block-title { font-family: var(--lbl); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 30px; display: flex; align-items: center; gap: 16px; }
.team-block-title::after { content:''; flex:1; height:1px; background: var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--rad-lg); overflow: hidden; transition: transform .22s, box-shadow .22s; }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tcard-photo { height: 150px; background: linear-gradient(150deg, var(--navy-600), var(--navy)); display: flex; align-items: center; justify-content: center; border-bottom: 3px solid var(--gold); }
.tcard-photo .ic { width: 54px; height: 54px; color: rgba(230,169,43,.85); stroke-width: 1.3; }
.tcard-photo .initials { font-family: var(--disp); font-weight: 800; font-size: 2rem; color: var(--gold); }
.tcard-body { padding: 22px 22px 26px; }
.tcard-body h3 { font-size: 1.04rem; font-weight: 700; margin-bottom: 4px; }
.tcard-role { font-family: var(--lbl); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.tcard-subj { display: inline-flex; margin-top: 14px; font-family: var(--lbl); font-size: .54rem; letter-spacing: .08em; text-transform: uppercase; background: var(--cream); border: 1px solid var(--line); color: var(--navy); padding: 5px 11px; border-radius: 30px; }
@media(max-width:980px){ .team-grid{grid-template-columns:repeat(3,1fr)} }
@media(max-width:680px){ .team-grid{grid-template-columns:repeat(2,1fr)} }
@media(max-width:420px){ .team-grid{grid-template-columns:1fr} }

/* ── Generic CTA band ── */
.cta-band { background: var(--cream); border: 1px solid var(--line); border-radius: var(--rad-xl); padding: 56px 48px; text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; margin: 14px 0 12px; }
.cta-band h2 em { color: var(--gold-ink); }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 78px 0 38px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 56px; margin-bottom: 52px; }
.footer-brand .fb-top { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer-brand .fb-top img { height: 42px; }
.footer-brand .fb-top strong { font-family: var(--disp); font-weight: 800; color: #fff; font-size: .98rem; line-height: 1.1; }
.footer-brand .fb-top strong span { display: block; font-family: var(--lbl); font-size: .5rem; font-weight: 400; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }
.footer-brand p { font-size: .9rem; line-height: 1.65; max-width: 340px; }
.footer-tagline { font-family: var(--lbl); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-top: 16px; }
.footer-col h4 { font-family: var(--lbl); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a { font-size: .9rem; color: rgba(255,255,255,.58); transition: color .18s; display: inline-flex; align-items: center; gap: 9px; }
.footer-col ul li a .ic { width: 15px; height: 15px; color: var(--gold); opacity: .85; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-family: var(--lbl); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.34); }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold); }
@media(max-width:880px){ .footer-grid{grid-template-columns:1fr 1fr} .footer-brand{grid-column:1/-1} }
@media(max-width:520px){ .footer-grid{grid-template-columns:1fr} }

/* ── WhatsApp float ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 800; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 22px rgba(37,211,102,.45); transition: transform .22s, box-shadow .22s; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37,211,102,.55); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ── Scroll reveal ── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.rv.on { opacity: 1; transform: none; }
.rv.d1{transition-delay:.07s}.rv.d2{transition-delay:.14s}.rv.d3{transition-delay:.21s}
.rv.d4{transition-delay:.28s}.rv.d5{transition-delay:.35s}.rv.d6{transition-delay:.42s}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce){ *,*::before,*::after{animation:none!important;transition:none!important} html{scroll-behavior:auto} .rv{opacity:1;transform:none} }
