/* ═══════════════════════════════════════════════════════════
   TARA Institut — Pages internes
═══════════════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.25rem, 4vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 88% 18%, rgba(212, 35, 35, 0.16), transparent 32%),
    linear-gradient(155deg, var(--color-navy-dark), #0A1028 64%, #090D1C);
  color: #fff;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
  pointer-events: none;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.page-hero__content {
  max-width: 720px;
}

.page-hero .section__label {
  color: var(--color-red-light);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: var(--weight-black);
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: #fff;
}

.page-hero__title em {
  color: var(--color-red-light);
  font-style: normal;
  position: relative;
  display: inline-block;
}

.page-hero__title em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.04em;
  width: 100%;
  height: 0.08em;
  background: currentColor;
  opacity: 0.22;
  border-radius: var(--radius-full);
}

.page-hero__text {
  margin-top: var(--space-5);
  max-width: 62ch;
  color: rgba(241, 245, 249, 0.76);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.75;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-7);
}

.page-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-10);
}

.page-hero__stat {
  min-width: 130px;
  padding: var(--space-4) var(--space-5);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}

.page-hero__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
}

.page-hero__stat span {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: rgba(241,245,249,0.68);
}

.page-hero__media {
  position: relative;
  min-height: 420px;
}

.page-hero__image {
  width: 100%;
  height: min(58vh, 520px);
  min-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: 0 30px 80px rgba(0,0,0,0.38);
}

.page-hero__card {
  position: absolute;
  left: -24px;
  bottom: 24px;
  max-width: 290px;
  padding: var(--space-5);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  color: var(--text-primary);
}

[data-theme="dark"] .page-hero__card {
  background: rgba(15, 24, 41, 0.92);
  border-color: rgba(255,255,255,0.08);
}

.page-hero__card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.15;
}

.page-hero__card span {
  display: block;
  margin-top: var(--space-2);
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.55;
}

.page-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.page-section--soft {
  background: var(--bg-surface-2);
}

.page-section--dark {
  background: var(--color-navy-dark);
  color: #fff;
}

.page-section--dark .section-head__title,
.page-section--dark .card h3,
.page-section--dark .card p {
  color: #fff;
}

.content-stack {
  display: grid;
  gap: var(--space-5);
}

.content-stack p {
  color: var(--text-secondary);
  line-height: 1.75;
}

.page-callout {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--color-navy-pale);
  border: 1px solid rgba(26, 37, 121, 0.12);
  border-radius: var(--radius-xl);
}

[data-theme="dark"] .page-callout {
  background: rgba(26, 37, 121, 0.2);
  border-color: rgba(35, 51, 160, 0.3);
}

.page-callout strong {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.18rem;
}

.page-callout span {
  display: block;
  margin-top: var(--space-2);
  color: var(--text-secondary);
  line-height: 1.65;
}

.page-grid {
  display: grid;
  gap: var(--space-6);
}

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

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

.offer-card {
  position: relative;
  min-height: 100%;
  padding: var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-smooth),
              box-shadow var(--duration-base) var(--ease-smooth),
              border-color var(--duration-base);
}

.offer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 35, 35, 0.24);
  box-shadow: var(--shadow-lg);
}

.offer-card::after {
  content: '';
  position: absolute;
  right: -44px;
  top: -44px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: var(--color-red-pale);
  opacity: 0.8;
  pointer-events: none;
}

.offer-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.offer-card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.offer-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: var(--color-red-pale);
  color: var(--color-red);
  font-size: 0.72rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offer-card h3 {
  position: relative;
  z-index: 1;
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: var(--space-2);
}

.offer-card__subtitle {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.check-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

.check-list li svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--color-red);
  flex-shrink: 0;
}

.offer-card__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  color: var(--color-navy);
  font-weight: var(--weight-bold);
  font-size: 0.9rem;
}

[data-theme="dark"] .offer-card__link {
  color: #93A4F4;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  counter-reset: process;
}

.process-card {
  position: relative;
  padding: var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.process-card__label {
  color: var(--color-red);
  font-size: 0.72rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-card__icon {
  width: 48px;
  height: 48px;
  margin-block: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--color-navy-pale);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card h3 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}

.process-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.level-pathway {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-6);
  align-items: stretch;
  margin-bottom: var(--space-8);
}

.level-pathway__pitch {
  padding: var(--space-7);
  background:
    linear-gradient(145deg, rgba(26, 37, 121, 0.08), transparent 54%),
    var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.level-pathway__pitch h3 {
  color: var(--text-primary);
  font-size: 1.42rem;
  margin-bottom: var(--space-3);
}

.level-pathway__pitch p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}

.level-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}

.level-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--space-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.level-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--color-navy), var(--color-red));
  opacity: 0.7;
}

.level-card--featured {
  border-color: rgba(212, 35, 35, 0.28);
  box-shadow: 0 20px 50px rgba(212, 35, 35, 0.13);
}

.level-card--featured::after {
  content: 'Recommandé';
  position: absolute;
  right: -36px;
  top: 18px;
  transform: rotate(38deg);
  width: 138px;
  padding: 4px 0;
  background: var(--color-red);
  color: #fff;
  font-size: 0.66rem;
  font-weight: var(--weight-bold);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.level-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.level-card__level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: var(--weight-black);
}

.level-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: var(--color-red-pale);
  color: var(--color-red);
  font-size: 0.68rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.level-card h3 {
  color: var(--text-primary);
  font-size: 1.07rem;
  line-height: 1.25;
  margin-bottom: var(--space-3);
}

.level-card__target,
.level-card__outcome {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.58;
}

.level-card__outcome {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-light);
}

.level-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-5);
}

.level-card__price-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.level-card__price {
  display: block;
  color: var(--color-red);
  font-family: var(--font-heading);
  font-size: 1.18rem;
  line-height: 1.1;
}

.level-card__cta {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-navy);
  color: #fff;
  transition: transform var(--duration-base) var(--ease-smooth),
              background var(--duration-base);
}

.level-card__cta:hover {
  transform: translateX(3px);
  background: var(--color-red);
}

.info-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-7);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-smooth),
              box-shadow 0.4s var(--ease-smooth),
              border-color 0.3s;
}

.info-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,35,35,0.2);
}

.info-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  background: var(--color-red-pale);
  color: var(--color-red);
  transition: transform 0.4s var(--ease-bounce), background 0.3s, color 0.3s;
}

.info-card:hover .info-card__icon {
  transform: scale(1.08) rotate(-6deg);
  background: var(--color-red);
  color: #fff;
}

.info-card:hover .info-card__icon--navy {
  background: var(--color-navy);
  color: #fff;
}

.info-card__icon--navy {
  background: var(--color-navy-pale);
  color: var(--color-navy);
}

[data-theme="dark"] .info-card__icon--navy { color: #7C92EC; }

.info-card__icon svg {
  width: 23px;
  height: 23px;
}

.info-card h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.info-card p,
.info-card li {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

.info-card ul {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.info-card__eyebrow {
  display: inline-flex;
  margin-bottom: var(--space-3);
  color: var(--color-red);
  font-size: 0.72rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-split {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.media-split--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
}

.media-split__image {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.mini-list {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.mini-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.mini-list__icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--color-navy-pale);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-list__icon svg {
  width: 17px;
  height: 17px;
}

.mini-list__item strong {
  display: block;
  color: var(--text-primary);
  font-weight: var(--weight-bold);
}

.mini-list__item span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 2px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: var(--weight-semibold);
}

.image-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  gap: var(--space-4);
}

.image-strip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.image-strip img:nth-child(2) {
  height: 320px;
}

.contact-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-grid--wide {
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1.05fr);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.form-grid .form-group--full {
  grid-column: 1 / -1;
}

.contact-alert {
  margin-bottom: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--color-red-pale);
  border: 1px solid rgba(212, 35, 35, 0.16);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  line-height: 1.6;
}

.contact-alert a {
  color: var(--color-red);
  font-weight: var(--weight-bold);
}

.contact-alert--success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.22);
}

.contact-alert--error {
  display: grid;
  gap: 0.35rem;
}

.form-hint {
  display: block;
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.online-bank-card,
.registration-status-box {
  padding: var(--space-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.online-bank-card h3,
.registration-status-box h3 {
  margin: 0 0 var(--space-3);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.online-bank-card dl {
  display: grid;
  gap: 0.75rem;
  margin: var(--space-4) 0;
}

.online-bank-card dl div {
  display: grid;
  gap: 0.2rem;
}

.online-bank-card dt {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
}

.online-bank-card dd,
.online-bank-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.registration-status-box {
  margin-top: var(--space-5);
}

.form-grid--status {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.contact-list,
.centre-list {
  display: grid;
  gap: var(--space-4);
}

.contact-list__item,
.centre-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.contact-list__icon,
.centre-list__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-red-pale);
  color: var(--color-red);
}

.contact-list__item strong,
.centre-list__item strong {
  display: block;
  color: var(--text-primary);
}

.contact-list__item > span:not(.contact-list__icon),
.centre-list__item > span:not(.centre-list__icon) {
  display: block;
  min-width: 0;
}

.contact-list__item > span:not(.contact-list__icon) > span,
.centre-list__item > span:not(.centre-list__icon) > span,
.centre-list__item a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 3px;
}

.centre-list__item a:hover {
  color: var(--color-red);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--border-light);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row strong {
  color: var(--text-primary);
}

.price-row span {
  font-family: var(--font-heading);
  font-weight: var(--weight-extrabold);
  color: var(--color-red);
}

@media (max-width: 980px) {
  .page-hero__grid,
  .media-split,
  .media-split--reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-hero__media {
    min-height: 0;
  }

  .page-hero__card {
    left: var(--space-4);
    right: var(--space-4);
    max-width: none;
  }

  .page-grid--3,
  .page-grid--4,
  .offer-grid,
  .process-grid,
  .level-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .level-pathway {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero__image,
  .media-split__image {
    min-height: 300px;
  }

  .page-grid--2,
  .page-grid--3,
  .page-grid--4,
  .offer-grid,
  .process-grid,
  .level-cards,
  .form-grid,
  .image-strip {
    grid-template-columns: 1fr;
  }

  .image-strip img,
  .image-strip img:nth-child(2) {
    height: 240px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PAGE HEROES UNIQUES — identité visuelle par page
   ═══════════════════════════════════════════════════════════ */

/* ─── BASE COMMUNE — fond navy-noir charte TARA ─── */
.page-hero--cours,
.page-hero--examens,
.page-hero--allemagne,
.page-hero--apropos,
.page-hero--contact {
  background:
    linear-gradient(158deg, #0B1230 0%, #0D1B3E 50%, #070B1C 100%);
}

/* ─── COURS — accent bleu dominant ─── */
.page-hero--cours {
  background:
    radial-gradient(ellipse 58% 50% at 82% 8%, rgba(35,51,160,0.42) 0%, transparent 55%),
    radial-gradient(ellipse 42% 40% at 8% 88%, rgba(212,35,35,0.16) 0%, transparent 52%),
    linear-gradient(158deg, #0B1230 0%, #0D1B3E 50%, #070B1C 100%);
}

.page-hero--cours::before {
  background-image: radial-gradient(circle, rgba(120,140,255,0.07) 1px, transparent 1px);
}

.page-hero--cours .section__label  { color: #7E92F0; }
.page-hero--cours .page-hero__title em { color: #92A4F4; }
.page-hero--cours .page-hero__stat { background: rgba(35,51,160,0.20); border-color: rgba(120,140,255,0.22); }
.page-hero--cours .page-hero__stat strong { color: #B8C3F8; }
.page-hero--cours .page-hero__card { background: rgba(255,255,255,0.95); }

/* Floating badges cours */
.ph-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.26);
  pointer-events: none;
}

.ph-float--tl { top: 8%;  left: -6%;  animation: float-hero 5.5s ease-in-out infinite; }
.ph-float--br { bottom: 10%; right: -4%; animation: float-hero 5.5s ease-in-out infinite; animation-delay: -2.8s; }
.ph-float--tr { top: 12%; right: -5%; animation: float-hero 6s ease-in-out infinite; animation-delay: -1.5s; }

.ph-float__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.ph-float__icon--amber,
.ph-float__icon--gold,
.ph-float__icon--red    { background: var(--color-red); }
.ph-float__icon--emerald,
.ph-float__icon--violet,
.ph-float__icon--navy   { background: var(--color-navy-light); }
.ph-float__icon svg { width: 17px; height: 17px; }

.ph-float__text { display: flex; flex-direction: column; line-height: 1.2; }
.ph-float__value { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; color: #fff; }
.ph-float__label { font-size: 0.7rem; color: rgba(255,255,255,0.65); }

@media (max-width: 560px) {
  .ph-float { display: none; }
}

/* ─── EXAMENS — accent rouge dominant ─── */
.page-hero--examens {
  background:
    radial-gradient(ellipse 55% 50% at 78% 10%, rgba(212,35,35,0.34) 0%, transparent 54%),
    radial-gradient(ellipse 40% 38% at 10% 84%, rgba(35,51,160,0.30) 0%, transparent 52%),
    linear-gradient(158deg, #1A0A14 0%, #110C2E 50%, #0A0712 100%);
}

.page-hero--examens::before {
  background-image: radial-gradient(circle, rgba(255,120,120,0.07) 1px, transparent 1px);
}

.page-hero--examens .section__label  { color: #FF7A7A; }
.page-hero--examens .page-hero__title em { color: #FF6B6B; }
.page-hero--examens .page-hero__stat { background: rgba(212,35,35,0.16); border-color: rgba(255,120,120,0.24); }
.page-hero--examens .page-hero__stat strong { color: #FFA0A0; }

/* Anneaux déco examens */
.examens-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.examens-deco__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,120,120,0.10);
}
.examens-deco__ring:nth-child(1) { width: 480px; height: 480px; top: -140px; right: -100px; animation: ring-spin 60s linear infinite; }
.examens-deco__ring:nth-child(2) { width: 320px; height: 320px; top: -40px; right: 40px; border-style: dashed; animation: ring-spin 40s linear infinite reverse; }
.examens-deco__ring:nth-child(3) { width: 180px; height: 180px; top: 50px; right: 120px; animation: ring-spin 25s linear infinite; border-color: rgba(255,120,120,0.16); }

@keyframes ring-spin { to { transform: rotate(360deg); } }

/* ─── ALLEMAGNE — accent bleu dominant ─── */
.page-hero--allemagne {
  background:
    radial-gradient(ellipse 60% 52% at 72% 12%, rgba(35,51,160,0.46) 0%, transparent 54%),
    radial-gradient(ellipse 40% 38% at 8% 80%, rgba(212,35,35,0.16) 0%, transparent 52%),
    linear-gradient(158deg, #0B1230 0%, #0D1B3E 50%, #070B1C 100%);
}

.page-hero--allemagne::before {
  background-image: radial-gradient(circle, rgba(120,140,255,0.07) 1px, transparent 1px);
}

.page-hero--allemagne .section__label  { color: #7E92F0; }
.page-hero--allemagne .page-hero__title em { color: #92A4F4; }
.page-hero--allemagne .page-hero__stat { background: rgba(35,51,160,0.20); border-color: rgba(120,140,255,0.22); }
.page-hero--allemagne .page-hero__stat strong { color: #B8C3F8; }

/* ─── À PROPOS — accent rouge dominant ─── */
.page-hero--apropos {
  background:
    radial-gradient(ellipse 56% 50% at 82% 8%, rgba(212,35,35,0.32) 0%, transparent 54%),
    radial-gradient(ellipse 44% 40% at 8% 84%, rgba(35,51,160,0.32) 0%, transparent 52%),
    linear-gradient(158deg, #1A0A14 0%, #110C2E 50%, #0A0712 100%);
}

.page-hero--apropos::before {
  background-image: radial-gradient(circle, rgba(255,120,120,0.07) 1px, transparent 1px);
}

.page-hero--apropos .section__label  { color: #FF7A7A; }
.page-hero--apropos .page-hero__title em { color: #FF6B6B; }
.page-hero--apropos .page-hero__stat { background: rgba(212,35,35,0.16); border-color: rgba(255,120,120,0.24); }
.page-hero--apropos .page-hero__stat strong { color: #FFA0A0; }

/* ─── CONTACT — accent rouge dominant + panneau latéral ─── */
.page-hero--contact {
  background:
    radial-gradient(ellipse 52% 60% at 88% 45%, rgba(212,35,35,0.38) 0%, transparent 56%),
    radial-gradient(ellipse 40% 42% at 6% 20%, rgba(35,51,160,0.32) 0%, transparent 52%),
    linear-gradient(158deg, #150812 0%, #0D1230 50%, #08060F 100%);
  overflow: hidden;
}

.page-hero--contact::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(180deg, rgba(212,35,35,0.12) 0%, rgba(212,35,35,0.03) 100%);
  border-left: 1px solid rgba(212,35,35,0.12);
  pointer-events: none;
}

.page-hero--contact::before {
  background-image: radial-gradient(circle, rgba(255,120,120,0.08) 1px, transparent 1px);
}

.page-hero--contact .section__label  { color: #FF7A7A; }
.page-hero--contact .page-hero__title em { color: #FF6B6B; }

/* ─── HERO COMMUN — améliorations visuelles ─── */
.page-hero {
  overflow: visible; /* autorise les orbs à déborder légèrement */
  overflow: hidden;
}

.page-hero .orb {
  z-index: 0;
}

.page-hero .container.page-hero__grid {
  position: relative;
  z-index: 1;
}

/* ─── SECTION TICKERS ─── */
.skill-ticker {
  padding-block: 15px;
  background: linear-gradient(90deg, var(--color-navy-dark) 0%, #0D1535 100%);
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

[data-theme="dark"] .skill-ticker { background: #06090F; }

/* Voiles de flou progressif aux extrémités */
.skill-ticker::before,
.skill-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 130px;
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.skill-ticker::before {
  left: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 100%);
}

.skill-ticker::after {
  right: 0;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0%, transparent 100%);
}

.skill-ticker__track {
  display: flex;
  gap: 44px;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
}

.skill-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(241,245,249,0.55);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.skill-ticker__item strong {
  color: #fff;
  font-weight: var(--weight-extrabold);
}

.skill-ticker__item span.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-red);
  display: inline-block;
}

/* ─── STAT CARDS AU FORMAT VERRE (pour les pages) ─── */
.glass-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.glass-stat {
  flex: 1 1 130px;
  padding: var(--space-4) var(--space-5);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.glass-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.glass-stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  color: rgba(241,245,249,0.58);
}

/* ─── SECTION INTRO PILL ─── */
.section-intro-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid currentColor;
  opacity: 0.85;
  margin-bottom: var(--space-4);
}

.section-intro-pill--amber,
.section-intro-pill--gold,
.section-intro-pill--red    { color: var(--color-red); border-color: rgba(212,35,35,0.3); background: rgba(212,35,35,0.08); }
.section-intro-pill--emerald,
.section-intro-pill--violet,
.section-intro-pill--navy   { color: var(--color-navy); border-color: rgba(26,37,121,0.3); background: rgba(26,37,121,0.08); }

[data-theme="dark"] .section-intro-pill--emerald,
[data-theme="dark"] .section-intro-pill--violet,
[data-theme="dark"] .section-intro-pill--navy { color: #8197F0; }

/* ─── HORIZONTAL SCROLL OVERFLOW pour ticker de compétences ─── */
.overflow-ticker {
  width: 100vw;
  margin-inline: calc(var(--container-padding) * -1);
}

/* ─── HERO MEDIA ENHANCEMENTS ─── */
.page-hero__image--glow-amber,
.page-hero__image--glow-gold {
  box-shadow: 0 30px 80px rgba(212,35,35,0.26), 0 0 0 1px rgba(212,35,35,0.14);
}
.page-hero__image--glow-emerald,
.page-hero__image--glow-violet {
  box-shadow: 0 30px 80px rgba(26,37,121,0.30), 0 0 0 1px rgba(26,37,121,0.16);
}

/* ─── CARD ACCENT TOP BAR ─── */
.card--amber-top,
.card--gold-top   { border-top: 3px solid var(--color-red) !important; }
.card--emerald-top,
.card--violet-top { border-top: 3px solid var(--color-navy) !important; }

/* ═══════════════════════════════════════════════════════════
   ASCENT — Parcours en escalier ascendant
   ═══════════════════════════════════════════════════════════ */
.ascent {
  --ascent-rise: clamp(1.3rem, 2.8vw, 2.9rem);
  display: flex;
  align-items: flex-end;
  gap: clamp(0.75rem, 1.7vw, 1.6rem);
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding-top: var(--space-6);
}

.ascent__step {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  margin-bottom: calc(var(--i) * var(--ascent-rise));
}

/* Jambe verticale reliant la carte à la ligne de base */
.ascent__step::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 100%;
  width: 2px;
  height: calc(var(--i) * var(--ascent-rise));
  background: linear-gradient(to bottom, rgba(26,37,121,0.40), transparent);
  pointer-events: none;
}

[data-theme="dark"] .ascent__step::before {
  background: linear-gradient(to bottom, rgba(120,140,255,0.35), transparent);
}

/* Connecteur chevron entre les étapes */
.ascent__link {
  position: absolute;
  left: calc(-1 * (clamp(0.75rem, 1.7vw, 1.6rem) / 2) - 14px);
  top: 42px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-red);
  color: #fff;
  border-radius: 50%;
  transform: rotate(-45deg);
  box-shadow: 0 6px 16px rgba(212,35,35,0.4);
  z-index: 3;
}

.ascent__link svg { width: 14px; height: 14px; stroke-width: 2.6; }

.ascent__card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-smooth),
              box-shadow 0.4s var(--ease-smooth),
              border-color 0.3s;
}

.ascent__step:hover .ascent__card {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,35,35,0.25);
}

.ascent__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.ascent__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-navy-pale);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-bounce), background 0.3s, color 0.3s;
}

[data-theme="dark"] .ascent__icon { color: #8197F0; }

.ascent__step:hover .ascent__icon {
  transform: scale(1.08) rotate(-6deg);
  background: var(--color-navy);
  color: #fff;
}

.ascent__num {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: var(--weight-black);
  color: var(--bg-surface-3);
  line-height: 1;
}

.ascent__title {
  font-size: 1.05rem;
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: var(--space-2);
}

.ascent__desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Étape finale — destination mise en avant */
.ascent__step--goal .ascent__card {
  background: linear-gradient(158deg, var(--color-navy-light) 0%, var(--color-navy) 55%, var(--color-navy-dark) 100%);
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(26,37,121,0.35);
}

.ascent__step--goal .ascent__title { color: #fff; }
.ascent__step--goal .ascent__desc  { color: rgba(241,245,249,0.72); }
.ascent__step--goal .ascent__icon  { background: var(--color-red); color: #fff; }
.ascent__step--goal .ascent__num   { color: rgba(255,255,255,0.18); }

.ascent__step--goal:hover .ascent__icon {
  background: #fff;
  color: var(--color-red);
}

/* Responsive — empilement vertical */
@media (max-width: 880px) {
  .ascent {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
    padding-top: 0;
  }
  .ascent__step { margin-bottom: 0; }
  .ascent__step::before { display: none; }
  .ascent__link {
    left: 32px;
    top: auto;
    bottom: calc(-1 * var(--space-4) - 14px);
    transform: rotate(45deg);
  }
}

/* ═══════════════════════════════════════════════════════════
   ESPACES — Galerie animée (effet Ken Burns + survol)
   ═══════════════════════════════════════════════════════════ */
.espaces-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 215px;
  gap: var(--space-4);
}

.espaces-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  margin: 0;
  cursor: pointer;
}

.espaces-item--feature {
  grid-column: span 2;
  grid-row: span 2;
}

.espaces-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: kenburns 24s ease-in-out infinite alternate;
  transition: transform 0.8s var(--ease-smooth);
}

.espaces-item:nth-child(2n) img { animation-duration: 28s; animation-direction: alternate-reverse; }
.espaces-item:nth-child(3n) img { animation-duration: 32s; }

@keyframes kenburns {
  from { transform: scale(1.02) translate(0, 0); }
  to   { transform: scale(1.14) translate(-2.5%, -2%); }
}

.espaces-item:hover img {
  transform: scale(1.16);
  animation-play-state: paused;
}

/* Voile dégradé */
.espaces-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,11,30,0) 38%, rgba(7,11,30,0.55) 68%, rgba(7,11,30,0.92) 100%);
  transition: opacity var(--duration-base);
  pointer-events: none;
}

.espaces-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(8px);
  transition: transform var(--duration-base) var(--ease-smooth);
}

.espaces-item:hover figcaption { transform: translateY(0); }

.espaces-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 5px 11px;
  background: var(--color-red);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.espaces-tag svg { width: 12px; height: 12px; }

.espaces-item figcaption strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: var(--weight-bold);
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.espaces-item--feature figcaption strong { font-size: 1.4rem; }

@media (max-width: 880px) {
  .espaces-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .espaces-item--feature { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 540px) {
  .espaces-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .espaces-item--feature { grid-column: span 1; }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT — Illustration support
   ═══════════════════════════════════════════════════════════ */
.page-hero__media--illu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  min-height: 0;
}

.contact-illu {
  position: relative;
  width: 100%;
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.14), transparent 60%),
    linear-gradient(160deg, rgba(35,51,160,0.34) 0%, rgba(212,35,35,0.18) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.contact-illu__glow {
  position: absolute;
  width: 75%;
  height: 75%;
  top: -18%;
  right: -18%;
  background: radial-gradient(circle, rgba(212,35,35,0.30) 0%, transparent 70%);
  pointer-events: none;
}

.contact-illu__img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  margin-inline: auto;
  animation: float-hero 6s ease-in-out infinite;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,0.32));
}

.contact-illu__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  color: rgba(241,245,249,0.82);
  backdrop-filter: blur(8px);
}

.contact-illu__chip strong { color: #fff; font-weight: var(--weight-bold); }

.contact-illu__chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 4px rgba(37,211,102,0.22);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   PARCOURS ALLEMAND — cartes niveau « liquid glass »
   ═══════════════════════════════════════════════════════════ */
.parcours-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0B1230 0%, #0D1B3E 52%, #080C1C 100%);
  color: #fff;
}

.parcours-section > .container { position: relative; z-index: 1; }
.parcours-section .section-head__title { color: #fff; }
.parcours-section .section-head__title em { color: #FF6B6B; }
.parcours-section .section-head__text  { color: rgba(241,245,249,0.66); }
.parcours-section .section__label      { color: #FF7A7A; }

.level-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.glass-level {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: var(--space-5);
  overflow: hidden;
  transition: transform 0.45s var(--ease-smooth),
              border-color 0.35s,
              box-shadow 0.45s var(--ease-smooth);
}

.glass-level__glow {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  top: -76px;
  right: -52px;
  background: radial-gradient(circle, rgba(35,51,160,0.65) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.4s;
}

.glass-level:hover {
  transform: translateY(-12px);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 32px 64px rgba(0,0,0,0.45);
}

.glass-level__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.glass-level__level {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: var(--weight-black);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.glass-level__tag {
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 0.6rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
}

.glass-level__title {
  position: relative;
  z-index: 1;
  font-size: 1.06rem;
  font-weight: var(--weight-bold);
  color: #fff;
  line-height: 1.3;
  margin-bottom: var(--space-2);
}

.glass-level__desc {
  position: relative;
  z-index: 1;
  font-size: 0.84rem;
  color: rgba(241,245,249,0.62);
  line-height: 1.55;
  margin-bottom: var(--space-5);
}

/* Widget prix — partie dégradée */
.glass-level__price {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(35,51,160,0.6) 0%, rgba(13,27,62,0.65) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.35s var(--ease-smooth);
}

.glass-level__price-label {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2px;
}

.glass-level__price-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: var(--weight-extrabold);
  color: #fff;
}

.glass-level__price-value small { font-size: 0.58rem; opacity: 0.65; font-weight: var(--weight-semibold); }

.glass-level__price-cta {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: background 0.3s, transform 0.3s;
}

.glass-level:hover .glass-level__price-cta {
  background: var(--color-red);
  transform: translateX(3px);
}

/* Niveaux phares — B1, B2 */
.glass-level--featured {
  background: linear-gradient(165deg, rgba(212,35,35,0.20) 0%, rgba(35,51,160,0.14) 100%);
  border-color: rgba(255,120,120,0.32);
}

.glass-level--featured .glass-level__glow {
  background: radial-gradient(circle, rgba(212,35,35,0.6) 0%, transparent 70%);
}

.glass-level--featured .glass-level__tag {
  background: var(--color-red);
  border-color: transparent;
  color: #fff;
}

.glass-level--featured .glass-level__price {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  border-color: rgba(255,255,255,0.22);
}

.glass-level--featured:hover .glass-level__price-cta {
  background: #fff;
  color: var(--color-red);
}

/* Niveaux mis en avant (B1 & B2) : effet de flottaison continu */
.glass-level--featured {
  animation: glass-level-float 5s ease-in-out infinite;
  will-change: transform;
}

/* 2e carte mise en avant : leger dephasage pour un rendu plus naturel */
.glass-level--featured ~ .glass-level--featured {
  animation-delay: -2.5s;
}

.glass-level--featured:hover {
  /* le survol reprend la main */
  animation: none;
}

@keyframes glass-level-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  .glass-level--featured { animation: none; }
}

@media (max-width: 1080px) {
  .level-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .level-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .level-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   AUTRES FORMATS — cartes
   ═══════════════════════════════════════════════════════════ */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.format-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-smooth),
              box-shadow 0.4s var(--ease-smooth),
              border-color 0.3s;
}

.format-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212,35,35,0.2);
}

.format-card__bar {
  height: 5px;
  background: linear-gradient(90deg, var(--color-navy), var(--color-red));
}

.format-card__body {
  flex: 1;
  padding: var(--space-6);
}

.format-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.format-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--color-navy-pale);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-bounce), background 0.3s, color 0.3s;
}

[data-theme="dark"] .format-card__icon { color: #8197F0; }

.format-card:hover .format-card__icon {
  transform: scale(1.08) rotate(-6deg);
  background: var(--color-navy);
  color: #fff;
}

.format-card__tag {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--color-red-pale);
  color: var(--color-red);
  font-size: 0.68rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.format-card__title {
  font-size: 1.22rem;
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.format-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.format-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-4);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: var(--weight-medium);
}

.format-card__meta svg { color: var(--color-red); flex-shrink: 0; }

.format-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: #fff;
  transition: background 0.35s var(--ease-smooth);
}

.format-card:hover .format-card__price {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
}

.format-card__price-label {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px;
}

.format-card__price-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: var(--weight-extrabold);
  color: #fff;
}

.format-card__price-cta {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.format-card:hover .format-card__price-cta { transform: translateX(3px); }

/* Bandeau test de niveau */
.test-banner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(circle at 8% 30%, rgba(26,37,121,0.10), transparent 45%),
    var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.test-banner__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(212,35,35,0.32);
}

.test-banner__text { flex: 1; min-width: 0; }

.test-banner__text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}

.test-banner__text span {
  display: block;
  margin-top: 3px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.test-banner .btn { flex-shrink: 0; }

@media (max-width: 860px) {
  .formats-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .test-banner { flex-direction: column; text-align: center; }
  .test-banner__text strong, .test-banner__text span { text-align: center; }
}

/* ═══════════════════════════════════════════════════════════
   VALEURS — liste éditoriale sans cadres
   ═══════════════════════════════════════════════════════════ */
.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.value-row {
  position: relative;
  display: flex;
  gap: var(--space-8);
  padding: clamp(2.75rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 3rem);
  border-top: 1px solid var(--border-light);
  transition: background 0.35s var(--ease-smooth);
}

.value-row:nth-child(odd) {
  border-right: 1px solid var(--border-light);
  padding-left: clamp(1rem, 2vw, 2rem);
}

.value-row:nth-child(even) {
  padding-left: clamp(2rem, 4vw, 4rem);
}

/* dernière rangée : pas de bord superflu, fermeture nette */
.value-row:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-light); }

.value-row::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-navy));
  transition: width 0.5s var(--ease-smooth);
}

.value-row:hover::before { width: 100%; }
.value-row:hover { background: var(--bg-overlay); }

.value-row__num {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  font-weight: var(--weight-black);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border-mid);
  flex-shrink: 0;
  align-self: flex-start;
  transition: -webkit-text-stroke-color 0.35s, color 0.35s;
}

.value-row:hover .value-row__num {
  color: var(--color-red);
  -webkit-text-stroke-color: var(--color-red);
}

.value-row__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.value-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--color-navy-pale);
  color: var(--color-navy);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-bounce);
}

[data-theme="dark"] .value-row__icon { color: #8197F0; }
.value-row:hover .value-row__icon { transform: rotate(-8deg) scale(1.08); }

.value-row__head h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}

.value-row__body p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-top: var(--space-2);
}

@media (max-width: 680px) {
  .values-list { grid-template-columns: 1fr; }
  .value-row,
  .value-row:nth-child(odd),
  .value-row:nth-child(even) {
    border-right: none;
    padding-inline: 0;
  }
  .value-row:nth-last-child(-n+2):not(:last-child) { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════
   EXAMENS — process en 4 étapes connectées
   ═══════════════════════════════════════════════════════════ */
.examens-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}

.examens-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: var(--space-7) var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-smooth),
              box-shadow 0.4s var(--ease-smooth),
              border-color 0.3s;
}

.examens-step:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,35,35,0.22);
}

.examens-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.examens-step__num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: var(--weight-black);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--color-red);
  transition: color 0.35s, -webkit-text-stroke-color 0.35s;
}

.examens-step:hover .examens-step__num {
  color: var(--color-red);
}

.examens-step__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-lg);
  background: var(--color-navy-pale);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-bounce), background 0.3s, color 0.3s;
}

[data-theme="dark"] .examens-step__icon { color: #8197F0; }

.examens-step:hover .examens-step__icon {
  background: var(--color-navy);
  color: #fff;
  transform: scale(1.08) rotate(-6deg);
}

.examens-step__title {
  font-size: 1.08rem;
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.examens-step__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-wrap: break-word;
  min-width: 0;
}

@media (max-width: 940px) {
  .examens-process { grid-template-columns: repeat(2, 1fr); }
  .examens-step:not(:last-child)::after { display: none; }
}
@media (max-width: 520px) {
  .examens-process { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   TELC B1 / B2 — cartes glass
   ═══════════════════════════════════════════════════════════ */
.telc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 880px;
  margin-inline: auto;
}

.telc-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius-2xl);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  padding: 2rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s, border-color 0.3s;
}

.telc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.26);
  box-shadow: 0 28px 56px rgba(0,0,0,0.4);
}

.telc-card--featured {
  border-top: 3px solid var(--color-red);
  background: rgba(212,35,35,0.09);
  border-color: rgba(212,35,35,0.30);
}

.telc-card--featured:hover {
  border-color: rgba(212,35,35,0.55);
  border-top-color: var(--color-red);
}

.telc-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.telc-card__level {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: var(--weight-black);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.telc-card__tag {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.65rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
}

.telc-card--featured .telc-card__tag {
  background: var(--color-red);
  border-color: transparent;
  color: #fff;
}

.telc-card__title {
  font-size: 1.12rem;
  font-weight: var(--weight-bold);
  color: #fff;
  margin-bottom: var(--space-2);
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.telc-card__desc {
  font-size: 0.88rem;
  color: rgba(241,245,249,0.62);
  line-height: 1.65;
  margin-bottom: var(--space-5);
  overflow-wrap: break-word;
  min-width: 0;
}

.telc-card__points {
  display: grid;
  gap: 10px;
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
}

.telc-card__points li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.86rem;
  color: rgba(241,245,249,0.80);
  min-width: 0;
  overflow-wrap: break-word;
}

.telc-card__points svg { color: #FF8080; flex-shrink: 0; }

.telc-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 11px 20px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  font-size: 0.84rem;
  font-weight: var(--weight-semibold);
  transition: background 0.3s, border-color 0.3s;
  text-decoration: none;
}

.telc-card__cta svg { transition: transform 0.3s; }
.telc-card:hover .telc-card__cta { background: var(--color-red); border-color: var(--color-red); }
.telc-card:hover .telc-card__cta svg { transform: translateX(4px); }
.telc-card--featured .telc-card__cta { background: rgba(212,35,35,0.18); border-color: rgba(212,35,35,0.35); }

@media (max-width: 620px) {
  .telc-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   CENTRES — disposition orbitale autour du hub
   ═══════════════════════════════════════════════════════════ */
.centres-orbit {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  min-height: 720px;
}

.centres-orbit__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.centres-orbit__ring--1 {
  width: 624px; height: 624px;
  border: 1.5px dashed var(--border-mid);
  animation: ring-spin 56s linear infinite;
}
.centres-orbit__ring--2 {
  width: 452px; height: 452px;
  border: 1px solid var(--border-light);
  animation: ring-spin 42s linear infinite reverse;
}
.centres-orbit__ring--3 {
  width: 292px; height: 292px;
  border: 1.5px dashed var(--border-mid);
  animation: ring-spin 32s linear infinite;
}

.centres-orbit__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 244px;
  height: 244px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
  color: #fff;
  background: radial-gradient(circle at 34% 28%, #2C3DB0 0%, var(--color-navy) 62%, var(--color-navy-dark) 100%);
  box-shadow: 0 28px 64px rgba(26,37,121,0.45), 0 0 0 12px rgba(26,37,121,0.07);
  z-index: 2;
}

.centres-orbit__hub::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(212,35,35,0.4);
  animation: hub-halo 3s ease-out infinite;
}

@keyframes hub-halo {
  0%   { transform: scale(1);    opacity: 0.6; }
  100% { transform: scale(1.22); opacity: 0; }
}

.centres-orbit__hub-num {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: var(--weight-black);
  line-height: 1;
}

.centres-orbit__hub-label {
  font-size: 0.92rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.centres-orbit__hub-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}

.centres-orbit__hub-hours {
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  font-size: 0.68rem;
  font-weight: var(--weight-semibold);
}

.centres-orbit__hub-hours svg { color: #FF8080; }

.orbit-centre {
  position: absolute;
  width: 252px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  transition: transform 0.4s var(--ease-smooth),
              box-shadow 0.4s var(--ease-smooth),
              border-color 0.3s;
}

.orbit-centre:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212,35,35,0.25);
}

.orbit-centre--1 { top: 0;       left: 50%; margin-left: -126px; }
.orbit-centre--2 { top: 27%;     right: 0; }
.orbit-centre--3 { bottom: 0;    right: 7%; }
.orbit-centre--4 { bottom: 0;    left: 7%; }
.orbit-centre--5 { top: 27%;     left: 0; }

.orbit-centre__num {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: var(--weight-black);
  color: var(--color-red);
}

.orbit-centre__ville {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.orbit-centre__ville svg { color: var(--color-red); }

.orbit-centre__nom {
  margin-top: 8px;
  font-size: 1.06rem;
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}

.orbit-centre__adresse {
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.orbit-centre__tel {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: var(--weight-bold);
  color: var(--color-navy);
  transition: color 0.25s;
}

[data-theme="dark"] .orbit-centre__tel { color: #8197F0; }
.orbit-centre__tel svg { color: var(--color-red); flex-shrink: 0; }
.orbit-centre__tel:hover { color: var(--color-red); }

@media (max-width: 1080px) {
  .centres-orbit {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
  .centres-orbit__ring { display: none; }
  .centres-orbit__hub {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    padding: var(--space-6);
    grid-column: 1 / -1;
  }
  .centres-orbit__hub::before { display: none; }
  .centres-orbit__hub-num { font-size: 2.6rem; }
  .orbit-centre,
  .orbit-centre--1,
  .orbit-centre--2,
  .orbit-centre--3,
  .orbit-centre--4,
  .orbit-centre--5 {
    position: static;
    width: auto;
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .centres-orbit { grid-template-columns: 1fr; }
}

/* Final design pass: bande claire, images habillees et bloc methode cours */
.skill-ticker {
  padding-block: 17px;
  background:
    linear-gradient(90deg, #09102B 0%, #162264 48%, #09102B 100%);
  border-block: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  -webkit-mask-image: none;
  mask-image: none;
}

.skill-ticker::before,
.skill-ticker::after {
  display: none;
}

.skill-ticker__track {
  gap: clamp(2rem, 4vw, 3.25rem);
}

.skill-ticker__item {
  color: rgba(241,245,249,0.68);
}

.skill-ticker__item strong {
  color: #fff;
}

.page-hero__title em::after {
  display: none;
}

.page-hero__image {
  filter: saturate(1.12) contrast(1.06) brightness(0.92);
}

.visual-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: #0B1230;
  box-shadow: 0 28px 70px rgba(17, 26, 94, 0.18);
  isolation: isolate;
}

.visual-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,11,30,0.02) 0%, rgba(7,11,30,0.28) 54%, rgba(7,11,30,0.72) 100%),
    radial-gradient(circle at 16% 18%, rgba(255,255,255,0.22), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(212,35,35,0.28), transparent 26%);
  pointer-events: none;
}

.visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.16;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 100%);
}

.visual-frame__image {
  display: block;
  width: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.08) brightness(0.93);
  transform: scale(1.01);
}

.visual-frame .media-split__image,
.visual-frame .centres-intro__image {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.media-split__frame .visual-frame__image {
  min-height: 450px;
}

.centres-intro__visual {
  height: 270px;
}

.centres-intro__visual .visual-frame__image {
  height: 100%;
}

.visual-frame__icon,
.visual-frame__caption {
  position: absolute;
  z-index: 3;
}

.visual-frame__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  color: var(--color-red);
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: visual-icon-float 5s ease-in-out infinite;
}

.visual-frame__icon--top {
  top: 18px;
  right: 18px;
}

.visual-frame__icon--bottom {
  left: 18px;
  bottom: 18px;
  color: var(--color-navy);
  animation-delay: -2.2s;
}

.visual-frame__caption {
  right: 18px;
  bottom: 20px;
  max-width: calc(100% - 92px);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  font-size: 0.78rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes visual-icon-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-9px) rotate(-4deg); }
}

.method-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-7);
}

.method-proof-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: var(--space-5);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.88), rgba(248,250,252,0.72)),
    radial-gradient(circle at 92% 10%, rgba(26,37,121,0.12), transparent 36%);
  border: 1px solid rgba(26,37,121,0.10);
  box-shadow: 0 18px 42px rgba(17, 26, 94, 0.07);
  transition: transform 0.35s var(--ease-smooth),
              box-shadow 0.35s var(--ease-smooth),
              border-color 0.3s;
}

.method-proof-card::after {
  content: '';
  position: absolute;
  right: -42px;
  bottom: -48px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: rgba(212,35,35,0.08);
  pointer-events: none;
}

.method-proof-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 58px rgba(17, 26, 94, 0.12);
  border-color: rgba(212,35,35,0.22);
}

.method-proof-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--color-navy-pale);
  color: var(--color-navy);
  margin-bottom: var(--space-5);
}

.method-proof-card--accent .method-proof-card__icon {
  background: var(--color-red-pale);
  color: var(--color-red);
}

.method-proof-card__step {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--weight-black);
  color: rgba(26,37,121,0.20);
}

.method-proof-card strong,
.method-proof-card > span:last-child {
  position: relative;
  z-index: 1;
  display: block;
}

.method-proof-card strong {
  color: var(--text-primary);
  font-size: 1.04rem;
  line-height: 1.22;
}

.method-proof-card > span:last-child {
  margin-top: var(--space-2);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.58;
}

@media (max-width: 720px) {
  .method-proof-grid {
    grid-template-columns: 1fr;
  }

  .centres-intro__visual,
  .media-split__frame .visual-frame__image {
    min-height: 300px;
    height: auto;
  }
}

/* Global polish: meme langage visuel pour toutes les cartes publiques */
:is(.language-card, .service-card, .feature-card, .offer-card, .process-card, .level-card, .info-card, .format-card, .session-card, .testimonial-card, .centre-card, .stat-item, .accordion-item, .contact-list__item, .centre-list__item, .contact-panel, .page-callout, .ascent__card, .method-proof-card) {
  border-radius: 22px;
  border-color: rgba(26,37,121,0.10);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(248,250,252,0.86)),
    radial-gradient(circle at 100% 0%, rgba(212,35,35,0.10), transparent 34%);
  box-shadow: 0 18px 48px rgba(17, 26, 94, 0.075);
}

:is(.language-card, .service-card, .feature-card, .offer-card, .process-card, .level-card, .info-card, .format-card, .session-card, .testimonial-card, .centre-card, .stat-item, .accordion-item, .contact-list__item, .centre-list__item, .ascent__card, .method-proof-card) {
  transition: transform 0.35s var(--ease-smooth),
              box-shadow 0.35s var(--ease-smooth),
              border-color 0.25s ease;
}

:is(.language-card, .service-card, .feature-card, .offer-card, .process-card, .level-card, .info-card, .format-card, .session-card, .testimonial-card, .centre-card, .stat-item, .accordion-item, .contact-list__item, .centre-list__item, .ascent__card, .method-proof-card):hover {
  transform: translateY(-7px);
  border-color: rgba(212,35,35,0.22);
  box-shadow: 0 28px 64px rgba(17, 26, 94, 0.12);
}

:is(.offer-card, .process-card, .info-card, .format-card, .session-card, .testimonial-card, .centre-card, .stat-item, .accordion-item, .contact-panel, .page-callout) {
  position: relative;
  overflow: hidden;
}

:is(.offer-card, .process-card, .info-card, .format-card, .session-card, .testimonial-card, .centre-card, .stat-item, .accordion-item, .contact-panel, .page-callout)::after {
  content: '';
  position: absolute;
  right: -52px;
  top: -52px;
  width: 146px;
  height: 146px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,35,35,0.10), rgba(26,37,121,0.08));
  pointer-events: none;
}

:is(.offer-card, .process-card, .info-card, .format-card, .session-card, .testimonial-card, .centre-card, .stat-item, .accordion-item, .contact-panel, .page-callout) > * {
  position: relative;
  z-index: 1;
}

:is(.offer-card__icon, .process-card__icon, .info-card__icon, .format-card__icon, .session-card__meta-item svg, .contact-list__icon, .centre-list__icon) {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.offer-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.offer-card {
  min-height: 0;
  padding: clamp(1.55rem, 2.4vw, 2rem);
}

.offer-card h3 {
  max-width: 18ch;
  font-size: 1.22rem;
  line-height: 1.16;
}

.offer-card__subtitle {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-grid .check-list {
  gap: 0.75rem;
  margin-top: var(--space-4);
}

.offer-grid .check-list li {
  font-size: 0.88rem;
}

.offer-grid .check-list li:nth-child(n+4) {
  display: none;
}

.offer-card__link {
  padding-top: var(--space-2);
}

.mini-list {
  gap: var(--space-3);
}

.mini-list__item {
  padding: var(--space-4);
  border: 1px solid rgba(26,37,121,0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
  box-shadow: 0 12px 34px rgba(17,26,94,0.055);
}

.mini-list__icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--color-navy-pale);
}

/* Toutes les images principales recoivent un voile degrade unifie */
.page-hero__media--image {
  isolation: isolate;
}

.page-hero__media--image::before,
.page-hero__media--image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  pointer-events: none;
}

.page-hero__media--image::before {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(7,11,30,0.04) 0%, rgba(7,11,30,0.24) 52%, rgba(7,11,30,0.70) 100%),
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.20), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(212,35,35,0.28), transparent 25%);
}

.page-hero__media--image::after {
  z-index: 3;
  background-image: radial-gradient(circle, rgba(255,255,255,0.11) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.12;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 100%);
}

.page-hero__media--image .page-hero__card,
.page-hero__media--image .ph-float {
  z-index: 5;
}

.page-hero__media--image .page-hero__image {
  position: relative;
  z-index: 1;
}

.page-hero--contact::after {
  display: none;
}

.page-hero--contact {
  background:
    radial-gradient(ellipse 56% 58% at 84% 18%, rgba(212,35,35,0.26) 0%, transparent 58%),
    radial-gradient(ellipse 46% 48% at 12% 78%, rgba(35,51,160,0.34) 0%, transparent 56%),
    linear-gradient(158deg, #120914 0%, #0D1230 54%, #070A18 100%);
}

.contact-illu::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(7,11,30,0.02), rgba(7,11,30,0.28)),
    radial-gradient(circle at 82% 12%, rgba(212,35,35,0.20), transparent 32%);
  pointer-events: none;
}

.contact-illu__img {
  position: relative;
  z-index: 3;
}

[data-theme="dark"] :is(.language-card, .service-card, .feature-card, .offer-card, .process-card, .level-card, .info-card, .format-card, .session-card, .testimonial-card, .centre-card, .stat-item, .accordion-item, .contact-list__item, .centre-list__item, .contact-panel, .page-callout, .ascent__card, .method-proof-card) {
  background:
    linear-gradient(145deg, rgba(15,24,41,0.94), rgba(10,16,40,0.88)),
    radial-gradient(circle at 100% 0%, rgba(212,35,35,0.15), transparent 34%);
  border-color: rgba(255,255,255,0.08);
}

/* Corrections lisibilite et respirations */
.stats-section .stat-item {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-color: rgba(255,255,255,0.10) !important;
  overflow: visible !important;
}

.stats-section .stat-item::after {
  display: none !important;
}

.stats-section .stat-value {
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.stats-section .stat-value span {
  color: #FF6B6B !important;
  -webkit-text-fill-color: currentColor !important;
}

.stats-section .stat-label {
  color: rgba(241,245,249,0.82) !important;
  margin-top: 0.15rem;
}

.page-grid > .info-card,
.page-grid > .centre-list__item,
.info-card,
.process-card,
.session-card,
.testimonial-card {
  padding: clamp(2rem, 3.2vw, 2.55rem) !important;
}

.info-card h3,
.info-card p,
.info-card li,
.process-card h3,
.process-card p {
  overflow-wrap: anywhere;
}

.info-card h3,
.process-card h3 {
  line-height: 1.18;
  margin-bottom: 0.85rem;
}

.info-card p,
.process-card p {
  line-height: 1.68;
}

.page-grid {
  gap: clamp(1.4rem, 2.6vw, 2rem);
}

/* Les cartes services ont leur propre direction visuelle */
.offer-grid {
  gap: clamp(1.25rem, 2.4vw, 2rem);
}

.offer-grid .offer-card {
  min-height: 0;
  padding: clamp(1.85rem, 3vw, 2.35rem) !important;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFE 100%) !important;
  border: 1px solid rgba(26,37,121,0.13);
  box-shadow: 0 18px 40px rgba(17,26,94,0.075);
}

.offer-grid .offer-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--color-red), var(--color-navy));
}

.offer-grid .offer-card::after {
  display: none;
}

.offer-grid .offer-card__top {
  align-items: center;
  margin-bottom: var(--space-6);
}

.offer-grid .offer-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--color-navy), #2739AE);
}

.offer-grid .offer-card__badge {
  background: #FFF0F0;
  border: 1px solid rgba(212,35,35,0.12);
}

.offer-grid .offer-card h3 {
  max-width: none;
  font-size: 1.28rem;
  line-height: 1.18;
}

.offer-grid .offer-card__subtitle {
  -webkit-line-clamp: 3;
  min-height: 4.9em;
}

.offer-grid .check-list {
  padding: var(--space-4);
  border-radius: 16px;
  background: rgba(26,37,121,0.045);
  border: 1px solid rgba(26,37,121,0.08);
}

[data-theme="dark"] .offer-grid .offer-card {
  background:
    linear-gradient(180deg, rgba(15,24,41,0.98) 0%, rgba(10,16,40,0.94) 100%) !important;
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .offer-grid .check-list {
  background: rgba(255,255,255,0.045);
  border-color: rgba(255,255,255,0.08);
}

/* Stats accueil : bloc plus compact, aligne et lisible */
.stats-section {
  padding-block: clamp(2.5rem, 4.5vw, 3.75rem) !important;
}

.stats-section .stats-grid {
  width: min(100%, 1120px);
  margin-inline: auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 12%, rgba(225,35,44,0.16), transparent 32%),
    linear-gradient(135deg, rgba(17,26,94,0.52), rgba(35,51,160,0.24));
}

.stats-section .stat-item {
  min-width: 0;
  justify-content: center;
  padding: clamp(1.35rem, 2.6vw, 2rem) clamp(0.75rem, 1.8vw, 1.4rem) !important;
  border-right: 1px solid rgba(255,255,255,0.10) !important;
  border-bottom: 0 !important;
}

.stats-section .stat-item:last-child {
  border-right: 0 !important;
}

.stats-section .stat-value,
.stats-section .stat-value span {
  color: #E1232C !important;
  -webkit-text-fill-color: currentColor !important;
}

.stats-section .stat-value {
  width: 100%;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: 0;
  white-space: nowrap;
}

.stats-section .stat-item:last-child .stat-value {
  color: #fff !important;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

.stats-section .stat-item:last-child .stat-value span {
  color: #E1232C !important;
}

.stats-section .stat-label {
  color: rgba(255,255,255,0.80) !important;
  font-weight: 700;
}

@media (max-width: 860px) {
  .stats-section .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-section .stat-item,
  .stats-section .stat-item:nth-child(odd),
  .stats-section .stat-item:nth-last-child(-n+2) {
    border-right: 1px solid rgba(255,255,255,0.10) !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
  }

  .stats-section .stat-item:nth-child(even) {
    border-right: 0 !important;
  }

  .stats-section .stat-item:last-child {
    grid-column: 1 / -1;
    border-right: 0 !important;
    border-bottom: 0 !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES — section sombre + cartes glass
   ═══════════════════════════════════════════════════════════ */
.services-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0B1230 0%, #0E1840 50%, #07091C 100%);
  color: #fff;
  padding-block: clamp(4rem, 8vw, 7rem);
}

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

.services-section .section-head__title    { color: #fff; }
.services-section .section-head__title em { color: #FF6B6B; }
.services-section .section-head__text     { color: rgba(241,245,249,0.66); }
.services-section .section__label         { color: #FF7A7A; }

/* Grid 4 colonnes */
.services-glass-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

/* Carte glass service */
.service-glass-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--space-6);
  background: rgba(255,255,255,0.052);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.42s var(--ease-smooth),
              border-color 0.35s,
              box-shadow 0.42s var(--ease-smooth);
}

.service-glass-card:hover {
  transform: translateY(-9px);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 30px 64px rgba(0,0,0,0.42);
}

/* Halo coloré en haut à droite */
.service-glass-card__glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  top: -55px;
  right: -40px;
  background: radial-gradient(circle, rgba(35,51,160,0.55) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.4s;
}

.service-glass-card:hover .service-glass-card__glow {
  opacity: 1.4;
  background: radial-gradient(circle, rgba(212,35,35,0.45) 0%, rgba(35,51,160,0.35) 100%);
}

/* Icône */
.service-glass-card__icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  margin-bottom: var(--space-4);
  transition: transform 0.42s var(--ease-bounce), background 0.35s;
}

.service-glass-card:hover .service-glass-card__icon {
  transform: scale(1.12) rotate(-6deg);
  background: linear-gradient(135deg, rgba(212,35,35,0.50), rgba(212,35,35,0.22));
}

/* Badge — ancre en haut a droite, face a l'icone */
.service-glass-card__badge {
  position: absolute;
  z-index: 2;
  top: var(--space-6);
  right: var(--space-6);
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: rgba(212,35,35,0.22);
  border: 1px solid rgba(255,120,120,0.26);
  color: #FF8585;
  font-size: 0.62rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

/* Titre — hauteur min. 2 lignes pour aligner le contenu entre cartes */
.service-glass-card__title {
  position: relative;
  z-index: 1;
  font-size: 1.08rem;
  font-weight: var(--weight-bold);
  color: #fff;
  line-height: 1.28;
  min-height: calc(1.08rem * 1.28 * 2);
  margin-bottom: var(--space-2);
  overflow-wrap: break-word;
}

/* Description — hauteur min. 3 lignes : la liste demarre au meme niveau */
.service-glass-card__desc {
  position: relative;
  z-index: 1;
  font-size: 0.84rem;
  color: rgba(241,245,249,0.60);
  line-height: 1.58;
  min-height: calc(0.84rem * 1.58 * 3);
  margin-bottom: var(--space-4);
  overflow-wrap: break-word;
}

/* Liste de points */
.service-glass-card__items {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-2);
  flex: 1;
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.service-glass-card__items li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(241,245,249,0.76);
  line-height: 1.45;
  overflow-wrap: break-word;
  min-width: 0;
}

.service-glass-card__items li svg {
  color: #FF8080;
  flex-shrink: 0;
  margin-top: 1px;
}

/* CTA bas de carte */
.service-glass-card__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  color: rgba(255,255,255,0.62);
  font-size: 0.84rem;
  font-weight: var(--weight-semibold);
  transition: color 0.28s, gap 0.28s;
}

.service-glass-card__cta:hover {
  color: #fff;
  gap: var(--space-3);
}

.service-glass-card__cta svg { transition: transform 0.28s; }
.service-glass-card__cta:hover svg { transform: translateX(3px); }

/* Responsive */
@media (max-width: 1100px) {
  .services-glass-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .services-glass-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   PRÉPA TELC — section sombre avec visualisation des compétences
   ═══════════════════════════════════════════════════════════ */
.prepa-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #100C20 0%, #0D1535 52%, #060818 100%);
  color: #fff;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.prepa-section > .container { position: relative; z-index: 1; }
.prepa-section .section__label         { color: #FF7A7A; }
.prepa-section .section-head__title    { color: #fff; }
.prepa-section .section-head__title em { color: #FF6B6B; }

/* Grille 2 colonnes */
.prepa-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

/* Colonne contenu gauche */
.prepa-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.prepa-content p {
  color: rgba(241,245,249,0.70);
  line-height: 1.75;
  font-size: 0.98rem;
}

/* Pastille prix */
.prepa-price-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.prepa-price-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(212,35,35,0.26), rgba(35,51,160,0.18));
  border: 1px solid rgba(255,120,120,0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.prepa-price-pill strong {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: var(--weight-black);
  color: #fff;
  line-height: 1;
}

.prepa-price-pill span {
  font-size: 0.74rem;
  color: rgba(241,245,249,0.62);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Carte des compétences (droite) */
.prepa-skills-card {
  padding: var(--space-7);
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  overflow: hidden;
  position: relative;
}

.prepa-skills-card::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(212,35,35,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.prepa-skills-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.prepa-skills-card__eyebrow {
  font-size: 0.72rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FF7A7A;
}

.prepa-skills-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  color: #fff;
  line-height: 1.2;
  margin-top: 4px;
}

.prepa-skills-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  background: rgba(212,35,35,0.22);
  border: 1px solid rgba(255,120,120,0.26);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.prepa-skills-card__badge svg { color: #FF8080; flex-shrink: 0; }

.prepa-skills-card__badge-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: var(--weight-extrabold);
  color: #fff;
  line-height: 1;
}

.prepa-skills-card__badge-text span {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.58);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Liste des compétences */
.prepa-skill-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
  z-index: 1;
}

.prepa-skill-row { display: flex; flex-direction: column; gap: var(--space-2); }

.prepa-skill-row__head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.prepa-skill-row__icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.prepa-skill-row__label {
  flex: 1;
  font-size: 0.88rem;
  font-weight: var(--weight-semibold);
  color: rgba(241,245,249,0.88);
}

.prepa-skill-row__detail {
  font-size: 0.68rem;
  color: rgba(241,245,249,0.42);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Barre de progression */
.prepa-skill-row__bar {
  height: 5px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}

.prepa-skill-row__fill {
  height: 100%;
  border-radius: var(--radius-full);
  width: var(--w, 70%);
  background: linear-gradient(90deg, var(--color-red) 0%, #FF8585 100%);
  transition: width 1.4s var(--ease-smooth);
}

/* Footer carte */
.prepa-skills-card__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.10);
}

.prepa-skills-card__note {
  font-size: 0.78rem;
  color: rgba(241,245,249,0.50);
  font-style: italic;
}

/* Responsive */
@media (max-width: 880px) {
  .prepa-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 560px) {
  .prepa-skills-card {
    padding: var(--space-5);
  }
}

/* Certifications: lisibilite, espacement et image Vorbereitung */
.examens-process {
  gap: clamp(1.25rem, 2.4vw, 2rem);
  align-items: stretch;
}

.examens-step {
  --step-lift: 0px;
  transform: translateY(var(--step-lift));
  min-height: 230px;
  padding: clamp(1.85rem, 3vw, 2.45rem) !important;
  border-radius: 22px;
  background:
    radial-gradient(circle at 94% 0%, rgba(225, 35, 44, 0.07), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
  box-shadow: 0 18px 42px rgba(17, 26, 94, 0.08);
}

.examens-step:nth-child(2) { --step-lift: -8px; }
.examens-step:nth-child(3) { --step-lift: -14px; }
.examens-step:nth-child(4) { --step-lift: -6px; }

.examens-step:hover {
  transform: translateY(calc(var(--step-lift) - 7px));
}

.examens-step__top {
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

.examens-step__num {
  font-size: clamp(2.1rem, 3.5vw, 2.75rem);
  -webkit-text-stroke-width: 1.25px;
}

.examens-step__icon {
  width: 52px;
  height: 52px;
  border-radius: 17px;
}

.examens-step__title {
  color: #10172F !important;
  margin-bottom: 0.78rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.examens-step__desc {
  color: #4D5E76 !important;
  max-width: 34ch;
  font-size: 0.94rem;
  line-height: 1.72;
}

[data-theme="dark"] .examens-step {
  background:
    radial-gradient(circle at 94% 0%, rgba(225, 35, 44, 0.08), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
  border-color: rgba(255,255,255,0.16);
}

[data-theme="dark"] .examens-step__title {
  color: #10172F !important;
}

[data-theme="dark"] .examens-step__desc {
  color: #4D5E76 !important;
}

/* ── "Quatre etapes" : progression / remplissage automatique ───── */
.examens-step {
  transition: transform 0.45s var(--ease-smooth),
              box-shadow 0.45s var(--ease-smooth),
              border-color 0.35s,
              filter 0.6s ease,
              opacity 0.6s ease;
}

/* Etat par defaut : grise, en attente */
.examens-process[data-process-loop] .examens-step {
  filter: grayscale(0.92) brightness(1.03);
  opacity: 0.58;
}

/* Etape en cours de remplissage */
.examens-process[data-process-loop] .examens-step.is-active {
  filter: none;
  opacity: 1;
  transform: translateY(calc(var(--step-lift) - 10px)) scale(1.015);
  border-color: rgba(225, 35, 44, 0.32);
  box-shadow: 0 26px 56px rgba(225, 35, 44, 0.20);
}

/* Etape terminee : coloree, calme */
.examens-process[data-process-loop] .examens-step.is-done {
  filter: none;
  opacity: 1;
}

/* Survol : on revele toujours la carte pointee */
.examens-process[data-process-loop] .examens-step:hover {
  filter: none;
  opacity: 1;
}

.examens-step.is-active .examens-step__num,
.examens-step.is-done .examens-step__num {
  color: var(--color-red);
}

.examens-step.is-active .examens-step__icon {
  background: var(--color-navy);
  color: #fff;
  transform: scale(1.08) rotate(-6deg);
}

.examens-step.is-done .examens-step__icon {
  background: rgba(225, 35, 44, 0.12);
  color: var(--color-red);
}

/* Barre de progression en pied de carte */
.examens-step__bar {
  display: block;
  margin-top: auto;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 26, 94, 0.10);
  overflow: hidden;
}

/* Garantit un espace entre le texte et la barre de progression */
.examens-step__desc {
  margin-bottom: var(--space-5);
}

.examens-step__bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-navy), var(--color-red));
}

.examens-step.is-active .examens-step__bar-fill {
  width: 100%;
  transition: width 1.7s linear;
}

.examens-step.is-done .examens-step__bar-fill {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .examens-process[data-process-loop] .examens-step {
    filter: none;
    opacity: 1;
  }
  .examens-step__bar-fill { width: 100%; }
}

.telc-grid {
  max-width: 980px;
  gap: clamp(1.4rem, 3vw, 2.25rem);
}

.telc-card {
  --telc-lift: 0px;
  position: relative;
  transform: translateY(var(--telc-lift));
  padding: clamp(2rem, 3.5vw, 2.85rem) !important;
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 8%, rgba(225, 35, 44, 0.24), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,0.115), rgba(255,255,255,0.045));
  box-shadow: 0 26px 70px rgba(0,0,0,0.28);
}

.telc-card:hover {
  transform: translateY(calc(var(--telc-lift) - 7px));
}

.telc-card--featured {
  --telc-lift: -12px;
  border-top: 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(225, 35, 44, 0.30), transparent 30%),
    linear-gradient(145deg, rgba(225,35,44,0.16), rgba(255,255,255,0.055));
}

.telc-card__head {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.65rem);
  justify-content: space-between;
}

.telc-card__level {
  font-size: clamp(2.8rem, 5vw, 3.7rem);
}

.telc-card__tag {
  max-width: 58%;
  text-align: right;
  line-height: 1.25;
}

.telc-card__title {
  margin-bottom: 0.85rem;
  font-size: clamp(1.28rem, 2.2vw, 1.58rem);
  line-height: 1.16;
}

.telc-card__desc {
  color: rgba(241,245,249,0.78);
  margin-bottom: 1.4rem;
  font-size: 0.96rem;
  line-height: 1.72;
}

.telc-card__points {
  padding: 0;
  gap: 0.85rem;
  background: transparent;
  border: 0;
}

.telc-card__points li {
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.93rem;
  line-height: 1.5;
  color: rgba(241,245,249,0.90);
}

.telc-card__points svg {
  margin-top: 0.18rem;
}

.telc-card__cta {
  width: fit-content;
  margin-top: clamp(1.6rem, 3vw, 2.1rem);
  padding-inline: 1.25rem;
}

.prepa-visual {
  min-height: 430px;
  align-self: stretch;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.prepa-visual::before {
  background:
    linear-gradient(180deg, rgba(7,11,30,0.03) 0%, rgba(7,11,30,0.28) 48%, rgba(7,11,30,0.82) 100%),
    radial-gradient(circle at 16% 14%, rgba(255,255,255,0.24), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(225,35,44,0.34), transparent 30%);
}

.prepa-visual .visual-frame__image {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

/* L'objet blanc flottant (icone bas) etait masque par le bandeau rouge
   "Simulations en conditions reelles". On le remonte au-dessus du badge. */
.prepa-visual .visual-frame__icon--bottom {
  bottom: calc(clamp(1.25rem, 4vw, 2rem) + 64px);
  z-index: 6;
}

.prepa-visual__badge,
.prepa-visual__caption {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.prepa-visual__badge {
  left: clamp(1.25rem, 4vw, 2.2rem);
  top: clamp(1.25rem, 4vw, 2.1rem);
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.95rem 1.15rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 18px 46px rgba(7,11,30,0.22);
  color: var(--text-primary);
}

.prepa-visual__badge span {
  color: var(--color-red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prepa-visual__badge strong {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.55rem;
  line-height: 1;
}

.prepa-visual__caption {
  left: clamp(1.25rem, 4vw, 2.2rem);
  right: clamp(1.25rem, 4vw, 2.2rem);
  bottom: clamp(1.25rem, 4vw, 2rem);
  gap: 0.65rem;
  width: fit-content;
  max-width: calc(100% - clamp(2.5rem, 8vw, 4.4rem));
  padding: 0.82rem 1rem;
  border-radius: 999px;
  background: rgba(225,35,44,0.82);
  border: 1px solid rgba(255,255,255,0.24);
  color: #fff;
  box-shadow: 0 18px 46px rgba(0,0,0,0.28);
}

.prepa-visual__caption svg {
  flex-shrink: 0;
}

@media (max-width: 940px) {
  .examens-step {
    --step-lift: 0px !important;
  }
}

@media (max-width: 620px) {
  .telc-card,
  .telc-card--featured {
    --telc-lift: 0px;
  }

  .telc-card__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .telc-card__tag {
    max-width: 100%;
    text-align: left;
  }

  .prepa-visual,
  .prepa-visual .visual-frame__image {
    min-height: 340px;
  }
}

/* Projet Allemagne: sequence fluide methode + centralisation */
.germany-flow-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 8%, rgba(225,35,44,0.055), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(26,37,121,0.065), transparent 34%),
    linear-gradient(180deg, #F4F7FB 0%, #EFF4FA 100%);
}

.germany-flow-section + .germany-flow-section {
  padding-top: clamp(2.25rem, 4.5vw, 4rem);
}

.germany-why-section {
  isolation: isolate;
}

.germany-flow-orb {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
  opacity: 0.9;
  animation: germany-orb-drift 12s ease-in-out infinite;
}

.germany-flow-orb--red {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 5%;
  background: radial-gradient(circle, rgba(225,35,44,0.11), transparent 68%);
}

.germany-flow-orb--blue {
  width: 420px;
  height: 420px;
  right: -130px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(26,37,121,0.12), transparent 68%);
  animation-delay: -4s;
}

.germany-why-section > .container {
  position: relative;
  z-index: 1;
}

.germany-why-section .media-split {
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
}

.germany-why-visual {
  overflow: visible;
  border-radius: 30px;
  box-shadow: 0 34px 92px rgba(17,26,94,0.18);
  transform-style: preserve-3d;
}

.germany-why-visual::before,
.germany-why-visual::after {
  border-radius: inherit;
}

.germany-why-visual::before {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(7,11,30,0.02) 0%, rgba(7,11,30,0.24) 46%, rgba(7,11,30,0.72) 100%),
    radial-gradient(circle at 20% 18%, rgba(255,255,255,0.25), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(225,35,44,0.34), transparent 32%);
}

.germany-why-visual .visual-frame__image {
  min-height: 470px;
  border-radius: inherit;
  filter: saturate(1.12) contrast(1.08) brightness(0.9);
}

.germany-why-visual .visual-frame__icon {
  z-index: 6;
  width: 58px;
  height: 58px;
  border-radius: 21px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: 0 18px 42px rgba(7,11,30,0.22);
  color: var(--color-red);
  animation: germany-icon-float 4.8s ease-in-out infinite;
}

.germany-why-visual .visual-frame__icon--top {
  top: -18px;
  right: 26px;
}

.germany-why-visual .visual-frame__icon--bottom {
  left: 26px;
  bottom: 26px;
  color: var(--color-navy);
  animation-delay: -2.1s;
}

.germany-why-visual__badge {
  position: absolute;
  z-index: 6;
  left: clamp(1.3rem, 4vw, 2rem);
  top: clamp(1.25rem, 4vw, 2rem);
  display: inline-flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 1rem 1.25rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow: 0 18px 46px rgba(7,11,30,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.germany-why-visual__badge small {
  color: var(--color-red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.germany-why-visual__badge strong {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1;
}

.germany-why-visual .visual-frame__caption {
  z-index: 6;
  right: 28px;
  bottom: 28px;
  padding: 0.78rem 1.1rem;
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.30);
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
}

.germany-why-section .content-stack {
  gap: clamp(1.25rem, 2.4vw, 1.8rem);
}

.germany-why-section .section-head__title {
  max-width: 12ch;
}

.germany-why-section .content-stack > p:not(.section__label) {
  max-width: 60ch;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.82;
}

.germany-why-section .mini-list {
  gap: 1rem;
  margin-top: clamp(1.1rem, 2vw, 1.6rem);
}

.germany-why-section .mini-list__item {
  align-items: center;
  gap: 1rem;
  padding: clamp(1.15rem, 2.2vw, 1.35rem);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(248,250,252,0.78));
  border: 1px solid rgba(26,37,121,0.09);
  box-shadow: 0 18px 42px rgba(17,26,94,0.065);
  animation: germany-card-enter 0.72s var(--ease-smooth) both;
  animation-delay: calc(var(--i, 0) * 110ms);
}

.germany-why-section .mini-list__item:hover {
  transform: translateY(-7px);
  border-color: rgba(225,35,44,0.22);
  box-shadow: 0 26px 60px rgba(17,26,94,0.12);
}

.germany-why-section .mini-list__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(26,37,121,0.12), rgba(225,35,44,0.08));
  color: var(--color-navy);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

/* L'icone restait minuscule (17px) et decentree dans son cadre 52px */
.germany-why-section .mini-list__icon svg {
  width: 24px;
  height: 24px;
}

.germany-why-section .mini-list__item:nth-child(odd) .mini-list__icon {
  color: var(--color-red);
}

.germany-why-section .mini-list__item strong {
  font-size: 1.03rem;
  line-height: 1.2;
}

.germany-why-section .mini-list__item span:not(.mini-list__icon) {
  line-height: 1.58;
}

@keyframes germany-icon-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(-5deg); }
}

@keyframes germany-orb-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(16px, -12px, 0) scale(1.04); }
}

@keyframes germany-card-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .germany-why-section .section-head__title {
    max-width: 100%;
  }

  .germany-why-visual .visual-frame__icon--top {
    top: 18px;
    right: 18px;
  }
}

@media (max-width: 620px) {
  .germany-flow-section + .germany-flow-section {
    padding-top: 2rem;
  }

  .germany-why-visual .visual-frame__image {
    min-height: 340px;
  }

  .germany-why-visual__badge {
    left: 1rem;
    top: 1rem;
    padding: 0.78rem 0.95rem;
  }

  .germany-why-visual .visual-frame__caption {
    left: 1rem;
    right: auto;
    bottom: 1rem;
    max-width: calc(100% - 2rem);
  }

  .germany-why-visual .visual-frame__icon--bottom {
    display: none;
  }
}
