/* ================================================================
   KTF — page-hero.css
   Hero commun à toutes les pages intérieures
   Design graphique pur (sans photo) — cohérence charte KTF
   ================================================================ */

/* ── HERO CONTAINER ── */
.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  background: var(--dark);
}

/* ── FOND GÉOMÉTRIQUE (sans photo) ── */

/* Dégradé principal sombre */
.page-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    var(--dark)    0%,
    var(--dark-2)  45%,
    var(--dark-3)  100%
  );
}

/* Halo bleu en haut à droite */
.page-hero__halo {
  position: absolute;
  top: -6rem; right: -6rem;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(30,170,226,.18) 0%,
    rgba(30,170,226,.06) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* Halo orange en bas à gauche */
.page-hero__halo-2 {
  position: absolute;
  bottom: -4rem; left: 30%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(240,120,40,.1) 0%,
    transparent 65%
  );
  pointer-events: none;
}

/* Grille de points décorative */
.page-hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle, rgba(255,255,255,.055) 1px, transparent 1px
  );
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,.4) 30%,
    rgba(0,0,0,.4) 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,.4) 30%,
    rgba(0,0,0,.4) 70%,
    transparent 100%
  );
}

/* Ligne diagonale décorative */
.page-hero__diag {
  position: absolute;
  top: 0; right: 18%;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(30,170,226,.25) 40%,
    rgba(30,170,226,.1) 70%,
    transparent
  );
}
.page-hero__diag-2 {
  position: absolute;
  top: 0; right: 22%;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(240,120,40,.15) 50%,
    transparent
  );
}

/* Forme géométrique droite */
.page-hero__shape {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  border: 1px solid rgba(30,170,226,.12);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero__shape::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(30,170,226,.08);
  border-radius: 50%;
}
.page-hero__shape::after {
  content: '';
  position: absolute;
  inset: 38px;
  background: rgba(30,170,226,.06);
  border-radius: 50%;
}

/* Icône centrale dans la forme */
.page-hero__shape-icon {
  position: absolute;
  top: 50%; right: 8%;
  transform: translate(50%, -50%);
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  color: rgba(30,170,226,.15);
  pointer-events: none;
}

/* ── BARRE TRICOLORE EN BAS ── */
.page-hero__stripe {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  display: flex;
}
.page-hero__stripe span { flex: 1; }
.page-hero__stripe span:nth-child(1) { background: var(--blue); }
.page-hero__stripe span:nth-child(2) { background: var(--red); }
.page-hero__stripe span:nth-child(3) { background: var(--orange); }

/* ── CONTENU ── */
.page-hero__content {
  position: relative;
  z-index: 5;
  color: #fff;
}

/* Eyebrow */
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--fs);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 1.1rem;
}
.page-hero__eyebrow-bar {
  width: 30px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* Titre */
.page-hero__title {
  font-family: var(--fd);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: .5rem;
}
.page-hero__title mark {
  background: none;
  color: var(--blue-lt);
  font-style: normal;
}

/* Sous-titre optionnel */
.page-hero__subtitle {
  font-family: var(--fs);
  font-size: .97rem;
  color: rgba(255,255,255,.52);
  margin-bottom: 1.4rem;
  max-width: 520px;
  line-height: 1.65;
}

/* Diviseur */
.page-hero__divider {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.4rem;
}
.page-hero__divider-bar {
  width: 42px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-lt));
  border-radius: 2px;
}
.page-hero__divider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--fs);
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.breadcrumb a:hover { color: var(--blue-lt); }
.breadcrumb__sep {
  color: rgba(255,255,255,.25);
  font-size: .65rem;
}
.breadcrumb__current {
  color: var(--blue-lt);
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .page-hero { padding: 3.5rem 0 2.75rem; }
  .page-hero__title { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .page-hero__shape,
  .page-hero__shape-icon { display: none; }
  .page-hero__diag,
  .page-hero__diag-2 { display: none; }
  .page-hero__halo { width: 280px; height: 280px; }
}
