/* ========================
   Base
======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #333333;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(12px, 4vw, 16px);
}

section {
  padding: 80px 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #273176;
  margin-top: 0;
}

p {
  line-height: 1.5;
  margin-top: 0;
}

/* ========================
   Header & Hero
======================== */
.top-bar {
  background: #f6a972;
  color: #273176;
  text-align: center;
  padding: 8px clamp(10px, 3vw, 16px);
  font-weight: 600;
  font-size: clamp(11px, 3.2vw, 14px);
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.top-bar strong {
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
}

.brand-logo a {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.brand-logo a:focus-visible {
  outline: 2px solid #273176;
  outline-offset: 2px;
}

.brand-title {
  font-weight: 700;
  font-size: clamp(14px, 3.8vw, 18px);
  line-height: 1.25;
  color: #273176;
}

.brand > div:last-child {
  min-width: 0;
}

.brand small {
  font-size: clamp(11px, 2.8vw, 13px);
  display: block;
  line-height: 1.3;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(39, 49, 118, 0.2);
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #273176;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #273176;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav {
  display: none;
}

.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
  color: #273176;
}

.nav a.cta-link {
  padding: 8px 16px;
  border-radius: 999px;
  background: #273176;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  box-sizing: border-box;
}

.nav.open {
  display: block;
  padding: 12px 16px 16px;
}

@media (max-width: 767px) {
  .site-header-inner {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .nav.open {
    width: 100%;
    flex-basis: 100%;
    order: 3;
    margin-top: 8px;
    padding: 12px 0 8px;
    border-top: 1px solid rgba(39, 49, 118, 0.1);
  }

  .nav.open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .nav.open a {
    display: block;
    padding: 12px 10px;
    border-radius: 10px;
  }

  .nav.open a:hover,
  .nav.open a:focus-visible {
    background: rgba(39, 49, 118, 0.06);
  }

  .nav.open a.cta-link {
    text-align: center;
    margin-top: 10px;
  }
}

.hero {
  background: #273176;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Halos hero : même logique que les tuiles .intro-home .intro-pane (ambre + cyan en radial) */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 340px;
  height: 340px;
  top: -118px;
  right: -118px;
  background: radial-gradient(
    circle at 78% 22%,
    rgba(254, 240, 138, 0.68) 0%,
    rgba(251, 191, 36, 0.55) 24%,
    rgba(245, 158, 11, 0.36) 46%,
    rgba(194, 65, 12, 0.2) 70%,
    transparent 100%
  );
}

.hero::after {
  width: 280px;
  height: 280px;
  bottom: -88px;
  left: -64px;
  background: radial-gradient(
    circle at 28% 72%,
    rgba(125, 211, 252, 0.64) 0%,
    rgba(56, 189, 248, 0.42) 38%,
    rgba(14, 165, 233, 0.24) 66%,
    transparent 100%
  );
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 600;
  color: #f6a972;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 16px;
}

.hero-list {
  margin: 0 0 24px;
  padding-left: 18px;
  font-size: 14px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease,
    color 0.15s ease;
}

.btn-primary {
  background-color: #f6a972;
  color: #273176;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.hero-note {
  font-size: 13px;
  opacity: 0.9;
}

.hero-visual {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-visual-inner {
  border-radius: 20px;
  overflow: hidden;
}

.hero-visual-caption {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.9;
}

/* Prépa PASS (prepa-pass-medecine.html) : logos partenariat dans le hero */
.pass-hero-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 28px 20px;
  background: linear-gradient(180deg, #f2f5fb 0%, #e8edf6 100%);
}

.pass-hero-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 28px);
  flex-wrap: wrap;
}

.pass-hero-logo--nativite {
  max-height: 64px;
  width: auto;
  object-fit: contain;
}

.pass-hero-logos-x {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #273176;
  opacity: 0.35;
  line-height: 1;
}

.pass-hero-logo--sup {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 64px;
  padding: 14px 22px;
  background: #ffffff;
  border-radius: 14px;
  border: 2px solid rgba(39, 49, 118, 0.12);
  box-shadow: 0 6px 20px rgba(39, 49, 118, 0.08);
}

.pass-hero-sup-text {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a2554;
  text-align: center;
}

.info-partnership-tag {
  text-align: center;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #6a7899;
  margin: 4px 0 20px;
}

/* Frise PASS (prepa-pass-medecine.html) : bandeau objectif + boutons externes */
.droit-frise-timeline-apd--pass {
  letter-spacing: 0.1em;
  font-size: clamp(0.78rem, 1.85vw, 1.02rem);
}

.pass-frise-outcome {
  max-width: min(640px, 100%);
  margin: clamp(24px, 4vw, 40px) auto 0;
  padding: 20px 22px 22px;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #1a2554 0%, #152052 100%);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(21, 32, 82, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pass-frise-outcome-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
}

.pass-frise-outcome-text {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.35;
}

.pass-external-resources {
  max-width: min(920px, 100%);
  margin: clamp(28px, 5vw, 44px) auto 0;
  padding: clamp(20px, 3vw, 28px) clamp(18px, 3vw, 26px) clamp(24px, 3.5vw, 30px);
  border-radius: 18px;
  background: linear-gradient(180deg, #f6f8fd 0%, #eef2fa 100%);
  border: 1px solid rgba(39, 49, 118, 0.14);
  box-shadow: 0 10px 36px rgba(39, 49, 118, 0.07);
  box-sizing: border-box;
}

.pass-external-resources-title {
  margin: 0 0 8px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: #1a2554;
  text-align: center;
  line-height: 1.35;
}

.pass-external-resources-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  color: #fff;
  background: #c5a059;
  border-radius: 999px;
}

.pass-external-resources-intro {
  margin: 0 auto 20px;
  max-width: 38em;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: #5a6578;
}

.pass-external-resources-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
}

.btn-pass-external {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1 1 240px;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  color: #1a2554;
  background: #ffffff;
  border: 2px solid #273176;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(39, 49, 118, 0.1);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.btn-pass-external:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(39, 49, 118, 0.14);
  background: #fafbfd;
}

.btn-pass-external:focus-visible {
  outline: 3px solid rgba(39, 49, 118, 0.35);
  outline-offset: 3px;
}

.btn-pass-external--accent {
  color: #ffffff;
  background: linear-gradient(180deg, #2a3a8f 0%, #1a2554 100%);
  border-color: #152052;
}

.btn-pass-external--accent:hover {
  background: linear-gradient(180deg, #3247a3 0%, #1f2d66 100%);
  color: #fff;
}

.btn-pass-external-icon {
  flex-shrink: 0;
  font-size: 1.1em;
  opacity: 0.95;
}

.btn-pass-external-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Page Prépa PASS — structure en bandes & grilles (prepa-pass-medecine.html) */
.pass-page main > section.pass-section {
  padding: 0;
}

.pass-band {
  padding: clamp(36px, 6vw, 56px) 0;
}

.pass-band + .pass-band {
  border-top: 1px solid rgba(39, 49, 118, 0.07);
}

.pass-band--soft {
  background: linear-gradient(165deg, #f6f8fd 0%, #eef2fa 42%, #fafbfd 100%);
}

.pass-container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 28px);
  box-sizing: border-box;
}

.pass-center-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.pass-center-head .value-tagline {
  margin-bottom: 6px;
}

.pass-intro-split {
  display: grid;
  gap: clamp(28px, 5vw, 44px);
  align-items: start;
}

@media (min-width: 900px) {
  .pass-intro-split {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
}

.pass-block-title {
  margin: 0 0 18px;
}

.pass-block-title .value-tagline {
  text-align: left;
}

.pass-block-title h2 {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 1.65rem);
  line-height: 1.25;
  color: #1a2554;
  text-align: left;
}

.pass-prose {
  font-size: 17px;
  line-height: 1.65;
  color: #3d4a5c;
}

.pass-prose p {
  margin: 0 0 1rem;
}

.pass-prose p:last-child {
  margin-bottom: 0;
}

.pass-side-panel {
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(22px, 4vw, 28px);
  border: 1px solid rgba(39, 49, 118, 0.1);
  box-shadow:
    0 4px 24px rgba(39, 49, 118, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

@media (min-width: 900px) {
  .pass-side-panel {
    position: sticky;
    top: 88px;
  }
}

.pass-side-panel .pass-block-title {
  margin-bottom: 14px;
}

.pass-side-panel .pass-block-title h2 {
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
}

.pass-pathway-wrap {
  margin-top: 8px;
}

.pass-frise-panel {
  margin-top: 8px;
  padding: clamp(12px, 2vw, 22px);
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(39, 49, 118, 0.08);
  box-shadow: 0 14px 44px rgba(39, 49, 118, 0.07);
}

.pass-detail-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.pass-detail-head .info-section-title {
  margin-bottom: 16px;
}

.pass-detail-lead {
  margin: 0 auto 20px;
  font-size: 18px;
  line-height: 1.6;
  color: #445;
}

.pass-detail-head .info-partnership-tag {
  margin-top: 0;
  margin-bottom: 0;
}

.pass-phase-grid {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

@media (min-width: 820px) {
  .pass-phase-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pass-phase-card {
  background: #ffffff;
  border-radius: 18px;
  padding: clamp(22px, 3vw, 28px) clamp(20px, 3vw, 26px);
  border: 1px solid rgba(39, 49, 118, 0.1);
  box-shadow: 0 6px 28px rgba(39, 49, 118, 0.05);
  min-width: 0;
}

.pass-phase-card .value-tagline {
  text-align: left;
  margin-bottom: 6px;
}

.pass-phase-card h2 {
  margin: 0 0 14px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.3;
  color: #1a2554;
  text-align: left;
}

.pass-phase-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #273176;
}

.pass-phase-card h4 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #445;
}

.pass-phase-card p {
  margin: 0 0 0.75rem;
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
}

.pass-phase-card p:last-child {
  margin-bottom: 0;
}

.pass-pass-year-block {
  margin-top: clamp(8px, 2vw, 16px);
}

.pass-pass-year-block .info-section-title {
  margin-bottom: 20px;
}

.pass-pass-row {
  display: grid;
  gap: 20px;
}

@media (min-width: 820px) {
  .pass-pass-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

.pass-callout {
  max-width: 720px;
  margin: clamp(28px, 4vw, 40px) auto 0;
  padding: 22px 26px;
  border-radius: 0 18px 18px 0;
  border-left: 4px solid #c5a059;
  background: linear-gradient(90deg, rgba(197, 160, 89, 0.12) 0%, rgba(197, 160, 89, 0.04) 100%);
}

.pass-callout .value-tagline {
  text-align: left;
}

.pass-callout h2 {
  margin: 0 0 12px;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  text-align: left;
  color: #1a2554;
}

.pass-callout h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #273176;
}

.pass-callout p {
  margin: 0 0 0.75rem;
  font-size: 16px;
  line-height: 1.6;
  color: #445;
}

.pass-callout p:last-child {
  margin-bottom: 0;
}

.pass-program-wrap {
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(22px, 3vw, 32px);
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(39, 49, 118, 0.09);
  box-shadow: 0 8px 32px rgba(39, 49, 118, 0.05);
}

.pass-program-wrap .info-section-title {
  margin-bottom: 20px;
}

.pass-program-wrap .info-columns {
  margin-top: 8px;
}

.pass-page .pass-external-resources {
  margin-top: clamp(24px, 4vw, 36px);
}

.pass-page .pass-partner-gap {
  margin-top: clamp(28px, 4vw, 40px);
  margin-bottom: clamp(8px, 2vw, 16px);
}

.pass-page .pass-phase-card.info-highlight {
  border-color: rgba(197, 160, 89, 0.35);
  box-shadow:
    0 6px 28px rgba(39, 49, 118, 0.05),
    0 0 0 1px rgba(197, 160, 89, 0.12) inset;
}

/* ========================
   Value Proposition
======================== */
.value-grid {
  display: grid;
  gap: 32px;
}

.value-tagline {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #273176;
  margin-bottom: 8px;
}

.value-highlight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 14px;
  padding: 22px 24px;
  font-size: 18px;
  line-height: 1.6;
  color: #1e2860;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(90deg, rgba(229, 127, 66, 0.98) 0, rgba(229, 127, 66, 0.98) 5px, transparent 5px),
    linear-gradient(152deg, #ffd8be 0%, #f6a972 45%, #df7a3e 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -2px 12px rgba(39, 49, 118, 0.1),
    0 4px 22px rgba(0, 0, 0, 0.09);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow-wrap: anywhere;
  word-break: break-word;
  animation: intro-pane-tag-lcd-gloss 5s ease-in-out infinite alternate;
}

.value-highlight strong {
  font-weight: 700;
  color: #152052;
}

.value-highlight::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220%;
  height: 220%;
  margin-left: -110%;
  margin-top: -110%;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    rgba(255, 255, 255, 0) 0deg,
    rgba(186, 230, 253, 0.5) 55deg,
    rgba(253, 186, 232, 0.45) 110deg,
    rgba(254, 243, 160, 0.55) 165deg,
    rgba(196, 181, 253, 0.42) 220deg,
    rgba(153, 246, 228, 0.4) 275deg,
    rgba(255, 255, 255, 0) 330deg,
    rgba(255, 255, 255, 0) 360deg
  );
  animation: intro-pane-tag-lcd-spin 18s linear infinite;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

.kpi-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.kpi-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border-top: 3px solid #2596be;
}

.kpi-number {
  font-size: 26px;
  font-weight: 700;
  color: #2596be;
  margin-bottom: 6px;
}

.kpi-label {
  font-size: 14px;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  font-size: 13px;
}

.partner-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(39, 49, 118, 0.3);
  font-weight: 600;
  color: #273176;
}

/* Carousel logos (section valeur) */
.logos-carousel {
  margin-top: 48px;
  overflow: hidden;
}

.logos-track {
  display: flex;
  overflow: hidden;
}

.logos-row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
  min-width: 100%;
  padding: 24px 0;
  animation: logos-scroll 25s linear infinite;
}

@keyframes logos-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.logos-carousel:hover .logos-row {
  animation-play-state: paused;
}

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 28px;
}

.logo-item img {
  max-height: 100%;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.4);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ========================
   Social Proof
======================== */
.section-heading-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.section-heading-center p a {
  color: #2596be;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.testimonials-carousel {
  position: relative;
  max-width: 100%;
}

.testimonial-track {
  display: flex;
  gap: 18px;
  overflow: hidden;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-row {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
  min-width: 100%;
  animation: testimonials-scroll 52s linear infinite;
}

@keyframes testimonials-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.testimonials-carousel:hover .testimonial-row {
  animation-play-state: paused;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(39, 49, 118, 0.12);
  min-height: 200px;
  min-width: 320px;
  max-width: 380px;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f6a972;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #273176;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  font-size: 14px;
}

.testimonial-badge {
  font-size: 12px;
  color: #666666;
}

.testimonial-rating {
  color: #f6a972;
  font-size: 14px;
  margin-bottom: 6px;
}

.testimonial-text {
  font-size: 14px;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Grille : tous les témoignages (page prépa Sciences Po) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 18px;
  align-items: stretch;
}

.testimonial-card--grid {
  min-width: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
}

.testimonial-excerpt {
  flex: 1;
}

.testimonial-details {
  margin-top: 10px;
  font-size: 14px;
}

.testimonial-details summary {
  cursor: pointer;
  color: #2596be;
  font-weight: 600;
  list-style: none;
}

.testimonial-details summary::-webkit-details-marker {
  display: none;
}

.testimonial-details summary::before {
  content: "▸ ";
}

.testimonial-details[open] summary::before {
  content: "▾ ";
}

.testimonial-fulltext {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(39, 49, 118, 0.12);
  max-height: 70vh;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.55;
}

.testimonial-fulltext p {
  margin: 0 0 12px;
}

.testimonial-fulltext p:last-child {
  margin-bottom: 0;
}

.testimonials-expand-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}

.testimonials-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.testimonials-expand-btn .testimonials-expand-chevron {
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.testimonials-expand-btn.is-open .testimonials-expand-chevron {
  transform: rotate(180deg);
}

.testimonials-grid-more[hidden] {
  display: none !important;
}

.testimonials-grid-more:not([hidden]) {
  display: contents;
}

/* ========================
   Benefits (glass + relief, grille partagée toutes les pages)
======================== */
.benefits-section {
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 12% 18%, rgba(246, 169, 114, 0.22), transparent 52%),
    radial-gradient(ellipse 90% 65% at 88% 42%, rgba(37, 150, 190, 0.16), transparent 48%),
    radial-gradient(ellipse 70% 45% at 50% 95%, rgba(39, 49, 118, 0.07), transparent 50%),
    linear-gradient(165deg, #f0f3fb 0%, #e8edf7 42%, #e2e8f4 100%);
  pointer-events: none;
  z-index: 0;
}

.benefits-section .container {
  position: relative;
  z-index: 1;
}

.benefits-section .container > h2 {
  margin-bottom: 12px;
  text-align: center;
}

.benefits-intro {
  font-size: 17px;
  line-height: 1.6;
  color: #2a3148;
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 28px);
}

@keyframes benefit-card-in {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.96);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes benefit-card-in-left {
  from {
    opacity: 0;
    transform: translateX(-56px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.benefits-section .benefit-card {
  opacity: 0;
  transform: translateY(32px) scale(0.96);
}

.benefits-section.visible .benefit-card {
  animation: benefit-card-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.benefits-section.visible .benefit-card:nth-child(1) { animation-delay: 0.05s; }
.benefits-section.visible .benefit-card:nth-child(2) { animation-delay: 0.12s; }
.benefits-section.visible .benefit-card:nth-child(3) { animation-delay: 0.19s; }
.benefits-section.visible .benefit-card:nth-child(4) { animation-delay: 0.26s; }
.benefits-section.visible .benefit-card:nth-child(5) { animation-delay: 0.33s; }
.benefits-section.visible .benefit-card:nth-child(6) { animation-delay: 0.4s; }

.benefit-card {
  position: relative;
  isolation: isolate;
  border-radius: 22px;
  padding: 24px 22px 22px;
  overflow: hidden;
  background: linear-gradient(
    152deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.62) 48%,
    rgba(248, 250, 255, 0.75) 100%
  );
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 40px -12px rgba(39, 49, 118, 0.14),
    0 8px 16px -8px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 42%;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.benefit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(246, 169, 114, 0.35) 38%,
    rgba(37, 150, 190, 0.28) 72%,
    rgba(255, 255, 255, 0.5) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  opacity: 0.65;
}

.benefit-card:hover {
  transform: translateY(-6px) scale(1.012);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 28px 56px -16px rgba(39, 49, 118, 0.2),
    0 14px 28px -10px rgba(246, 169, 114, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover::after {
  opacity: 0.9;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .benefit-card {
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(246, 169, 114, 0.55), rgba(37, 150, 190, 0.28));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 10px 22px -8px rgba(39, 49, 118, 0.2);
  color: #1a2554;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.06) rotate(-2deg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 14px 28px -6px rgba(246, 169, 114, 0.35);
}

.benefit-icon svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(39, 49, 118, 0.12));
}

.benefit-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #273176;
}

.benefit-text {
  font-size: 14px;
  line-height: 1.55;
  color: #333;
}

@media (prefers-reduced-motion: reduce) {
  .benefit-card,
  .benefit-card:hover,
  .benefit-card .benefit-icon,
  .benefit-card:hover .benefit-icon {
    transition: none;
  }

  .benefit-card:hover,
  .benefit-card:hover .benefit-icon {
    transform: none;
  }

  @keyframes benefit-card-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes benefit-card-in-left {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .benefits-section .benefit-card {
    transform: none;
    filter: none;
  }

  .benefits-section.visible .benefit-card {
    animation-duration: 0.3s;
  }

  .benefits-section .benefit-card.card-in {
    animation: benefit-card-in-left 0.3s ease forwards;
  }
}

@media (hover: none) {
  .benefit-card:hover {
    transform: none;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.95) inset,
      0 18px 40px -12px rgba(39, 49, 118, 0.14),
      0 8px 16px -8px rgba(0, 0, 0, 0.06);
  }

  .benefit-card:hover::after {
    opacity: 0.65;
  }

  .benefit-card:hover .benefit-icon {
    transform: none;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 10px 22px -8px rgba(39, 49, 118, 0.2);
  }
}

.section-cta {
  margin-top: 24px;
  text-align: center;
}

.section-cta--dual {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

/* CTA sous la grille bénéfices : le secondaire est pensé pour le hero foncé, ici fond clair → bouton plein très lisible */
.benefits-section .section-cta .btn {
  background: linear-gradient(165deg, #ffc49a 0%, #f6a972 45%, #e89458 100%);
  color: #1a2554;
  border: 2px solid rgba(39, 49, 118, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 12px 32px rgba(246, 169, 114, 0.55),
    0 6px 16px rgba(39, 49, 118, 0.12);
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 10px;
  text-decoration: none;
}

.benefits-section .section-cta .btn:hover {
  background: linear-gradient(165deg, #ffd4b0 0%, #ffb88a 40%, #f6a972 100%);
  color: #142040;
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 18px 40px rgba(246, 169, 114, 0.5),
    0 8px 20px rgba(39, 49, 118, 0.16);
}

.benefits-section .section-cta .btn:focus-visible {
  outline: 3px solid #273176;
  outline-offset: 3px;
}

/* ========================
   Offers & Pricing
======================== */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.offer-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 20px 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  border: 3px solid #1a2554;
  border-top-width: 9px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.offer-badge {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(148deg, #ffd8be 0%, #f6a972 42%, #df7a3e 100%);
  font-size: 12px;
  line-height: 1.3;
  color: #1e2860;
  font-weight: 600;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.65),
    inset 0 -2px 8px rgba(39, 49, 118, 0.1),
    0 2px 10px rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: intro-pane-tag-lcd-gloss 5s ease-in-out infinite alternate;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.offer-badge::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 240%;
  height: 240%;
  margin-left: -120%;
  margin-top: -120%;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    rgba(255, 255, 255, 0) 0deg,
    rgba(186, 230, 253, 0.55) 55deg,
    rgba(253, 186, 232, 0.5) 110deg,
    rgba(254, 243, 160, 0.6) 165deg,
    rgba(196, 181, 253, 0.48) 220deg,
    rgba(153, 246, 228, 0.45) 275deg,
    rgba(255, 255, 255, 0) 330deg,
    rgba(255, 255, 255, 0) 360deg
  );
  animation: intro-pane-tag-lcd-spin 16s linear infinite;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

.offer-title {
  font-size: 18px;
  margin-bottom: 4px;
}

.offer-meta {
  font-size: 14px;
  color: #555555;
}

.offer-price {
  font-size: 20px;
  font-weight: 700;
  color: #273176;
}

.offer-note {
  font-size: 12px;
  color: #666666;
}

.offer-actions {
  margin-top: 10px;
}

.offer-actions .btn-secondary {
  background-color: transparent;
  color: #273176;
  border-color: rgba(39, 49, 118, 0.25);
}

.offer-actions .btn-secondary:hover {
  background-color: rgba(39, 49, 118, 0.04);
}

.trust-badges {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

.trust-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fef4ea;
  color: #273176;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-badge span {
  font-size: 16px;
}

/* ========================
   FAQ (accordéon)
======================== */
section:has(.faq-grid) .container > h2 {
  text-align: center;
}

.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(39, 49, 118, 0.12);
  border-bottom: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq-item:first-child {
  border-radius: 12px 12px 0 0;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(39, 49, 118, 0.12);
  border-radius: 0 0 12px 12px;
}

.faq-item:only-child {
  border-radius: 12px;
  border-bottom: 1px solid rgba(39, 49, 118, 0.12);
}

.faq-item.open {
  background: rgba(39, 49, 118, 0.03);
  border-color: rgba(39, 49, 118, 0.2);
}

.faq-item.open + .faq-item {
  border-top-color: transparent;
}

.faq-header {
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: background-color 0.2s ease;
}

.faq-header:hover {
  background: rgba(39, 49, 118, 0.04);
}

.faq-item.open .faq-header {
  background: transparent;
}

.faq-question {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #273176;
  margin: 0;
  line-height: 1.35;
  padding-right: 8px;
}

.faq-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(39, 49, 118, 0.08);
  color: #273176;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-arrow {
  background: #273176;
  color: #ffffff;
}

.faq-item.open .faq-arrow svg {
  transform: rotate(180deg);
}

.faq-answer {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.25s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 20px 20px;
}

/* ========================
   Footer
======================== */

.site-footer {
  background: #273176;
  color: #ffffff;
  padding: 40px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-form input[type="email"] {
  flex: 1 1 180px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.footer-form input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.footer-legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 24px;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.footer-legal-links {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  justify-content: center;
  margin-bottom: 4px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.footer-legal-sep {
  color: rgba(255, 255, 255, 0.45);
  user-select: none;
}

.intro-legal-bar {
  border-top: 1px solid rgba(39, 49, 118, 0.12);
  padding: 20px 0 24px;
  margin-top: 8px;
}

.intro-legal-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  font-size: 13px;
}

.intro-legal-bar a {
  color: #273176;
  text-decoration: underline;
}

.legal-page-main {
  padding: 32px 0 56px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  font-size: 16px;
  line-height: 1.65;
  color: #3d4a5c;
}

.legal-content h1 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  color: #1a2554;
  margin: 0 0 12px;
}

.legal-content h2 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.12rem;
  color: #273176;
  margin: 1.75rem 0 0.65rem;
}

.legal-content h3 {
  font-size: 1rem;
  color: #445;
  margin: 1.25rem 0 0.5rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.35rem;
  margin: 0.5rem 0 1rem;
}

.legal-content p {
  margin: 0 0 1rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 1rem 0;
}

.legal-content th,
.legal-content td {
  border: 1px solid rgba(39, 49, 118, 0.15);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: #f5f7fc;
  font-weight: 600;
}

.legal-note {
  background: #f5f7fc;
  border-left: 4px solid #273176;
  padding: 14px 18px;
  font-size: 14px;
  margin: 1.25rem 0;
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.btn-legal-action {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #273176;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* ========================
   Cookie Banner
======================== */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 32px, 520px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  padding: 16px 18px;
  z-index: 10000;
  display: none;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cookie-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f6a972;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #273176;
}

.cookie-title {
  font-weight: 600;
  font-size: 14px;
}

.cookie-text {
  font-size: 13px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.cookie-text a {
  color: #273176;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-link {
  font-size: 12px;
  text-decoration: underline;
  color: #273176;
}

.btn-cookie-secondary {
  border-radius: 999px;
  border: 1px solid rgba(39, 49, 118, 0.2);
  background: #ffffff;
  color: #273176;
  padding: 8px 16px;
  font-size: 13px;
}

.btn-cookie-primary {
  border-radius: 999px;
  background: #273176;
  color: #ffffff;
  padding: 8px 16px;
  font-size: 13px;
}

/* ========================
   Intro Page
======================== */
.intro-page {
  background:
    radial-gradient(circle at top left, rgba(246, 169, 114, 0.18), transparent 28%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

/* Logo header ×3 (52px → 156px), uniquement la page d’accueil */
.intro-page .brand-logo {
  width: 156px;
  height: 156px;
}

.intro-page .brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .intro-page .brand-logo {
    width: 52px;
    height: 52px;
  }
}

.intro-home {
  padding: 32px 0 48px;
}

.intro-heading {
  max-width: 760px;
  text-align: center;
  margin: 0 auto 24px;
}

.intro-heading h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.intro-heading p {
  font-size: 18px;
  color: #4b5563;
  margin-bottom: 0;
}

.intro-split {
  display: grid;
  gap: 20px;
}

.intro-pane {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 420px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  color: #333333;
  border: 1px solid rgba(39, 49, 118, 0.1);
  box-shadow: 0 20px 50px rgba(39, 49, 118, 0.12);
}

.intro-pane::before,
.intro-pane::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.intro-pane::before {
  width: 220px;
  height: 220px;
  top: -72px;
  right: -72px;
  background: rgba(246, 169, 114, 0.18);
}

.intro-pane::after {
  width: 160px;
  height: 160px;
  bottom: -56px;
  left: -32px;
  background: rgba(39, 49, 118, 0.06);
}

.intro-pane-card {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.intro-pane-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #fef4ea;
  color: #273176;
}

.intro-pane h2 {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #273176;
}

.intro-pane p {
  font-size: 16px;
  margin-bottom: 0;
}

.intro-pane-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.intro-pane-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}

.intro-pane-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-top: 8px;
  flex-shrink: 0;
  background: #f6a972;
}

.intro-pane-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.intro-pane-note {
  font-size: 13px;
  opacity: 0.9;
  color: #5b6474;
}

/* Accueil : tuiles sur fond bleu (Ambition Prépa) */
.intro-home .intro-pane {
  background: linear-gradient(155deg, #3343a0 0%, #273176 42%, #1e2a5c 100%);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 56px rgba(22, 30, 72, 0.38);
}

.intro-home .intro-pane h2 {
  color: #ffffff;
}

.intro-home .intro-pane p,
.intro-home .intro-pane .intro-pane-list li {
  color: rgba(255, 255, 255, 0.9);
}

.intro-home .intro-pane .intro-pane-tag {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #1e2860;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(148deg, #ffd8be 0%, #f6a972 42%, #df7a3e 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.65),
    inset 0 -2px 10px rgba(39, 49, 118, 0.12),
    0 2px 14px rgba(0, 0, 0, 0.12);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: intro-pane-tag-lcd-gloss 5s ease-in-out infinite alternate;
}

.intro-home .intro-pane .intro-pane-tag::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 240%;
  height: 240%;
  margin-left: -120%;
  margin-top: -120%;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    rgba(255, 255, 255, 0) 0deg,
    rgba(186, 230, 253, 0.55) 55deg,
    rgba(253, 186, 232, 0.5) 110deg,
    rgba(254, 243, 160, 0.6) 165deg,
    rgba(196, 181, 253, 0.48) 220deg,
    rgba(153, 246, 228, 0.45) 275deg,
    rgba(255, 255, 255, 0) 330deg,
    rgba(255, 255, 255, 0) 360deg
  );
  animation: intro-pane-tag-lcd-spin 16s linear infinite;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

@keyframes intro-pane-tag-lcd-spin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes intro-pane-tag-lcd-gloss {
  0% {
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.55),
      inset 0 -2px 10px rgba(39, 49, 118, 0.1),
      0 2px 14px rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow:
      inset 0 2px 4px rgba(255, 255, 255, 0.75),
      inset 0 -1px 6px rgba(39, 49, 118, 0.08),
      0 0 18px rgba(186, 230, 253, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-home .intro-pane .intro-pane-tag,
  .intro-home .intro-pane .intro-pane-tag::before,
  .value-highlight,
  .value-highlight::before,
  .offer-badge,
  .offer-badge::before,
  .info-card.info-highlight,
  .info-card.info-highlight::before {
    animation: none;
  }

  .intro-home .intro-pane .intro-pane-tag {
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.55),
      inset 0 -2px 8px rgba(39, 49, 118, 0.1),
      0 2px 12px rgba(0, 0, 0, 0.1);
  }

  .value-highlight {
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.55),
      inset 0 -2px 10px rgba(39, 49, 118, 0.1),
      0 4px 18px rgba(0, 0, 0, 0.08);
  }

  .offer-badge {
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.55),
      inset 0 -2px 6px rgba(39, 49, 118, 0.1),
      0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .info-card.info-highlight {
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.55),
      inset 0 -2px 10px rgba(39, 49, 118, 0.1),
      0 6px 22px rgba(0, 0, 0, 0.09);
  }
}

.intro-home .intro-pane .intro-pane-note {
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
}

/* Halos d’arrière-plan des tuiles accueil : couleurs plus vives que le corail plat (trop terne sur le bleu) */
.intro-home .intro-pane::before {
  width: 340px;
  height: 340px;
  top: -118px;
  right: -118px;
  background: radial-gradient(
    circle at 78% 22%,
    rgba(254, 240, 138, 0.68) 0%,
    rgba(251, 191, 36, 0.55) 24%,
    rgba(245, 158, 11, 0.36) 46%,
    rgba(194, 65, 12, 0.2) 70%,
    transparent 100%
  );
}

.intro-home .intro-pane::after {
  width: 280px;
  height: 280px;
  bottom: -88px;
  left: -64px;
  background: radial-gradient(
    circle at 28% 72%,
    rgba(125, 211, 252, 0.64) 0%,
    rgba(56, 189, 248, 0.42) 38%,
    rgba(14, 165, 233, 0.24) 66%,
    transparent 100%
  );
}

.intro-home .intro-pane .intro-pane-list a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.intro-home .intro-pane .intro-pane-list a:hover {
  color: #fde6d3;
}

/* ========================
   Informative Page
======================== */
.info-page main section {
  padding: 64px 0;
}

/* Prépa Droit : bandeau panoramique pleine largeur sous le hero */
.prepa-droit-hero-banner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  background: #1a2554;
}

.prepa-droit-hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  object-fit: cover;
  object-position: center;
}

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

.info-layout {
  display: grid;
  gap: 24px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

/* Page formulaire Google (formulaire.html) */
.info-page main section.form-page-section {
  padding: 48px 0 72px;
}

.form-page-lead {
  margin: 0 auto;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.6;
  color: #445;
}

.form-page-lead--secondary {
  margin-top: 12px;
  font-size: 15px;
}

.form-page-lead--muted {
  margin-top: 10px;
  font-size: 15px;
  color: #5a6578;
}

.form-page-embed {
  width: 100%;
  max-width: 720px;
  margin: 32px auto 0;
  padding: 0;
  border-radius: 14px;
  background: #1a2554;
  border: 12px solid #1a2554;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 14px 40px rgba(13, 18, 48, 0.3);
  overflow: hidden;
  min-width: 0;
  box-sizing: border-box;
}

.form-page-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  background: #fafbfd;
  /* Hauteur fluide : min lisible, max pour grands écrans, milieu = part de la fenêtre */
  height: clamp(420px, 80vh, 1280px);
  height: clamp(420px, 80dvh, 1280px);
}

/* Cadre responsive autour de l’embed Tally (hauteur ajustée par Tally via dynamicHeight) */
.tally-embed-frame {
  width: 100%;
  max-width: min(720px, 100%);
  margin: clamp(20px, 4vw, 36px) auto 0;
  padding: 0;
  box-sizing: border-box;
}

.form-page-embed--tally {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(6px, 1.8vw, 14px);
  border-width: clamp(6px, 1.5vw, 12px);
  border-style: solid;
  border-color: #e4e9f3;
  border-radius: clamp(10px, 2.2vw, 16px);
  background: #eef1f8;
  box-shadow:
    inset 0 0 0 1px rgba(39, 49, 118, 0.08),
    0 14px 40px rgba(13, 18, 48, 0.12);
  overflow: hidden;
  min-width: 0;
  line-height: 0;
}

.form-page-embed--tally iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  /* Hauteur initiale responsive ; Tally remplace par une hauteur inline quand le contenu est chargé */
  min-height: min(55vh, 520px);
  height: min(55vh, 520px);
  max-height: none;
  background: transparent;
  border: 0;
  vertical-align: bottom;
}

.form-page-back {
  margin: 28px 0 0;
  text-align: center;
}

.form-page-back-link {
  font-weight: 600;
  color: #273176;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-page-back-link:hover {
  color: #152052;
}

/* Page formulaire hybride (iframe Google Form + bulletins → Apps Script) */
.bulletins-module {
  width: 100%;
  max-width: 720px;
  margin: 40px auto 0;
  padding: 26px 24px 28px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 2px 8px rgba(21, 32, 82, 0.08),
    0 0 0 1px rgba(39, 49, 118, 0.1);
  box-sizing: border-box;
}

.bulletins-module-title {
  margin: 0 0 12px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a2554;
}

.bulletins-module-intro {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: #445;
}

.bulletins-files-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #1e2860;
}

.bulletins-files {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bulletins-form-status:empty {
  display: none;
}

.bulletins-form-status:not(:empty) {
  display: block;
  margin: 0 0 16px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  color: #1e2860;
  background: rgba(39, 49, 118, 0.07);
  border-radius: 10px;
}

.nav a[aria-current="page"] {
  font-weight: 700;
}

/* Formulaire candidature HTML → Apps Script (formulaire-candidature-apps-script.html) */
.candidature-form-notice {
  max-width: 720px;
  margin: 0 auto 20px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #1e2860;
  background: rgba(39, 49, 118, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(39, 49, 118, 0.15);
}

.candidature-form-notice code {
  font-size: 0.9em;
}

.candidature-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}

.candidature-form-section {
  margin: 0 0 28px;
  padding: 22px 22px 24px;
  border: none;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 2px 8px rgba(21, 32, 82, 0.08),
    0 0 0 1px rgba(39, 49, 118, 0.1);
  min-width: 0;
}

.candidature-form-legend {
  padding: 0 8px 0 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 700;
  color: #273176;
}

.candidature-form-hint {
  margin: 0 0 14px;
  font-size: 14px;
  color: #5a6478;
  line-height: 1.45;
}

.candidature-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin-top: 8px;
}

.candidature-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.candidature-field--wide {
  grid-column: 1 / -1;
}

.candidature-label {
  font-size: 14px;
  font-weight: 600;
  color: #1e2860;
}

.candidature-field input[type="text"],
.candidature-field input[type="email"],
.candidature-field input[type="tel"],
.candidature-field input[type="date"],
.candidature-field select,
.candidature-field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid rgba(39, 49, 118, 0.25);
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

.candidature-field textarea {
  resize: vertical;
  min-height: 80px;
}

.candidature-field input:focus,
.candidature-field select:focus,
.candidature-field textarea:focus {
  outline: none;
  border-color: #273176;
  box-shadow: 0 0 0 3px rgba(39, 49, 118, 0.15);
}

.candidature-field input[type="file"] {
  font-size: 14px;
  max-width: 100%;
}

.candidature-form-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.candidature-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
}

.candidature-radio input {
  margin-top: 3px;
  flex-shrink: 0;
}

.candidature-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  cursor: pointer;
}

.candidature-checkbox input {
  margin-top: 3px;
  flex-shrink: 0;
}

.candidature-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.candidature-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

#candidature-form-status:empty {
  display: none;
}

#candidature-form-status:not(:empty) {
  display: block;
  max-width: 720px;
  margin: 0 auto 16px;
  padding: 12px 16px;
  font-size: 14px;
  text-align: center;
  color: #1e2860;
  background: rgba(39, 49, 118, 0.07);
  border-radius: 10px;
}

@media (max-width: 640px) {
  .candidature-form-grid {
    grid-template-columns: 1fr;
  }

  .candidature-form-section {
    padding: 18px 16px 20px;
  }
}

@media (max-width: 767px) {
  /* Mobile : un peu plus de hauteur utile (formulaire souvent plus long en colonne) */
  .form-page-embed iframe {
    height: clamp(520px, 85vh, 1400px);
    height: clamp(520px, 85dvh, 1400px);
  }

  .info-page main section.form-page-section {
    padding: 36px 0 56px;
  }
}

@media (max-width: 480px) {
  .form-page-embed iframe {
    height: clamp(560px, 88vh, 1600px);
    height: clamp(560px, 88dvh, 1600px);
  }

  .form-page-embed {
    border-width: 8px;
    border-radius: 12px;
  }
}

.info-card {
  background: #ffffff;
  border: 3px solid #273176;
  border-left-width: 10px;
  border-left-color: #152052;
  border-radius: 20px;
  padding: 24px 24px 24px 22px;
  box-shadow:
    inset 2px 0 0 rgba(255, 255, 255, 0.22),
    -4px 6px 18px rgba(21, 32, 82, 0.14),
    6px 12px 28px rgba(39, 49, 118, 0.1),
    3px 5px 0 rgba(39, 49, 118, 0.07);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.info-card h2,
.info-card h3 {
  margin-bottom: 14px;
}

.info-card p:last-child,
.info-card ul:last-child {
  margin-bottom: 0;
}

.info-lead {
  font-size: 17px;
  color: #445;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.info-list {
  padding-left: 20px;
  margin: 0;
  display: grid;
  gap: 12px;
  line-height: 1.6;
}

.info-section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
  padding-inline: 0;
  box-sizing: border-box;
}

.info-section-title h2 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.info-section-title--droit-intro p {
  margin: 1rem 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: #445;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.info-columns {
  display: grid;
  gap: 20px;
}

.info-table-wrap {
  overflow-x: visible;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
  table-layout: fixed;
  background: #ffffff;
}

.info-table th,
.info-table td {
  padding: 14px 16px;
  border: 1px solid rgba(39, 49, 118, 0.12);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.info-table th {
  background: #f7f9ff;
  color: #273176;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
}

.info-link-list {
  padding-left: 20px;
  margin: 0;
  display: grid;
  gap: 10px;
}

.info-link-list a,
.info-rich-text a {
  color: #2596be;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-card.info-highlight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(90deg, rgba(229, 127, 66, 0.98) 0, rgba(229, 127, 66, 0.98) 5px, transparent 5px),
    linear-gradient(152deg, #ffd8be 0%, #f6a972 45%, #df7a3e 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -2px 12px rgba(39, 49, 118, 0.1),
    0 6px 28px rgba(0, 0, 0, 0.1);
  padding: 26px 28px;
  font-size: 18px;
  line-height: 1.6;
  color: #1e2860;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow-wrap: anywhere;
  word-break: break-word;
  animation: intro-pane-tag-lcd-gloss 5s ease-in-out infinite alternate;
}

.info-card.info-highlight::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220%;
  height: 220%;
  margin-left: -110%;
  margin-top: -110%;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    rgba(255, 255, 255, 0) 0deg,
    rgba(186, 230, 253, 0.5) 55deg,
    rgba(253, 186, 232, 0.45) 110deg,
    rgba(254, 243, 160, 0.55) 165deg,
    rgba(196, 181, 253, 0.42) 220deg,
    rgba(153, 246, 228, 0.4) 275deg,
    rgba(255, 255, 255, 0) 330deg,
    rgba(255, 255, 255, 0) 360deg
  );
  animation: intro-pane-tag-lcd-spin 18s linear infinite;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

.info-card.info-highlight .info-lead {
  font-size: 19px;
  line-height: 1.6;
  color: #1e2860;
}

.info-card.info-highlight h2,
.info-card.info-highlight h3 {
  color: #152052;
}

.info-card.info-highlight strong {
  color: #152052;
  font-weight: 700;
}

.info-card.info-highlight .info-rich-text a {
  color: #0d5a82;
  font-weight: 600;
}

.info-cta-banner {
  background: linear-gradient(135deg, #273176 0%, #3343a0 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(39, 49, 118, 0.16);
}

.info-cta-banner h2,
.info-cta-banner p {
  color: #ffffff;
}

.info-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.info-cta-form {
  flex: 1 1 320px;
  margin: 0;
}

.info-cta-form input[type="email"] {
  min-width: 0;
}

.info-page .btn-secondary {
  color: #273176;
  border-color: rgba(39, 49, 118, 0.24);
}

.info-page .hero .btn-secondary,
.info-page .info-cta-banner .btn-secondary,
.info-page .site-footer .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.info-page .info-cta-banner .btn-secondary:hover,
.info-page .site-footer .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.info-page {
  overflow-x: hidden;
}

@keyframes pathway-step-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pathway-arrow-glow {
  from {
    opacity: 0.4;
    transform: scaleX(0.96);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.pathway-timeline {
  position: relative;
  display: grid;
  gap: 16px;
  align-items: center;
}

.pathway-step,
.pathway-outcome {
  position: relative;
  z-index: 1;
  opacity: 0;
}

.pathway-step {
  background: linear-gradient(180deg, #5b88c1 0%, #4f7fb9 100%);
  color: #ffffff;
  border: 4px solid #ffffff;
  border-radius: 26px;
  padding: 22px 20px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(39, 49, 118, 0.16);
}

.pathway-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(39, 49, 118, 0.22);
}

.pathway-step:focus-visible {
  outline: 3px solid rgba(39, 49, 118, 0.28);
  outline-offset: 4px;
}

.pathway-step h3,
.pathway-step p {
  color: #ffffff;
}

.pathway-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.pathway-step p {
  font-size: 16px;
  margin-bottom: 0;
}

.pathway-step-year,
.pathway-outcome-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pathway-outcome {
  background: linear-gradient(180deg, #5b88c1 0%, #4f7fb9 100%);
  color: #ffffff;
  border: 4px solid #ffffff;
  border-radius: 22px;
  padding: 22px 18px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 14px 34px rgba(39, 49, 118, 0.16);
}

.pathway-outcome strong {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  line-height: 1.2;
}

.fade-in.visible .pathway-step,
.fade-in.visible .pathway-outcome {
  animation: pathway-step-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fade-in.visible .pathway-step:nth-child(1) {
  animation-delay: 0.08s;
}

.fade-in.visible .pathway-step:nth-child(2) {
  animation-delay: 0.18s;
}

.fade-in.visible .pathway-step:nth-child(3) {
  animation-delay: 0.28s;
}

.fade-in.visible .pathway-timeline--pass .pathway-step:nth-child(4) {
  animation-delay: 0.36s;
}

.fade-in.visible .pathway-outcome {
  animation-delay: 0.38s;
}

.fade-in.visible .pathway-timeline--pass .pathway-outcome {
  animation-delay: 0.46s;
}

.pathway-outcome--compact-text strong {
  font-size: clamp(15px, 2.1vw, 22px);
  line-height: 1.25;
}

/* Citation avant la frise Prépa Droit (prepa-droit.html) */
.droit-frise-quote {
  margin: 0 auto 28px;
  max-width: 720px;
  padding: 22px 24px 22px 26px;
  border-left: 4px solid #c5a059;
  background: linear-gradient(90deg, rgba(39, 49, 118, 0.07) 0%, rgba(39, 49, 118, 0.02) 100%);
  border-radius: 0 18px 18px 0;
  box-sizing: border-box;
  min-width: 0;
}

.droit-frise-quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}

.droit-frise-quote blockquote p {
  margin: 0;
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.65;
  color: #1e2860;
  font-style: italic;
  overflow-wrap: anywhere;
}

.droit-frise-quote figcaption {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(39, 49, 118, 0.12);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #273176;
  font-style: normal;
}

/* ========================
   Prépa Droit, frise chronologique
======================== */
.droit-frise {
  margin-top: 8px;
  padding: 20px 16px 24px;
  background: #fdf8f0;
  border-radius: 24px;
  border: 1px solid rgba(29, 43, 100, 0.08);
  box-shadow: 0 12px 40px rgba(29, 43, 100, 0.06);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@keyframes droit-frise-step-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes droit-frise-tl-in-right {
  from {
    opacity: 0;
    transform: translate(16px, 22px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes droit-frise-tl-in-left {
  from {
    opacity: 0;
    transform: translate(-16px, 22px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* Frise Prépa Droit : tuiles qui apparaissent au scroll (IntersectionObserver sur .fade-in.droit-frise-reveal) */
.droit-frise-reveal:not(.visible) .droit-frise-step {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
}

.droit-frise-reveal:not(.visible) .droit-frise--timeline a.droit-frise-step--tl {
  opacity: 0;
  transform: translateY(24px);
}

.droit-frise-reveal.visible .droit-frise-step {
  animation: droit-frise-step-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Frise timeline : pas d’anim globale sur les cartes ; entrée au scroll via .droit-frise-card-in (script.js) */
.droit-frise-reveal.visible .droit-frise--timeline a.droit-frise-step--tl {
  animation: none;
}

.droit-frise-reveal.visible .droit-frise-zone--nativite .droit-frise-stack > a.droit-frise-step:nth-child(1) {
  animation-delay: 0.04s;
}

.droit-frise-reveal.visible .droit-frise-zone--nativite .droit-frise-stack > a.droit-frise-step:nth-child(3) {
  animation-delay: 0.12s;
}

.droit-frise-reveal.visible .droit-frise-zone--aix .droit-frise-stack > a.droit-frise-step:nth-child(1) {
  animation-delay: 0.22s;
}

.droit-frise-reveal.visible .droit-frise-zone--aix .droit-frise-stack > a.droit-frise-step:nth-child(3) {
  animation-delay: 0.32s;
}

.droit-frise-reveal.visible .droit-frise-zone--aix .droit-frise-stack > a.droit-frise-step:nth-child(5) {
  animation-delay: 0.42s;
}

.droit-frise-reveal.visible .droit-frise-zone--aix .droit-frise-stack > a.droit-frise-step:nth-child(7) {
  animation-delay: 0.52s;
}

.droit-frise-reveal.visible .droit-frise--timeline a.droit-frise-step--tl:not(.droit-frise-card-in) {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}

.droit-frise-reveal.visible .droit-frise--timeline a.droit-frise-step--tl.droit-frise-step--tl-right.droit-frise-card-in {
  animation: droit-frise-tl-in-right 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: auto;
}

.droit-frise-reveal.visible .droit-frise--timeline a.droit-frise-step--tl.droit-frise-step--tl-left.droit-frise-card-in {
  animation: droit-frise-tl-in-left 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .droit-frise-reveal:not(.visible) .droit-frise-step {
    opacity: 1;
    transform: none;
  }

  .droit-frise-reveal.visible .droit-frise-step {
    animation: none;
  }

  .droit-frise-reveal.visible .droit-frise--timeline a.droit-frise-step--tl,
  .droit-frise-reveal:not(.visible) .droit-frise--timeline a.droit-frise-step--tl {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    animation: none !important;
  }
}

.droit-frise-zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min-content);
  gap: 10px 14px;
  align-items: stretch;
  padding: 24px 16px 28px 20px;
  border-radius: 22px;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.droit-frise-zone--nativite {
  background: #607bb7;
  margin-bottom: 0;
}

.droit-frise-zone--aix {
  background: #1d2b64;
  margin-top: 0;
}

.droit-frise-zone-inner {
  min-width: 0;
}

.droit-frise-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: min(640px, 100%);
  width: 100%;
  margin: 0 auto;
  gap: 0;
  min-width: 0;
  box-sizing: border-box;
}

.droit-frise-step {
  background: #fdf8f0;
  border-radius: 20px;
  padding: 18px 20px 22px;
  max-width: min(420px, 100%);
  width: 100%;
  min-width: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(29, 43, 100, 0.06);
  box-sizing: border-box;
}

.droit-frise-step--left {
  align-self: flex-start;
}

.droit-frise-step--right {
  align-self: flex-end;
}

.droit-frise-step-head {
  display: block;
  margin: 0 auto 14px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding: 10px 20px;
  border-radius: 999px;
  background: #1d2b64;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  line-height: 1.25;
}

a.droit-frise-step--interactive {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.droit-frise-step--interactive:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  transform: translateY(-2px);
}

a.droit-frise-step--interactive:hover .droit-frise-step-head {
  color: #ffffff;
  filter: brightness(1.08);
}

a.droit-frise-step--interactive:focus-visible {
  outline: 3px solid #c5a059;
  outline-offset: 4px;
}

.droit-frise-step-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c5a059;
}

.droit-frise-step-lead {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  color: #1a1a1a;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.droit-frise-step-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #333333;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.droit-frise-connector {
  width: 100%;
  max-width: min(640px, 100%);
  margin: 0 auto;
  height: 36px;
  flex-shrink: 0;
  min-width: 0;
}

.droit-frise-connector-svg {
  display: block;
  width: 100%;
  height: 36px;
}

.droit-frise-between {
  padding: 10px 16px 6px;
  background: #fdf8f0;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.droit-frise-connector-svg--between {
  max-width: min(640px, 100%);
  margin: 0 auto;
  height: 40px;
  display: block;
  width: 100%;
}

.droit-frise-rail {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  user-select: none;
  min-width: 0;
  max-width: 100%;
}

.droit-frise-zone--nativite .droit-frise-rail {
  color: rgba(255, 255, 255, 0.88);
}

.droit-frise-zone--aix .droit-frise-rail {
  color: rgba(197, 160, 89, 0.95);
}

/* Frise alignée sur le parcours Aix Prépa Droit (fonds clairs, filets dorés, cartes blanches) */
.droit-frise--partner {
  margin-top: 12px;
  padding: 8px 8px 16px;
  background: linear-gradient(165deg, #f4f1ea 0%, #ebe6dc 45%, #e8e4db 100%);
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 16px 48px rgba(29, 43, 100, 0.07);
}

.droit-frise--partner .droit-frise-zone {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 22px 30px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.42);
  box-shadow: 0 4px 24px rgba(29, 43, 100, 0.05);
}

.droit-frise--partner .droit-frise-zone--nativite {
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
  margin-bottom: 12px;
}

.droit-frise--partner .droit-frise-zone--aix {
  background: linear-gradient(180deg, #ffffff 0%, #f9f9fc 100%);
  margin-top: 0;
}

.droit-frise-zone-title {
  margin: 0 0 8px;
  padding: 0 4px 14px;
  border-bottom: 2px solid rgba(197, 160, 89, 0.55);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #1d2b64;
}

.droit-frise--partner .droit-frise-step {
  background: #ffffff;
  border: 1px solid rgba(29, 43, 100, 0.1);
  border-top: 3px solid #c5a059;
  border-radius: 16px;
  padding: 20px 20px 18px;
  box-shadow: 0 6px 22px rgba(29, 43, 100, 0.06);
  max-width: min(460px, 100%);
}

.droit-frise--partner .droit-frise-step--left,
.droit-frise--partner .droit-frise-step--right {
  align-self: center;
}

.droit-frise--partner .droit-frise-step-head {
  background: #ffffff;
  color: #1d2b64;
  border: 2px solid #1d2b64;
  padding: 9px 18px;
}

.droit-frise--partner a.droit-frise-step--interactive:hover {
  box-shadow: 0 12px 32px rgba(29, 43, 100, 0.1);
  transform: translateY(-3px);
}

.droit-frise--partner a.droit-frise-step--interactive:hover .droit-frise-step-head {
  filter: none;
  background: #1d2b64;
  color: #ffffff;
  border-color: #1d2b64;
}

.droit-frise-step-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b8944a;
}

.droit-frise-step-cta::before {
  content: "››";
  margin-right: 6px;
  font-weight: 700;
  letter-spacing: 0;
}

.droit-frise--partner .droit-frise-between {
  padding: 14px 12px 10px;
  background: transparent;
}

.droit-frise--partner .droit-frise-connector-svg path,
.droit-frise--partner .droit-frise-connector-svg--between path {
  stroke: rgba(197, 160, 89, 0.75);
  stroke-width: 1.75;
}

.droit-frise--partner .droit-frise-connector-svg circle,
.droit-frise--partner .droit-frise-connector-svg--between circle {
  fill: #c5a059;
}

/* Frise « timeline » : fond bleu nuit, ligne dorée, cartes blanches à languettes */
.droit-frise--timeline {
  /* Alignement puce / languette : centre vertical identique (voir .droit-frise-timeline-node) */
  --tl-arrow-top: 26px;
  --tl-arrow-half-h: 9px;
  --tl-node-center-y: 8px;

  margin-top: 12px;
  padding: 26px 16px 30px;
  background: #1a2554;
  border: none;
  box-shadow: 0 20px 48px rgba(10, 16, 40, 0.38);
  border-radius: 24px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.droit-frise--timeline .droit-frise-zone--timeline {
  display: block;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.droit-frise--timeline .droit-frise-zone--nativite {
  background: transparent;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.droit-frise--timeline .droit-frise-zone--nativite .droit-frise-timeline-body {
  padding-bottom: 10px;
}

.droit-frise--timeline .droit-frise-zone--aix {
  background: transparent;
  margin-top: 0;
  padding-top: 0;
}

.droit-frise-zone-title.droit-frise-zone-title--on-blue {
  margin: 0;
  padding: 8px 8px 18px;
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  background: #1a2554;
  position: relative;
  z-index: 2;
}

.droit-frise-timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  margin: 0 0 22px;
}

.droit-frise-timeline-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.55);
}

.droit-frise-timeline-head-brand {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 14px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.3;
}

.droit-frise-timeline-amp {
  font-size: 1.35em;
  font-weight: 600;
  opacity: 0.92;
}

.droit-frise-timeline-body {
  position: relative;
  padding: 6px 0 8px;
  overflow: visible;
  width: 100%;
  max-width: min(720px, 100%);
  margin-inline: auto;
  box-sizing: border-box;
}

.droit-frise-timeline-body--fac {
  padding-top: 2px;
}

.droit-frise-timeline-line {
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #e4cf98 0%, #c5a059 45%, #a88642 100%);
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
}

.droit-frise-timeline-rows {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vw, 34px);
}

.droit-frise-timeline-row {
  display: grid;
  /* Colonnes latérales resserrées autour de la ligne : pas de 50 % vide entre axe et cartes */
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  align-items: start;
  gap: 8px 10px;
  min-width: 0;
}

.droit-frise-timeline-row--card-right .droit-frise-timeline-label {
  grid-column: 1;
  justify-self: end;
  align-self: start;
  text-align: right;
  padding-right: 2px;
  max-width: 8.5rem;
}

.droit-frise-timeline-row--card-right .droit-frise-timeline-node {
  grid-column: 2;
  align-self: start;
}

.droit-frise-timeline-row--card-right > a.droit-frise-step {
  grid-column: 3;
  justify-self: start;
  width: 100%;
  max-width: min(400px, 100%);
}

.droit-frise-timeline-row--card-left > a.droit-frise-step {
  grid-column: 1;
  justify-self: end;
  width: 100%;
  max-width: min(400px, 100%);
}

.droit-frise-timeline-row--card-left .droit-frise-timeline-node {
  grid-column: 2;
  align-self: start;
}

.droit-frise-timeline-row--card-left .droit-frise-timeline-label {
  grid-column: 3;
  justify-self: start;
  align-self: start;
  text-align: left;
  padding-left: 2px;
  max-width: 8.5rem;
}

.droit-frise-timeline-label {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(13px, 1.9vw, 15px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
}

.droit-frise-timeline-label--empty {
  visibility: hidden;
}

.droit-frise-timeline-row--card-right .droit-frise-timeline-node,
.droit-frise-timeline-row--card-left .droit-frise-timeline-node {
  /* Centre de la puce = centre du triangle (::before top + demi-hauteur triangle) */
  margin-top: calc(var(--tl-arrow-top) + var(--tl-arrow-half-h) - var(--tl-node-center-y));
}

.droit-frise-timeline-node {
  justify-self: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c5a059;
  border: 2px solid #1a2554;
  box-shadow: 0 0 0 1px rgba(228, 207, 152, 0.45);
  flex-shrink: 0;
  z-index: 2;
  box-sizing: content-box;
}

.droit-frise--timeline .droit-frise-step--tl {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(26, 37, 84, 0.12);
  border-top: 5px solid #c5a059;
  border-left: 4px solid #c5a059;
  border-right-color: rgba(26, 37, 84, 0.2);
  border-bottom-color: rgba(26, 37, 84, 0.18);
  padding: 18px 18px 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  width: 100%;
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

.droit-frise--timeline .droit-frise-step--tl-right::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 26px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 10px 9px 0;
  border-color: transparent #c5a059 transparent transparent;
  z-index: 0;
  pointer-events: none;
}

.droit-frise--timeline .droit-frise-step--tl-left::before {
  content: "";
  position: absolute;
  right: -9px;
  top: 26px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 10px;
  border-color: transparent transparent transparent #c5a059;
  z-index: 0;
  pointer-events: none;
}

.droit-frise--timeline .droit-frise-step--tl .droit-frise-step-head {
  margin: 0 0 6px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: #1d2b64;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 700;
  text-align: left;
  line-height: 1.25;
}

.droit-frise--timeline .droit-frise-step--tl .droit-frise-step-kicker {
  margin: 0 0 10px;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #1d2b64;
}

.droit-frise--timeline .droit-frise-step--tl .droit-frise-step-lead {
  margin: 0 0 8px;
  color: #1d2b64;
  font-size: 15px;
}

.droit-frise--timeline .droit-frise-step--tl .droit-frise-step-text {
  color: #1d2b64;
  font-size: 14px;
  line-height: 1.52;
}

.droit-frise--timeline .droit-frise-step--tl .droit-frise-step-cta {
  margin-top: 12px;
  color: #5a6b90;
  font-weight: 700;
}

.droit-frise--timeline a.droit-frise-step--tl.droit-frise-step--interactive:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.droit-frise--timeline a.droit-frise-step--tl.droit-frise-step--interactive:hover .droit-frise-step-head {
  filter: none;
  color: #152456;
}

/* Frise timeline : mobile — ligne à gauche, cartes pleine largeur, lisible */
@media (max-width: 767px) {
  .droit-frise--timeline {
    --tl-arrow-top: 22px;
    --tl-arrow-half-h: 8px;

    padding: 20px 12px 24px;
    border-radius: 18px;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .droit-frise-timeline-body {
    max-width: none;
    margin-inline: 0;
    padding: 4px 0 8px 0;
  }

  .droit-frise-timeline-line {
    left: 14px;
    transform: none;
    top: 4px;
    bottom: 4px;
  }

  .droit-frise-timeline-rows {
    gap: 22px;
  }

  .droit-frise-timeline-row,
  .droit-frise-timeline-row--card-left,
  .droit-frise-timeline-row--card-right {
    grid-template-columns: 26px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 6px;
    align-items: start;
  }

  .droit-frise-timeline-row--card-right .droit-frise-timeline-label {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    align-self: start;
    text-align: left;
    max-width: none;
    padding-right: 0;
    font-size: 12px;
  }

  .droit-frise-timeline-row--card-right .droit-frise-timeline-node {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .droit-frise-timeline-row--card-right > a.droit-frise-step {
    grid-column: 2;
    grid-row: 2;
    justify-self: stretch;
    max-width: none;
    width: 100%;
  }

  .droit-frise-timeline-row--card-left .droit-frise-timeline-label {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    align-self: start;
    text-align: left;
    max-width: none;
    padding-left: 0;
    font-size: 12px;
  }

  .droit-frise-timeline-row--card-left .droit-frise-timeline-node {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .droit-frise-timeline-row--card-left > a.droit-frise-step {
    grid-column: 2;
    grid-row: 2;
    justify-self: stretch;
    max-width: none;
    width: 100%;
  }

  .droit-frise-timeline-label--empty {
    display: none;
  }

  /* Pointe toujours vers la ligne (à gauche) */
  .droit-frise--timeline .droit-frise-step--tl-right::before,
  .droit-frise--timeline .droit-frise-step--tl-left::before {
    left: -9px;
    right: auto;
    top: 22px;
    border-width: 8px 9px 8px 0;
    border-color: transparent #c5a059 transparent transparent;
  }

  .droit-frise-zone-title.droit-frise-zone-title--on-blue {
    padding: 6px 4px 14px;
    font-size: 0.95rem;
  }

  .droit-frise-timeline-head {
    margin-bottom: 14px;
    gap: 10px 14px;
  }

  .droit-frise-timeline-head-brand {
    letter-spacing: 0.1em;
    font-size: 0.82rem;
  }
}

.info-card .info-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(39, 49, 118, 0.12);
  font-size: 14px;
  color: #4b5563;
}

/* ========================
   Utility
======================== */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  margin-top: 12px;
}

.badge-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fef4ea;
  color: #273176;
  font-weight: 600;
}

.secure-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #666666;
}

.secure-note span {
  font-size: 14px;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Prépa Droit : frise en une colonne sous 992px (évite débordement rail + cartes) */
@media (max-width: 991px) {
  .droit-frise {
    padding: 14px 10px 18px;
    border-radius: 18px;
  }

  .droit-frise-zone {
    grid-template-columns: 1fr;
    padding: 20px 14px 22px;
  }

  .droit-frise--partner {
    padding: 6px 4px 12px;
  }

  .droit-frise--partner .droit-frise-zone {
    padding: 20px 14px 22px;
  }

  .droit-frise-rail {
    writing-mode: horizontal-tb;
    transform: none;
    text-align: center;
    padding: 12px 0 4px;
    letter-spacing: 0.12em;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 8px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .droit-frise-zone--aix .droit-frise-rail {
    border-top-color: rgba(197, 160, 89, 0.35);
  }

  .droit-frise-step,
  .droit-frise-step--left,
  .droit-frise-step--right {
    align-self: stretch;
    max-width: none;
  }

  .droit-frise--partner .droit-frise-step {
    max-width: none;
  }

  .droit-frise-connector {
    height: 28px;
  }

  .droit-frise-connector-svg,
  .droit-frise-connector-svg--between {
    height: 28px;
  }

  .droit-frise-connector-svg--between {
    max-width: none;
  }

  /* Timeline : tablette — un peu moins de marge sur les bords */
  .droit-frise--timeline {
    padding: 22px 14px 26px;
  }
}

@media (max-width: 520px) {
  .droit-frise--timeline .droit-frise-step--tl {
    padding: 14px 12px 14px;
  }

  .droit-frise-timeline-line {
    left: 12px;
  }

  .droit-frise-timeline-row,
  .droit-frise-timeline-row--card-left,
  .droit-frise-timeline-row--card-right {
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 10px;
  }
}

/* ========================
   Mobile – pas de ronds dans le hero + cartes bénéfices depuis la gauche
======================== */
@media (max-width: 767px) {
  .hero::before,
  .hero::after {
    display: none;
  }

  .intro-home {
    padding-top: 24px;
  }

  .intro-heading h1 {
    font-size: 30px;
  }

  .intro-heading p {
    font-size: 16px;
  }

  .intro-pane {
    min-height: 0;
    padding: 22px;
    border-radius: 20px;
  }

  .intro-pane h2 {
    font-size: 26px;
  }

  .info-page main section {
    padding: 40px 0;
  }

  .info-page main section.hero {
    padding-top: 32px;
    padding-bottom: 44px;
  }

  .info-card,
  .info-cta-banner {
    padding: 22px;
  }

  .info-hero-actions,
  .info-cta-actions,
  .footer-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .info-hero-actions .btn,
  .info-cta-actions .btn,
  .footer-cta-group .btn {
    width: 100%;
  }

  /* Bandeau bas : email + brochure, pile verticale, proportions homogènes */
  .info-cta-banner .info-cta-form {
    flex: none !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .info-cta-banner .footer-form {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .info-cta-banner .footer-form input[type="email"] {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.4;
  }

  .info-cta-banner .footer-form button.btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 15px;
    box-sizing: border-box;
  }

  .info-table {
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
    background: #ffffff;
  }

  .info-table thead {
    display: table-header-group;
  }

  .info-table tr {
    display: table-row;
  }

  .info-table th,
  .info-table td {
    display: table-cell;
    padding: 8px 6px;
    font-size: 11px;
    line-height: 1.35;
    vertical-align: top;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .info-table th {
    font-size: 10px;
    padding: 8px 6px;
  }

  .pathway-timeline {
    gap: 14px;
    padding: 14px 0 28px;
  }

  .pathway-timeline::before {
    content: "";
    position: absolute;
    top: -8px;
    bottom: clamp(128px, 34vw, 190px);
    left: 50%;
    width: 124px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(209, 216, 234, 0.98) 0%, rgba(194, 204, 228, 0.98) 100%);
    clip-path: polygon(30% 0, 70% 0, 70% 78%, 100% 78%, 50% 100%, 0 78%, 30% 78%);
    border-radius: 28px;
    z-index: 0;
  }

  .fade-in.visible .pathway-timeline::before {
    animation: none;
    opacity: 1;
  }

  .pathway-step,
  .pathway-outcome {
    min-height: 0;
    padding: 18px 16px;
    border-width: 3px;
  }

  .pathway-step:hover {
    transform: none;
  }

  .pathway-step h3 {
    font-size: 18px;
  }

  .pathway-step p {
    font-size: 15px;
  }

  .pathway-outcome {
    margin-top: 250px;
    text-align: center;
  }

  .pathway-outcome strong {
    font-size: 22px;
  }

  .benefits-section .benefit-card {
    transform: translateX(-56px);
    opacity: 0;
  }

  @media (prefers-reduced-motion: reduce) {
    .benefits-section .benefit-card {
      transform: none;
    }
  }

  .benefits-section.visible .benefit-card {
    animation: none;
    animation-delay: unset;
  }

  .benefits-section .benefit-card.card-in {
    animation: benefit-card-in-left 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  @media (prefers-reduced-motion: reduce) {
    .benefits-section .benefit-card.card-in {
      animation-duration: 0.3s;
      animation-timing-function: ease;
    }
  }

  /* Hero pages informatives (prépa Sciences Po, etc.) */
  .hero-grid {
    gap: 24px;
  }

  .hero-title {
    font-size: clamp(26px, 7.5vw, 32px);
    line-height: 1.15;
    hyphens: auto;
    word-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1.35;
  }

  .hero-list {
    font-size: 14px;
    padding-left: 16px;
  }

  .hero-visual {
    padding: 14px;
    border-radius: 18px;
  }

  .hero-visual-caption {
    font-size: 12px;
  }

  .value-highlight {
    font-size: 16px;
    line-height: 1.55;
    padding: 18px 16px;
  }

  /* Grille témoignages : une colonne, pas de largeur min figée */
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .testimonial-card,
  .testimonial-card.testimonial-card--grid {
    min-width: 0 !important;
    max-width: none;
    width: 100%;
    padding: 16px 14px;
    min-height: 0;
  }

  .testimonial-meta {
    align-items: flex-start;
    gap: 10px;
  }

  .testimonial-meta > div:last-child {
    min-width: 0;
  }

  .testimonial-name {
    font-size: 13px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .testimonial-badge {
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .testimonial-text,
  .testimonial-excerpt {
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  /* Carrousel témoignages (filières sélectives, prépa pré-bac) : pas de débordement, texte multiligne, défilement plus lent */
  #temoignages {
    overflow-x: hidden;
  }

  .testimonials-carousel .testimonial-track {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .testimonials-carousel .testimonial-row {
    animation-duration: 85s;
  }

  .testimonials-carousel .testimonial-card {
    flex: 0 0 calc(100vw - 36px);
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    min-width: 0 !important;
    min-height: 0;
    box-sizing: border-box;
  }

  .testimonials-carousel .testimonial-text {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  .testimonials-carousel .testimonial-meta > div:last-child {
    min-width: 0;
  }

  .testimonial-details {
    font-size: 13px;
  }

  .testimonial-details summary {
    padding: 4px 0;
    line-height: 1.35;
  }

  .testimonial-fulltext {
    max-height: min(55vh, 420px);
    font-size: 13px;
    line-height: 1.55;
    -webkit-overflow-scrolling: touch;
  }

  .section-heading-center {
    max-width: none;
    padding-inline: 0;
  }

  .section-heading-center h2 {
    font-size: clamp(1.25rem, 5.5vw, 1.6rem);
    line-height: 1.2;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .section-heading-center p {
    font-size: 15px;
    line-height: 1.5;
  }

  /* Tableaux : défilement horizontal si besoin */
  .info-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 4px;
    max-width: 100%;
  }

  .info-rich-text a,
  .info-card a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .info-lead {
    font-size: 16px;
  }

  .info-card.info-highlight {
    padding: 20px 18px;
    font-size: 16px;
    line-height: 1.55;
  }

  .info-card.info-highlight .info-lead {
    font-size: 17px;
  }

  .info-section-title h2 {
    font-size: clamp(1.2rem, 5.2vw, 1.5rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  /* Parcours (timeline) : moins d’espace vide sous les cartes sur très petits écrans */
  .pathway-outcome {
    margin-top: min(200px, 48vw);
  }
}

/* ========================
   Desktop
======================== */
@media (min-width: 768px) {
  .site-header-inner {
    padding-inline: 24px;
  }

  .intro-home {
    min-height: calc(100vh - 118px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: 100%;
  }

  .intro-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-pane {
    min-height: 560px;
    padding: 36px;
  }

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

  .pathway-timeline {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(180px, 0.85fr);
    gap: 18px;
    padding: 32px 26px;
  }

  .pathway-timeline--pass {
    grid-template-columns:
      minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(148px, 0.72fr);
  }

  .pathway-timeline::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(218, 223, 238, 0.95) 0%, rgba(210, 216, 233, 0.95) 100%);
    clip-path: polygon(0 18%, 78% 18%, 78% 0, 100% 50%, 78% 100%, 78% 82%, 0 82%);
    border-radius: 20px;
    z-index: 0;
    transform-origin: left center;
  }

  .pathway-timeline--pass::before {
    clip-path: polygon(0 18%, 86% 18%, 86% 0, 100% 50%, 86% 100%, 86% 82%, 0 82%);
  }

  .fade-in.visible .pathway-timeline::before {
    animation: pathway-arrow-glow 0.8s ease forwards;
  }

  .pathway-step {
    min-height: 228px;
  }

  .pathway-outcome {
    min-height: 120px;
    margin-left: 8px;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    min-width: 0;
  }

  .nav ul {
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: clamp(12px, 1.4vw, 22px);
    justify-content: flex-end;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  }

  .hero-title {
    font-size: 40px;
  }

  .value-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 2fr);
    align-items: flex-start;
  }

  .footer-grid > div:first-child {
    grid-column: 1;
  }

  .footer-grid #brochure {
    grid-column: 2;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 40px;
  }

  .intro-heading {
    margin-bottom: 32px;
  }

  .intro-heading h1 {
    font-size: 44px;
  }
}

