/* ===== Variables ===== */
:root {
  --yellow: #fbb903;
  --yellow-dark: #d99e00;
  --navy: #12213b;
  --navy-light: #1c3057;
  --navy-soft: #20335a;
  --ink: #12213b;
  --muted: #5a6b86;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --border: #e6ebf3;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 20px 45px -20px rgba(18, 33, 59, 0.35);
  --shadow-lg: 0 40px 80px -30px rgba(18, 33, 59, 0.55);
  --max: 1180px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.35s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px -16px rgba(18, 33, 59, 0.4);
  padding: 10px 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 14px; }
.logo__img { height: 76px; width: auto; transition: height 0.35s ease; }
.header.scrolled .logo__img { height: 60px; }
/* Bascule logo blanc (header transparent) / logo couleur (header scrollé) */
.logo__img--dark { display: none; }
.header.scrolled .logo__img--light { display: none; }
.header.scrolled .logo__img--dark { display: block; }
.logo__tag {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; line-height: 1.15;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.92); padding-left: 14px; border-left: 2px solid var(--yellow);
  transition: color 0.35s ease;
}
.header.scrolled .logo__tag { color: var(--navy); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__link {
  font-weight: 500; font-size: 15px; color: rgba(255,255,255,0.9);
  padding: 10px 14px; border-radius: 10px; position: relative;
  transition: all 0.2s ease;
}
.nav__link:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.header.scrolled .nav__link { color: var(--navy); } 
.header.scrolled .nav__link:hover { background: rgba(18, 33, 59, 0.06); }
.nav__cta {
  background: var(--yellow); color: var(--navy);
  font-weight: 600; margin-left: 6px;
}
.nav__cta:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.nav__cta, .header.scrolled .nav__cta { color: var(--navy); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 3px; background: var(--white); border-radius: 3px; transition: 0.3s; }
.header.scrolled .burger span { background: var(--navy); }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 90px;
  background: var(--navy);
  overflow: hidden;
  display: flex; align-items: center;
}
.hero__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: hero-zoom 20s ease-in-out infinite alternate;
}
/*Couleur du fond sombre au début */
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 23, 41, 0.829) 0%, rgba(31, 36, 43, 0.733) 45%, rgba(18,33,59,0.82) 100%),
    radial-gradient(120% 90% at 50% 35%, transparent 20%, rgba(18,33,59,0.55) 100%);
}
.hero__overlay::after {
  content: ""; position: absolute; top: -120px; right: -80px; width: 460px; height: 460px;
  border-radius: 50%;
  animation: drift 16s ease-in-out infinite;
}
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px,30px); } }

.hero__inner { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__content { max-width: 1000px; }

.badge {
  display: inline-block;
  background: rgba(251, 185, 3, 0.16);
  color: var(--yellow);
  font-weight: 600; font-size: 13px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(251,185,3,0.3);
  letter-spacing: 0.3px; margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.08; font-weight: 800;
  color: var(--white); letter-spacing: -0.5px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  text-wrap: balance;
}
.hl { color: var(--yellow); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: rgba(251,185,3,0.28); border-radius: 4px; z-index: -1;
}
.hero__text { margin: 26px auto 36px; font-size: 19px; color: rgba(255,255,255,0.85); max-width: 680px; text-wrap: pretty; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn--ghost-light { background: rgba(255,255,255,0.08); color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); transform: translateY(-3px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 15px 28px; border-radius: 12px; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--primary { background: var(--yellow); color: var(--navy); box-shadow: 0 14px 30px -12px rgba(251,185,3,0.8); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -12px rgba(251,185,3,0.9); }
.btn--ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }

.hero__stats {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 20px 40px; margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15); width: 100%; max-width: 900px;
}
.stat { display: flex; flex-direction: column; align-items: center; position: relative; flex: 1; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 36px; background: rgba(255,255,255,0.15);
}
.stat__num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--yellow); line-height: 1; }
.stat__label { font-size: 14px; color: rgba(255,255,255,0.78); margin-top: 8px; }

/* Indicateur de scroll */
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.75); animation: float 2.6s ease-in-out infinite;
}
.hero__scroll:hover { color: var(--yellow); }
.hero__scroll-mouse {
  width: 26px; height: 42px; border: 2px solid currentColor; border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.hero__scroll-mouse span { width: 4px; height: 8px; background: currentColor; border-radius: 3px; animation: scroll-dot 1.6s ease-in-out infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(-4px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }
.hero__scroll-text { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

@keyframes float { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--yellow-dark); margin-bottom: 14px;
}
.eyebrow--light { color: var(--yellow); }
.section__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--navy); line-height: 1.15;
  letter-spacing: -0.5px;
}
.section__title--light { color: var(--white); }
.section__sub { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* ===== About / Qui sommes-nous ===== */
.about { background: var(--bg-soft); }
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.about__media { position: relative; }
.about__carousel { position: relative; border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; overflow: hidden; width: 100%; }
.about__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s ease-in-out;
}
.about__slide.is-active { opacity: 1; }
.about__tag {
  position: absolute; bottom: -22px; right: -18px;
  background: var(--navy); color: var(--white);
  padding: 20px 24px; border-radius: 16px; max-width: 260px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 16px;
  border-left: 4px solid var(--yellow);
}
.about__tag-num { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; line-height: 1.05; color: var(--yellow); }
.about__tag-label { font-size: 13px; color: rgba(255,255,255,0.82); line-height: 1.4; }
.about__content p { color: var(--muted); margin: 14px 0; font-size: 16.5px; }
.about__content strong { color: var(--navy); font-weight: 700; }
.about__lead { font-size: 18px !important; color: var(--navy) !important; font-weight: 500; }
.about__content .section__title { margin-bottom: 14px; }
.about__points { list-style: none; margin: 22px 0 8px; display: flex; flex-direction: column; gap: 14px; }
.about__points li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 16px; }
.about__points-icon {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; margin-top: 1px;
  background: rgba(251,185,3,0.18); color: var(--yellow-dark); display: grid; place-items: center;
}
.about__points-icon svg { width: 15px; height: 15px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--yellow-dark);
  margin-top: 12px; transition: gap 0.25s ease, color 0.2s ease;
}
.link-arrow span { transition: transform 0.25s ease; }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover span { transform: translateX(6px); }

/* ===== Démarche / étapes ===== */
.demarche { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 26px 28px; position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.step__num {
  position: absolute; top: 14px; right: 18px;
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem;
  color: rgba(18,33,59,0.06); line-height: 1;
}
.step__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--navy); color: var(--yellow);
  display: grid; place-items: center; margin-bottom: 20px;
  transition: transform 0.35s ease;
}
.step:hover .step__icon { transform: rotate(-6deg) scale(1.08); }
.step__icon svg { width: 26px; height: 26px; }
.step h3 { font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

.modalites {
  margin-top: 28px; background: var(--bg-soft); border: 1px solid var(--border);
  border-left: 5px solid var(--yellow); border-radius: var(--radius);
  padding: 30px 34px; display: flex; align-items: center; gap: 24px;
}
.modalites__icon {
  width: 60px; height: 60px; border-radius: 16px; flex-shrink: 0;
  background: rgba(251,185,3,0.16); color: var(--yellow-dark);
  display: grid; place-items: center;
}
.modalites__icon svg { width: 30px; height: 30px; }
.modalites__text h3 { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); margin-bottom: 6px; }
.modalites__text p { color: var(--muted); font-size: 16px; }
.modalites__text strong { color: var(--navy); }

/* ===== Atouts ===== */
.atouts { background: var(--bg); }
.modalites { background: var(--bg-soft); }
.atouts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 30px; position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: rgba(251,185,3,0.16); color: var(--yellow-dark);
  display: grid; place-items: center; margin-bottom: 22px;
  transition: transform 0.35s ease;
}
.card:hover .card__icon { transform: rotate(-6deg) scale(1.08); }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ===== Programmes ===== */
.programmes { background: var(--bg-soft); }
.prog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prog {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prog:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prog__img { height: 180px; overflow: hidden; position: relative; }
.prog__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.prog:hover .prog__img img { transform: scale(1.08); }
.prog__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(18,33,59,0.55) 65%, rgba(18,33,59,0.92)); }
.prog__tag {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--white);
  letter-spacing: 0.2px; line-height: 1.2; text-shadow: 0 2px 10px rgba(0,0,0,0.65);
}
.prog--icon .prog__icon-head {
  display: flex; align-items: center; gap: 14px;
  background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  padding: 26px 26px; height: 180px;
}
.prog__icon-badge {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: rgba(251,185,3,0.18); display: grid; place-items: center;
  transition: transform 0.35s ease;
}
.prog--icon:hover .prog__icon-badge { transform: rotate(-8deg) scale(1.1); }
.prog__icon-badge svg { width: 26px; height: 26px; color: var(--yellow); }
.prog__body { padding: 22px 26px 26px; }
.prog__body ul { display: grid; gap: 10px; }
.prog__body li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15px; }
.prog__body li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px;
  border-radius: 3px; background: var(--yellow); transform: rotate(45deg);
}

/* Catalogue CTA */
.catalog {
  margin-top: 44px; background: var(--navy); border-radius: var(--radius);
  padding: 40px 44px; display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.catalog__text { position: relative; }
.catalog__text h3 { font-family: var(--font-head); color: var(--white); font-size: 1.5rem; margin-bottom: 6px; }
.catalog__text p { color: rgba(255,255,255,0.78); font-size: 16px; }
.catalog__btn { position: relative; }

/* ===== Témoignages carrousel ===== */
.temoignages { background: var(--bg-soft); }
.carousel { display: flex; align-items: center; gap: 18px; max-width: 900px; margin: 0 auto; }
.carousel__viewport { overflow: hidden; flex: 1; border-radius: var(--radius); }
.carousel__track { display: flex; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.slide {
  min-width: 100%; box-sizing: border-box; text-align: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 48px 56px;
  transform: scale(0.86); opacity: 0.35;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}
.slide.active { transform: scale(1); opacity: 1; box-shadow: var(--shadow-lg); }
.slide__avatar {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px;
  border: 4px solid var(--white); box-shadow: 0 10px 24px -12px rgba(18,33,59,0.5);
}
.slide__quote { font-family: var(--font-head); font-size: 3.5rem; line-height: 0.6; color: var(--yellow); }
.slide blockquote { color: var(--navy); font-size: clamp(1.05rem, 2.2vw, 1.4rem); font-weight: 500; margin: 12px auto 22px; max-width: 620px; }
.slide figcaption { display: flex; flex-direction: column; gap: 2px; }
.slide figcaption strong { color: var(--navy); font-family: var(--font-head); font-size: 16px; }
.slide figcaption small { color: var(--muted); font-size: 14px; }

.carousel__nav {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; cursor: pointer;
  background: var(--navy); color: var(--white); border: 0;
  display: grid; place-items: center; transition: all 0.25s ease;
}
.carousel__nav:hover { background: var(--yellow); color: var(--navy); transform: scale(1.1); }
.carousel__nav svg { width: 18px; height: 18px; }

.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--border); cursor: pointer; transition: all 0.3s ease; }
.dot.active { background: var(--yellow); width: 30px; border-radius: 6px; }

/* ===== Confiance : marquee ===== */
.confiance { background: var(--bg); overflow: hidden; }
.marquee { position: relative; margin-top: 20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee__logo {
  height: 88px; width: auto; object-fit: contain; flex-shrink: 0;
  margin-right: 90px;
  opacity: 0.95; transition: opacity 0.3s ease, transform 0.3s ease;
}
.marquee__logo:hover { opacity: 1; transform: scale(1.08); }

/* ===== Contact ===== */
.contact { background: var(--navy); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,185,3,0.12), transparent 70%);
}
.contact__head { text-align: center; max-width: 620px; margin: 0 auto 44px; position: relative; }
.contact__intro { color: rgba(255,255,255,0.78); font-size: 17px; margin-top: 16px; }

.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; position: relative; }
.advisor {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  background: var(--navy-soft); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 36px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.advisor:hover { transform: translateY(-5px); border-color: var(--yellow); }
.advisor__photo {
  width: 96px; height: 96px; flex-shrink: 0; border-radius: 50%; margin-bottom: 8px;
  object-fit: cover; border: 3px solid rgba(251,185,3,0.4);
}
 .advisor__name { color: var(--white); font-family: var(--font-head); font-size: 1.25rem; }
  .advisor__role {
  display: inline-block; margin-top: 6px; margin-bottom: 10px;
  color: rgba(255,255,255,0.72); font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em;
  }
.advisor__campus {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--yellow); font-weight: 600; font-size: 14px; margin-bottom: 16px;
}
.advisor__map {
  width: 100%; max-width: 300px; height: auto; margin-bottom: 20px;
  border-radius: 14px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); padding: 8px;
}
.advisor__btn--rdv { background: var(--yellow); color: var(--navy); }
.advisor__campus svg { width: 16px; height: 16px; }
.advisor__actions { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 300px; }
.advisor__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px; border-radius: 12px; font-weight: 600; font-size: 15px;
  background: var(--yellow); color: var(--navy); transition: all 0.25s ease;
}
.advisor__btn svg { width: 18px; height: 18px; }
.advisor__btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.advisor__btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.28); }
.advisor__btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }

/* ===== Footer ===== */
.footer { background: #0d1929; padding: 64px 0 28px; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.logo__img--footer { height: 92px; width: auto; }
.footer__desc { color: rgba(255,255,255,0.62); font-size: 14.5px; line-height: 1.6; margin: 18px 0 22px; max-width: 340px; }
.footer__social { display: flex; gap: 12px; }
.footer__social-link {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); transition: all 0.25s ease;
}
.footer__social-link svg { width: 18px; height: 18px; }
.footer__social-link:hover { background: var(--yellow); color: var(--navy); transform: translateY(-3px); }

.footer__col h4 {
  font-family: var(--font-head); font-size: 15px; color: var(--white);
  margin-bottom: 18px; position: relative; padding-bottom: 10px;
}
.footer__col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; background: var(--yellow); border-radius: 2px; }
.footer__col a {
  display: block; color: rgba(255,255,255,0.62); font-size: 14.5px;
  margin-bottom: 11px; transition: color 0.2s ease, transform 0.2s ease;
}
.footer__col a:hover { color: var(--yellow); transform: translateX(4px); }
 .footer__contact-role { color: var(--white); font-size: 13.5px; font-weight: 600; margin: 14px 0 8px; }
  .footer__contact-role:first-of-type { margin-top: 0; }
  .footer__campus { display: block; color: rgba(255,255,255,0.45); font-size: 13.5px; line-height: 1.7; margin-top: 8px; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-top: 24px;
}
.footer__bottom p { color: rgba(255,255,255,0.55); font-size: 13.5px; }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { color: rgba(255,255,255,0.55); font-size: 13.5px; transition: color 0.2s ease; }
.footer__legal a:hover { color: var(--yellow); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .about__inner, .contact__inner { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 64px; }
  .about__media { order: -1; }
  .atouts__grid, .prog__grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .slide { padding: 40px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
/* Menu burger dès 1000px */
@media (max-width: 1000px) {
  .nav {
    position: fixed; top: 70px; right: 16px; left: 16px;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--white); padding: 16px; border-radius: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-20px); opacity: 0; pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__link, .header.scrolled .nav__link { color: var(--navy); }
  .nav__cta { margin-left: 0; text-align: center; }
  .burger { display: flex; }
  /* Masquer l'indicateur "Découvrir" en mobile */
  .hero__scroll { display: none; }
}
@media (max-width: 750px) {
  .atouts__grid, .prog__grid, .contact__grid, .steps { grid-template-columns: 1fr; }
  .modalites { flex-direction: column; text-align: center; align-items: center; }
  .marquee__logo { height: 64px; margin-right: 60px; }
  /* Hero stats : grille 2x2 nette en mobile */
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 40px;
    padding-top: 32px;
  }
  .stat {
    flex: none;
    justify-content: center;
    gap: 6px;
    min-height: 118px;
    padding: 18px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    backdrop-filter: blur(4px);
  }
  .stat:not(:last-child)::after { display: none; }
  .stat__num { font-size: 2rem; }
  .stat__label {
    font-size: 13px;
    line-height: 1.3;
    max-width: 16ch;
    margin-top: 4px;
  }
  .section { padding: 64px 0; }
  .carousel__nav { width: 36px; height: 36px; }
  .slide blockquote { font-size: 1.05rem; }
  .about__tag { right: 8px; left: 8px; bottom: -28px; max-width: none; }
  .logo__tag { display: none; }
  .logo__img { height: 52px; }



  /* Atouts : cartes centrées */
  .card { text-align: center; }
  .card__icon { margin-left: auto; margin-right: auto; }

  /* ===== Footer mobile ===== */
  .footer { padding: 48px 0 24px; }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
    padding-bottom: 34px;
  }
  .footer__brand { display: flex; flex-direction: column; align-items: center; }
  .footer .logo--footer { justify-content: center; }
  .footer__desc { margin: 16px auto 20px; max-width: 420px; }
  .footer__social { justify-content: center; }
  .footer__col h4 { padding-bottom: 12px; }
  .footer__col h4::after { left: 50%; transform: translateX(-50%); }
  .footer__col a:hover { transform: none; }
  .footer__campus { margin-top: 12px; }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    margin-top: 4px;
  }
  .footer__legal { justify-content: center; flex-wrap: wrap; gap: 8px 22px; }
}

/* Très petits écrans : stats un peu plus compactes */
@media (max-width: 380px) {
  .hero__stats { gap: 10px; }
  .stat { min-height: 104px; padding: 14px 10px; }
  .stat__num { font-size: 1.7rem; }
  .stat__label { font-size: 12px; }
}

@media (max-width: 1118px) {
  /* Catalogue CTA : tout centré */
  .catalog {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 34px 24px;
    gap: 22px;
  }
  .catalog__text { width: 100%; }
  .catalog__btn { width: 100%; max-width: 340px; justify-content: center; }
}

