/* ============================================================
   UIM — Université Internationale de Madagascar
   Site institutionnel — thème clair, couleurs unies
   ============================================================ */

:root {
  --blue: #1486c4;
  --blue-dark: #0f6da3;
  --blue-soft: #eaf4fb;
  --navy: #0b2239;
  --navy-2: #102a43;
  --navy-3: #163a58;
  --red: #c8282d;
  --red-soft: #fdeef0;
  --green: #5c8f1d;
  --ink: #0f1e2e;
  --muted: #5e7288;
  --line: #e2e8ef;
  --bg: #f5f8fb;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(11, 34, 57, 0.08);
  --shadow-sm: 0 8px 24px rgba(11, 34, 57, 0.06);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand img {
  height: 48px;
  width: auto;
}

.brand-text b {
  display: block;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  line-height: 1.1;
}

.brand-text span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.55rem 0.8rem;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #33495f;
  transition: 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: #fff;
  padding: 0.62rem 1.05rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: 0.18s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-dark); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  color: var(--navy);
  font-size: 1.15rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover { background: #a11d22; }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.btn-soft {
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.btn-soft:hover { background: #dceef9; }

.btn-line {
  background: #fff;
  border-color: var(--line);
  color: var(--navy);
}
.btn-line:hover { border-color: var(--blue); color: var(--blue-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.45;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -220px;
  top: -220px;
  border-radius: 50%;
  background: rgba(20, 134, 196, 0.24);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 4rem;
  align-items: center;
  padding: 5.5rem 0 4.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ed4f2;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
}

.hero h1 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 12ch;
}

.hero h1 span { color: #8fd0f2; }

.hero .lede {
  margin-top: 1.35rem;
  max-width: 54ch;
  color: #c9dce9;
  font-size: 1.03rem;
}

.hero-tagline {
  margin-top: 1.35rem;
  padding-left: 1rem;
  border-left: 4px solid var(--red);
  font-family: "Sora", "Manrope", sans-serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stat strong {
  display: block;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a9c6d9;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-logo-card {
  background: #fff;
  border-radius: 26px;
  padding: 1.5rem;
  width: min(100%, 430px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.hero-logo-card img { width: 100%; height: auto; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badges span.red {
  background: var(--red-soft);
  color: var(--red);
}

/* ---------- Sections ---------- */
.section { padding: 5.2rem 0; }
.section.alt { background: var(--bg); }
.section.tight { padding: 3.8rem 0; }

.section-head {
  max-width: 720px;
  margin-bottom: 2.8rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .eyebrow { color: var(--blue-dark); }
.section-head .eyebrow::before { background: var(--red); }

.section-head h2 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.section-head p {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- Grids & cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Poles ---------- */
.poles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.pole-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.pole-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--blue);
}

.pole-card.red::before { background: var(--red); }

.pole-card .pole-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.pole-card.red .pole-icon {
  background: var(--red-soft);
  color: var(--red);
}

.pole-card h3 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.35rem;
  color: var(--navy);
}

.pole-card > p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-top: 0.45rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.tag-list span {
  padding: 0.42rem 0.7rem;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: #33495f;
  font-size: 0.8rem;
  font-weight: 600;
}

.pole-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.3rem;
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 0.86rem;
}

/* ---------- Quote ---------- */
.quote-band {
  background: var(--blue);
  color: #fff;
  padding: 4.5rem 0;
}

.quote-band .inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.quote-band blockquote {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.25;
  font-style: italic;
}

.quote-band small {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d7edf9;
}

.quote-band .seal {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 { font-size: 1rem; color: var(--navy); margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Admissions / lists ---------- */
.check-list {
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #33495f;
  font-size: 0.92rem;
}

.check-list i {
  color: var(--green);
  margin-top: 0.25rem;
}

.info-note {
  background: var(--blue-soft);
  border: 1px solid #cfe7f5;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Fee table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th, td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

th {
  background: #eef4f9;
  color: var(--navy);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #f8fbfd; }

.price { font-weight: 800; color: var(--blue-dark); white-space: nowrap; }
.table-title { font-weight: 700; color: var(--navy); }

/* ---------- Formations page ---------- */
.mention-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.mention-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.mention-card h3 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.12rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mention-card h3 i { color: var(--blue); }

.mention-card .parcours {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.mention-card .parcours span {
  background: var(--bg);
  border: 1px solid var(--line);
  color: #33495f;
  border-radius: 8px;
  padding: 0.38rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.mention-card details {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.mention-card summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--blue-dark);
  letter-spacing: 0.02em;
}

.mention-card details p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.87rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.contact-item .i {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item b { display: block; color: var(--navy); font-size: 0.9rem; }
.contact-item span, .contact-item a { color: var(--muted); font-size: 0.88rem; }
.contact-item a:hover { color: var(--blue-dark); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 0.9rem; }
.field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fbfdff;
  transition: 0.15s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 134, 196, 0.12);
}

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

.map-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.map-card iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- Download cards ---------- */
.doc-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.doc-card img {
  width: 110px;
  height: 140px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.doc-card h3 { font-size: 0.98rem; color: var(--navy); }
.doc-card p { color: var(--muted); font-size: 0.83rem; margin: 0.2rem 0 0.6rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 4rem 0;
}

.cta-band .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.cta-band p { color: #bdd4e4; margin-top: 0.4rem; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #081a2c;
  color: #b9cfdf;
  padding: 3.5rem 0 1.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
}

.footer-brand img {
  height: 52px;
  width: auto;
  background: #fff;
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.85rem;
  max-width: 30ch;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.85rem;
  color: #b9cfdf;
  margin-bottom: 0.45rem;
}

.footer-col a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-social a:hover { background: var(--blue); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #8fa9bc;
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 4rem; }
  .hero-visual { justify-content: flex-start; }
  .hero-logo-card { width: min(100%, 360px); }
  .quote-band .inner { grid-template-columns: 1fr; }
  .quote-band .seal { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-wrap {
    position: fixed;
    inset: 78px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    box-shadow: 0 18px 35px rgba(11, 34, 57, 0.12);
  }
  .nav-wrap.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav-links a { padding: 0.75rem 0.9rem; }
  .nav-cta { justify-content: center; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .poles, .grid-2, .mention-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .header-inner { min-height: 70px; }
  .brand img { height: 40px; }
  .brand-text span { display: none; }
  .nav-wrap { inset: 70px 0 auto 0; }
  .hero-inner { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .section { padding: 3.6rem 0; }
  .card, .pole-card, .mention-card { padding: 1.35rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .doc-card { grid-template-columns: 84px 1fr; }
  .doc-card img { width: 84px; height: 110px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .hero-actions, .cta-band, .site-footer { display: none !important; }
  body { color: #000; }
  .hero { background: #fff; color: #000; }
  .hero::before, .hero::after { display: none; }
  .section { padding: 1rem 0; }
}

/* ---------- Page hero (pages internes) ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 4.2rem 0 3.4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -180px;
  border-radius: 50%;
  background: rgba(20, 134, 196, 0.2);
  pointer-events: none;
}

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

.page-hero h1 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin-top: 0.8rem;
  max-width: 62ch;
  color: #c9dce9;
  font-size: 1rem;
}

.page-hero .eyebrow { color: #9ed4f2; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #9eb9cc;
  margin-bottom: 1rem;
}

.breadcrumb a:hover { color: #fff; }

.subhead {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.subhead i { color: var(--blue); }

.badge-pole {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.badge-pole.red { background: var(--red-soft); color: var(--red); }

/* ---------- Ajustements mobile ---------- */
body { overflow-x: hidden; }

@media (max-width: 600px) {
  .hero h1 {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats {
    gap: 1.1rem;
  }
}
