/* =========================================================
   À propos — refonte 2026 (CGT Alkor)
   Timeline premium + mission + valeurs + bannières média.
   ========================================================= */

.page-about {
  overflow-x: clip;
}

/* ---------- Hero (overrides content-pages.css) ---------- */
.page-about .content-hero--about .content-hero-title {
  max-width: min(22ch, 100%);
  line-height: 1.02;
}

.page-about .content-hero--about .content-hero-title .about-hero-line {
  display: block;
}

.page-about .content-hero--about .content-hero-title em.about-hero-line {
  margin-top: 0.06em;
  font-style: italic;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-about .content-hero--about .content-hero-lede {
  max-width: min(62ch, 100%);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
}

/* ---------- Notre histoire ---------- */
.about-story {
  padding-top: clamp(48px, 8vw, 88px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.about-story-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.about-story-head .eyebrow {
  margin-bottom: 0;
}

.about-story-intro {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.72;
  color: var(--text-2);
  text-wrap: pretty;
}

@media (min-width: 1024px) {
  .about-story-head .eyebrow {
    padding-top: 6px;
  }
}

/* Timeline */
.about-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  --line-progress: 0;
}

.about-timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: clamp(24px, 4vw, 40px);
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    rgba(97, 177, 188, 0.75) 0%,
    rgba(97, 177, 188, 0.35) 55%,
    rgba(255, 255, 255, 0.08) 100%
  );
  transform-origin: top center;
  transform: scaleY(var(--line-progress, 0));
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 18px rgba(97, 177, 188, 0.22);
}

.about-timeline.is-animated::before {
  transform: scaleY(1);
}

.about-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(16px, 2.5vw, 24px);
  padding-bottom: clamp(24px, 3.5vw, 36px);
}

.about-step:last-child {
  padding-bottom: 0;
}

.about-step-marker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(97, 177, 188, 0.45);
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(97, 177, 188, 0.22), transparent 60%),
    rgba(8, 44, 82, 0.92);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent-soft);
  box-shadow:
    0 0 0 4px rgba(97, 177, 188, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.28);
}

.about-step-body {
  padding: clamp(18px, 2.8vw, 26px);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.05) 0%, transparent 48%),
    linear-gradient(165deg, rgba(14, 58, 102, 0.28) 0%, rgba(8, 44, 82, 0.55) 100%);
  box-shadow: var(--shadow-1);
  transition: border-color 0.4s var(--ease-out), transform 0.5s var(--ease-luxe), box-shadow 0.4s var(--ease-out);
}

.about-step-body:hover {
  border-color: rgba(97, 177, 188, 0.28);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 22px 48px rgba(0, 0, 0, 0.28),
    0 0 32px rgba(97, 177, 188, 0.06);
}

.about-step-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 8px;
}

.about-step-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0;
}

.about-step-desc {
  margin: 12px 0 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.72;
  max-width: 68ch;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

/* ---------- Bannières média ---------- */
.about-banner {
  position: relative;
  height: clamp(240px, 42vw, 520px);
  overflow: hidden;
  isolation: isolate;
  margin-block: clamp(8px, 2vw, 16px);
}

.about-banner-frame {
  position: absolute;
  inset: -8% 0;
  height: 116%;
}

.about-banner-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  image-rendering: auto;
}

.about-banner--team .about-banner-frame img {
  object-position: center center;
}

.about-banner-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 15, 30, 0.55) 0%, transparent 35%, transparent 65%, rgba(3, 15, 30, 0.55) 100%),
    linear-gradient(180deg, rgba(3, 15, 30, 0.35) 0%, transparent 28%, transparent 72%, rgba(3, 15, 30, 0.65) 100%);
}

.about-banner--team {
  margin-bottom: clamp(8px, 2vw, 20px);
}

/* Siège / groupe — image entière visible, responsive */
.about-banner--group {
  height: auto;
  overflow: visible;
  margin-inline: clamp(16px, 5vw, 56px);
  border-radius: var(--r-lg);
}

.about-banner--group .about-banner-frame {
  position: relative;
  inset: auto;
  height: auto;
  transform: none !important;
}

.about-banner--group .about-banner-frame img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 680px);
  object-fit: contain;
  object-position: center;
  border-radius: var(--r-lg);
}

.about-banner--group .about-banner-veil {
  border-radius: var(--r-lg);
  background:
    linear-gradient(90deg, rgba(3, 15, 30, 0.3) 0%, transparent 20%, transparent 80%, rgba(3, 15, 30, 0.3) 100%),
    linear-gradient(180deg, rgba(3, 15, 30, 0.18) 0%, transparent 14%, transparent 86%, rgba(3, 15, 30, 0.28) 100%);
}

/* ---------- Mission ---------- */
.about-mission-wrap {
  padding-block: clamp(48px, 8vw, 88px);
}

.about-mission {
  position: relative;
  text-align: center;
  max-width: min(920px, 100%);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 40px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(97, 177, 188, 0.14);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(97, 177, 188, 0.1), transparent 70%),
    linear-gradient(165deg, rgba(14, 58, 102, 0.22) 0%, rgba(8, 44, 82, 0.45) 100%);
  box-shadow: var(--shadow-1);
}

.about-mission::before {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  margin: 0 auto 24px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}

.about-mission .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}

.about-mission-statement {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 36px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: min(48ch, 100%);
  margin: 0 auto;
  color: var(--text);
  text-wrap: balance;
  border: 0;
  padding: 0;
}

/* ---------- Globe 3D — présence mondiale ---------- */
.about-globe-section {
  position: relative;
  padding-block: clamp(56px, 9vw, 104px);
  overflow: clip;
  isolation: isolate;
}

.about-globe-shell {
  position: relative;
  z-index: 1;
}

.about-globe-ambient {
  position: absolute;
  inset: -25% -15%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 52% at 78% 44%, rgba(97, 177, 188, 0.2), transparent 68%),
    radial-gradient(ellipse 48% 42% at 12% 62%, rgba(154, 212, 220, 0.1), transparent 62%),
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(8, 44, 82, 0.62), transparent 72%);
  z-index: 0;
}

.about-globe-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.about-globe-copy {
  max-width: 52ch;
  position: relative;
  z-index: 2;
}

.about-globe-title {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.06;
  margin: 10px 0 14px;
  text-wrap: balance;
}

.about-globe-lede {
  margin: 0 0 clamp(22px, 3vw, 32px);
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}

.about-globe-sites {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.about-globe-site {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 44, 82, 0.35);
  transition: border-color 0.35s var(--ease-out), background 0.35s var(--ease-out);
}

.about-globe-site--hq-featured {
  border-color: rgba(232, 218, 196, 0.34);
  background:
    linear-gradient(135deg, rgba(232, 218, 196, 0.08) 0%, transparent 52%),
    rgba(14, 58, 102, 0.48);
  box-shadow: 0 0 0 1px rgba(232, 218, 196, 0.08), 0 12px 32px rgba(0, 0, 0, 0.18);
}

.about-globe-site--hq-featured:hover {
  border-color: rgba(232, 218, 196, 0.48);
  background:
    linear-gradient(135deg, rgba(232, 218, 196, 0.12) 0%, transparent 55%),
    rgba(14, 58, 102, 0.55);
}

.about-globe-site:hover {
  border-color: rgba(97, 177, 188, 0.28);
  background: rgba(14, 58, 102, 0.42);
}

.about-globe-site-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(97, 177, 188, 0.55);
}

.about-globe-site-flag {
  width: 22px;
  height: 16px;
  margin-top: 3px;
  border-radius: 3px;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.about-globe-site--alkor .about-globe-site-dot {
  background: var(--accent-soft);
  box-shadow: 0 0 18px rgba(154, 212, 220, 0.75);
}

.about-globe-site--hq .about-globe-site-dot {
  background: #e8dac4;
  box-shadow: 0 0 14px rgba(232, 218, 196, 0.45);
}

.about-globe-site-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.about-globe-site-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.about-globe-site-text strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.about-globe-site-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a2740;
  background: linear-gradient(145deg, #f0e4d0 0%, #e8dac4 48%, #d8c5a8 100%);
  box-shadow: 0 0 0 1px rgba(232, 218, 196, 0.35);
}

.about-globe-site-sub {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-2);
}

.about-globe-site-sub.is-alkor {
  font-weight: 600;
  color: var(--accent-soft);
}

.about-globe-visual {
  position: relative;
  min-height: clamp(320px, 52vw, 420px);
  z-index: 1;
}

.about-globe-stage {
  position: absolute;
  inset: -6% -8% -10%;
  pointer-events: auto;
}

.about-globe-glow {
  position: absolute;
  inset: 8% 4% 12%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle at 52% 48%, rgba(97, 177, 188, 0.14), transparent 68%);
  filter: blur(28px);
  z-index: 0;
}

.about-globe-mount {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: inherit;
  cursor: grab;
  -webkit-mask-image: radial-gradient(ellipse 74% 70% at 54% 46%, #000 38%, transparent 78%);
  mask-image: radial-gradient(ellipse 74% 70% at 54% 46%, #000 38%, transparent 78%);
}

.about-globe-mount:active {
  cursor: grabbing;
}

.about-globe-mount canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.about-globe-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.45s var(--ease-out);
}

.about-globe-stage.is-ready .about-globe-loader,
.about-globe-stage.is-fallback .about-globe-loader {
  opacity: 0;
  visibility: hidden;
}

.about-globe-loader-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(97, 177, 188, 0.15);
  border-top-color: var(--accent-soft);
  animation: aboutGlobeSpin 0.9s linear infinite;
}

@keyframes aboutGlobeSpin {
  to { transform: rotate(360deg); }
}

.about-globe-hint {
  position: relative;
  z-index: 2;
  margin: clamp(12px, 2vw, 18px) 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.about-globe-stage.is-fallback .about-globe-mount {
  background: radial-gradient(circle at 50% 42%, rgba(97, 177, 188, 0.12), transparent 62%);
}

/* ---------- Valeurs ---------- */
.about-values-wrap {
  padding-top: clamp(24px, 4vw, 40px);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.about-value {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 55%),
    linear-gradient(165deg, rgba(14, 58, 102, 0.2) 0%, rgba(8, 44, 82, 0.42) 100%);
  box-shadow: var(--shadow-1);
  transition: border-color 0.35s var(--ease-out), transform 0.45s var(--ease-luxe), box-shadow 0.35s var(--ease-out);
}

.about-value[data-reveal] {
  transition-delay: calc(var(--reveal-i, 0) * 0.07s);
}

.about-value:hover {
  border-color: rgba(97, 177, 188, 0.34);
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 56px rgba(0, 0, 0, 0.28),
    0 0 40px rgba(97, 177, 188, 0.06);
}

.about-value-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-sm);
  background: rgba(97, 177, 188, 0.12);
  border: 1px solid rgba(97, 177, 188, 0.22);
  margin-bottom: 18px;
}

.about-value-ic img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.about-value-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.14;
  margin: 0 0 10px;
}

.about-value-desc {
  margin: 0;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- Mobile & tablette ---------- */
@media (max-width: 719px) {
  .page-about .content-hero--about .content-hero-title {
    max-width: 100%;
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.04;
  }

  .page-about .content-hero--about .content-hero-lede {
    font-size: 15px;
    line-height: 1.6;
  }

  .about-story-head {
    margin-bottom: 28px;
  }

  .about-story-intro {
    font-size: 15px;
    line-height: 1.65;
  }

  .about-step {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding-bottom: 20px;
  }

  .about-step-marker {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .about-timeline::before {
    left: 21px;
    top: 22px;
  }

  .about-step-body {
    padding: 16px;
  }

  .about-step-title {
    font-size: clamp(18px, 5vw, 22px);
  }

  .about-step-desc {
    font-size: 14px;
    line-height: 1.65;
  }

  .about-banner:not(.about-banner--group):not(.about-banner--team) {
    height: clamp(200px, 56vw, 320px);
  }

  .about-banner--group {
    margin-inline: clamp(12px, 3.5vw, 20px);
  }

  .about-banner--group .about-banner-frame img {
    max-height: none;
  }

  /* Photo équipe : éviter le recadrage agressif (groupe large) */
  .about-banner--team {
    height: auto;
    overflow: visible;
    margin-inline: clamp(16px, 4vw, 24px);
    border-radius: var(--r-md);
  }

  .about-banner--team .about-banner-frame {
    position: relative;
    inset: auto;
    height: auto;
    transform: none !important;
  }

  .about-banner--team .about-banner-frame img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: var(--r-md);
  }

  .about-banner--team .about-banner-veil {
    border-radius: var(--r-md);
    background:
      linear-gradient(90deg, rgba(3, 15, 30, 0.35) 0%, transparent 22%, transparent 78%, rgba(3, 15, 30, 0.35) 100%),
      linear-gradient(180deg, rgba(3, 15, 30, 0.22) 0%, transparent 18%, transparent 82%, rgba(3, 15, 30, 0.3) 100%);
  }

  .about-mission {
    padding: 24px 18px;
    text-align: left;
  }

  .about-mission-statement {
    font-size: clamp(19px, 5.2vw, 24px);
    text-align: left;
    margin-inline: 0;
  }

  .about-globe-section {
    padding-block: clamp(40px, 10vw, 64px);
    overflow: hidden;
  }

  .about-globe-title {
    font-size: clamp(26px, 7vw, 36px);
  }

  .about-globe-visual {
    min-height: clamp(280px, 78vw, 380px);
    margin-inline: -4vw;
  }

  .about-globe-stage {
    inset: -4% -6% -8%;
  }

  .page-about .hub {
    gap: 14px;
  }

  .page-about .hub-card {
    min-height: 0;
    padding: 22px 18px;
  }
}

@media (max-width: 390px) {
  .about-step {
    grid-template-columns: 36px 1fr;
    gap: 10px;
  }

  .about-step-marker {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .about-timeline::before {
    left: 17px;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  .about-step {
    grid-template-columns: 64px 1fr;
    gap: 28px;
  }

  .about-timeline::before {
    left: 31px;
  }

  .about-step-marker {
    width: 64px;
    height: 64px;
    font-size: 20px;
  }

  .about-values {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

@media (min-width: 1024px) {
  .about-globe-section {
    overflow: visible;
  }

  .about-globe-layout {
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
    gap: clamp(32px, 4vw, 56px);
    min-height: clamp(500px, 58vh, 680px);
    align-items: center;
  }

  .about-globe-visual {
    min-height: clamp(500px, 58vh, 680px);
    margin-right: calc(-1 * clamp(20px, 4vw, 48px));
  }

  .about-globe-stage {
    inset: -10% -18% -12% -6%;
  }

  .about-globe-hint {
    text-align: left;
    padding-left: 6%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-banner-frame {
    inset: 0;
    height: 100%;
    transform: none !important;
  }

  .about-banner--group .about-banner-frame,
  .about-banner--team .about-banner-frame {
    inset: auto;
    height: auto;
  }

  .about-timeline::before {
    transform: scaleY(1);
    transition: none;
  }

  .about-step-body:hover {
    transform: none;
  }
}
