
:root{
  --navy:#061f46;
  --navy-2:#0a2e63;
  --blue:#075bd8;
  --gold:#d89400;
  --white:#ffffff;
  --light:#f7faff;
  --text:#0b1d3a;
  --muted:#5a6878;
  --border:#e2eaf3;
  --shadow:0 12px 35px rgba(6,31,70,.10);
  --container:1360px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Arial,sans-serif;color:var(--text);background:#fff;line-height:1.65}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}
button,input,select,textarea{font:inherit}
.container{width:min(92%,var(--container));margin:auto}
.section{padding:84px 0}
.section-title{text-align:center;max-width:800px;margin:0 auto 44px}
.section-title h2{font-size:clamp(2rem,4vw,3rem);color:var(--navy);margin-bottom:12px}
.section-title p{color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 22px;border-radius:8px;font-weight:700;transition:.25s}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--blue);color:#fff}
.btn-outline{border:1px solid rgba(255,255,255,.8);color:#fff}
.btn-light{background:#fff;color:var(--navy)}
.btn-dark{background:var(--navy);color:#fff}

/* Topbar */
.topbar{background:var(--navy);color:#fff;font-size:14px}
.topbar .container{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.topbar-links,.socials{display:flex;align-items:center;gap:24px}
.topbar a{color:#fff;display:flex;align-items:center;gap:8px;font-weight:600}
.parent-top{background:var(--gold);padding:10px 18px;border-radius:8px}

/* Header */
header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid var(--border)}
.navbar{min-height:140px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand img{width:190px;height:110px;object-fit:contain}
.nav-links{display:flex;align-items:center;gap:38px}
.nav-links>li{position:relative}
.nav-links>li>a{display:block;padding:56px 0 28px;font-size:15px;font-weight:700;white-space:nowrap;position:relative}
.nav-links>li>a::after{content:"";position:absolute;left:0;right:0;bottom:18px;height:2px;background:var(--gold);transform:scaleX(0);transition:.25s}
.nav-links>li>a:hover,.nav-links>li>a.active{color:var(--gold)}
.nav-links>li>a:hover::after,.nav-links>li>a.active::after{transform:scaleX(1)}

.dropdown-menu{
  position:absolute;
  top:100%;
  left:-15px;
  width:220px;
  background:#fff;
  border-radius:8px;
  padding:10px 0;
  box-shadow:0 15px 40px rgba(6,31,70,.18);
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:.25s;
  z-index:1005;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:none;
}
.dropdown-menu a{display:flex;align-items:center;gap:14px;padding:13px 28px;font-weight:600}
.dropdown-menu a:hover{background:#f5f8fc}
.dropdown-menu li:nth-child(1) i{color:#ff4c8b}
.dropdown-menu li:nth-child(2) i{color:#2086ff}
.dropdown-menu li:nth-child(3) i{color:#43b766}
.dropdown-menu li:nth-child(4) i{color:#8554dd}

.nav-actions{display:flex;align-items:center;gap:16px}
.language-switch{display:flex;align-items:center;border:1px solid var(--border);border-radius:999px;padding:4px}
.language-switch a{padding:8px 10px;font-weight:800;font-size:14px;border-radius:999px}
.language-switch a.active{background:var(--navy);color:#fff}
.menu-toggle{display:none;border:0;background:var(--navy);color:#fff;width:44px;height:44px;border-radius:10px}

/* Hero Slider */
.hero{
  position:relative;
  min-height:400px;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
}
.hero-slides{position:absolute;inset:0}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity 1s ease}
.hero-slide.active{opacity:1;visibility:visible}
.hero-slide img{width:100%;height:100%;object-fit:cover}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(
    90deg,
    rgba(3,31,70,.96) 0%,
    rgba(3,31,70,.78) 34%,
    rgba(3,31,70,.30) 67%,
    rgba(3,31,70,.05) 100%
  );
}
.hero-inner{position:relative;z-index:2;width:100%}
.hero-copy{max-width:680px;padding:72px 0}
.hero h1{font-size:clamp(44px,5vw,64px);line-height:1.08;font-weight:800;margin-bottom:20px}
.hero h1 span{color:var(--gold)}
.hero p{font-size:20px;line-height:1.6;max-width:550px;margin-bottom:28px}
.hero-buttons{display:flex;gap:14px;flex-wrap:wrap}

.slider-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
  width:48px;
  height:48px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:50%;
  background:rgba(6,31,70,.55);
  color:white;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:.25s;
}
.slider-arrow:hover{background:var(--gold);border-color:var(--gold)}
.slider-prev{left:18px}
.slider-next{right:18px}

.hero-dots{
  position:absolute;
  bottom:17px;
  left:50%;
  transform:translateX(-50%);
  z-index:4;
  display:flex;
  gap:12px;
}
.hero-dot{
  width:11px;
  height:11px;
  border:0;
  border-radius:50%;
  background:white;
  opacity:.85;
  cursor:pointer;
}
.hero-dot.active{background:var(--gold);opacity:1;transform:scale(1.15)}

/* Stats */
.stats-section{
  padding:32px 0 48px;
  background-color:#fafcff;
  background-image:radial-gradient(#dce8f5 1px,transparent 1px);
  background-size:13px 13px;
}
.stats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.stat-card{
  background:#fff;
  border-radius:12px;
  min-height:205px;
  padding:18px 16px 24px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 22px rgba(6,31,70,.10);
}
.stat-icon{
  width:66px;
  height:66px;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:27px;
  margin-top:-44px;
  margin-bottom:17px;
}
.stat-card strong{color:var(--navy);font-size:39px;line-height:1.1;margin-bottom:10px}
.stat-card>span{font-size:15px;color:var(--navy)}
.stat-line{width:38px;height:2px;background:var(--gold);margin-top:12px}

/* About */
.about-home{padding:40px 0 90px}
.about-home-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:center}
.about-home-text>span{color:var(--gold);font-weight:800;font-size:14px}
.about-home-text h2{color:var(--navy);font-size:36px;margin:10px 0 17px}
.about-home-text p{color:#333;margin-bottom:8px}
.about-home-media{position:relative}
.about-home-media img{width:100%;height:330px;object-fit:cover;border-radius:22px}
.video-play{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:72px;
  height:72px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:var(--navy);
  font-size:24px;
  box-shadow:0 12px 35px rgba(0,0,0,.25);
}

/* Generic pages */
.cards-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.card{background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:var(--shadow);transition:.25s}
.card:hover{transform:translateY(-6px)}
.card img{width:100%;height:220px;object-fit:cover}
.card-body{padding:22px}
.card h3{color:var(--navy);margin-bottom:8px}
.card p{color:var(--muted);margin-bottom:14px}

.page-hero{padding:90px 0;background:linear-gradient(90deg,var(--navy),var(--navy-2));color:#fff;text-align:center}
.page-hero h1{font-size:clamp(2.3rem,5vw,4rem)}
.content-block{max-width:900px;margin:auto}
.content-block h2{color:var(--navy);margin:28px 0 12px}
.content-block p{color:var(--muted);margin-bottom:14px}
.content-block ul{list-style:disc;padding-left:22px;color:var(--muted)}

.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:34px}
.contact-panel{background:var(--navy);color:#fff;padding:30px;border-radius:20px}
.contact-panel p{margin:12px 0}
.form-card{border:1px solid var(--border);border-radius:20px;padding:28px;box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-grid .full{grid-column:1/-1}
input,select,textarea{width:100%;padding:13px;border:1px solid #cfd9e2;border-radius:10px}

footer{background:#071d31;color:#fff;padding:60px 0 22px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px}
footer h3{color:var(--gold);margin-bottom:14px}
footer p,footer a{color:#c6d3de;font-size:.9rem}
footer ul{display:grid;gap:8px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:34px;padding-top:18px}
.whatsapp{position:fixed;left:18px;bottom:18px;width:54px;height:54px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;font-size:1.5rem;z-index:1000}
#topBtn{position:fixed;right:18px;bottom:18px;width:54px;height:54px;border:0;border-radius:50%;background:var(--navy);color:#fff;display:none;place-items:center;font-size:1.2rem;z-index:1000}
#topBtn.show{display:grid}

@media(max-width:1100px){
  .navbar{min-height:92px}
  .brand img{width:150px;height:80px}
  .nav-links{
    position:fixed;
    top:92px;
    left:0;
    right:0;
    background:#fff;
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:20px;
    box-shadow:var(--shadow);
  }
  .nav-links.open{display:flex}
  .nav-links>li>a{padding:10px 0}
  .dropdown-menu{
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;
    display:none;
    box-shadow:none;
  }
  .dropdown.open .dropdown-menu{display:block}
  .menu-toggle{display:block}
  .stats-grid{grid-template-columns:repeat(3,1fr)}
  .cards-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:760px){
  .topbar{display:none}
  .language-switch{display:none}
  .hero{min-height:540px}
  .hero-overlay{background:rgba(3,31,70,.76)}
  .hero-copy{padding:70px 38px}
  .hero h1{font-size:40px}
  .hero p{font-size:17px}
  .slider-arrow{width:40px;height:40px}
  .stats-grid,.cards-grid,.footer-grid,.contact-grid,.about-home-grid{grid-template-columns:1fr}
  .about-home-media img{height:260px}
  .form-grid{grid-template-columns:1fr}
  .form-grid .full{grid-column:auto}
}


/* ===============================
   RICH INNER PAGES
================================ */
.page-hero{
  position:relative;
  min-height:360px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  background:
    linear-gradient(rgba(6,31,70,.76),rgba(6,31,70,.76)),
    url('../images/hero1.webp') center/cover no-repeat;
}
.page-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(6,31,70,.10),rgba(6,31,70,.72));
}
.page-hero .container{
  position:relative;
  z-index:2;
}
.page-hero h1{
  font-size:clamp(2.8rem,6vw,5.2rem);
  margin-bottom:12px;
}
.page-hero p{
  max-width:760px;
  margin:auto;
  font-size:1.15rem;
  color:#eef4fa;
}
.breadcrumb{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-top:18px;
  color:#dce8f2;
  font-size:.9rem;
}
.breadcrumb a{color:#fff;font-weight:700}

.inner-section{padding:82px 0}
.inner-soft{background:#f7faff}
.inner-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.inner-grid.reverse .inner-media{order:2}
.inner-media{
  position:relative;
}
.inner-media img{
  width:100%;
  height:440px;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 18px 45px rgba(6,31,70,.15);
}
.inner-media .media-badge{
  position:absolute;
  right:18px;
  bottom:18px;
  background:#fff;
  color:var(--navy);
  padding:14px 18px;
  border-radius:12px;
  font-weight:800;
  box-shadow:var(--shadow);
}
.inner-copy .kicker{
  color:var(--gold);
  font-size:.84rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.inner-copy h2{
  color:var(--navy);
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.15;
  margin:10px 0 18px;
}
.inner-copy p{
  color:var(--muted);
  margin-bottom:14px;
}
.inner-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:24px 0;
}
.inner-list li{
  display:flex;
  align-items:flex-start;
  gap:9px;
  background:#fff;
  border:1px solid var(--border);
  padding:12px 14px;
  border-radius:12px;
}
.inner-list i{
  color:var(--gold);
  margin-top:4px;
}

.info-cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.info-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:26px;
  box-shadow:0 10px 28px rgba(6,31,70,.07);
  transition:.25s;
}
.info-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);
}
.info-card .icon{
  width:54px;
  height:54px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:#eef4fb;
  color:var(--navy);
  font-size:1.4rem;
  margin-bottom:16px;
}
.info-card h3{
  color:var(--navy);
  margin-bottom:8px;
}
.info-card p{
  color:var(--muted);
  font-size:.92rem;
}

.quote-section{
  background:linear-gradient(135deg,var(--navy),#0b3b7a);
  color:#fff;
  border-radius:26px;
  padding:38px;
  display:grid;
  grid-template-columns:300px 1fr;
  gap:36px;
  align-items:center;
}
.quote-section img{
  width:100%;
  height:350px;
  object-fit:cover;
  border-radius:18px;
}
.quote-section h2{
  font-size:2.3rem;
  margin-bottom:14px;
}
.quote-section p{
  color:#e7f0f7;
  margin-bottom:12px;
}
.quote-section blockquote{
  border-left:4px solid var(--gold);
  padding-left:16px;
  margin:18px 0;
  font-weight:800;
}

.page-cta{
  background:linear-gradient(135deg,#f0b119,#f8d56d);
  border-radius:24px;
  padding:38px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}
.page-cta h2{
  color:var(--navy);
  margin-bottom:6px;
}
.page-cta p{
  color:#3f3a23;
}

.photo-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.photo-strip img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:16px;
}

@media(max-width:980px){
  .inner-grid,
  .quote-section{
    grid-template-columns:1fr;
  }
  .inner-grid.reverse .inner-media{order:0}
  .info-cards{grid-template-columns:repeat(2,1fr)}
  .photo-strip{grid-template-columns:1fr 1fr}
}

@media(max-width:640px){
  .page-hero{min-height:300px}
  .inner-list,
  .info-cards,
  .photo-strip{
    grid-template-columns:1fr;
  }
  .inner-media img{height:320px}
  .quote-section{padding:26px}
  .page-cta{
    flex-direction:column;
    align-items:flex-start;
  }
}


/* Multilingual / Arabic RTL */
html[dir="rtl"] body{
  font-family:Arial,Tahoma,sans-serif;
}
html[dir="rtl"] .topbar .container,
html[dir="rtl"] .navbar,
html[dir="rtl"] .topbar-links,
html[dir="rtl"] .socials,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .hero-buttons,
html[dir="rtl"] .breadcrumb{
  direction:rtl;
}
html[dir="rtl"] .dropdown-menu{
  left:auto;
  right:-15px;
}
html[dir="rtl"] .hero-overlay{
  background:linear-gradient(
    270deg,
    rgba(3,31,70,.96) 0%,
    rgba(3,31,70,.78) 34%,
    rgba(3,31,70,.30) 67%,
    rgba(3,31,70,.05) 100%
  );
}
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .inner-copy,
html[dir="rtl"] .about-home-text,
html[dir="rtl"] .content-block{
  text-align:right;
}
html[dir="rtl"] .inner-list i{
  margin-left:8px;
  margin-right:0;
}
html[dir="rtl"] .quote-section blockquote{
  border-left:0;
  border-right:4px solid var(--gold);
  padding-left:0;
  padding-right:16px;
}
html[dir="rtl"] .whatsapp{
  left:auto;
  right:18px;
}
html[dir="rtl"] #topBtn{
  right:auto;
  left:18px;
}
.inner-media video{
  width:100%;
  height:440px;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 18px 45px rgba(6,31,70,.15);
}

@media(max-width:640px){
  .inner-media video{
    height:320px;
  }
}
.about-home-media video{
    display:block;
    width:100%;
    max-width:560px;
    height:300px;
    object-fit:cover;
    margin:0 auto;
    border-radius:22px;
    box-shadow:0 18px 45px rgba(6,31,70,.15);
    background:#000;
}

@media(max-width:640px){
    .about-home-media video{
        height:220px;
    }
}
/* ==============================
   VIE SCOLAIRE
============================== */

.school-life-intro{
    padding:80px 0;
    background:#ffffff;
}

.school-life-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:56px;
    align-items:center;
}

.school-life-media{
    position:relative;
}

.school-life-media img{
    width:100%;
    height:460px;
    object-fit:cover;
    border-radius:22px;
    box-shadow:0 18px 45px rgba(6,31,70,.15);
}

.school-life-badge{
    position:absolute;
    right:18px;
    bottom:18px;
    padding:14px 18px;
    background:#ffffff;
    color:#061f46;
    border-radius:12px;
    font-weight:800;
    box-shadow:0 12px 30px rgba(6,31,70,.16);
}

.school-life-copy .section-label{
    display:inline-block;
    color:#d89400;
    font-weight:800;
    font-size:14px;
    letter-spacing:1.5px;
    text-transform:uppercase;
    margin-bottom:10px;
}

.school-life-copy h2{
    color:#061f46;
    font-size:clamp(32px,4vw,48px);
    line-height:1.15;
    margin-bottom:18px;
}

.school-life-copy p{
    color:#5a6878;
    margin-bottom:14px;
}

.school-life-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin:24px 0 28px;
}

.school-life-list li{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:12px 14px;
    background:#f7faff;
    border:1px solid #e2eaf3;
    border-radius:12px;
    color:#23374d;
}

.school-life-list i{
    color:#d89400;
    margin-top:4px;
}


/* INFRASTRUCTURES */

.facilities-section{
    padding:84px 0;
    background:#f7faff;
}

.facilities-head{
    max-width:780px;
    margin:0 auto 48px;
    text-align:center;
}

.facilities-head span{
    color:#d89400;
    font-weight:800;
    font-size:14px;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.facilities-head h2{
    color:#061f46;
    font-size:clamp(32px,4vw,48px);
    margin:10px 0 14px;
}

.facilities-head p{
    color:#5a6878;
}

.facilities-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
}

.facility-card{
    background:#ffffff;
    border:1px solid #e2eaf3;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 12px 35px rgba(6,31,70,.08);
    transition:transform .3s ease,
               box-shadow .3s ease;
}

.facility-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 45px rgba(6,31,70,.15);
}

.facility-card img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.facility-content{
    padding:22px;
}

.facility-icon{
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    margin-top:-48px;
    margin-bottom:16px;
    border-radius:16px;
    background:#061f46;
    color:#ffffff;
    font-size:22px;
    box-shadow:0 10px 24px rgba(6,31,70,.24);
    position:relative;
    z-index:2;
}

.facility-content h3{
    color:#061f46;
    margin-bottom:8px;
    font-size:21px;
}

.facility-content p{
    color:#5a6878;
    font-size:15px;
}


/* ACTIVITÉS */

.activities-section{
    padding:84px 0;
    background:#ffffff;
}

.activities-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.activity-box{
    padding:28px;
    text-align:center;
    border:1px solid #e2eaf3;
    border-radius:18px;
    background:#ffffff;
    box-shadow:0 10px 28px rgba(6,31,70,.07);
    transition:.3s;
}

.activity-box:hover{
    transform:translateY(-7px);
}

.activity-icon{
    width:60px;
    height:60px;
    margin:0 auto 18px;
    border-radius:18px;
    display:grid;
    place-items:center;
    background:#eef4fb;
    color:#061f46;
    font-size:25px;
}

.activity-box h3{
    color:#061f46;
    margin-bottom:9px;
}

.activity-box p{
    color:#5a6878;
    font-size:15px;
}


/* GALERIE */

.school-gallery{
    padding:84px 0;
    background:#f7faff;
}

.school-gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.school-gallery-grid img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:16px;
    transition:transform .35s ease;
}

.school-gallery-grid img:hover{
    transform:scale(1.025);
}


/* CTA */

.school-life-cta{
    padding:80px 0;
    background:#ffffff;
}

.school-life-cta-box{
    padding:42px;
    border-radius:24px;
    background:linear-gradient(
        135deg,
        #d89400,
        #f5ce68
    );
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:35px;
}

.school-life-cta-box span{
    color:#061f46;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1px;
}

.school-life-cta-box h2{
    max-width:720px;
    margin:8px 0;
    color:#061f46;
    font-size:clamp(28px,4vw,42px);
    line-height:1.2;
}

.school-life-cta-box p{
    max-width:700px;
    color:#3e3a2b;
}

.cta-buttons{
    display:flex;
    flex-direction:column;
    gap:12px;
    min-width:190px;
}

.btn-outline-dark{
    border:2px solid #061f46;
    color:#061f46;
    background:transparent;
}


/* RESPONSIVE */

@media(max-width:1000px){

    .school-life-grid{
        grid-template-columns:1fr;
    }

    .facilities-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .activities-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .school-life-cta-box{
        flex-direction:column;
        align-items:flex-start;
    }

    .cta-buttons{
        flex-direction:row;
    }

}

@media(max-width:650px){

    .school-life-media img{
        height:320px;
    }

    .school-life-list{
        grid-template-columns:1fr;
    }

    .facilities-grid,
    .activities-grid,
    .school-gallery-grid{
        grid-template-columns:1fr;
    }

    .school-gallery-grid img{
        height:230px;
    }

    .school-life-cta-box{
        padding:28px;
    }

    .cta-buttons{
        width:100%;
        flex-direction:column;
    }

    .cta-buttons .btn{
        width:100%;
    }

}
/* ==============================
   GALERIE PREMIUM
============================== */

.gallery-intro{
  padding:84px 0;
  background:#f7faff;
}

.gallery-heading{
  max-width:800px;
  margin:0 auto 36px;
  text-align:center;
}

.gallery-heading > span{
  color:#d89400;
  font-size:14px;
  font-weight:800;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.gallery-heading h2{
  margin:10px 0 14px;
  color:#061f46;
  font-size:clamp(32px,4vw,48px);
}

.gallery-heading p{
  color:#5a6878;
}

.gallery-filters{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:38px;
}

.gallery-filter{
  padding:11px 18px;
  border:1px solid #d9e4ef;
  border-radius:999px;
  background:#ffffff;
  color:#061f46;
  font-weight:700;
  cursor:pointer;
  transition:.25s;
}

.gallery-filter:hover,
.gallery-filter.active{
  border-color:#061f46;
  background:#061f46;
  color:#ffffff;
}

.premium-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-auto-rows:280px;
  gap:18px;
}

.gallery-card{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  background:#061f46;
  box-shadow:0 12px 35px rgba(6,31,70,.10);
  transition:opacity .3s ease,
             transform .3s ease;
}

.gallery-card:nth-child(1),
.gallery-card:nth-child(6){
  grid-row:span 2;
}

.gallery-card.hidden{
  display:none;
}

.gallery-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}

.gallery-card:hover img{
  transform:scale(1.08);
}

.gallery-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    transparent 35%,
    rgba(4,24,52,.82) 100%
  );
}

.gallery-card figcaption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  padding:22px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:15px;
  color:#ffffff;
}

.gallery-card figcaption span{
  color:#f4c14c;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}

.gallery-card figcaption h3{
  margin-top:4px;
  font-size:20px;
}

.gallery-open{
  flex:0 0 auto;
  width:45px;
  height:45px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.55);
  border-radius:50%;
  background:rgba(255,255,255,.14);
  color:#ffffff;
  cursor:pointer;
  transition:.25s;
}

.gallery-open:hover{
  border-color:#d89400;
  background:#d89400;
}


/* CTA */

.gallery-cta{
  padding:80px 0;
  background:#ffffff;
}

.gallery-cta-box{
  padding:42px;
  border-radius:24px;
  background:linear-gradient(
    135deg,
    #d89400,
    #f3cc63
  );
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
}

.gallery-cta-box span{
  color:#061f46;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}

.gallery-cta-box h2{
  max-width:750px;
  margin:8px 0;
  color:#061f46;
  font-size:clamp(28px,4vw,42px);
  line-height:1.2;
}

.gallery-cta-box p{
  max-width:700px;
  color:#3f3a2c;
}

.gallery-cta-buttons{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:190px;
}

.btn-outline-dark{
  border:2px solid #061f46;
  background:transparent;
  color:#061f46;
}


/* LIGHTBOX */

.gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  padding:30px;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(2,12,28,.94);
}

.gallery-lightbox.open{
  display:flex;
}

.gallery-lightbox img{
  max-width:min(1100px,84vw);
  max-height:84vh;
  object-fit:contain;
  border-radius:12px;
  box-shadow:0 20px 60px rgba(0,0,0,.45);
}

.lightbox-close{
  position:absolute;
  top:20px;
  right:24px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  background:#ffffff;
  color:#061f46;
  font-size:21px;
  cursor:pointer;
}

.lightbox-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.5);
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#ffffff;
  font-size:19px;
  cursor:pointer;
}

.lightbox-prev{
  left:24px;
}

.lightbox-next{
  right:24px;
}


/* RESPONSIVE */

@media(max-width:1000px){

  .premium-gallery{
    grid-template-columns:repeat(2,1fr);
  }

  .gallery-cta-box{
    flex-direction:column;
    align-items:flex-start;
  }

  .gallery-cta-buttons{
    flex-direction:row;
  }

}

@media(max-width:650px){

  .premium-gallery{
    grid-template-columns:1fr;
    grid-auto-rows:260px;
  }

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(6){
    grid-row:span 1;
  }

  .gallery-cta-box{
    padding:28px;
  }

  .gallery-cta-buttons{
    width:100%;
    flex-direction:column;
  }

  .gallery-cta-buttons .btn{
    width:100%;
  }

  .lightbox-arrow{
    width:42px;
    height:42px;
  }

  .lightbox-prev{
    left:8px;
  }

  .lightbox-next{
    right:8px;
  }

  .gallery-lightbox img{
    max-width:88vw;
  }

}
/* ==============================
   ACTUALITÉS
============================== */

.news-intro{
  padding:84px 0;
  background:#ffffff;
}

.news-heading{
  max-width:800px;
  margin:0 auto 44px;
  text-align:center;
}

.news-heading > span{
  color:#d89400;
  font-size:14px;
  font-weight:800;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.news-heading h2{
  color:#061f46;
  font-size:clamp(32px,4vw,48px);
  margin:10px 0 14px;
}

.news-heading p{
  color:#5a6878;
}


/* FEATURED NEWS */

.featured-news{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  align-items:stretch;
  overflow:hidden;
  border:1px solid #e2eaf3;
  border-radius:24px;
  background:#ffffff;
  box-shadow:0 18px 45px rgba(6,31,70,.11);
}

.featured-news-image{
  position:relative;
  min-height:450px;
}

.featured-news-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.featured-news-date{
  position:absolute;
  top:22px;
  left:22px;
  width:78px;
  min-height:82px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#d89400;
  color:#ffffff;
  box-shadow:0 10px 25px rgba(0,0,0,.18);
}

.featured-news-date strong{
  font-size:27px;
  line-height:1;
}

.featured-news-date span{
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
}

.featured-news-content{
  padding:42px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.news-category{
  align-self:flex-start;
  padding:7px 12px;
  border-radius:999px;
  background:#eef4fb;
  color:#061f46;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}

.featured-news-content h2{
  margin:16px 0;
  color:#061f46;
  font-size:clamp(28px,3vw,42px);
  line-height:1.2;
}

.featured-news-content p{
  color:#5a6878;
  margin-bottom:12px;
}


/* NEWS GRID */

.news-list-section{
  padding:84px 0;
  background:#f7faff;
}

.news-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}

.news-card{
  overflow:hidden;
  border:1px solid #e2eaf3;
  border-radius:20px;
  background:#ffffff;
  box-shadow:0 12px 35px rgba(6,31,70,.08);
  transition:transform .3s ease,
             box-shadow .3s ease;
}

.news-card:hover{
  transform:translateY(-8px);
  box-shadow:0 18px 45px rgba(6,31,70,.14);
}

.news-card-image{
  position:relative;
}

.news-card-image img{
  width:100%;
  height:230px;
  object-fit:cover;
}

.news-card-category{
  position:absolute;
  left:16px;
  bottom:14px;
  padding:7px 11px;
  border-radius:999px;
  background:#d89400;
  color:#ffffff;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}

.news-card-content{
  padding:22px;
}

.news-meta{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  color:#718091;
  font-size:13px;
  margin-bottom:10px;
}

.news-meta span{
  display:flex;
  align-items:center;
  gap:6px;
}

.news-meta i{
  color:#d89400;
}

.news-card-content h3{
  color:#061f46;
  font-size:21px;
  margin-bottom:9px;
}

.news-card-content p{
  color:#5a6878;
  font-size:15px;
  margin-bottom:16px;
}

.news-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#061f46;
  font-weight:800;
}

.news-link:hover{
  color:#d89400;
}


/* NEWSLETTER */

.newsletter-section{
  padding:80px 0;
  background:#ffffff;
}

.newsletter-box{
  display:grid;
  grid-template-columns:auto 1fr minmax(300px,430px);
  align-items:center;
  gap:28px;
  padding:38px;
  border-radius:24px;
  background:linear-gradient(
    135deg,
    #061f46,
    #0c3e80
  );
  color:#ffffff;
}

.newsletter-icon{
  width:74px;
  height:74px;
  display:grid;
  place-items:center;
  border-radius:20px;
  background:rgba(255,255,255,.12);
  color:#f4c14c;
  font-size:29px;
}

.newsletter-copy span{
  color:#f4c14c;
  font-size:13px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}

.newsletter-copy h2{
  margin:5px 0;
  font-size:clamp(25px,3vw,36px);
}

.newsletter-copy p{
  color:#dce9f5;
}

.newsletter-form{
  display:flex;
  gap:10px;
}

.newsletter-form input{
  flex:1;
  min-width:0;
  padding:14px 16px;
  border:0;
  border-radius:10px;
  background:#ffffff;
  color:#17212b;
}

.newsletter-form input:focus{
  outline:3px solid rgba(216,148,0,.35);
}


/* CTA */

.news-cta{
  padding:0 0 80px;
  background:#ffffff;
}

.news-cta-box{
  padding:42px;
  border-radius:24px;
  background:linear-gradient(
    135deg,
    #d89400,
    #f3cc63
  );
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
}

.news-cta-box span{
  color:#061f46;
  font-size:13px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}

.news-cta-box h2{
  max-width:720px;
  margin:7px 0;
  color:#061f46;
  font-size:clamp(28px,4vw,42px);
  line-height:1.2;
}

.news-cta-box p{
  color:#3f3a2c;
}

.news-cta-buttons{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:190px;
}


/* ACCESSIBILITÉ */

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}


/* RESPONSIVE */

@media(max-width:1000px){

  .featured-news{
    grid-template-columns:1fr;
  }

  .featured-news-image{
    min-height:360px;
  }

  .news-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .newsletter-box{
    grid-template-columns:auto 1fr;
  }

  .newsletter-form{
    grid-column:1/-1;
  }

  .news-cta-box{
    flex-direction:column;
    align-items:flex-start;
  }

  .news-cta-buttons{
    flex-direction:row;
  }

}

@media(max-width:650px){

  .featured-news-content{
    padding:28px;
  }

  .featured-news-image{
    min-height:270px;
  }

  .news-grid{
    grid-template-columns:1fr;
  }

  .newsletter-box{
    grid-template-columns:1fr;
    padding:28px;
  }

  .newsletter-form{
    display:grid;
    grid-template-columns:1fr;
  }

  .news-cta-box{
    padding:28px;
  }

  .news-cta-buttons{
    width:100%;
    flex-direction:column;
  }

  .news-cta-buttons .btn{
    width:100%;
  }

}
/* ==============================
   PAGE CONTACT
============================== */

.contact-page-section{
  padding:84px 0;
  background:#f7faff;
}

.contact-page-heading{
  max-width:800px;
  margin:0 auto 48px;
  text-align:center;
}

.contact-page-heading > span,
.contact-label,
.contact-photo-copy > span,
.contact-map-heading > span,
.contact-cta-box > div > span{
  color:#d89400;
  font-size:14px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.contact-page-heading h2{
  color:#061f46;
  margin:10px 0 14px;
  font-size:clamp(32px,4vw,48px);
}

.contact-page-heading p{
  color:#5a6878;
}

.contact-page-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:28px;
  align-items:start;
}


/* INFORMATIONS */

.contact-details-card{
  padding:32px;
  border-radius:22px;
  background:linear-gradient(
    145deg,
    #061f46,
    #0a3d80
  );
  color:#ffffff;
  box-shadow:0 18px 45px rgba(6,31,70,.18);
}

.contact-details-card h2{
  margin:8px 0;
  font-size:32px;
}

.contact-intro{
  color:#dce9f5;
  margin-bottom:26px;
}

.contact-detail-list{
  display:grid;
  gap:13px;
}

.contact-detail-item{
  display:flex;
  align-items:flex-start;
  gap:13px;
  padding:14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.06);
  transition:.25s;
}

.contact-detail-item:hover{
  background:rgba(255,255,255,.12);
  transform:translateX(4px);
}

.contact-detail-icon{
  flex:0 0 auto;
  width:44px;
  height:44px;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.12);
  color:#f3c95e;
  font-size:18px;
}

.whatsapp-icon{
  color:#25d366;
}

.contact-detail-item span{
  display:block;
  color:#bcd0e2;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.7px;
}

.contact-detail-item strong{
  display:block;
  margin-top:2px;
  color:#ffffff;
  font-size:15px;
  line-height:1.55;
}

.contact-hours{
  margin-top:26px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.15);
}

.contact-hours h3{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  color:#ffffff;
  font-size:17px;
}

.contact-hours h3 i{
  color:#f3c95e;
}

.hours-row{
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:8px 0;
  color:#dce9f5;
  font-size:14px;
}

.hours-row strong{
  color:#ffffff;
}

.contact-social-links{
  display:flex;
  gap:10px;
  margin-top:22px;
}

.contact-social-links a{
  width:43px;
  height:43px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#ffffff;
  color:#061f46;
  transition:.25s;
}

.contact-social-links a:hover{
  background:#d89400;
  color:#ffffff;
  transform:translateY(-3px);
}


/* FORMULAIRE */

.contact-form-card{
  padding:32px;
  border:1px solid #e2eaf3;
  border-radius:22px;
  background:#ffffff;
  box-shadow:0 14px 40px rgba(6,31,70,.09);
}

.contact-form-card h2{
  color:#061f46;
  margin:8px 0;
  font-size:32px;
}

.contact-form-card > p{
  color:#5a6878;
  margin-bottom:24px;
}

.contact-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}

.contact-field.full{
  grid-column:1/-1;
}

.contact-field label{
  display:block;
  margin-bottom:6px;
  color:#32475b;
  font-size:13px;
  font-weight:800;
}

.contact-field input,
.contact-field select,
.contact-field textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid #cfdae5;
  border-radius:11px;
  background:#fbfdff;
  color:#17212b;
  transition:.2s;
}

.contact-field textarea{
  resize:vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus{
  outline:3px solid rgba(6,31,70,.10);
  border-color:#061f46;
}

.contact-consent{
  display:flex !important;
  align-items:flex-start;
  gap:10px;
  color:#5a6878 !important;
  font-weight:500 !important;
  line-height:1.5;
}

.contact-consent input{
  width:auto;
  margin-top:4px;
}

.contact-form-message{
  display:none;
  margin-top:12px;
  color:#08753d;
  font-weight:800;
}


/* PHOTO */

.contact-photo-section{
  padding:84px 0;
  background:#ffffff;
}

.contact-photo-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:55px;
  align-items:center;
}

.contact-photo-copy h2{
  margin:10px 0 15px;
  color:#061f46;
  font-size:clamp(30px,4vw,44px);
  line-height:1.2;
}

.contact-photo-copy p{
  color:#5a6878;
  margin-bottom:22px;
}

.contact-photo-media img{
  width:100%;
  height:380px;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 18px 45px rgba(6,31,70,.15);
}


/* MAP */

.contact-map-section{
  padding:84px 0;
  background:#f7faff;
}

.contact-map-heading{
  max-width:760px;
  margin:0 auto 38px;
  text-align:center;
}

.contact-map-heading h2{
  margin:10px 0;
  color:#061f46;
  font-size:clamp(32px,4vw,46px);
}

.contact-map-heading p{
  color:#5a6878;
}

.contact-map-wrapper{
  position:relative;
  overflow:hidden;
  min-height:470px;
  border-radius:24px;
  box-shadow:0 18px 45px rgba(6,31,70,.13);
}

.contact-map-wrapper iframe{
  display:block;
  width:100%;
  height:470px;
  border:0;
}

.map-info-card{
  position:absolute;
  left:24px;
  bottom:24px;
  max-width:340px;
  display:flex;
  gap:13px;
  padding:18px;
  border-radius:16px;
  background:#ffffff;
  color:#061f46;
  box-shadow:0 14px 35px rgba(6,31,70,.20);
}

.map-info-icon{
  flex:0 0 auto;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#061f46;
  color:#ffffff;
}

.map-info-card span{
  display:block;
  color:#d89400;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}

.map-info-card strong{
  display:block;
  margin:3px 0 7px;
}

.map-info-card a{
  color:#061f46;
  font-size:13px;
  font-weight:800;
}


/* CTA */

.contact-cta-section{
  padding:80px 0;
  background:#ffffff;
}

.contact-cta-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding:40px;
  border-radius:24px;
  background:linear-gradient(
    135deg,
    #d89400,
    #f3cc63
  );
}

.contact-cta-box h2{
  margin:6px 0;
  color:#061f46;
  font-size:clamp(28px,4vw,40px);
}

.contact-cta-box p{
  color:#3f3a2c;
}


/* RESPONSIVE */

@media(max-width:1000px){

  .contact-page-grid,
  .contact-photo-grid{
    grid-template-columns:1fr;
  }

  .contact-photo-media{
    order:-1;
  }

}

@media(max-width:650px){

  .contact-details-card,
  .contact-form-card{
    padding:24px;
  }

  .contact-form-grid{
    grid-template-columns:1fr;
  }

  .contact-field.full{
    grid-column:auto;
  }

  .hours-row{
    flex-direction:column;
    gap:2px;
  }

  .contact-photo-media img{
    height:280px;
  }

  .contact-map-wrapper,
  .contact-map-wrapper iframe{
    min-height:420px;
    height:420px;
  }

  .map-info-card{
    left:12px;
    right:12px;
    bottom:12px;
    max-width:none;
  }

  .contact-cta-box{
    flex-direction:column;
    align-items:flex-start;
    padding:28px;
  }

  .contact-cta-box .btn{
    width:100%;
  }

}
/* ==============================
   ACCUEIL — PRÉSENTATION
============================== */

.about-home{
  padding:85px 0;
  background:#ffffff;
}

.about-home-title{
  max-width:900px;
  margin:0 auto 48px;
  text-align:center;
}

.about-home-title span{
  color:#d89400;
  font-size:14px;
  font-weight:800;
  letter-spacing:1.5px;
}

.about-home-title h2{
  margin-top:10px;
  color:#061f46;
  font-size:clamp(32px,4vw,50px);
  line-height:1.2;
}

.about-home-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:55px;
  align-items:start;
}

.about-home-text p{
  color:#5a6878;
  margin-bottom:14px;
}

.about-home-text h3{
  color:#061f46;
  margin:24px 0 14px;
  font-size:25px;
}

.about-home-list{
  display:grid;
  gap:11px;
  margin-bottom:24px;
}

.about-home-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:12px 14px;
  border-radius:12px;
  background:#f7faff;
  color:#263a4f;
}

.about-home-list i{
  color:#d89400;
  margin-top:4px;
}

.about-home-media{
  position:sticky;
  top:170px;
}

.about-home-media video{
  display:block;
  width:100%;
  height:500px;
  object-fit:cover;
  border-radius:22px;
  background:#000000;
  box-shadow:0 18px 45px rgba(6,31,70,.15);
}

.about-home-results{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
  margin:24px 0 12px;
}

.about-home-results div{
  padding:20px;
  text-align:center;
  border-radius:16px;
  background:#061f46;
  color:#ffffff;
}

.about-home-results strong{
  display:block;
  color:#f3c95e;
  font-size:35px;
  line-height:1;
  margin-bottom:8px;
}

.about-home-results span{
  font-size:14px;
}

.about-home-note{
  font-size:12px;
}


/* ==============================
   MOT DU PRÉSIDENT
============================== */

.president-home{
  padding:85px 0;
  background:#f7faff;
}

.president-home-grid{
  display:grid;
   grid-template-columns:.75fr 1.25fr;
  gap:55px;
  align-items:start;
}

.president-home-photo{
    display:flex;
    justify-content:center;
    align-items:flex-start;
}

.president-home-photo img{
    width:50%;        
    max-width:260px;  
    height:auto;
    object-fit:cover;
    object-position:top;
    border-radius:22px;
    box-shadow:0 18px 45px rgba(6,31,70,.15);
}
.president-photo-label{
  position:absolute;
  left:20px;
  right:20px;
  bottom:20px;
  padding:14px;
  text-align:center;
  border-radius:12px;
  background:rgba(6,31,70,.92);
  color:#ffffff;
  font-weight:800;
}

.president-home-content > span{
  color:#d89400;
  font-size:14px;
  font-weight:800;
  letter-spacing:1.5px;
}

.president-home-content h2{
  margin:10px 0 20px;
  color:#061f46;
  font-size:clamp(32px,4vw,48px);
  line-height:1.2;
}

.president-home-content p{
  color:#5a6878;
  margin-bottom:14px;
}

.president-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:20px 0 24px;
}

.president-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:13px 14px;
  border:1px solid #e2eaf3;
  border-radius:12px;
  background:#ffffff;
  color:#263a4f;
}

.president-list i{
  color:#d89400;
  margin-top:4px;
}

.president-home-content blockquote{
  margin:24px 0;
  padding:20px;
  border-left:5px solid #d89400;
  border-radius:0 14px 14px 0;
  background:#061f46;
  color:#ffffff;
  font-size:20px;
  font-weight:800;
}


/* RESPONSIVE */

@media(max-width:1000px){

  .about-home-grid,
  .president-home-grid{
    grid-template-columns:1fr;
  }

  .about-home-media{
    position:static;
  }

  .president-home-photo{
    max-width:520px;
    margin:auto;
  }

}

@media(max-width:650px){

  .about-home-media video,
  .president-home-photo img{
    height:360px;
  }

  .about-home-results,
  .president-list{
    grid-template-columns:1fr;
  }

}
/* ==============================
   ABOUT — FEATURES
============================== */

.about-features-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}

.about-feature-card{
  padding:24px 20px;
  border:1px solid #e2eaf3;
  border-radius:18px;
  background:#ffffff;
  box-shadow:0 10px 28px rgba(6,31,70,.07);
  transition:.3s;
}

.about-feature-card:hover{
  transform:translateY(-7px);
}

.about-feature-card .icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  margin-bottom:15px;
  border-radius:16px;
  background:#061f46;
  color:#ffffff;
  font-size:22px;
}

.about-feature-card h3{
  color:#061f46;
  font-size:18px;
  margin-bottom:8px;
}

.about-feature-card p{
  color:#5a6878;
  font-size:14px;
}

.about-ambition{
  margin-top:30px;
  padding:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  border-radius:18px;
  background:linear-gradient(135deg,#d89400,#f3cc63);
  color:#061f46;
  font-weight:800;
  text-align:center;
}

.about-ambition i{
  font-size:30px;
}


/* ==============================
   GOUVERNANCE
============================== */

.governance-section{
  padding:84px 0;
  background:#ffffff;
}

.governance-intro{
  max-width:950px;
  margin:-15px auto 38px;
  text-align:center;
  color:#5a6878;
}

.governance-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.governance-card{
  padding:28px;
  text-align:center;
  border:1px solid #e2eaf3;
  border-radius:20px;
  background:#ffffff;
  box-shadow:0 12px 35px rgba(6,31,70,.08);
  transition:.3s;
}

.governance-card:hover{
  transform:translateY(-7px);
}

.governance-icon{
  width:62px;
  height:62px;
  margin:0 auto 14px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:#061f46;
  color:#ffffff;
  font-size:25px;
}

.governance-card strong{
  display:block;
  color:#d89400;
  font-size:36px;
  line-height:1;
  margin-bottom:8px;
}

.governance-card h3{
  color:#061f46;
  margin-bottom:8px;
}

.governance-card p{
  color:#5a6878;
  font-size:14px;
}


/* ==============================
   STAFF
============================== */

.staff-section{
  padding:84px 0;
  background:#f7faff;
}

.staff-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:55px;
  align-items:center;
}

.staff-copy > span{
  color:#d89400;
  font-size:14px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.staff-copy h2{
  margin:10px 0 15px;
  color:#061f46;
  font-size:clamp(32px,4vw,46px);
  line-height:1.2;
}

.staff-copy > p{
  color:#5a6878;
  margin-bottom:24px;
}

.staff-numbers{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.staff-numbers div{
  padding:18px;
  border-radius:15px;
  background:#ffffff;
  box-shadow:0 10px 28px rgba(6,31,70,.07);
}

.staff-numbers strong{
  display:block;
  color:#d89400;
  font-size:32px;
  line-height:1;
  margin-bottom:7px;
}

.staff-numbers span{
  color:#32475b;
  font-weight:700;
  font-size:14px;
}

.staff-media img{
  width:100%;
  height:500px;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 18px 45px rgba(6,31,70,.15);
}


/* ==============================
   FORMATION CONTINUE
============================== */

.training-section{
  padding:80px 0;
  background:#ffffff;
}

.training-box{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:25px;
  align-items:center;
  padding:38px;
  border-radius:24px;
  background:linear-gradient(135deg,#061f46,#0c3e80);
  color:#ffffff;
}

.training-icon{
  width:78px;
  height:78px;
  display:grid;
  place-items:center;
  border-radius:22px;
  background:rgba(255,255,255,.12);
  color:#f3c95e;
  font-size:31px;
}

.training-box span{
  color:#f3c95e;
  font-size:13px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}

.training-box h2{
  margin:6px 0 10px;
  font-size:clamp(26px,3vw,38px);
}

.training-box p{
  color:#dce9f5;
}


/* RESPONSIVE */

@media(max-width:1150px){

  .about-features-grid{
    grid-template-columns:repeat(3,1fr);
  }

}

@media(max-width:900px){

  .governance-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .staff-grid{
    grid-template-columns:1fr;
  }

}

@media(max-width:650px){

  .about-features-grid,
  .governance-grid,
  .staff-numbers{
    grid-template-columns:1fr;
  }

  .staff-media img{
    height:330px;
  }

  .training-box{
    grid-template-columns:1fr;
    padding:28px;
  }

}
/* ==============================
   PAGE PRIMAIRE
============================== */

.primary-support-section{
  padding:84px 0;
  background:#ffffff;
}

.primary-support-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:55px;
  align-items:center;
}

.primary-support-copy > span{
  color:#d89400;
  font-size:14px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.primary-support-copy h2{
  margin:10px 0 16px;
  color:#061f46;
  font-size:clamp(32px,4vw,46px);
  line-height:1.2;
}

.primary-support-copy p{
  color:#5a6878;
  margin-bottom:20px;
}

.primary-support-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.primary-support-list li{
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding:13px 14px;
  border:1px solid #e2eaf3;
  border-radius:12px;
  background:#f7faff;
  color:#263a4f;
}

.primary-support-list i{
  color:#d89400;
  margin-top:4px;
}

.primary-support-media img{
  width:100%;
  height:430px;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 18px 45px rgba(6,31,70,.15);
}

@media(max-width:900px){

  .primary-support-grid{
    grid-template-columns:1fr;
  }

}

@media(max-width:650px){

  .primary-support-list{
    grid-template-columns:1fr;
  }

  .primary-support-media img{
    height:300px;
  }

}
/* ==============================
   PAGE COLLÈGE
============================== */

.college-support-section{
  padding:84px 0;
  background:#ffffff;
}

.college-support-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:55px;
  align-items:center;
}

.college-support-copy > span{
  color:#d89400;
  font-size:14px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.college-support-copy h2{
  margin:10px 0 16px;
  color:#061f46;
  font-size:clamp(32px,4vw,46px);
  line-height:1.2;
}

.college-support-copy p{
  color:#5a6878;
  margin-bottom:20px;
}

.college-support-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.college-support-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:14px;
  border:1px solid #e2eaf3;
  border-radius:12px;
  background:#f7faff;
  color:#263a4f;
}

.college-support-list i{
  color:#d89400;
  margin-top:4px;
}

.college-support-media img{
  width:100%;
  height:430px;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 18px 45px rgba(6,31,70,.15);
}

@media(max-width:900px){

  .college-support-grid{
    grid-template-columns:1fr;
  }

}

@media(max-width:650px){

  .college-support-list{
    grid-template-columns:1fr;
  }

  .college-support-media img{
    height:300px;
  }

}
/* ==============================
   PAGE LYCÉE
============================== */

.lycee-results-section{
  padding:84px 0;
  background:#f7faff;
}

.lycee-results-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.lycee-result-card{
  padding:30px;
  text-align:center;
  border:1px solid #e2eaf3;
  border-radius:20px;
  background:#ffffff;
  box-shadow:0 12px 35px rgba(6,31,70,.08);
  transition:.3s;
}

.lycee-result-card:hover{
  transform:translateY(-7px);
}

.lycee-result-icon{
  width:64px;
  height:64px;
  margin:0 auto 16px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:#061f46;
  color:#ffffff;
  font-size:26px;
}

.lycee-result-card strong{
  display:block;
  color:#d89400;
  font-size:46px;
  line-height:1;
  margin-bottom:10px;
}

.lycee-result-card h3{
  color:#061f46;
  margin-bottom:9px;
}

.lycee-result-card p{
  color:#5a6878;
  font-size:14px;
}

.lycee-results-note{
  margin-top:18px;
  text-align:center;
  color:#718091;
  font-size:13px;
}


/* ORIENTATION */

.lycee-orientation-section{
  padding:84px 0;
  background:#ffffff;
}

.lycee-orientation-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:55px;
  align-items:center;
}

.lycee-orientation-copy > span{
  color:#d89400;
  font-size:14px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.lycee-orientation-copy h2{
  margin:10px 0 16px;
  color:#061f46;
  font-size:clamp(32px,4vw,46px);
  line-height:1.2;
}

.lycee-orientation-copy p{
  color:#5a6878;
  margin-bottom:20px;
}

.lycee-orientation-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.lycee-orientation-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:14px;
  border:1px solid #e2eaf3;
  border-radius:12px;
  background:#f7faff;
  color:#263a4f;
}

.lycee-orientation-list i{
  color:#d89400;
  margin-top:4px;
}

.lycee-orientation-media img{
  width:100%;
  height:430px;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 18px 45px rgba(6,31,70,.15);
}


/* RESPONSIVE */

@media(max-width:900px){

  .lycee-results-grid{
    grid-template-columns:1fr;
  }

  .lycee-orientation-grid{
    grid-template-columns:1fr;
  }

}

@media(max-width:650px){

  .lycee-orientation-list{
    grid-template-columns:1fr;
  }

  .lycee-orientation-media img{
    height:300px;
  }

}
/* ==============================
   PAGE DÉTAIL ACTUALITÉ
============================== */

.article-page-section{
  padding:84px 0;
  background:#f7faff;
}

.article-page-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:32px;
  align-items:start;
}

.article-main{
  padding:30px;
  border:1px solid #e2eaf3;
  border-radius:22px;
  background:#ffffff;
  box-shadow:0 14px 40px rgba(6,31,70,.09);
}

.article-cover{
  overflow:hidden;
  border-radius:18px;
}

.article-cover img{
  display:block;
  width:100%;
  max-height:540px;
  object-fit:cover;
  transition:transform .4s ease;
}

.article-cover:hover img{
  transform:scale(1.025);
}

.article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin:22px 0;
  color:#68788a;
  font-size:14px;
}

.article-meta span{
  display:flex;
  align-items:center;
  gap:7px;
}

.article-meta i{
  color:#d89400;
}

.article-main h2,
.article-main h3{
  color:#061f46;
}

.article-main h2{
  margin-bottom:16px;
  font-size:clamp(28px,4vw,42px);
  line-height:1.25;
}

.article-main h3{
  margin:28px 0 14px;
  font-size:25px;
}

.article-main p{
  margin-bottom:15px;
  color:#5a6878;
  line-height:1.85;
}

.article-list{
  display:grid;
  gap:11px;
  margin-top:16px;
}

.article-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:11px 13px;
  border-radius:11px;
  background:#f7faff;
  color:#32475b;
}

.article-list i{
  color:#d89400;
  margin-top:5px;
}

.article-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:28px;
}

.article-gallery img{
  width:100%;
  height:190px;
  object-fit:cover;
  border-radius:14px;
  transition:transform .3s ease;
}

.article-gallery img:hover{
  transform:translateY(-4px);
}

.article-highlight{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:start;
  margin-top:28px;
  padding:22px;
  border-left:5px solid #d89400;
  border-radius:0 16px 16px 0;
  background:#061f46;
}

.article-highlight-icon{
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(255,255,255,.12);
  color:#f3c95e;
  font-size:21px;
}

.article-highlight h3{
  margin:0 0 6px;
  color:#ffffff;
}

.article-highlight p{
  margin:0;
  color:#dce9f5;
}

.article-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:14px;
  margin-top:30px;
  padding-top:25px;
  border-top:1px solid #e2eaf3;
}

.article-sidebar{
  position:sticky;
  top:145px;
  display:grid;
  gap:20px;
}

.article-sidebar-card{
  padding:24px;
  border:1px solid #e2eaf3;
  border-radius:18px;
  background:#ffffff;
  box-shadow:0 12px 35px rgba(6,31,70,.08);
}

.article-sidebar-card h3{
  margin-bottom:15px;
  color:#061f46;
}

.article-sidebar-card p{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin-bottom:13px;
  color:#5a6878;
  line-height:1.6;
}

.article-sidebar-card i{
  color:#d89400;
  margin-top:4px;
}

.article-sidebar-card .btn{
  width:100%;
  margin-top:8px;
  text-align:center;
}

.article-sidebar-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#061f46;
  font-size:14px;
  font-weight:800;
}

.article-sidebar-link:hover{
  color:#d89400;
}

@media(max-width:900px){

  .article-page-grid{
    grid-template-columns:1fr;
  }

  .article-sidebar{
    position:static;
  }

}

@media(max-width:650px){

  .article-page-section{
    padding:55px 0;
  }

  .article-main{
    padding:20px;
  }

  .article-gallery{
    grid-template-columns:1fr;
  }

  .article-gallery img{
    height:240px;
  }

  .article-highlight{
    grid-template-columns:1fr;
  }

  .article-actions{
    flex-direction:column;
  }

  .article-actions .btn{
    width:100%;
  }

}
/* توحيد حجم اللوغو فكل اللغات */
.brand{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.brand img{
  width:120px !important;
  height:90px !important;
  object-fit:contain;
  display:block;
}

/* العربية */
html[dir="rtl"] .brand img{
  width:120px !important;
  height:90px !important;
}

/* الهاتف */
@media(max-width:768px){
  .brand img,
  html[dir="rtl"] .brand img{
    width:95px !important;
    height:70px !important;
  }
}
/* =========================================
   توحيد حجم الهيدر واللوغو في جميع اللغات
========================================= */

header{
  padding:0;
}

.navbar{
  min-height:125px;
  padding:16px 0;
  display:flex;
  align-items:center;
}

.brand{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.brand img,
html[lang="fr"] .brand img,
html[lang="en"] .brand img,
html[dir="rtl"] .brand img{
  width:110px !important;
  height:80px !important;
  max-width:none;
  object-fit:contain;
  display:block;
}

/* الهاتف والتابلت */

@media(max-width:768px){

  .navbar{
    min-height:95px;
    padding:12px 0;
  }

  .brand img,
  html[lang="fr"] .brand img,
  html[lang="en"] .brand img,
  html[dir="rtl"] .brand img{
    width:90px !important;
    height:65px !important;
  }

}
/* =========================================
   PAGE PRÉ-INSCRIPTION
========================================= */

.registration-intro{
  padding:84px 0;
  background:#ffffff;
}

.registration-intro-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:55px;
  align-items:center;
}

.registration-label{
  display:inline-block;
  margin-bottom:10px;
  color:#d89400;
  font-size:14px;
  font-weight:800;
  letter-spacing:1.2px;
  text-transform:uppercase;
}

.registration-intro-copy h2,
.registration-form-card h2,
.registration-contact-card h2{
  margin-bottom:16px;
  color:#061f46;
  font-size:clamp(30px,4vw,46px);
  line-height:1.2;
}

.registration-intro-copy p,
.registration-form-card > p,
.registration-contact-card > p{
  margin-bottom:15px;
  color:#5a6878;
  line-height:1.8;
}

.registration-benefits{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:24px 0;
}

.registration-benefits li{
  display:flex;
  gap:9px;
  align-items:flex-start;
  padding:13px;
  border:1px solid #e2eaf3;
  border-radius:12px;
  background:#f7faff;
  color:#263a4f;
}

.registration-benefits i{
  color:#d89400;
  margin-top:4px;
}

.registration-intro-media{
  position:relative;
}

.registration-intro-media img{
  display:block;
  width:100%;
  height:500px;
  object-fit:cover;
  border-radius:24px;
  box-shadow:0 20px 50px rgba(6,31,70,.17);
}

.registration-media-badge{
  position:absolute;
  left:25px;
  bottom:25px;
  display:flex;
  flex-direction:column;
  padding:18px 22px;
  border-radius:16px;
  background:#ffffff;
  box-shadow:0 12px 35px rgba(6,31,70,.18);
}

.registration-media-badge strong{
  color:#d89400;
  font-size:27px;
}

.registration-media-badge span{
  color:#061f46;
  font-weight:800;
}


/* ÉTAPES */

.registration-steps-section{
  padding:84px 0;
  background:#f7faff;
}

.registration-steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.registration-step{
  position:relative;
  padding:30px;
  border:1px solid #e2eaf3;
  border-radius:20px;
  background:#ffffff;
  box-shadow:0 12px 35px rgba(6,31,70,.08);
}

.registration-step-number{
  position:absolute;
  top:18px;
  right:20px;
  color:#dbe5f0;
  font-size:42px;
  font-weight:900;
}

.registration-step-icon{
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
  border-radius:18px;
  background:#061f46;
  color:#ffffff;
  font-size:25px;
}

.registration-step h3{
  margin-bottom:10px;
  color:#061f46;
}

.registration-step p{
  color:#5a6878;
  line-height:1.7;
}


/* FORMULAIRE */

.registration-form-section{
  padding:90px 0;
  background:#ffffff;
  scroll-margin-top:140px;
}

.registration-form-grid{
  display:grid;
  grid-template-columns:360px minmax(0,1fr);
  gap:32px;
  align-items:start;
}

.registration-contact-card,
.registration-form-card{
  padding:30px;
  border:1px solid #e2eaf3;
  border-radius:22px;
  background:#ffffff;
  box-shadow:0 15px 45px rgba(6,31,70,.1);
}

.registration-contact-card{
  position:sticky;
  top:145px;
  background:#061f46;
}

.registration-contact-card h2{
  color:#ffffff;
}

.registration-contact-card > p{
  color:#d8e5f2;
}

.registration-contact-list{
  display:grid;
  gap:13px;
  margin-top:25px;
}

.registration-contact-list a{
  display:flex;
  align-items:center;
  gap:13px;
  padding:15px;
  border-radius:13px;
  background:rgba(255,255,255,.09);
  color:#ffffff;
  transition:.3s;
}

.registration-contact-list a:hover{
  transform:translateX(5px);
  background:rgba(255,255,255,.16);
}

.registration-contact-list i{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  flex-shrink:0;
  border-radius:12px;
  background:#d89400;
  color:#ffffff;
}

.registration-contact-list span{
  display:block;
  color:#bfcfe0;
  font-size:12px;
}

.registration-contact-list strong{
  display:block;
  font-size:14px;
}

.registration-note{
  display:flex;
  gap:11px;
  margin-top:25px;
  padding:16px;
  border-radius:14px;
  background:rgba(255,255,255,.09);
}

.registration-note i{
  color:#f0b000;
  margin-top:4px;
}

.registration-note p{
  margin:0;
  color:#d8e5f2;
  font-size:13px;
  line-height:1.7;
}

.registration-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:25px;
}

.registration-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.registration-field.full{
  grid-column:1 / -1;
}

.registration-field label{
  color:#061f46;
  font-size:14px;
  font-weight:800;
}

.registration-field input,
.registration-field select,
.registration-field textarea{
  width:100%;
  padding:14px 15px;
  border:1px solid #d8e2ec;
  border-radius:12px;
  outline:none;
  background:#f9fbfd;
  color:#263a4f;
  font:inherit;
  transition:.25s;
}

.registration-field input:focus,
.registration-field select:focus,
.registration-field textarea:focus{
  border-color:#d89400;
  box-shadow:0 0 0 4px rgba(216,148,0,.12);
  background:#ffffff;
}

.registration-consent{
  display:flex;
  align-items:flex-start;
  gap:11px;
  cursor:pointer;
}

.registration-consent input{
  width:18px;
  height:18px;
  margin-top:3px;
}

.registration-consent span{
  color:#5a6878;
  font-weight:400;
  line-height:1.6;
}

.registration-submit{
  width:100%;
  justify-content:center;
}

.registration-result{
  display:none;
  margin-top:14px;
  padding:13px;
  border-radius:10px;
  text-align:center;
  font-weight:700;
}

.registration-result.success{
  display:block;
  background:#e9f9ef;
  color:#168447;
}

.registration-result.error{
  display:block;
  background:#fff0f0;
  color:#c73535;
}


/* زر عائم */

.floating-registration{
  position:fixed;
  right:25px;
  bottom:95px;
  z-index:999;
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 18px;
  border-radius:999px;
  background:#d89400;
  color:#ffffff;
  font-weight:800;
  box-shadow:0 14px 35px rgba(6,31,70,.25);
  transition:.3s;
}

.floating-registration:hover{
  transform:translateY(-5px);
  background:#061f46;
}

.floating-registration i{
  font-size:19px;
}


/* RESPONSIVE */

@media(max-width:950px){

  .registration-intro-grid,
  .registration-form-grid{
    grid-template-columns:1fr;
  }

  .registration-contact-card{
    position:static;
  }

  .registration-steps{
    grid-template-columns:1fr;
  }

}

@media(max-width:650px){

  .registration-intro,
  .registration-form-section,
  .registration-steps-section{
    padding:58px 0;
  }

  .registration-intro-media img{
    height:340px;
  }

  .registration-benefits,
  .registration-fields{
    grid-template-columns:1fr;
  }

  .registration-field.full{
    grid-column:auto;
  }

  .floating-registration{
    right:18px;
    bottom:88px;
    width:54px;
    height:54px;
    justify-content:center;
    padding:0;
  }

  .floating-registration span{
    display:none;
  }

}

/* =========================================================
   CORRECTIONS CLIENT — MOBILE LANGUES + PHOTO DU PRÉSIDENT
   ========================================================= */

/* Photo du président réduite approximativement de moitié */
.president-home-photo{
  width:min(100%, 290px);
  max-width:290px;
  margin-left:auto;
  margin-right:auto;
}

.president-home-photo img{
  width:100%;
  height:auto;
  max-height:360px;
  object-fit:contain;
  object-position:center top;
}

/* Les langues restent visibles sur téléphone */
@media(max-width:760px){
  .navbar{
    min-height:92px;
    gap:10px;
  }

  .brand img{
    width:125px;
    height:72px;
  }

  .nav-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex-shrink:0;
  }

  .language-switch{
    display:flex;
    align-items:center;
    gap:2px;
    padding:3px;
    border:1px solid var(--border);
    border-radius:999px;
    background:#fff;
  }

  .language-switch a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:30px;
    padding:6px 7px;
    border-radius:999px;
    font-size:12px;
    line-height:1;
    font-weight:800;
  }

  .language-switch a.active{
    background:var(--navy);
    color:#fff;
  }

  .menu-toggle{
    display:grid;
    place-items:center;
    flex:0 0 44px;
  }

  .president-home-photo{
    width:min(100%, 240px);
    max-width:240px;
  }

  .president-home-photo img{
    max-height:310px;
  }
}

@media(max-width:390px){
  .container.navbar{
    width:95%;
  }

  .brand img{
    width:105px;
  }

  .language-switch a{
    min-width:27px;
    padding:6px 5px;
    font-size:11px;
  }

  .menu-toggle{
    width:42px;
    height:42px;
    flex-basis:42px;
  }
}
/* ==============================
   CORRECTIONS MOBILE
============================== */

@media (max-width:760px){

  /* إظهار زر Suivi scolarité فالهاتف */
  .parent-top{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    padding:8px 12px;
    font-size:12px;
    border-radius:8px;
    white-space:nowrap;
  }

  .socials{
    display:flex !important;
  }

  .topbar{
    display:block !important;
  }

  .topbar .container{
    min-height:auto;
    padding:8px 0;
    justify-content:center;
  }

  .topbar-links{
    display:none;
  }

  .socials > a:not(.parent-top){
    display:none;
  }

  /* تكبير صورة الرئيس شوية فالهاتف */
  .president-home-photo{
    max-width:470px;
    width:88%;
    margin:0 auto;
  }

  .president-home-photo img{
    width:100%;
    height:430px;
    object-fit:cover;
    object-position:top;
  }

}
.president-photo-label{
    display: none !important;
}
@media(max-width:1100px){

  .nav-links{
    max-height:calc(100vh - 92px);
    overflow-y:auto;
    z-index:9999;
  }

  .dropdown > a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
  }

  .dropdown-menu{
    margin-top:8px;
    padding:8px 0 8px 18px;
    background:#f7f9fc;
    border-radius:12px;
  }

  .dropdown-menu li a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 14px;
    font-size:16px;
    border-bottom:1px solid #e8edf4;
  }

  .dropdown-menu li:last-child a{
    border-bottom:none;
  }

  .dropdown:not(.open) .dropdown-menu{
    display:none !important;
  }

  .dropdown.open .dropdown-menu{
    display:block !important;
  }
}
.nav-links a,
.nav-links a:hover,
.nav-links a:focus,
.nav-links a:active{
  text-decoration:none !important;
  border-bottom:none !important;
  box-shadow:none !important;
  outline:none !important;
}
.nav-links a::after,
.nav-links a:hover::after,
.nav-links a:focus::after,
.nav-links a:active::after{
  display:none !important;
  content:none !important;
}
.about-home-media video + video {
    margin-top: 20px;
}