:root {
  --brand: #0f4c5c;
  --brand-dark: #0a3340;
  --accent: #e09f3e;
  --ink: #17202a;
  --muted: #667085;
  --surface: #ffffff;
  --soft: #f5f7f8;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--soft);
}

img {
  max-width: 100%;
}

.site-navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 76, 92, 0.12);
  box-shadow: 0 10px 30px rgba(15, 76, 92, 0.08);
  backdrop-filter: blur(14px);
}

.navbar-brand {
  color: var(--brand-dark);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0;
}

.navbar-brand img {
  border-radius: 8px;
  object-fit: cover;
}

.nav-link {
  color: #2f3a45;
  font-size: 1.05rem;
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--brand);
}

.dropdown-item {
  align-items: center;
  font-size: 1.02rem;
  display: flex;
  gap: 0.65rem;
  min-height: 44px;
}

.dropdown-item img {
  object-fit: contain;
}

.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-focus-shadow-rgb: 15, 76, 92;
}

.hero-section {
  background:
    linear-gradient(180deg, rgba(7, 24, 31, 0.76), rgba(7, 24, 31, 0.66)),
    url("../images/optimized/fondsite-1600.jpg") center / cover no-repeat;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-section .container {
  z-index: 1;
}

.eyebrow {
  color: #f6d7a6;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.7;
  margin-inline: auto;
  max-width: 760px;
}

.section-pad {
  padding-block: 4.5rem;
}

.section-title {
  color: var(--brand-dark);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.feature-card,
.stage-card {
  background: var(--surface);
  border: 1px solid rgba(15, 76, 92, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(20, 32, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(20, 32, 42, 0.12);
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.feature-card h3,
.stage-card h3 {
  color: var(--brand-dark);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
}

.feature-card p {
  color: var(--muted);
  flex: 1;
  line-height: 1.65;
  margin-block: 1rem 1.25rem;
}

.feature-icon {
  align-items: center;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 1.65rem;
  height: 3.2rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  width: 3.2rem;
}

.bg-sio { background: #0f4c5c; }
.bg-sam { background: #356859; }
.bg-lycee { background: #9a3412; }

.stage-section {
  background: #eef4f5;
}

.stage-card {
  padding: 1.5rem;
}

.stage-card-header {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stage-card-header i {
  align-items: center;
  background: rgba(224, 159, 62, 0.16);
  border-radius: 8px;
  color: #9a5b00;
  display: inline-flex;
  font-size: 1.45rem;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.stage-list {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.icon-link {
  align-items: center;
  color: var(--brand);
  display: inline-flex;
  font-weight: 700;
  gap: 0.45rem;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.icon-link:hover,
.icon-link:focus {
  color: var(--brand-dark);
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .site-navbar .btn-primary {
    margin-block: 0.5rem;
    width: 100%;
  }

  .site-navbar .nav-link {
    font-size: 1.08rem;
  }

  .dropdown-menu {
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 575.98px) {
  .hero-section .display-4 {
    font-size: 2.35rem;
  }

  .hero-section .lead {
    font-size: 1.05rem;
  }

  .section-pad {
    padding-block: 3rem;
  }

  .feature-card,
  .stage-card {
    padding: 1.25rem;
  }
}
.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 3.5rem 1.5rem;
}

.footer-title,
.site-footer h3 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.footer-title {
  font-size: 1.45rem;
}

.site-footer h3 {
  font-size: 1rem;
}

.site-footer p,
.site-footer address {
  line-height: 1.7;
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}


.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  text-underline-offset: 0.18em;
}
.site-footer address a {
  overflow-wrap: anywhere;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
}
@media (max-width: 575.98px) {
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
.footer-admission {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer-admission-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.btn-admission {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-color: #1f2933;
  --bs-btn-hover-bg: #f0b35c;
  --bs-btn-hover-border-color: #f0b35c;
  --bs-btn-hover-color: #111827;
  --bs-btn-focus-shadow-rgb: 224, 159, 62;
  font-weight: 800;
}
.legal-hero {
  min-height: 40vh;
}

.legal-card {
  margin-inline: auto;
  max-width: 980px;
}
