:root {
  --navy: #001f3f;
  --navy-deep: #00142b;
  --navy-soft: #0d3766;
  --gold: #ffc107;
  --gold-soft: #ffe082;
  --white: #ffffff;
  --grey: #f8f9fa;
  --ink: #2b2b2b;
  --ink-mute: #5b6470;
  --line: rgba(0, 31, 63, 0.1);
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(0, 20, 43, 0.06);
  --shadow-md: 0 14px 34px rgba(0, 20, 43, 0.12);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  margin: 0;
  color: var(--navy);
}
p {
  line-height: 1.7;
  color: var(--ink-mute);
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.mono {
  font-family: "Roboto Mono", monospace;
  letter-spacing: 0.06em;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
section {
  padding: 112px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-soft);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.3s var(--ease);
  font-family: "Inter", sans-serif;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover {
  background: #ffca28;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 193, 7, 0.35);
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 31, 63, 0.25);
}

/* corner-bracket signature element, echoes a technical/blueprint drawing frame */
.bracketed {
  position: relative;
}
.bracketed::before,
.bracketed::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  top: -1px;
  left: -1px;
  opacity: 0.9;
}
.bracketed::after {
  top: auto;
  left: auto;
  bottom: -1px;
  right: -1px;
  border-top: none;
  border-left: none;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- HEADER ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.35s var(--ease);
  background: rgba(0, 31, 63, 0.92);
}
header.scrolled {
  padding: 14px 0;
  background: rgba(0, 31, 63, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 20, 43, 0.18);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  color: var(--gold);
  font-size: 14px;
}
.brand-text {
  color: var(--white);
  line-height: 1.25;
}
.brand-text strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.brand-text span {
  font-size: 11px;
  font-family: "Roboto Mono", monospace;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}
.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a:hover::after {
  width: 100%;
}

/* Header uses navy background by default; ensure link contrast */
header .nav-links a {
  color: rgba(255, 255, 255, 0.92);
}
header .nav-links a::after {
  background: var(--gold);
}
header .nav-links a:hover {
  color: var(--gold);
}

/* active link style */
.nav-links a.active {
  color: var(--gold);
  font-weight: 700;
}
.nav-links a.active::after {
  width: 100%;
}

/* CTA contrast when header visible */
header .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Accent titles on apropos page */
.hero-about h1,
.mission h2,
.history h2,
.team h2 {
  color: var(--navy-deep);
}
.card .h5 {
  color: var(--navy);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 6px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: 78%;
  max-width: 340px;
  height: 100vh;
  background: var(--navy-deep);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding: 110px 32px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.mobile-menu a {
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 10, 25, 0.5);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    160deg,
    rgba(0, 15, 33, 0.94) 0%,
    rgba(0, 31, 63, 0.88) 55%,
    rgba(13, 55, 102, 0.85) 100%
  );
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 193, 7, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 193, 7, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 10%, transparent 70%);
  animation: driftGrid 40s linear infinite;
}
@keyframes driftGrid {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 280px 280px;
  }
}

/* Landing page styles */
.home-page {
  min-height: 100vh;
  padding-top: 110px;
  background: linear-gradient(180deg, #fdfcfb 0%, #f2f6ff 100%);
}
.landing-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 110px);
  padding: 80px 0;
}
.hero-copy {
  max-width: 620px;
}
.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.02;
  color: var(--navy-deep);
}
.hero-copy p {
  margin-top: 24px;
  font-size: 1.05rem;
  color: var(--ink-mute);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-panel {
  background: var(--white);
  border-radius: 30px;
  border: 1px solid rgba(0, 31, 63, 0.08);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}
.hero-panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 20px;
}
.hero-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.hero-panel-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.96rem;
  color: var(--ink-mute);
}
.hero-panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.hero-panel-note {
  margin-top: 22px;
  color: var(--ink-mute);
  font-size: 0.95rem;
  line-height: 1.7;
}
.home-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 60px;
  padding-bottom: 80px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 31, 63, 0.08);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.feature-card h3 {
  margin-bottom: 14px;
  color: var(--navy-deep);
}
.feature-card p {
  color: var(--ink-mute);
}
@media (max-width: 980px) {
  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-actions {
    justify-content: start;
  }
}
@media (max-width: 760px) {
  .home-page {
    padding-top: 90px;
  }
  .wrap {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-copy h1 {
    font-size: clamp(2.25rem, 7vw, 3.25rem);
  }
}

/* force mobile overlay visible for SPA menu */
.menu-overlay {
  display: none;
}
.menu-overlay.open {
  display: block;
}
.hero-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.18), transparent 70%);
  top: -160px;
  right: -160px;
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}
.hero-eyebrow {
  color: var(--gold-soft);
}
.hero-eyebrow::before {
  background: var(--gold-soft);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 700;
  line-height: 1.08;
  max-width: 820px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  max-width: 560px;
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 32px;
  max-width: 760px;
}
.hero-stats div {
  flex: 1;
  padding-right: 24px;
}
.hero-stats strong {
  display: block;
  font-family: "Poppins", sans-serif;
  color: var(--gold);
  font-size: 30px;
  font-weight: 700;
}
.hero-stats span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

/* ---------- FORMATIONS ---------- */
.section-head {
  max-width: 620px;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}
.section-head p {
  margin-top: 16px;
  font-size: 16px;
}
.grey-bg {
  background: var(--grey);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.course-media {
  height: 330px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.course-media svg {
  width: 46px;
  height: 46px;
  stroke: var(--gold);
  position: relative;
  z-index: 2;
  transition: transform 0.5s var(--ease);
}
.course-card:hover .course-media svg {
  transform: scale(1.12) rotate(-4deg);
}
.course-code {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  color: var(--gold-soft);
  border: 1px solid rgba(255, 193, 7, 0.4);
  padding: 3px 9px;
  border-radius: 20px;
  z-index: 2;
}
.course-body {
  padding: 26px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-body h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.course-body p {
  font-size: 14.5px;
  margin-bottom: 18px;
  color: var(--ink-mute);
}
.supply-list,
.document-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.supply-list li,
.document-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--ink);
}
.supply-list li::before,
.document-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.product-media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}
.fourniture-summary {
  padding: 32px 26px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-top: 30px;
}
.fourniture-summary h3 {
  margin-bottom: 18px;
}
.fourniture-summary .document-list li {
  margin-bottom: 12px;
}

.course-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-mute);
}
.course-foot .arrow {
  color: var(--navy);
  font-weight: 600;
  transition: transform 0.3s var(--ease);
}
.course-card:hover .arrow {
  transform: translateX(4px);
  color: var(--gold);
}

/* ---------- ABOUT ---------- */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/4.6;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.about-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 31, 63, 0.40), rgba(0, 31, 63, 0.40)),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.about-badge {
  position: relative;
  z-index: 2;
  background: rgba(0, 20, 43, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 14px;
  padding: 20px;
  color: var(--white);
}
.about-badge strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  color: var(--gold);
}
.about-badge span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}
.about-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}
.about-icon-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about-icon-item .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-icon-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
}
.about-icon-item h4 {
  font-size: 15px;
  margin-bottom: 5px;
}
.about-icon-item p {
  font-size: 13.5px;
}

/* ---------- ADMISSION ---------- */
.admission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.admission-card {
  padding: 30px 22px;
  border-radius: 14px;
  position: relative;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.admission-card:nth-child(odd) {
  background: var(--white);
  border: 1px solid var(--line);
}
.admission-card:nth-child(even) {
  background: var(--navy);
  color: var(--white);
}
.admission-card:nth-child(even) h4,
.admission-card:nth-child(even) p {
  color: var(--white);
}
.admission-card:nth-child(even) p {
  opacity: 0.75;
}
.admission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.admission-num {
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.admission-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
}
.admission-card p {
  font-size: 13.5px;
}

/* ---------- FOURNITURES ---------- */
.product {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.product-media {
  border-radius: 20px;
  background: linear-gradient(160deg, var(--grey), #eef0f2);
  aspect-ratio: 1/1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.product-media svg {
  width: 120px;
  height: 120px;
  stroke: var(--navy);
  opacity: 0.85;
}
.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.product-info .price {
  font-family: "Poppins", sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  margin: 18px 0 6px;
}
.price small {
  font-size: 14px;
  color: var(--ink-mute);
  font-weight: 400;
  font-family: "Inter", sans-serif;
}
.product-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  color: var(--ink);
}
.product-list svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.admission-list ul,
.document-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.admission-list ul li,
.document-list li {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 12px;
}
.document-list li {
  display: block;
}


/* ---------- CONTACT / FORM ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-info-item .icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
}
.contact-info-item h4 {
  font-size: 14.5px;
  margin-bottom: 4px;
}
.contact-info-item p {
  font-size: 14px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 22px;
  position: relative;
}
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-family: "Roboto Mono", monospace;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 9px;
  border: 1.5px solid var(--line);
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--grey);
  transition: all 0.25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.15);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.form-card .btn {
  width: 100%;
  margin-top: 6px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 0.8fr 1.5fr 2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s;
}
.footer-col a:hover {
  color: var(--gold);
}
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}
.social-row a:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.social-row svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255, 255, 255, 0.85);
}
.social-row a:hover svg {
  stroke: var(--navy-deep);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.detail-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  z-index: 210;
  padding: 24px;
}
.detail-modal.open {
  display: flex;
}
.cta-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 215;
  padding: 24px;
}
.cta-modal.open {
  display: flex;
}
.cta-dialog {
  width: min(100%, 640px);
  background: var(--white);
  border-radius: 26px;
  padding: 34px;
  position: relative;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  animation: fadeInUp 0.5s ease;
}
.cta-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cta-content h3 {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 16px;
  color: var(--navy);
}
.cta-content p {
  margin-bottom: 24px;
  line-height: 1.8;
  color: var(--ink-mute);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cta-btn {
  animation: pulse 2.2s ease-in-out infinite;
}
.cta-secondary {
  min-width: max-content;
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(0, 31, 63, 0.08);
}
.cta-secondary:hover {
  background: rgba(0, 31, 63, 0.12);
}
@keyframes pulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 12px 30px rgba(255, 193, 7, 0.2); }
  50% { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(255, 193, 7, 0.25); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.detail-dialog {
  width: min(100%, 680px);
  background: var(--white);
  border-radius: 22px;
  padding: 32px;
  position: relative;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}
.detail-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.detail-content h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 14px;
}
.detail-meta {
  margin-bottom: 18px;
  color: var(--navy-soft);
  font-weight: 600;
}
.detail-text {
  line-height: 1.85;
  color: var(--ink-mute);
  font-size: 15.2px;
}
.course-card {
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta .btn-outline {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admission-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about,
  .product,
  .contact {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  section {
    padding: 76px 0;
  }
  .wrap {
    padding: 0 20px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .admission-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-stats {
    flex-wrap: wrap;
    row-gap: 24px;
  }
  .hero-stats div {
    flex: 1 1 45%;
  }
}

/* Styles spécifiques pour la page À propos */
.hero-about {
  padding: 64px 0;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(247, 248, 250, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}
.hero-about h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 10px;
  color: var(--navy-deep, #0b2545);
}
.hero-about p {
  color: var(--ink-mute);
  font-size: 16px;
}

.mission .wrap {
  padding: 36px 0;
}
.mission h2 {
  margin-bottom: 12px;
}

.history .timeline {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.history .event {
  background: var(--white);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
  flex: 1 1 30%;
  min-width: 220px;
}
.history .event h3 {
  margin-bottom: 8px;
  color: var(--navy-deep);
}

.team {
  padding: 36px 0;
}
.team-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.team-cards .card {
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
  width: 260px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}
.team-cards .card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}
.team-cards .card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.founder-message {
  padding: 36px 0;
}

/* Back to top fixe (au cas où le style inline soit retiré plus tard) */
#backToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  z-index: 1000;
}

@media (max-width: 860px) {
  .history .event {
    flex: 1 1 45%;
  }
  .team-cards .card {
    width: calc(50% - 12px);
  }
}
@media (max-width: 520px) {
  .history .event {
    flex: 1 1 100%;
  }
  .team-cards {
    justify-content: center;
  }
  .team-cards .card {
    width: 100%;
    max-width: 420px;
  }
  #backToTop {
    display: none;
  }
}
