/* ═══════════════════════════════════════════════
   tests-landing.css — Préparation tests internationaux
   Sérieux, réussite, préparation intensive
═══════════════════════════════════════════════ */

.page-tests-landing .page-hero.tests-hero {
  position: relative;
  background:
    linear-gradient(145deg, #071221 0%, #0f2742 42%, #123b5d 100%);
  color: #e8eef6;
  padding-bottom: 48px;
  overflow: hidden;
}

.page-tests-landing .tests-hero .breadcrumb {
  color: rgba(232, 238, 246, 0.65);
}

.page-tests-landing .tests-hero .breadcrumb a {
  color: rgba(248, 197, 21, 0.95);
}

.page-tests-landing .tests-hero .breadcrumb a:hover {
  color: #fff;
}

.page-tests-landing .tests-hero .eyebrow {
  color: var(--accent);
  letter-spacing: 0.14em;
  font-weight: 800;
}

.page-tests-landing .tests-hero h1 {
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  line-height: 1.06;
  max-width: 920px;
}

.page-tests-landing .tests-hero .page-hero-text {
  color: rgba(232, 238, 246, 0.88);
  font-size: 1.12rem;
  max-width: 820px;
  line-height: 1.78;
}

.page-tests-landing .tests-hero .page-hero-text strong {
  color: #fff;
}

.page-tests-landing .tests-hero .hero-lead-quote {
  margin: 0 0 20px;
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  background: rgba(0, 0, 0, 0.22);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.18rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.55;
  font-family: "Outfit", sans-serif;
}

.tests-hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-tests-landing .tests-hero .page-hero-bg .hero-blob {
  opacity: 0.35;
}

.tests-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.page-tests-landing .tests-hero .btn-primary {
  background: linear-gradient(135deg, var(--accent), #e6b010);
  color: #0a1628;
  border: none;
  font-weight: 800;
}

.page-tests-landing .tests-hero .btn-primary:hover {
  filter: brightness(1.06);
}

.page-tests-landing .tests-hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.page-tests-landing .tests-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.65);
}

.tests-sticky-nav {
  position: sticky;
  top: 72px;
  z-index: 18;
  padding: 14px 0;
  background: linear-gradient(180deg, #0f2742, #123b5d);
  border-bottom: 2px solid rgba(248, 197, 21, 0.5);
  box-shadow: 0 8px 32px rgba(7, 18, 33, 0.35);
}

.tests-sticky-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.tests-sticky-inner::-webkit-scrollbar {
  display: none;
}

.tests-sticky-inner a {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(232, 238, 246, 0.92);
  transition: background 160ms, border-color 160ms, color 160ms;
}

.tests-sticky-inner a:hover,
.tests-sticky-inner a:focus-visible {
  background: rgba(248, 197, 21, 0.2);
  border-color: rgba(248, 197, 21, 0.55);
  color: #fff;
}

.tests-pillars {
  padding: 64px 0 8px;
  margin-top: -24px;
  position: relative;
  z-index: 2;
}

.tests-pillars-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tests-pillar-card {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--primary-dark);
}

.tests-pillar-card h3 {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tests-pillar-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.tests-pillar-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.tests-section {
  padding: 56px 0 0;
  scroll-margin-top: 130px;
}

.tests-section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.tests-section-heading h2 {
  margin: 0 0 12px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--heading);
  line-height: 1.1;
}

.tests-section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.test-exam-card {
  scroll-margin-top: 140px;
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.test-exam-card:last-of-type {
  margin-bottom: 0;
}

.test-exam-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #0f2742 0%, #123b5d 100%);
  color: #e8eef6;
  border-bottom: 3px solid var(--accent);
}

.test-exam-acronym {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: 0.06em;
  color: #fff;
}

.test-exam-sub {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: rgba(232, 238, 246, 0.75);
  font-weight: 500;
}

.test-exam-badge {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(248, 197, 21, 0.2);
  color: var(--accent);
  border: 1px solid rgba(248, 197, 21, 0.45);
}

.test-exam-body {
  padding: 26px 28px 28px;
}

.test-exam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}

.test-exam-block h3 {
  margin: 0 0 10px;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.test-exam-block p,
.test-exam-block ul {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.test-exam-block ul {
  padding-left: 1.15rem;
}

.test-exam-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.test-meta-item {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid rgba(18, 59, 93, 0.08);
}

.test-meta-item strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 6px;
}

.test-meta-item span {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.test-exam-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.test-exam-cta .btn-primary {
  min-height: 50px;
  font-weight: 800;
}

.tests-cta-final .cta-panel {
  border: 1px solid rgba(18, 59, 93, 0.12);
  background: linear-gradient(135deg, rgba(15, 39, 66, 0.04), rgba(47, 175, 227, 0.06));
}

@media (max-width: 1024px) {
  .tests-pillars-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .test-exam-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tests-pillars-inner {
    grid-template-columns: 1fr;
  }

  .tests-sticky-nav {
    top: 60px;
  }
}
