/* ==========================================================
   PUBLIC.CSS — Fondation visuelle publique Boost Academy GN
   Mobile first, grille 4 / 8 / 12 colonnes, rythme de 8 px.
   ========================================================== */

:root {
  --ba-navy-950: #031a40;
  --ba-navy-900: #06285f;
  --ba-navy-800: #0b397d;
  --ba-blue-700: #1456c8;
  --ba-blue-100: #eaf2ff;
  --ba-gold-600: #e99100;
  --ba-gold-500: #f6a800;
  --ba-gold-400: #ffbc32;
  --ba-gold-300: #ffd166;
  --ba-gold-100: #fff4dc;
  --ba-green-700: #16803c;
  --ba-green-100: #e8f7ec;
  --ba-purple-700: #6d46c8;
  --ba-purple-100: #f1ebff;
  --ba-ink: #0a1934;
  --ba-copy: #3d4a61;
  --ba-muted: #6c778a;
  --ba-line: #e7e9ee;
  --ba-surface: #ffffff;
  --ba-surface-soft: #fbfaf7;
  --ba-page: #f5f7fb;
  --ba-page-alt: #f9fafc;
  --ba-map-watermark: url("../images/decor/guinea-outline.svg");
  --ba-warm: #fffaf0;
  --ba-shadow-sm: 0 8px 24px rgba(6, 40, 95, 0.08);
  --ba-shadow-md: 0 18px 48px rgba(6, 40, 95, 0.12);
  --ba-shadow-lg: 0 28px 70px rgba(6, 40, 95, 0.16);
  --ba-radius-sm: 12px;
  --ba-radius-md: 18px;
  --ba-radius-lg: 28px;
  --ba-container: 1360px;
  --ba-gutter: clamp(16px, 2vw, 28px);
}

body {
  overflow-x: hidden;
}

body.public-page {
  background:
    radial-gradient(circle at 8% 2%, rgba(246, 168, 0, 0.06), transparent 24rem),
    radial-gradient(circle at 96% 16%, rgba(20, 86, 200, 0.045), transparent 28rem),
    linear-gradient(180deg, #fafbfe 0%, var(--ba-page) 44%, #f8fafc 100%);
  color: var(--ba-copy);
}

.skip-link {
  position: fixed;
  z-index: 1100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ba-navy-900);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.28s ease;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.site-container {
  width: min(100%, var(--ba-container));
  padding-inline: clamp(18px, 4vw, 56px);
}

:focus-visible {
  outline: 3px solid rgba(246, 168, 0, 0.55);
  outline-offset: 3px;
}

/* -------------------- Navigation -------------------- */
.site-navbar {
  min-height: 76px;
  padding-block: 8px;
  border-bottom: 1px solid rgba(10, 25, 52, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(6, 40, 95, 0.02);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: min-height 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-navbar.is-scrolled {
  min-height: 68px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 12px 32px rgba(6, 40, 95, 0.1);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  width: clamp(205px, 18vw, 292px);
  margin: 0;
  padding: 4px 0;
}

.site-brand:hover,
.site-brand:focus {
  text-decoration: none;
}

.site-brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav-links {
  gap: 2px;
}

.site-navbar .site-nav-links .nav-link {
  position: relative;
  padding: 12px 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ba-ink);
  font-size: 0.91rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-navbar .site-nav-links .nav-link::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--ba-gold-500);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.site-navbar .site-nav-links .nav-link:hover,
.site-navbar .site-nav-links .nav-link:focus,
.site-navbar .site-nav-links .nav-link.active {
  color: var(--ba-navy-900);
  background: rgba(6, 40, 95, 0.045);
  text-decoration: none;
}

.site-navbar .site-nav-links .nav-link:hover::after,
.site-navbar .site-nav-links .nav-link:focus::after,
.site-navbar .site-nav-links .nav-link.active::after {
  transform: scaleX(1);
}

.site-navbar .dropdown-toggle::after {
  position: static !important;
  display: inline-block;
  width: auto !important;
  height: auto !important;
  margin-left: 6px;
  border-top: 0.32em solid !important;
  border-right: 0.28em solid transparent !important;
  border-bottom: 0 !important;
  border-left: 0.28em solid transparent !important;
  background: transparent !important;
  transform: none !important;
  content: "" !important;
  vertical-align: 0.18em;
}

.site-nav-actions {
  gap: 10px;
  margin-left: 12px;
}

.site-nav-login,
.site-nav-account {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 13px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ba-ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav-login:hover,
.site-nav-login:focus,
.site-nav-account:hover,
.site-nav-account:focus {
  background: var(--ba-blue-100);
  color: var(--ba-navy-900);
  text-decoration: none;
}

.site-nav-login i {
  font-size: 1.2rem;
}

.site-nav-account {
  cursor: pointer;
}

.site-nav-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--ba-blue-100);
  color: var(--ba-navy-900);
}

.site-nav-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 19px;
  border: 1px solid var(--ba-gold-500);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ba-gold-400), var(--ba-gold-500));
  box-shadow: 0 10px 24px rgba(246, 168, 0, 0.23);
  color: #1b2434;
  font-size: 0.91rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.site-nav-cta:hover,
.site-nav-cta:focus {
  color: #101928;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(246, 168, 0, 0.3);
  filter: saturate(1.04);
}

.site-nav-cta i {
  transition: transform 0.28s ease;
}

.site-nav-cta:hover i {
  transform: translateX(4px);
}

.site-nav-dropdown {
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(6, 40, 95, 0.09);
  border-radius: 14px;
  box-shadow: var(--ba-shadow-md);
}

.site-nav-dropdown .dropdown-item {
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--ba-copy);
  font-size: 0.91rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav-dropdown .dropdown-item:hover,
.site-nav-dropdown .dropdown-item:focus {
  background: var(--ba-blue-100);
  color: var(--ba-navy-900);
}

.site-navbar-toggler {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(6, 40, 95, 0.13);
  border-radius: 12px;
  box-shadow: none !important;
}

.site-navbar-toggler span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--ba-navy-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-navbar-toggler[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-navbar-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-navbar-toggler[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------------------- Footer -------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 88px) 0 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(20, 86, 200, 0.28), transparent 29%),
    linear-gradient(135deg, #041b42, #06285f 62%, #073675);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer-glow {
  position: absolute;
  top: -220px;
  left: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 168, 0, 0.09), transparent 68%);
  pointer-events: none;
}

.site-footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, 0.75fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.site-footer-logo-link {
  display: inline-block;
  width: min(100%, 330px);
  text-decoration: none;
}

.site-footer-logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer-description {
  max-width: 390px;
  margin: 20px 0 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.98rem;
  line-height: 1.75;
}

.site-footer-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.site-footer-contact-pill:hover,
.site-footer-contact-pill:focus {
  border-color: rgba(246, 168, 0, 0.5);
  color: var(--ba-gold-400);
  text-decoration: none;
}

.site-footer-title {
  margin: 5px 0 20px;
  color: var(--ba-gold-400);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-footer-links,
.site-footer-contact-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-links a,
.site-footer-contact-list a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer-links a:hover,
.site-footer-links a:focus,
.site-footer-contact-list a:hover,
.site-footer-contact-list a:focus {
  color: #fff;
  text-decoration: none;
}

.site-footer-links a:hover {
  display: inline-block;
  transform: translateX(3px);
}

.site-footer-contact-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.65;
}

.site-footer-contact-list i {
  margin-top: 2px;
  color: var(--ba-gold-400);
  font-size: 1rem;
}

.site-footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(42px, 6vw, 72px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.site-footer-bottom p {
  margin: 0;
}

.site-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer-bottom-links a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.site-footer-bottom-links a:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer-watermark {
  position: absolute;
  right: 34px;
  bottom: 68px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0.09;
  pointer-events: none;
}

.site-footer-watermark > span {
  color: #fff;
  font-size: clamp(72px, 8vw, 126px);
  font-weight: 800;
  letter-spacing: -0.08em;
}

.site-footer-dots {
  width: 90px;
  height: 90px;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 1.6px);
  background-size: 12px 12px;
}

/* -------------------- Composants publics -------------------- */
.home-page {
  overflow: hidden;
  background: #fff;
  color: var(--ba-copy);
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p {
  margin-top: 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ba-gold-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.section-kicker-light {
  color: var(--ba-gold-400);
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 8px 0 0;
  color: var(--ba-navy-900);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.section-heading > p {
  max-width: 600px;
  margin: 12px 0 0;
  color: var(--ba-muted);
  font-size: 1rem;
}

.section-heading-centered {
  max-width: 760px;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
  text-align: center;
}

.section-heading-centered .section-kicker {
  justify-content: center;
}

.premium-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.premium-button:hover,
.premium-button:focus {
  text-decoration: none;
  transform: translateY(-2px);
}

.premium-button i {
  transition: transform 0.22s ease;
}

.premium-button:hover i {
  transform: translateX(4px);
}

.premium-button-primary {
  background: linear-gradient(135deg, var(--ba-navy-900), #0b3d86);
  box-shadow: 0 14px 30px rgba(6, 40, 95, 0.2);
  color: #fff;
}

.premium-button-primary:hover,
.premium-button-primary:focus {
  box-shadow: 0 18px 36px rgba(6, 40, 95, 0.28);
  color: #fff;
}

.premium-button-secondary {
  border-color: rgba(233, 145, 0, 0.7);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ba-ink);
}

.premium-button-secondary:hover,
.premium-button-secondary:focus {
  border-color: var(--ba-gold-500);
  background: var(--ba-gold-100);
  color: var(--ba-ink);
}

/* -------------------- Hero -------------------- */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 7vw, 100px) 0 clamp(62px, 8vw, 110px);
  border-bottom: 1px solid rgba(233, 145, 0, 0.14);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.82), rgba(255, 255, 255, 0.97) 49%, rgba(248, 251, 255, 0.96)),
    #fff;
}

.home-hero::before {
  position: absolute;
  top: 28px;
  left: -42px;
  width: 210px;
  height: 260px;
  border: 2px solid rgba(233, 145, 0, 0.1);
  border-radius: 42% 58% 52% 48% / 38% 42% 58% 62%;
  content: "";
  transform: rotate(12deg);
}

.home-hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.home-hero-orb-one {
  top: -140px;
  right: 12%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(20, 86, 200, 0.11), transparent 70%);
}

.home-hero-orb-two {
  right: -120px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(246, 168, 0, 0.13), transparent 68%);
}

.home-hero-container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}

.home-hero-copy {
  position: relative;
  z-index: 3;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
  padding: 7px 12px;
  border: 1px solid rgba(233, 145, 0, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 6px 18px rgba(6, 40, 95, 0.04);
  color: var(--ba-copy);
  font-size: 0.8rem;
  font-weight: 750;
}

.guinea-flag {
  display: grid;
  width: 27px;
  height: 14px;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(10, 25, 52, 0.08);
}

.guinea-flag span:nth-child(1) { background: #ce1126; }
.guinea-flag span:nth-child(2) { background: #fcd116; }
.guinea-flag span:nth-child(3) { background: #009460; }

.home-hero h1 {
  max-width: 760px;
  margin-bottom: 19px;
  color: var(--ba-navy-900);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.55rem, 5.1vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.99;
}

.home-hero h1 span {
  color: var(--ba-gold-600);
}

.home-hero-lead {
  max-width: 660px;
  margin-bottom: 26px;
  color: var(--ba-copy);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.72;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 23px;
  color: var(--ba-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.home-hero-assurances > div {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home-hero-assurances i {
  color: var(--ba-green-700);
  font-size: 0.95rem;
}

.home-hero-visual {
  position: relative;
  min-height: 500px;
}

.journey-panel {
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 3;
  width: min(73%, 570px);
  padding: 21px;
  border: 1px solid rgba(6, 40, 95, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ba-shadow-md);
  backdrop-filter: blur(12px);
}

.journey-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.journey-panel-title-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--ba-blue-100);
  color: var(--ba-navy-900);
  font-size: 1.2rem;
}

.journey-panel-header span {
  display: block;
  margin-bottom: 2px;
  color: var(--ba-muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.journey-panel-header h2 {
  margin: 0;
  color: var(--ba-navy-900);
  font-size: clamp(1.03rem, 1.45vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.journey-list {
  display: grid;
  gap: 9px;
}

.journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(6, 40, 95, 0.075);
  border-radius: 13px;
  background: #fff;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.journey-step:hover {
  border-color: rgba(20, 86, 200, 0.18);
  box-shadow: 0 8px 20px rgba(6, 40, 95, 0.07);
  transform: translateX(3px);
}

.journey-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  font-size: 1.1rem;
}

.journey-icon-blue { background: var(--ba-blue-100); color: var(--ba-blue-700); }
.journey-icon-gold { background: var(--ba-gold-100); color: var(--ba-gold-600); }
.journey-icon-indigo { background: #edf0ff; color: #3e57c8; }
.journey-icon-purple { background: var(--ba-purple-100); color: var(--ba-purple-700); }

.journey-step-copy h3 {
  margin: 0 0 3px;
  color: var(--ba-ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.journey-step-copy p {
  margin: 0;
  color: var(--ba-muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.journey-status {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 800;
  white-space: nowrap;
}

.journey-status-green { background: var(--ba-green-100); color: var(--ba-green-700); }
.journey-status-gold { background: var(--ba-gold-100); color: var(--ba-gold-600); }
.journey-status-blue { background: var(--ba-blue-100); color: var(--ba-blue-700); }
.journey-status-purple { background: var(--ba-purple-100); color: var(--ba-purple-700); }

.outcome-stack {
  position: absolute;
  top: 46px;
  right: 0;
  z-index: 4;
  display: grid;
  width: 39%;
  gap: 12px;
}

.outcome-stack::before {
  position: absolute;
  top: -28px;
  right: 18%;
  bottom: -28px;
  left: 17%;
  z-index: -2;
  border-radius: 999px 999px 40px 40px;
  background: linear-gradient(180deg, var(--ba-navy-900) 0 73%, var(--ba-gold-500) 73% 86%, #fff0cd 86%);
  content: "";
  transform: rotate(3deg);
}

.outcome-card {
  display: grid;
  min-height: 104px;
  grid-template-columns: 49px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(6, 40, 95, 0.07);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 15px 34px rgba(6, 40, 95, 0.15);
}

.outcome-card strong {
  color: var(--ba-ink);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  line-height: 1.35;
}

.outcome-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  font-size: 1.35rem;
}

.outcome-icon-blue { background: var(--ba-blue-100); color: var(--ba-blue-700); }
.outcome-icon-gold { background: var(--ba-gold-100); color: var(--ba-gold-600); }
.outcome-icon-green { background: var(--ba-green-100); color: var(--ba-green-700); }

.hero-visual-ribbon {
  position: absolute;
  right: 11%;
  bottom: 8px;
  z-index: 1;
  width: 64%;
  height: 130px;
  border: 1px solid rgba(233, 145, 0, 0.11);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 168, 0, 0.11), transparent 65%);
}

.hero-dot-pattern,
.cta-dot-pattern {
  position: absolute;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(circle, rgba(233, 145, 0, 0.5) 1.5px, transparent 1.6px);
  background-size: 13px 13px;
}

.hero-dot-pattern {
  right: -8px;
  bottom: 4px;
  opacity: 0.55;
}

.hero-academic-symbol {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  color: rgba(6, 40, 95, 0.12);
  font-size: 4.8rem;
}

.hero-academic-symbol-cap {
  bottom: 3px;
  left: 4%;
  transform: rotate(-8deg);
}

.hero-academic-symbol-books {
  bottom: 18px;
  left: 37%;
  font-size: 3.7rem;
  transform: rotate(5deg);
}

/* -------------------- Solutions et processus -------------------- */
.home-overview {
  padding: clamp(64px, 8vw, 104px) 0 46px;
  background: #fff;
}

.home-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  gap: clamp(44px, 5vw, 76px);
  align-items: start;
}

.solution-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.solution-card {
  position: relative;
  display: flex;
  min-height: 292px;
  flex-direction: column;
  padding: 22px 19px 19px;
  overflow: hidden;
  border: 1px solid rgba(6, 40, 95, 0.08);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6, 40, 95, 0.055);
  transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease;
}

.solution-card::after {
  position: absolute;
  right: -25px;
  bottom: -35px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(20, 86, 200, 0.035);
  content: "";
}

.solution-card:hover {
  border-color: rgba(20, 86, 200, 0.17);
  box-shadow: var(--ba-shadow-md);
  transform: translateY(-7px);
}

.solution-card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 15px;
  font-size: 1.45rem;
}

.solution-card-icon-blue { background: var(--ba-blue-100); color: var(--ba-blue-700); }
.solution-card-icon-gold { background: var(--ba-gold-100); color: var(--ba-gold-600); }
.solution-card-icon-green { background: var(--ba-green-100); color: var(--ba-green-700); }

.solution-card h3 {
  margin-bottom: 10px;
  color: var(--ba-ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.34;
}

.solution-card p {
  margin-bottom: 20px;
  color: var(--ba-muted);
  font-size: 0.82rem;
  line-height: 1.62;
}

.solution-card a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--ba-blue-700);
  font-size: 0.79rem;
  font-weight: 800;
  text-decoration: none;
}

.solution-card a i {
  transition: transform 0.28s ease;
}

.solution-card a:hover,
.solution-card a:focus {
  color: var(--ba-navy-900);
  text-decoration: none;
}

.solution-card a:hover i {
  transform: translateX(4px);
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.process-card {
  position: relative;
  min-height: 292px;
  padding: 28px 18px 20px;
  border: 1px solid rgba(6, 40, 95, 0.08);
  border-radius: 17px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: 0 8px 24px rgba(6, 40, 95, 0.05);
  text-align: center;
}

.process-card:not(:last-child)::after {
  position: absolute;
  top: 78px;
  right: -20px;
  z-index: 4;
  width: 26px;
  border-top: 3px dotted var(--ba-gold-500);
  content: "";
}

.process-number {
  position: absolute;
  top: -13px;
  left: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(6, 40, 95, 0.12);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  transform: translateX(-50%);
}

.process-number-blue { background: var(--ba-navy-900); }
.process-number-gold { background: var(--ba-gold-500); }
.process-number-green { background: var(--ba-green-700); }

.process-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 13px auto 19px;
  place-items: center;
  border-radius: 19px;
  background: var(--ba-blue-100);
  color: var(--ba-navy-900);
  font-size: 1.75rem;
}

.process-card h3 {
  margin-bottom: 10px;
  color: var(--ba-ink);
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1.34;
}

.process-card p {
  margin: 0;
  color: var(--ba-muted);
  font-size: 0.76rem;
  line-height: 1.58;
}

/* -------------------- Bande de confiance -------------------- */
.home-trust-section {
  padding: 22px 0 clamp(68px, 8vw, 105px);
  background: #fff;
}

.home-trust-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(225px, 1.22fr) repeat(4, minmax(165px, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 93% 50%, rgba(20, 86, 200, 0.42), transparent 24%),
    linear-gradient(135deg, #041d48, #073979);
  box-shadow: 0 22px 52px rgba(6, 40, 95, 0.22);
  color: #fff;
}

.home-trust-band::after {
  position: absolute;
  right: -65px;
  bottom: -75px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.home-trust-intro,
.trust-item {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 27px 24px;
}

.home-trust-intro {
  display: flex;
  gap: 17px;
  align-items: center;
}

.home-trust-intro h2 {
  margin: 7px 0 0;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
}

.home-trust-dots {
  width: 50px;
  height: 62px;
  flex: 0 0 auto;
  background-image: radial-gradient(circle, var(--ba-gold-400) 1.7px, transparent 1.8px);
  background-size: 12px 12px;
  opacity: 0.9;
}

.trust-item {
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-item-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 13px;
  background: rgba(246, 168, 0, 0.12);
  color: var(--ba-gold-400);
  font-size: 1.45rem;
}

.trust-item h3 {
  margin-bottom: 7px;
  color: var(--ba-gold-400);
  font-size: 0.84rem;
  font-weight: 800;
}

.trust-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  line-height: 1.55;
}

/* -------------------- Témoignages -------------------- */
.home-testimonials {
  padding: clamp(72px, 9vw, 118px) 0;
  background: linear-gradient(180deg, #fbfcff, #fff);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-card:only-child {
  grid-column: 2;
}

.testimonial-card {
  position: relative;
  padding: 25px;
  border: 1px solid rgba(6, 40, 95, 0.08);
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--ba-shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.testimonial-card:hover {
  box-shadow: var(--ba-shadow-md);
  transform: translateY(-5px);
}

.testimonial-card-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.testimonial-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--ba-blue-100);
  color: var(--ba-navy-900);
  font-size: 1.2rem;
}

.testimonial-card h3 {
  margin: 0 0 2px;
  color: var(--ba-ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.testimonial-card-top p {
  margin: 0;
  color: var(--ba-muted);
  font-size: 0.72rem;
}

.testimonial-card-quote {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  background: rgba(246, 168, 0, 0.1);
  color: var(--ba-gold-600);
  font-size: 1.15rem;
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  margin: 18px 0 13px;
  color: var(--ba-gold-500);
  font-size: 0.85rem;
}

.testimonial-text {
  margin: 0;
  color: var(--ba-copy);
  font-size: 0.9rem;
  line-height: 1.72;
}

.home-testimonial-action {
  margin-top: 28px;
  text-align: center;
}

.text-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ba-blue-700);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.text-action-link:hover,
.text-action-link:focus {
  color: var(--ba-navy-900);
  text-decoration: none;
}

/* -------------------- CTA final -------------------- */
.home-final-cta {
  padding: 0 0 clamp(70px, 8vw, 110px);
  background: #fff;
}

.home-final-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.5fr) minmax(270px, 0.85fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 4vw, 47px);
  border: 1px solid rgba(233, 145, 0, 0.16);
  border-radius: 25px;
  background:
    radial-gradient(circle at 10% 100%, rgba(246, 168, 0, 0.12), transparent 35%),
    linear-gradient(100deg, #fffaf0, #fff 52%, #f8fbff);
  box-shadow: var(--ba-shadow-sm);
}

.cta-illustration {
  position: relative;
  min-height: 150px;
}

.cta-books,
.cta-cap,
.cta-pencil {
  position: absolute;
  display: flex;
  color: var(--ba-navy-900);
  filter: drop-shadow(0 12px 15px rgba(6, 40, 95, 0.14));
}

.cta-books {
  bottom: 12px;
  left: 9%;
  align-items: end;
  gap: 5px;
  color: var(--ba-gold-500);
  font-size: 4.2rem;
  transform: rotate(-5deg);
}

.cta-books i:nth-child(2) {
  color: var(--ba-navy-900);
  font-size: 3.3rem;
}

.cta-cap {
  top: 9px;
  left: 40%;
  font-size: 5rem;
  transform: rotate(7deg);
}

.cta-pencil {
  right: 4%;
  bottom: 17px;
  color: var(--ba-gold-600);
  font-size: 2.8rem;
  transform: rotate(-36deg);
}

.home-final-cta-copy h2 {
  margin: 8px 0 10px;
  color: var(--ba-navy-900);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.home-final-cta-copy > p {
  max-width: 720px;
  margin: 0;
  color: var(--ba-copy);
  font-size: 0.94rem;
  line-height: 1.68;
}

.home-final-cta-secondary {
  margin-top: 13px;
}

.home-final-cta-secondary a {
  color: var(--ba-blue-700);
  font-size: 0.79rem;
  font-weight: 700;
  text-decoration: none;
}

.home-final-cta-secondary a:hover {
  color: var(--ba-navy-900);
  text-decoration: underline;
}

.home-final-cta-action {
  position: relative;
  z-index: 2;
}

.premium-button-wide {
  width: 100%;
}

.cta-dot-pattern {
  right: -8px;
  bottom: -10px;
  opacity: 0.38;
}

/* -------------------- Animations -------------------- */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-enter {
  animation: heroRise 0.72s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-enter-delay {
  animation-delay: 0.12s;
}

.outcome-card-one { animation: gentleFloat 5.2s ease-in-out infinite; }
.outcome-card-two { animation: gentleFloat 5.7s 0.45s ease-in-out infinite; }
.outcome-card-three { animation: gentleFloat 6.1s 0.8s ease-in-out infinite; }

.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- Responsive -------------------- */
@media (max-width: 1279.98px) {
  .site-brand {
    width: 220px;
  }

  .site-navbar .site-nav-links .nav-link {
    padding-inline: 10px;
    font-size: 0.86rem;
  }

  .home-hero-container {
    grid-template-columns: minmax(0, 0.92fr) minmax(510px, 1.08fr);
    gap: 42px;
  }

  .outcome-card {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 12px;
  }

  .outcome-icon {
    width: 42px;
    height: 42px;
  }

  .home-overview-grid {
    grid-template-columns: 1fr;
  }

  .home-trust-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-trust-intro {
    grid-column: 1 / -1;
  }

  .trust-item:nth-of-type(2),
  .trust-item:nth-of-type(4) {
    border-left: 0;
  }
}

@media (max-width: 1199.98px) {
  .site-navbar {
    min-height: 70px;
  }

  .site-brand {
    width: min(59vw, 250px);
  }

  .site-nav-panel {
    max-height: calc(100vh - 78px);
    margin-top: 8px;
    padding: 12px 0 18px;
    overflow-y: auto;
    border-top: 1px solid rgba(6, 40, 95, 0.08);
    background: #fff;
  }

  .site-nav-links {
    gap: 2px;
    padding-top: 7px;
  }

  .site-navbar .site-nav-links .nav-link {
    width: 100%;
    padding: 12px 10px;
    text-align: left;
  }

  .site-navbar .site-nav-links .nav-link::after {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0);
  }

  .site-navbar .site-nav-links .nav-link:hover::after,
  .site-navbar .site-nav-links .nav-link:focus::after,
  .site-navbar .site-nav-links .nav-link.active::after {
    transform: scaleY(1);
  }

  .site-nav-actions {
    margin: 12px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(6, 40, 95, 0.08);
  }

  .site-nav-login,
  .site-nav-account,
  .site-nav-cta {
    width: 100%;
  }

  .site-nav-login,
  .site-nav-account {
    justify-content: flex-start;
    background: rgba(6, 40, 95, 0.035);
  }

  .site-nav-account::after {
    margin-left: auto;
  }

  .site-account-menu {
    width: 100%;
  }
}

@media (max-width: 1099.98px) {
  .home-hero-container {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    max-width: 820px;
  }

  .home-hero-visual {
    width: min(100%, 780px);
    min-height: 510px;
    margin: 0 auto;
  }

  .site-footer-grid {
    grid-template-columns: 1.35fr repeat(2, minmax(170px, 0.8fr));
  }

  .site-footer-contact {
    grid-column: 2 / -1;
  }
}

@media (max-width: 899.98px) {
  .solution-card-grid,
  .process-list,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card:only-child {
    grid-column: auto;
  }

  .solution-card,
  .process-card {
    min-height: 0;
  }

  .solution-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 17px;
    align-items: start;
  }

  .solution-card-icon {
    grid-row: 1 / span 3;
    margin: 0;
  }

  .solution-card h3,
  .solution-card p,
  .solution-card a {
    grid-column: 2;
  }

  .solution-card p {
    margin-bottom: 12px;
  }

  .process-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
    padding: 21px;
    text-align: left;
  }

  .process-card:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -17px;
    left: 53px;
    width: 0;
    height: 20px;
    border-top: 0;
    border-left: 3px dotted var(--ba-gold-500);
  }

  .process-number {
    top: 6px;
    left: 6px;
    transform: none;
  }

  .process-icon {
    grid-row: 1;
    width: 62px;
    height: 62px;
    margin: 8px 0 0;
  }

  .process-card > div:last-child {
    grid-column: 2;
  }

  .home-final-cta-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .home-final-cta-action {
    grid-column: 1 / -1;
  }

  .premium-button-wide {
    width: auto;
  }
}

@media (max-width: 767.98px) {
  .site-container {
    padding-inline: 18px;
  }

  .site-footer {
    padding-top: 54px;
  }

  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
  }

  .site-footer-brand-column,
  .site-footer-contact {
    grid-column: 1 / -1;
  }

  .site-footer-nav-column {
    min-width: 0;
    padding: 20px 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    text-align: center;
  }

  .site-footer-nav-column .site-footer-title {
    margin: 0 0 14px;
  }

  .site-footer-nav-column .site-footer-links {
    justify-items: center;
    gap: 9px;
  }

  .site-footer-nav-column .site-footer-links a {
    display: inline-flex;
    justify-content: center;
    max-width: 100%;
    padding: 2px 0;
    text-align: center;
    line-height: 1.45;
  }

  .site-footer-logo-link {
    width: min(100%, 285px);
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 13px;
    text-align: center;
  }

  .site-footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
  }

  .site-footer-bottom-links span {
    display: none;
  }

  .site-footer-watermark {
    right: -20px;
    bottom: 110px;
  }

  .home-hero {
    padding-top: 42px;
  }

  .home-hero::before,
  .hero-academic-symbol,
  .hero-dot-pattern {
    display: none;
  }

  .home-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.65rem);
    line-height: 1.02;
  }

  .home-hero-actions {
    flex-direction: column;
  }

  .premium-button {
    width: 100%;
  }

  .home-hero-assurances {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .home-hero-visual {
    min-height: 655px;
  }

  .journey-panel {
    top: 8px;
    width: 100%;
    padding: 16px;
  }

  .outcome-stack {
    top: 425px;
    right: 0;
    left: 0;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .outcome-stack::before {
    top: -16px;
    right: 9%;
    bottom: -16px;
    left: 9%;
    border-radius: 999px;
    transform: rotate(1deg);
  }

  .outcome-card {
    min-height: 132px;
    grid-template-columns: 1fr;
    gap: 7px;
    justify-items: center;
    padding: 11px 8px;
    text-align: center;
  }

  .outcome-card strong {
    font-size: 0.67rem;
  }

  .hero-visual-ribbon {
    right: 8%;
    bottom: 4px;
    width: 84%;
  }

  .home-overview {
    padding-top: 70px;
  }

  .home-trust-band {
    grid-template-columns: 1fr;
  }

  .home-trust-intro {
    grid-column: auto;
  }

  .trust-item {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .home-final-cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-illustration {
    width: min(100%, 280px);
    min-height: 125px;
    margin: 0 auto;
  }

  .home-final-cta-copy .section-kicker {
    justify-content: center;
  }

  .home-final-cta-action {
    grid-column: auto;
  }

  .premium-button-wide {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .site-brand {
    width: min(65vw, 218px);
  }

  .site-navbar-toggler {
    width: 43px;
    height: 43px;
  }

  .home-eyebrow {
    font-size: 0.72rem;
  }

  .home-hero-visual {
    min-height: 690px;
  }

  .journey-step {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .journey-icon {
    width: 38px;
    height: 38px;
  }

  .journey-status {
    grid-column: 2;
    justify-self: start;
  }

  .outcome-stack {
    top: 472px;
  }

  .outcome-card {
    min-height: 150px;
  }

  .solution-card {
    grid-template-columns: 1fr;
  }

  .solution-card-icon {
    grid-row: auto;
    margin-bottom: 14px;
  }

  .solution-card h3,
  .solution-card p,
  .solution-card a {
    grid-column: auto;
  }

  .process-card {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 18px 15px;
  }

  .process-icon {
    width: 54px;
    height: 54px;
  }

  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }

  .site-footer-brand-column,
  .site-footer-contact {
    grid-column: 1 / -1;
  }

  .site-footer-nav-column {
    padding-inline: 8px;
  }

  .site-footer-nav-column .site-footer-links a {
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}


/* ========================================================================== 
   FONDATION PUBLIQUE OFFICIELLE — Accueil premium verrouillé
   Ce bloc finalise le hero humain, le parcours allégé, le CTA enseignant,
   les micro-interactions et les règles responsive sans hauteur fixe.
   ========================================================================== */

/* Le logo reste remplaçable sans casser le header. Ne jamais imposer une
   largeur ET une hauteur fixes à l'image elle-même. */
.site-brand {
  width: clamp(188px, 17vw, 258px);
  max-width: 44vw;
  height: auto;
  min-width: 0;
}

.site-brand-frame,
.site-footer-logo-frame {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
}

.site-brand-frame {
  max-height: 54px;
}

.site-brand-logo,
.site-footer-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-footer-logo-frame {
  max-width: 310px;
  max-height: 68px;
}

.site-nav-teacher-link {
  color: var(--ba-navy-900) !important;
}

.site-nav-teacher-link::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--ba-gold-500);
  box-shadow: 0 0 0 5px rgba(246, 168, 0, .12);
  content: "";
  vertical-align: .08em;
}

.home-page {
  overflow: clip;
  background:
    radial-gradient(circle at 8% 8%, rgba(246, 168, 0, .07), transparent 24rem),
    radial-gradient(circle at 92% 20%, rgba(20, 86, 200, .07), transparent 28rem),
    linear-gradient(180deg, #fcfdfd 0%, #f7f9fc 52%, #fbfcfe 100%);
}

.home-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(56px, 6vw, 92px) 0 clamp(28px, 4vw, 58px);
  background: transparent;
}

.home-hero::before {
  width: min(42vw, 540px);
  height: min(42vw, 540px);
  opacity: .2;
}

.home-hero-container {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.home-hero-copy,
.home-hero-visual,
.hero-student-stage,
.hero-journey-card {
  min-width: 0;
}

.home-hero-copy {
  max-width: 660px;
}

.home-hero h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 5.2vw, 5.25rem);
  line-height: .98;
  text-wrap: balance;
}

.home-hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.home-quality-note {
  display: grid;
  max-width: 620px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 15px 17px;
  border: 1px solid rgba(6, 40, 95, .09);
  border-radius: 16px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 14px 34px rgba(6, 40, 95, .06);
  backdrop-filter: blur(10px);
}

.home-quality-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--ba-gold-100);
  color: var(--ba-gold-600);
  font-size: 1.15rem;
}

.home-quality-note strong {
  display: block;
  margin: 1px 0 3px;
  color: var(--ba-navy-900);
  font-size: .93rem;
  line-height: 1.35;
}

.home-quality-note p {
  margin: 0;
  color: var(--ba-muted);
  font-size: .8rem;
  line-height: 1.55;
}

.home-hero-visual {
  width: 100%;
  max-width: 760px;
  justify-self: end;
}

.hero-student-stage {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  padding: clamp(18px, 3vw, 34px) 0 clamp(8px, 1.5vw, 20px);
}

.hero-student-halo {
  position: absolute;
  z-index: -2;
  top: 5%;
  left: 2%;
  width: min(54%, 390px);
  aspect-ratio: 1;
  border-radius: 48% 52% 46% 54% / 48% 44% 56% 52%;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, .12), transparent 26%),
    linear-gradient(145deg, #0b4089, #031a40 72%);
  box-shadow: 0 30px 70px rgba(3, 26, 64, .22);
  transform: rotate(-6deg);
}

.hero-guinea-outline {
  position: absolute;
  z-index: -3;
  top: 0;
  right: -2%;
  width: 58%;
  aspect-ratio: 1;
  background: var(--ba-map-watermark) center / contain no-repeat;
  opacity: .15;
}

.hero-student-frame {
  position: relative;
  z-index: 1;
  grid-column: 1 / 8;
  align-self: end;
  overflow: hidden;
  max-width: 440px;
  justify-self: start;
  border-radius: 48% 48% 44% 44% / 32% 32% 22% 22%;
  filter: drop-shadow(0 24px 34px rgba(6, 40, 95, .16));
}

.hero-student-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
}

.hero-journey-card {
  position: relative;
  z-index: 3;
  grid-column: 6 / 13;
  align-self: center;
  margin: 0 0 2% -3%;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(6, 40, 95, .09);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 58px rgba(6, 40, 95, .16);
  backdrop-filter: blur(18px);
}

.hero-journey-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(6, 40, 95, .08);
}

.hero-journey-heading-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--ba-blue-100);
  color: var(--ba-blue-700);
  font-size: 1.2rem;
}

.hero-journey-heading span:not(.hero-journey-heading-icon) {
  display: block;
  margin-bottom: 2px;
  color: var(--ba-blue-700);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-journey-heading h2 {
  margin: 0;
  color: var(--ba-navy-900);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  font-weight: 800;
  line-height: 1.25;
}

.hero-journey-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 10px 0;
}

.hero-journey-step:not(:last-child)::after {
  position: absolute;
  top: 43px;
  bottom: -1px;
  left: 16px;
  width: 1px;
  background: linear-gradient(var(--ba-gold-300), rgba(20, 86, 200, .18));
  content: "";
}

.hero-journey-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(20, 86, 200, .12);
  border-radius: 11px;
  background: #f7faff;
  color: var(--ba-blue-700);
  font-size: .78rem;
  font-weight: 850;
}

.hero-journey-step:nth-child(2) .hero-journey-number {
  background: var(--ba-gold-100);
  color: var(--ba-gold-600);
}

.hero-journey-step:nth-child(3) .hero-journey-number {
  background: var(--ba-green-100);
  color: var(--ba-green-700);
}

.hero-journey-step:nth-child(4) .hero-journey-number {
  background: var(--ba-purple-100);
  color: var(--ba-purple-700);
}

.hero-journey-step strong,
.hero-journey-step span {
  display: block;
}

.hero-journey-step strong {
  margin: 1px 0 2px;
  color: var(--ba-navy-900);
  font-size: .83rem;
  line-height: 1.35;
}

.hero-journey-step div > span {
  color: var(--ba-muted);
  font-size: .7rem;
  line-height: 1.45;
}

.hero-floating-value {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(6, 40, 95, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 28px rgba(6, 40, 95, .12);
  color: var(--ba-navy-900);
  font-size: .7rem;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.hero-floating-value i {
  color: var(--ba-gold-600);
  font-size: .95rem;
}

.hero-floating-value-one {
  top: 8%;
  right: 8%;
}

.hero-floating-value-two {
  right: 2%;
  bottom: 1%;
}

.home-hero-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(24px, 4vw, 44px);
  padding: 14px;
  border: 1px solid rgba(6, 40, 95, .07);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 34px rgba(6, 40, 95, .05);
}

.home-hero-principles > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border-radius: 14px;
  color: var(--ba-muted);
  font-size: .78rem;
  line-height: 1.45;
}

.home-hero-principles > div + div {
  border-left: 1px solid rgba(6, 40, 95, .08);
}

.home-hero-principles i {
  flex: 0 0 auto;
  color: var(--ba-gold-600);
  font-size: 1.2rem;
}

.home-hero-principles strong {
  color: var(--ba-navy-900);
}

/* Micro-interactions cohérentes : pas de rotation ni d'effets gadget. */
.solution-card,
.process-card,
.testimonial-card,
.home-final-cta-card,
.home-teacher-card {
  transition: transform .28s cubic-bezier(.2, .7, .25, 1),
              box-shadow .28s ease,
              border-color .28s ease,
              background-color .28s ease;
}

@media (hover: hover) {
  .solution-card:hover,
  .process-card:hover,
  .testimonial-card:hover {
    border-color: rgba(20, 86, 200, .18);
    box-shadow: 0 20px 42px rgba(6, 40, 95, .11);
    transform: translateY(-6px);
  }

  .premium-button:hover,
  .premium-button:focus-visible {
    transform: translateY(-3px);
  }
}

.home-trust-intro p {
  max-width: 670px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .83rem;
  line-height: 1.65;
}

.home-teacher-cta {
  padding: clamp(28px, 5vw, 70px) 0;
}

.home-teacher-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(150px, .35fr) minmax(0, 1.15fr) minmax(210px, .45fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(6, 40, 95, .09);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 16%, rgba(246, 168, 0, .18), transparent 28%),
    linear-gradient(135deg, #fffdf8, #f6f9ff);
  box-shadow: 0 22px 54px rgba(6, 40, 95, .09);
}

.home-teacher-card::after {
  position: absolute;
  right: -5%;
  bottom: -35%;
  width: 320px;
  aspect-ratio: 1;
  border: 45px solid rgba(20, 86, 200, .04);
  border-radius: 50%;
  content: "";
}

.home-teacher-visual {
  position: relative;
  display: grid;
  min-height: 170px;
  place-items: center;
}

.home-teacher-icon {
  display: grid;
  width: clamp(104px, 10vw, 138px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 36% 64% 51% 49% / 45% 43% 57% 55%;
  background: linear-gradient(145deg, var(--ba-navy-900), var(--ba-blue-700));
  box-shadow: 0 22px 45px rgba(6, 40, 95, .22);
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.home-teacher-orbit {
  position: absolute;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(6, 40, 95, .08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(6, 40, 95, .12);
  color: var(--ba-gold-600);
}

.home-teacher-orbit-one { top: 3%; right: 7%; }
.home-teacher-orbit-two { bottom: 1%; left: 4%; }

.home-teacher-copy h2 {
  max-width: 710px;
  margin: 8px 0 12px;
  color: var(--ba-navy-900);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.8rem, 3.3vw, 3.1rem);
  line-height: 1.08;
  text-wrap: balance;
}

.home-teacher-copy p {
  max-width: 700px;
  margin: 0;
  color: var(--ba-muted);
  line-height: 1.72;
}

.home-teacher-action {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.premium-button-gold {
  border-color: var(--ba-gold-500);
  background: linear-gradient(135deg, #ffc044, var(--ba-gold-500));
  box-shadow: 0 14px 32px rgba(246, 168, 0, .24);
  color: #172033;
}

.premium-button-gold:hover,
.premium-button-gold:focus {
  color: #0e1728;
  box-shadow: 0 18px 38px rgba(246, 168, 0, .31);
}

.home-teacher-secondary {
  color: var(--ba-blue-700);
  font-size: .82rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.home-teacher-secondary:hover,
.home-teacher-secondary:focus {
  color: var(--ba-navy-900);
  text-decoration: underline;
}

/* Apparition initiale du hero et révélation au scroll. Les éléments restent
   visibles lorsque JavaScript est désactivé. */
.js [data-home-page] [data-hero-sequence] .hero-sequence-item,
.js [data-home-page] [data-hero-visual] {
  opacity: 0;
  transform: translateY(22px);
}

.js [data-home-page].is-ready [data-hero-sequence] .hero-sequence-item,
.js [data-home-page].is-ready [data-hero-visual] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .88s cubic-bezier(.2, .75, .25, 1),
              transform .88s cubic-bezier(.2, .75, .25, 1);
}

.js [data-home-page].is-ready [data-hero-sequence] .hero-sequence-item:nth-child(1) { transition-delay: 40ms; }
.js [data-home-page].is-ready [data-hero-sequence] .hero-sequence-item:nth-child(2) { transition-delay: 120ms; }
.js [data-home-page].is-ready [data-hero-sequence] .hero-sequence-item:nth-child(3) { transition-delay: 200ms; }
.js [data-home-page].is-ready [data-hero-sequence] .hero-sequence-item:nth-child(4) { transition-delay: 280ms; }
.js [data-home-page].is-ready [data-hero-sequence] .hero-sequence-item:nth-child(5) { transition-delay: 360ms; }
.js [data-home-page].is-ready [data-hero-visual] { transition-delay: 180ms; }

.js .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .82s cubic-bezier(.2, .75, .25, 1),
              transform .82s cubic-bezier(.2, .75, .25, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js .reveal-on-scroll[data-reveal="left"] { transform: translate3d(-28px, 0, 0); }
.js .reveal-on-scroll[data-reveal="right"] { transform: translate3d(28px, 0, 0); }

.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@media (max-width: 1399.98px) {
  .site-navbar .site-nav-links .nav-link {
    padding-inline: 9px;
    font-size: .84rem;
  }

  .site-nav-actions {
    margin-left: 6px;
  }

  .site-nav-login,
  .site-nav-cta {
    font-size: .84rem;
  }

  .home-hero-container {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    gap: clamp(26px, 3.4vw, 48px);
  }

  .home-hero h1 {
    font-size: clamp(2.65rem, 4.7vw, 4.5rem);
  }

  .hero-journey-card {
    grid-column: 6 / 13;
    padding: 18px;
  }

  .hero-floating-value-one {
    right: 3%;
  }
}

@media (max-width: 1199.98px) {
  .site-brand {
    max-width: min(58vw, 240px);
  }

  .site-nav-teacher-item {
    margin-top: 6px;
  }

  .site-nav-teacher-link {
    border: 1px solid rgba(246, 168, 0, .25) !important;
    background: var(--ba-gold-100) !important;
  }

  .home-hero-container {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    max-width: 790px;
  }

  .home-hero h1 {
    max-width: 15ch;
  }

  .home-hero-visual {
    max-width: 820px;
    justify-self: center;
  }

  .hero-student-frame {
    grid-column: 1 / 7;
  }

  .hero-journey-card {
    grid-column: 6 / 13;
  }

  .home-teacher-card {
    grid-template-columns: minmax(130px, .34fr) minmax(0, 1fr);
  }

  .home-teacher-action {
    grid-column: 2;
    grid-template-columns: minmax(210px, 300px) auto;
    align-items: center;
    justify-content: start;
  }
}

@media (max-width: 991.98px) {
  .home-hero {
    padding-top: 42px;
  }

  .hero-student-stage {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .hero-student-frame {
    grid-column: 1 / 6;
  }

  .hero-journey-card {
    grid-column: 5 / 11;
  }

  .hero-floating-value-one {
    top: 2%;
  }

  .home-hero-principles {
    grid-template-columns: 1fr;
  }

  .home-hero-principles > div + div {
    border-top: 1px solid rgba(6, 40, 95, .08);
    border-left: 0;
  }

  .home-teacher-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-teacher-visual {
    min-height: 150px;
  }

  .home-teacher-copy h2,
  .home-teacher-copy p {
    margin-inline: auto;
  }

  .home-teacher-action {
    grid-column: auto;
    grid-template-columns: minmax(220px, 330px);
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .home-hero {
    padding: 34px 0 26px;
  }

  .home-hero-copy {
    text-align: left;
  }

  .home-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 11vw, 3.55rem);
    line-height: 1;
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-hero-actions .premium-button {
    width: 100%;
  }

  .home-quality-note {
    padding: 13px;
  }

  .hero-student-stage {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    padding-top: 12px;
  }

  .hero-student-halo {
    top: 2%;
    left: 9%;
    width: 62%;
  }

  .hero-guinea-outline {
    top: 0;
    right: -8%;
    width: 70%;
  }

  .hero-student-frame {
    width: min(80vw, 360px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-journey-card {
    width: min(100%, 520px);
    margin: -28px auto 0;
  }

  .hero-floating-value {
    display: none;
  }

  .home-hero-principles {
    margin-top: 18px;
    padding: 9px;
  }

  .home-hero-principles > div {
    padding: 9px 10px;
  }

  .home-teacher-card {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .home-teacher-orbit-one { right: 20%; }
  .home-teacher-orbit-two { left: 20%; }
}

@media (max-width: 479.98px) {
  .site-brand {
    width: min(65vw, 218px);
    max-width: calc(100vw - 96px);
  }

  .site-brand-frame {
    max-height: 44px;
  }

  .home-eyebrow {
    font-size: .66rem;
  }

  .home-hero h1 {
    font-size: clamp(2.18rem, 12.8vw, 3rem);
  }

  .home-hero-lead {
    font-size: .93rem;
    line-height: 1.65;
  }

  .home-quality-note {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .home-quality-icon {
    width: 34px;
    height: 34px;
  }

  .hero-student-frame {
    width: min(88vw, 330px);
  }

  .hero-journey-card {
    padding: 16px;
    border-radius: 20px;
  }

  .hero-journey-heading {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .hero-journey-heading-icon {
    width: 38px;
    height: 38px;
  }

  .hero-journey-step {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 9px;
  }

  .hero-journey-number {
    width: 31px;
    height: 31px;
  }

  .hero-journey-step:not(:last-child)::after {
    top: 40px;
    left: 15px;
  }

  .home-teacher-visual {
    min-height: 130px;
  }

  .home-teacher-icon {
    width: 106px;
  }

  .home-teacher-copy h2 {
    font-size: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-home-page] [data-hero-sequence] .hero-sequence-item,
  .js [data-home-page] [data-hero-visual],
  .js .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .solution-card,
  .process-card,
  .testimonial-card,
  .premium-button,
  .trust-item {
    transition: none !important;
  }
}

/* Correctif mobile du titre principal.
   Le mot « L’accompagnement » est le plus long du hero : sa taille est
   volontairement calculée sur la largeur utile afin qu’il reste toujours
   entièrement visible, même sur les écrans de 320 à 412 px. */
@media (max-width: 479.98px) {
  .home-hero-copy,
  .home-hero h1 {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .home-hero h1 {
    font-size: clamp(1.82rem, 9.2vw, 2.5rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: pretty;
  }
}

@media (max-width: 359.98px) {
  .site-container {
    padding-inline: 16px;
  }

  .home-hero h1 {
    font-size: clamp(1.75rem, 9vw, 2rem);
  }
}


/* ========================================================================== 
   PERFORMANCE, ACCESSIBILITÉ ET STABILITÉ — fondation officielle
   Ces règles sont communes aux futures pages publiques.
   ========================================================================== */
html {
  scroll-padding-top: 88px;
}

body.public-page {
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

@supports (content-visibility: auto) {
  .home-overview,
  .home-trust-section,
  .home-teacher-cta,
  .home-testimonials,
  .home-final-cta {
    content-visibility: auto;
    contain-intrinsic-size: auto 760px;
  }
}

.home-page img,
.site-navbar img,
.site-footer img {
  max-width: 100%;
}

@media (pointer: coarse) {
  .premium-button,
  .site-nav-login,
  .site-nav-account,
  .site-nav-cta,
  .site-navbar-toggler,
  .solution-card a,
  .text-action-link,
  .home-teacher-secondary {
    min-height: 44px;
  }
}

@media (max-width: 767.98px) {
  .site-navbar,
  .home-quality-note,
  .hero-journey-card,
  .hero-floating-value,
  .solution-card,
  .process-card,
  .testimonial-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .solution-card,
  .process-card,
  .testimonial-card,
  .home-quality-note,
  .hero-journey-card,
  .home-teacher-card {
    border-color: rgba(6, 40, 95, 0.32);
  }

  .premium-button,
  .site-nav-cta {
    border-width: 2px;
  }
}

@media (forced-colors: active) {
  .premium-button,
  .site-nav-cta,
  .site-nav-teacher-link,
  .home-eyebrow,
  .hero-journey-number,
  .trust-item-icon {
    forced-color-adjust: auto;
  }
}

/* Le titre utilise toute la largeur de sa colonne sur ordinateur : le mot
   "L’accompagnement" ne dépasse jamais visuellement de sa boîte. */
@media (min-width: 1200px) {
  .home-hero h1 {
    max-width: 100%;
  }
}


/* -------------------- Transitions globales du site -------------------- */
.site-page-surface {
  transition:
    opacity .36s cubic-bezier(.2, .75, .25, 1),
    transform .42s cubic-bezier(.2, .75, .25, 1),
    filter .36s ease;
}
body.site-page-leaving .site-page-surface,
body.site-form-submitting .site-page-surface {
  opacity: .78;
  transform: translateY(8px);
  filter: saturate(.97);
  pointer-events: none;
}
body.public-page::after,
body.parent-space-page::after,
body.teacher-space-page::after,
body.partner-space-page::after {
  content: "";
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 4000;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ba-navy-900), var(--ba-blue-500), var(--ba-gold-500));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
  pointer-events: none;
}
body.site-page-leaving::after,
body.site-form-submitting::after {
  transform: scaleX(.86);
  opacity: 1;
}

/* -------------------- Cartes services illustrées -------------------- */
.home-overview {
  background:
    radial-gradient(circle at 100% 0%, rgba(23, 104, 229, .08), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #f4f8ff 100%);
}
.solution-card {
  min-height: 348px;
  padding-top: 18px;
}
.solution-card-media {
  position: relative;
  display: block;
  margin: -2px -2px 18px;
  overflow: hidden;
  border: 1px solid rgba(6, 40, 95, 0.08);
  border-radius: 16px;
  aspect-ratio: 1.55;
  background: linear-gradient(135deg, #f4f8ff, #ebf2ff);
}
.solution-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.82) 100%);
}
.solution-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.solution-card-media-blue { background: linear-gradient(135deg, #f4f8ff, #e9f2ff); }
.solution-card-media-gold { background: linear-gradient(135deg, #fff8e9, #fff1cc); }
.solution-card-media-green { background: linear-gradient(135deg, #f6f7ff, #efe9ff); }
.solution-card .solution-card-icon {
  margin-bottom: 16px;
}

/* -------------------- Bande immersive accueil -------------------- */
.home-accompaniment-band {
  padding: 0 0 clamp(72px, 8vw, 112px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(240, 245, 255, .78) 20%, rgba(240,245,255,1) 100%);
}
.home-accompaniment-panel {
  position: relative;
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  padding: clamp(28px, 5vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(246,168,0,.16), transparent 30%),
    linear-gradient(135deg, #031a40, #06285f 58%, #0b397d);
  box-shadow: 0 22px 60px rgba(3, 26, 64, .22);
}
.home-accompaniment-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(120deg, rgba(0,0,0,.9), transparent 88%);
  pointer-events: none;
}
.home-accompaniment-copy,
.home-accompaniment-visual { position: relative; z-index: 1; min-width: 0; }
.home-accompaniment-copy h2 {
  margin: 10px 0 18px;
  color: #fff;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.home-accompaniment-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
}
.home-accompaniment-points {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.home-accompaniment-points li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: rgba(255,255,255,.92);
  font-weight: 600;
}
.home-accompaniment-points i { color: var(--ba-gold-400); font-size: 1rem; }
.home-accompaniment-visual img {
  display: block;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(3,26,64,.28);
}

@media (min-width: 992px) {
  .home-accompaniment-panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    align-items: center;
  }
}
@media (max-width: 991.98px) {
  .solution-card-grid {
    grid-template-columns: 1fr;
  }
  .solution-card {
    min-height: 0;
  }
}
@media (max-width: 767.98px) {
  .home-accompaniment-panel {
    border-radius: 26px;
    padding: 24px 20px;
  }
  .home-accompaniment-copy h2 {
    font-size: clamp(1.85rem, 7vw, 2.6rem);
  }
  .solution-card-media {
    aspect-ratio: 1.4;
  }
}


/* -------------------- Composition éditoriale enrichie de l’accueil -------------------- */
@media (min-width: 992px) {
  .home-overview-grid { grid-template-columns: minmax(0,1fr); gap: 58px; }
  .home-solutions, .home-process { min-width: 0; }
  .solution-card-grid, .process-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
  .solution-card { min-height: 410px; padding: 18px 18px 22px; }
  .solution-card-media { aspect-ratio: 1.7; }
  .process-card { min-height: 250px; }
}

/* Besoins détaillés par matière — affichage partagé parent/enseignant/admin. */
.request-needs-display { display:grid; gap:12px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.request-need-display { min-width:0; padding:15px; border:1px solid rgba(6,40,95,.11); border-radius:16px; background:#f8fbff; }
.request-need-display header { display:grid; grid-template-columns:28px minmax(0,1fr) auto; align-items:center; gap:9px; margin-bottom:12px; }
.request-need-display header > span { display:grid; width:28px; height:28px; place-items:center; border-radius:9px; background:var(--ba-navy-900); color:#fff; font-size:.7rem; font-weight:850; }
.request-need-display header strong { min-width:0; overflow-wrap:anywhere; color:var(--ba-navy-900); font-size:.86rem; }
.request-need-display header small { padding:4px 7px; border-radius:999px; background:var(--ba-gold-100); color:#805800; font-size:.6rem; font-weight:800; }
.request-need-display dl { display:grid; gap:8px; margin:0; }
.request-need-display dl > div { display:grid; grid-template-columns:minmax(92px,.42fr) minmax(0,1fr); gap:9px; padding-top:8px; border-top:1px solid rgba(6,40,95,.07); }
.request-need-display dt { color:var(--ba-muted); font-size:.68rem; font-weight:700; }
.request-need-display dd { margin:0; overflow-wrap:anywhere; color:var(--ba-copy); font-size:.76rem; line-height:1.5; }
@media(max-width:767.98px){.request-needs-display{grid-template-columns:minmax(0,1fr)}.request-need-display dl>div{grid-template-columns:minmax(0,1fr);gap:3px}}

/* Méthode Boost Academy — accueil */

.home-method-section {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 124px) 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 168, 0, .11), transparent 26rem),
    radial-gradient(circle at 0% 78%, rgba(23, 104, 229, .08), transparent 28rem),
    linear-gradient(180deg, #f5f9ff, #fff);
}
.home-method-section::before {
  position: absolute;
  top: 18%;
  left: 50%;
  width: min(1040px, 92vw);
  height: 320px;
  border: 1px solid rgba(20, 86, 200, .06);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%) rotate(-4deg);
  pointer-events: none;
}
.home-method-path {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.home-method-path::before {
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 26px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1456c8 0%, #62a5ff 42%, #f6a800 72%, #0d376f 100%);
  content: "";
  opacity: .32;
}
.home-method-step {
  --home-step-accent: #1456c8;
  --home-step-soft: #eaf2ff;
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  min-width: 0;
  padding: 17px 18px 17px 15px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--home-step-accent) 16%, white);
  border-radius: 22px;
  background:
    linear-gradient(105deg, color-mix(in srgb, var(--home-step-soft) 64%, white), #fff 56%);
  box-shadow: 0 13px 34px rgba(6, 40, 95, .07);
  isolation: isolate;
  transition:
    transform .34s cubic-bezier(.2, .75, .25, 1),
    box-shadow .34s ease,
    border-color .28s ease;
}
.home-method-step::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--home-step-accent);
  content: "";
}
.home-method-step::after {
  position: absolute;
  right: -42px;
  bottom: -58px;
  width: 132px;
  height: 132px;
  border: 22px solid color-mix(in srgb, var(--home-step-accent) 8%, transparent);
  border-radius: 50%;
  content: "";
  z-index: -1;
}
.home-method-step-blue { --home-step-accent: #1456c8; --home-step-soft: #e9f2ff; }
.home-method-step-sky { --home-step-accent: #267ecf; --home-step-soft: #edf7ff; }
.home-method-step-gold { --home-step-accent: #b77900; --home-step-soft: #fff5d9; }
.home-method-step-result {
  --home-step-accent: #f6a800;
  --home-step-soft: #fff0bd;
  color: #fff;
  border-color: rgba(246, 168, 0, .36);
  background: linear-gradient(125deg, #082d68, #0d488f 70%, #0b3d7b);
  box-shadow: 0 18px 42px rgba(6, 40, 95, .19);
}
.home-method-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 18px;
  background: var(--home-step-soft);
  color: var(--home-step-accent);
  box-shadow: 0 8px 20px rgba(6, 40, 95, .12);
  font-size: 1.28rem;
}
.home-method-step-result .home-method-marker {
  border-color: rgba(255, 255, 255, .88);
  background: #f6a800;
  color: #06285f;
}
.home-method-step-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.home-method-phase {
  color: var(--home-step-accent);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}
.home-method-step-copy strong {
  color: #071f4c;
  font-size: 1.08rem;
  line-height: 1.2;
}
.home-method-step-copy small {
  color: #657289;
  font-size: .84rem;
  line-height: 1.45;
}
.home-method-number {
  align-self: start;
  color: color-mix(in srgb, var(--home-step-accent) 15%, transparent);
  font-family: "DM Serif Display", serif;
  font-size: 2.15rem;
  line-height: 1;
}
.home-method-step-result .home-method-phase,
.home-method-step-result .home-method-step-copy strong,
.home-method-step-result .home-method-step-copy small { color: #fff; }
.home-method-step-result .home-method-phase { color: #ffd56b; }
.home-method-step-result .home-method-number { color: rgba(255, 255, 255, .18); }
.home-method-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 24px;
  margin: 30px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(6, 40, 95, .08);
  border-radius: 22px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 12px 32px rgba(6, 40, 95, .055);
  backdrop-filter: blur(12px);
}
.home-method-action p {
  max-width: 520px;
  margin: 0;
  color: #5f6f86;
  font-size: .9rem;
  line-height: 1.55;
}
@media (hover: hover) and (pointer: fine) {
  .home-method-step:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--home-step-accent) 32%, white);
    box-shadow: 0 20px 44px rgba(6, 40, 95, .12);
  }
}
@media (min-width: 700px) {
  .home-method-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .home-method-path::before { display: none; }
  .home-method-step { min-height: 132px; padding: 20px; }
}
@media (min-width: 1080px) {
  .home-method-path { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .home-method-step { min-height: 142px; }
}
@media (max-width: 699.98px) {
  .home-method-section { padding-block: 70px; }
  .home-method-step { margin-left: 0; }
  .home-method-action { align-items: stretch; text-align: center; }
  .home-method-action .premium-button { width: 100%; }
}
@media (max-width: 399.98px) {
  .home-method-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 15px 15px 12px;
  }
  .home-method-path::before { left: 23px; }
  .home-method-marker { width: 48px; height: 48px; border-radius: 15px; }
  .home-method-number { position: absolute; top: 14px; right: 14px; font-size: 1.7rem; }
  .home-method-step-copy { padding-right: 34px; }
}
