
:root {
  --red: #C8102E;
  --navy: #0D1B3E;
  --navy-light: #152558;
  --cream: #F8F5F0;
  --white: #ffffff;
  --gray: #6c757d;
  --light-gray: #f4f4f6;
}

* { box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; }

/* ── NAVBAR ── */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(13,27,62,.08);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand { display: flex; align-items: center; gap: .6rem; }
.navbar-brand img{
  width: 80px;
  height: 80px;
  margin-right: 20px;

}
.navbar-brand .brand-logo {
  width: 52px; height: 52px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.brand-logo i { color: var(--white); font-size: 1.5rem; }
.brand-logo .cross {
  position: absolute; top: 4px; right: 6px;
  color: var(--red); font-size: .8rem; font-weight: 900;
}
.brand-text { line-height: 1.1; }
.brand-text strong { 
  font-family: 'Playfair Display', serif; 
  font-size: 1.2rem; 
  color: var(--navy); 
  letter-spacing: 1px; 
}
.brand-text small { 
  display: block; 
  font-size: .55rem; 
  color: var(--gray); 
  text-transform: uppercase; 
  letter-spacing: .5px; }

.nav-link {
  font-weight: 500; 
  font-size: .88rem;
  color: var(--navy) !important;
  padding: .5rem .9rem !important;
  position: relative;
  transition: color .2s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--red);
  transition: left .25s, right .25s;
}
.nav-link:hover::after, .nav-link.active::after { left: .9rem; right: .9rem; }
.nav-link.active { color: var(--red) !important; }

.btn-espace {
  background: var(--red); color: var(--white) !important;
  border-radius: 30px; font-weight: 600;
  padding: .45rem 1.2rem !important;
  font-size: .85rem;
  transition: background .2s, transform .15s;
}
.btn-espace:hover { 
  background: #a30d25; 
  transform: translateY(-1px); }
.btn-espace::after { display: none; }

/* ── HERO ── */
.hero {
    background: var(--navy);
    min-height: 560px;
    position: relative;
    overflow: hidden;
    display: flex; 
    align-items: center;
    }

/* Diapositives du hero — fondu enchaîné entre plusieurs images */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slides::after {
  content: '';
  position: absolute; inset: 0;
  /* background: linear-gradient(135deg, rgba(13,27,62,.82) 0%, rgba(13,27,62,.55) 55%, rgba(13,27,62,.35) 100%); */
}

.hero::before {
  content: '';
  position: absolute; 
  top: 0;
   right: 0;
  width: 45%; height: 100%;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  /* opacity: .55; */
  z-index: 1;
}
.hero > .container { 
  position: relative; 
  z-index: 2; 
}
.hero-red-accent {
  position: absolute; 
  top: -60px; 
  right: 0;
  width: 220px; 
  height: 340px;
  background: var(--red);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: .85;
  z-index: 1;
}
.hero-img {
  position: absolute; right: 0; bottom: 0;
  width: 55%;
  height: 95%;
  object-fit: cover;
  opacity: .35;
  mix-blend-mode: luminosity;
}
.hero-content { 
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
}
.hero-eyebrow {
  font-size: .78rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-bottom: .8rem;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  padding-left: 30px;
  color: var(--white); line-height: 1.15; margin-bottom: 1rem;
}
.hero h1 span {
   color: var(--red); 
  }
.hero p { 
  color: rgba(255,255,255,.75); 
  font-size: .95rem;
   max-width: 440px; 
   line-height: 1.7;
   }

.btn-red {
  background: var(--red); color: var(--white);
  border: none; border-radius: 30px;
  padding: .7rem 1.6rem; font-weight: 600; font-size: .9rem;
  transition: background .2s, transform .15s;
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
}
.btn-red:hover { 
  background: #a30d25; 
  color: var(--white); 
  transform: translateY(-2px); }

.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 30px; padding: .68rem 1.4rem;
  font-weight: 600; font-size: .9rem;
  transition: border-color .2s, background .2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }

/* Hero quick links card */
.hero-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
  position: relative; z-index: 3;
}
.hero-card-item {
  display: flex; align-items: center; gap: .85rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer; 
  transition: background .15s;
  text-decoration: none; color: inherit;
}
.hero-card-item:last-child { border-bottom: none; }
.hero-card-item:hover { background: var(--light-gray); }
.hero-card-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-card-icon i { color: var(--white); font-size: 1rem; }
p.hero-card-title { font-weight: 600; font-size: .88rem; color: var(--navy); margin: 0; line-height: 1.2; }
p.hero-card-sub { font-size: .72rem; color: var(--gray); margin: 0; }
.hero-card-arrow { margin-left: auto; color: var(--red); font-size: 1rem; }

/* Hero badges */
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.8rem; }
.hero-badge { display: flex; align-items: center; gap: .5rem; }
.hero-badge i { color: var(--red); font-size: 1.2rem; }
.hero-badge-title { font-size: .78rem; font-weight: 600; color: var(--white); margin: 0; }
.hero-badge-sub { font-size: .68rem; color: rgba(255,255,255,.55); margin: 0; }

/* ── SECTION HEADERS ── */
.section-eyebrow {
  font-size: .75rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: .5rem;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--navy); }
.section-divider {
  width: 48px; height: 3px; background: var(--red);
  border-radius: 2px; margin: .7rem auto 0;
}
.section-divider.left { margin: .7rem 0 0; }

/* ── FILIÈRES ── */
.filieres { background: var(--cream); padding: 80px 0; }
.filiere-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
  border: 1px solid #ede9e3;
}
.filiere-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(13,27,62,.12); }
.filiere-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem;
}
.filiere-icon.red { background: var(--red); color: var(--white); }
.filiere-icon.navy { background: var(--navy); color: var(--white); }
.filiere-card h5 { font-size: 1.05rem; margin-bottom: .6rem; }
.filiere-card p { font-size: .83rem; color: var(--gray); line-height: 1.6; }
.filiere-link {
  color: var(--red); font-size: .82rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: .3rem;
}
.filiere-link:hover { color: #a30d25; gap: .5rem; }
/* Image de carte filière (remplace l'icône quand elle est renseignée) */
.filiere-img {
  width: 100%; height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  display: block;
}

.filiere-card ul.niveaux {
  list-style: none; padding: 0; margin: 0 0 1rem;
  display: flex; flex-direction: column; gap: .3rem; align-items: center;
}
.filiere-card ul.niveaux li { font-size: .8rem; color: var(--navy); }
.filiere-card ul.niveaux li i { color: var(--red); margin-right: .3rem; }

/* ── STATS ── */
.stats-bar { background: var(--navy); padding: 50px 0; }
.stat-item { display: flex; align-items: center; gap: 1rem; }
.stat-icon-wrap {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(200,16,46,.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-icon-wrap i { color: var(--red); font-size: 1.4rem; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 900;
  color: var(--white); line-height: 1;
}
.stat-label { font-size: .8rem; color: rgba(255,255,255,.6); margin: 0; }

/* ── CAMPUS ── */
.campus { 
  padding: 50px 0; 
  background: var(--white); 
}
.campus-left {
   padding-right: 3rem;
   }
.campus-card {
  border-radius: 16px; 
  overflow: hidden;
  position: relative; 
  cursor: pointer;
  height: 100%;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: var(--white);
}
.campus-card img {
  width: 100%; 
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.campus-card:hover img {
  transform: scale(1.05);
}
.campus-card-placeholder {
  height: 240px;
  background: var(--light-gray); color: var(--gray);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: .8rem;
}
.campus-card-body {
   padding: 1rem 1.1rem 1.1rem;
   }
.campus-card-body h6 { 
  font-size: .95rem; 
  margin-bottom: .2rem; 
  font-weight: 700; 
}
.campus-card-body small { 
  color: var(--gray); 
  font-size: .8rem; }

.campus-school-count {
  margin-top: .35rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: .35rem;
}

.internat-carousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.internat-carousel .carousel-item img {
  height: 420px;
  object-fit: cover;
  display: block;
}

.internat-carousel .carousel-caption {
  left: 1.5rem;
  right: auto;
  bottom: 1.5rem;
  background: linear-gradient(90deg, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
  padding: 1rem 1.2rem;
  border-radius: 12px;
  text-align: left;
  max-width: 320px;
}

.internat-carousel .carousel-caption h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.internat-carousel .carousel-caption p {
  font-size: .85rem;
  margin: 0;
}

.internat-carousel .carousel-control-prev,
.internat-carousel .carousel-control-next {
  width: 46px;
  height: 46px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  opacity: 1;
  margin: 0 1rem;
}

.internat-carousel .carousel-control-prev-icon,
.internat-carousel .carousel-control-next-icon {
  filter: invert(1);
  width: 1.2rem;
  height: 1.2rem;
}

.internat-carousel .carousel-indicators {
  bottom: 1rem;
}

.internat-carousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.8);
}

.internat-carousel .carousel-indicators .active {
  background-color: var(--red);
}
.btn-red-outline {
  border: 2px solid var(--red); 
  color: var(--red);
  background: transparent; border-radius: 30px;
  padding: .55rem 1.4rem; font-weight: 600; font-size: .85rem;
  transition: background .2s, color .2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
}
.btn-red-outline:hover { background: var(--red); color: var(--white); }

/* ── CONTACT HIGHLIGHT ── */
.contact-highlight {
  background: var(--white);
  padding: 20px 0 50px;
}
.contact-panel {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 24px;
  padding: 2rem;
  color: var(--white);
  box-shadow: 0 18px 45px rgba(13,27,62,.15);
}
.contact-panel .section-eyebrow,
.contact-panel .section-title,
.contact-panel .text-muted,
.contact-panel h6,
.contact-panel small {
  color: var(--white);
}
.contact-panel .section-divider {
  background: var(--red);
}
.contact-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: .9rem 1rem;
  height: 100%;
}
.contact-item i {
  color: var(--red);
  font-size: 1rem;
  margin-top: 2px;
}
.contact-item h6 {
  margin-bottom: .2rem;
  font-size: .95rem;
}
.contact-item small {
  font-size: .8rem;
  line-height: 1.6;
  opacity: .9;
}
.contact-cta {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 1.4rem;
}
.contact-cta h4 {
  font-size: 1.2rem;
  margin-bottom: .6rem;
}
.contact-cta p {
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin: 0;
}

/* ── ACTUALITÉS ── */
.actualites { 
  background: var(--cream); 
  padding: 50px 0; 
}
.news-card {
  background: var(--white); 
  border-radius: 12px;
  overflow: hidden; 
  transition: box-shadow .25s;
  border: 1px solid #ede9e3;
}
.news-card:hover {
   box-shadow: 0 12px 32px rgba(13,27,62,.1); 
  }
.news-card img { 
  width: 100%; height: 160px; 
  object-fit: cover;
 }
.news-card-body {
   padding: 1rem;
   }
.news-badge {
  display: inline-block; font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  padding: .2rem .6rem; border-radius: 20px;
  margin-bottom: .6rem;
}
.badge-annonce { background: rgba(200,16,46,.1); color: var(--red); }
.badge-event { background: rgba(13,27,62,.1); color: var(--navy); }
.badge-campus { background: rgba(16,185,129,.12); color: #0f9d6b; }
.badge-partenariat { background: rgba(245,158,11,.15); color: #b45309; }
.news-card h6 { font-size: .9rem; font-weight: 700; margin-bottom: .4rem; }
.news-card p { font-size: .78rem; color: var(--gray); line-height: 1.5; }
.news-date { font-size: .7rem; color: var(--gray); }

/* Infos pratiques */
.info-row {
  display: flex; align-items: center;
  padding: .9rem 0; border-bottom: 1px solid #eee;
  text-decoration: none; color: inherit;
  transition: color .15s;
}
.info-row:last-child { border-bottom: none; }
.info-row:hover h6 { color: var(--red); }
.info-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-right: .8rem;
}
.info-icon i { color: var(--white); font-size: .95rem; }
.info-row h6 { font-size: .85rem; font-weight: 600; margin: 0; }
.info-row small { font-size: .73rem; color: var(--gray); }
.info-row .chevron { margin-left: auto; color: var(--gray); }

/* Quote card */
.quote-card {
  background: var(--navy); border-radius: 14px;
  padding: 2rem 1.5rem; color: var(--white);
}
.quote-card .quote-icon { font-size: 2.5rem; color: var(--red); line-height: 1; margin-bottom: .8rem; }
.quote-card blockquote { font-size: 1.05rem; font-style: italic; line-height: 1.6; }
.quote-card p.sub { font-size: .82rem; color: rgba(255,255,255,.6); }
.quote-card h5 { color: var(--white); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.footer-brand img{
  width: 50px;
  height: 50px;
}
footer .footer-brand strong {
  font-family: 'Playfair Display', serif;
  color: var(--white); font-size: 1.1rem;
}
footer .footer-brand p { font-size: .8rem; line-height: 1.6; margin-top: .6rem; }
footer h6 { color: var(--white); font-weight: 700; font-size: .9rem; margin-bottom: 1rem; letter-spacing: .5px; }
footer a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .82rem; transition: color .2s; }
footer a:hover { color: var(--red); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: .45rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .55rem; font-size: .82rem; }
.footer-contact-item i { color: var(--red); font-size: .9rem; margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; padding: 1.2rem 0;
  font-size: .75rem; color: rgba(255,255,255,.4);
  margin-top: 3rem;
}
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7) !important;
  font-size: .9rem; transition: background .2s;
  margin-right: .3rem;
}
.social-icons a:hover { background: var(--red); color: var(--white) !important; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .35s; }
.delay-4 { animation-delay: .5s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 3rem 0 2rem; min-height: auto; }
  .hero-card { margin-top: 2rem; }
  .campus-left { padding-right: 0; margin-bottom: 2rem; }
}

/* =====================================================================
   Compléments — pages intérieures (même langage visuel)
   ===================================================================== */

/* Bandeau d'en-tête des pages intérieures */
.page-head {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative; overflow: hidden;
  padding: 3.2rem 0; color: var(--white);
}
.page-head::after {
  content: ''; position: absolute; top: -60px; right: 0;
  width: 200px; height: 160%;
  background: var(--red);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .85;
}
.page-head .container { position: relative; z-index: 2; }
.page-head .breadcrumb-line {
  font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: .6rem;
}
.page-head .breadcrumb-line a { color: rgba(255,255,255,.75); text-decoration: none; }
.page-head .breadcrumb-line a:hover { color: var(--white); }
.page-head h1 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0; }
.page-head p.lead-sub { color: rgba(255,255,255,.7); font-size: .95rem; margin: .5rem 0 0; max-width: 60ch; }

/* Sections utilitaires */
.section-cream { background: var(--cream); padding: 60px 0; }
.section-white { background: var(--white); padding: 60px 0; }

/* Onglets / filtres */
.tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.tab {
  border: 1px solid #e3e0da; background: var(--white); color: var(--navy);
  border-radius: 30px; padding: .45rem 1.1rem;
  font-size: .82rem; font-weight: 600; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
  transition: all .2s; font-family: 'DM Sans', sans-serif;
}
.tab:hover { border-color: var(--red); color: var(--red); }
.tab.active { background: var(--red); border-color: var(--red); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Liste à coches */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .7rem 0; border-bottom: 1px solid #eee; font-size: .9rem;
}
.check-list li:last-child { border-bottom: none; }
.check-list li i { color: var(--red); font-size: 1.05rem; line-height: 1.4; }

/* Carte des dates (admission) */
.dates-card {
  background: var(--white); border: 1px solid #ede9e3;
  border-radius: 14px; padding: 1.4rem 1.6rem;
}
.date-row {
  display: flex; gap: .9rem; align-items: center;
  padding: .8rem 0; border-bottom: 1px solid #f0ede8;
}
.date-row:last-child { border-bottom: none; }
.date-row .info-icon { margin-right: 0; background: var(--red); }
.date-row b { display: block; font-size: .85rem; }
.date-row span { font-size: .78rem; color: var(--gray); }

/* Étapes d'admission */
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 2.5rem; }
.step {
  background: var(--white); border: 1px solid #ede9e3; border-radius: 12px;
  padding: 1rem; display: flex; align-items: center; gap: .8rem;
}
.step .num {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--light-gray); color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: 'Playfair Display', serif; flex-shrink: 0;
}
.step.active { border-color: var(--red); }
.step.active .num { background: var(--red); color: var(--white); }
.step span { font-size: .82rem; font-weight: 600; }
@media (max-width: 768px) { .stepper { grid-template-columns: repeat(2, 1fr); } }

/* Bande newsletter */
.newsletter-band {
  background: var(--navy); border-radius: 14px; padding: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; color: var(--white);
}
.newsletter-band h5 { color: var(--white); margin: 0 0 .2rem; }
.newsletter-band p { color: rgba(255,255,255,.6); font-size: .82rem; margin: 0; }
.newsletter-form { display: flex; gap: .6rem; flex: 1; min-width: 260px; max-width: 430px; }
.newsletter-form input {
  flex: 1; border: none; border-radius: 30px;
  padding: .6rem 1.1rem; font-size: .85rem; font-family: 'DM Sans', sans-serif;
}
.newsletter-form input:focus { outline: 2px solid var(--red); }
.newsletter-form .btn-red { border: none; }

/* Formulaires (contact) */
.form-panel {
  background: var(--white); border: 1px solid #ede9e3;
  border-radius: 14px; padding: 2rem;
}
.form-panel label { font-size: .82rem; font-weight: 600; margin-bottom: .35rem; }
.form-panel .form-control {
  font-size: .9rem; padding: .65rem .9rem; border-radius: 10px;
}
.form-panel .form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 .15rem rgba(200,16,46,.15);
}

/* Article (détail actualité) */
.article-body { font-size: .95rem; line-height: 1.8; white-space: pre-line; }

/* Carte */
.map-embed {
  border-radius: 12px; overflow: hidden;
  border: 1px solid #ede9e3; height: 230px; margin-top: 1rem;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Carrousel des écoles */
.ecole-carousel .carousel-inner { border-radius: 14px; }
.ecole-carousel .carousel-item img {
  height: 420px; object-fit: cover;
}
@media (max-width: 768px) {
  .ecole-carousel .carousel-item img { height: 260px; }
}

/* Liste des commodités (2 colonnes sur grand écran) */
.commodites-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  column-gap: 1.5rem;
}
.commodites-list li { border-bottom: 1px solid #f2f0eb; }

/* Modales « Informations pratiques » */
.modal-ifsm .modal-content {
  border: none; border-radius: 14px; overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}
.modal-ifsm .modal-header {
  background: var(--navy);
  border-bottom: 3px solid var(--red);
  padding: 1rem 1.4rem;
  gap: .8rem;
}
.modal-ifsm .modal-title {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
}
.modal-ifsm .modal-icon {
  width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.modal-ifsm .modal-icon i { color: var(--white); font-size: 1rem; }
.modal-ifsm .modal-body { padding: 1.4rem; }
.modal-ifsm .modal-footer { border-top: 1px solid #f0ede8; padding: .9rem 1.4rem; }
.modal-ifsm .check-list li { font-size: .88rem; }

.modal-steps { display: flex; flex-direction: column; gap: .6rem; }
.modal-step {
  display: flex; align-items: center; gap: .8rem;
  background: var(--cream); border: 1px solid #ede9e3;
  border-radius: 10px; padding: .7rem .9rem; font-size: .88rem; font-weight: 600;
}
.modal-step .num {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: .85rem;
}

/* Messages flash */
.flash-wrap {
  position: fixed; top: 90px; right: 20px; z-index: 2000;
  display: flex; flex-direction: column; gap: .6rem; max-width: 340px;
}
.flash {
  padding: .8rem 1.1rem; border-radius: 10px; color: var(--white);
  font-size: .85rem; box-shadow: 0 10px 30px rgba(0,0,0,.15);
  animation: fadeUp .4s ease both;
}
.flash.success { background: #0f9d6b; }
.flash.error { background: var(--red); }
.flash.info { background: var(--navy); }
