﻿/* ═══════════════════════════════════════════════════════════════
   DEXTERA GROUP — Design System
   Palette: Night #0A1628 · Blue #1469b1 · White #FFFFFF
   Fonts: Fraunces (display serif) · Inter (body)
═══════════════════════════════════════════════════════════════ */

/* Fraunces — police variable optique (opsz 9→144, wght 300→900, ital 0/1)
   Axe opsz : 144 = mode display max, empattements expressifs et singuliers
   Axe WONK : 1   = active les glyphes ornementaux caractéristiques */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── RESET & TOKENS ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --night:       #0A1628;
  --night-80:    rgba(10,22,40,.8);
  --night-50:    rgba(10,22,40,.5);
  --blue:        #1469b1;
  --blue-light:  #4a9fd4;
  --blue-dark:   #0d4d85;
  --white:       #FFFFFF;
  --ivory:       #F8F5F0;
  --grey:        #64717D;

  --font-body:    'Inter', sans-serif;
  --font-display: 'Fraunces', serif;

  --ease-expo:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:  cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 80px;
  --section-py: clamp(80px, 10vw, 140px);
  --container:  1320px;
  --gutter:     clamp(20px, 4vw, 60px);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--night);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--blue); color: var(--night); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--blue); }

/* ─── CUSTOM CURSOR ──────────────────────────────────────────── */
.cursor {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform .1s, width .3s var(--ease-expo), height .3s var(--ease-expo), opacity .3s;
}
.cursor-follower {
  position: fixed; z-index: 9998; pointer-events: none;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(20,105,177,.5);
  transform: translate(-50%, -50%);
  transition: transform .4s var(--ease-smooth), width .3s var(--ease-expo), height .3s var(--ease-expo), opacity .3s;
}
.cursor.hovered { width: 16px; height: 16px; }
.cursor-follower.hovered { width: 56px; height: 56px; border-color: var(--blue); }
@media (hover:none) { .cursor, .cursor-follower { display:none; } }

/* ─── TYPOGRAPHY SCALE ───────────────────────────────────────── */
.t-label {
  font-family: var(--font-body);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--blue);
}

/* Hero — Fraunces opsz:144 mode display maximal
   empattements les plus expressifs, WONK ornements actifs */
.t-hero {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.8vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  font-variation-settings: 'opsz' 144, 'WONK' 1;
}

/* H1 — opsz:100 large mais légèrement assagi */
.t-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  font-variation-settings: 'opsz' 100, 'WONK' 1;
}

/* H2 — opsz:72 équilibre entre expressivité et lisibilité */
.t-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  font-variation-settings: 'opsz' 72, 'WONK' 0;
}

/* H3 — opsz:36 mode texte, propre et lisible */
.t-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  font-variation-settings: 'opsz' 36, 'WONK' 0;
}

.t-body { font-size: 1rem; line-height: 1.75; }
.t-small { font-size: .875rem; line-height: 1.6; }

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-py) 0; }
.section--dark { background: var(--night); color: var(--white); }
.section--ivory { background: var(--ivory); }

/* ─── GOLD LINE DIVIDER ──────────────────────────────────────── */
.blue-line {
  display: block; width: 48px; height: 2px;
  background: var(--blue); margin-bottom: 1.5rem;
}
.blue-line--center { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 1.1rem 2.2rem;
  transition: all .35s var(--ease-expo);
  position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform .4s var(--ease-expo);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover::after { transform: translateX(0); }

.btn--blue {
  background: var(--blue); color: var(--night);
}
.btn--blue:hover { color: var(--night); box-shadow: 0 12px 40px rgba(20,105,177,.35); }

.btn--outline {
  border: 1.5px solid var(--white); color: var(--white);
}
.btn--outline::after { background: var(--white); }
.btn--outline:hover { color: var(--night); }

.btn--outline-blue {
  border: 1.5px solid var(--blue); color: var(--blue);
}
.btn--outline-blue::after { background: var(--blue); }
.btn--outline-blue:hover { color: var(--night); }

.btn--outline-dark {
  border: 1.5px solid var(--night); color: var(--night);
}
.btn--outline-dark::after { background: var(--night); }
.btn--outline-dark:hover { color: var(--white); }

.btn svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .3s; }
.btn:hover svg { transform: translateX(4px); }

/* ─── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  transition: background .5s, backdrop-filter .5s, box-shadow .5s;
}
.nav.scrolled {
  background: rgba(10,22,40,.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(20,105,177,.15);
}
.nav.nav--light { background: transparent; }

.nav__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo img { height: 56px; width: auto; filter: brightness(0) invert(1); }

.nav__links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}
.nav__links a {
  font-size: .75rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color .25s;
  position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--blue);
  transition: width .3s var(--ease-expo);
}
.nav__links a:hover, .nav__links a.active { color: var(--blue); }
.nav__links a:hover::after { width: 100%; }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  display: flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  background: none; cursor: pointer;
  transition: color .25s;
}
.nav__dropdown-toggle:hover { color: var(--blue); }
.nav__dropdown-toggle svg { width: 12px; transition: transform .3s; }
/* svg rotation now handled by .open/.hover rule above */

.nav__dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 260px;
  background: var(--night);
  border: 1px solid rgba(20,105,177,.2);
  /* Bridge gap: invisible padding prevents hover gap between button and menu */
  padding: 1rem 0 .5rem;
  margin-top: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease-expo);
  z-index: 200;
}
/* Invisible bridge above the menu so mouse doesn't leave hover zone */
.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px; left: 0; right: 0;
  height: 20px;
  background: transparent;
}
.nav__dropdown.open .nav__dropdown-menu {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown.open .nav__dropdown-toggle svg,
/* svg rotation now handled by .open/.hover rule above */
.nav__dropdown-menu a {
  display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1.4rem;
  font-size: .75rem; color: rgba(255,255,255,.6);
  transition: all .2s; border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav__dropdown-menu a:last-child { border-bottom: none; }
.nav__dropdown-menu a img { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); opacity: .7; }
.nav__dropdown-menu a:hover { color: var(--blue); background: rgba(20,105,177,.06); }
.nav__dropdown-menu a:hover img { filter: none; opacity: 1; }

.nav__right { display: flex; align-items: center; gap: 1.5rem; }

.lang-switch {
  display: flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  cursor: pointer; transition: color .25s;
}
.lang-switch:hover, .lang-switch.active { color: var(--blue); }
.lang-sep { color: rgba(255,255,255,.2); }

/* Hamburger */
.nav__burger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 4px;
}
.nav__burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white);
  transition: all .35s var(--ease-expo);
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  position: fixed; inset: 0;
  background: var(--night);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  z-index: 999;
  opacity: 0; pointer-events: none;
  transition: opacity .4s;
}
.nav__mobile.open { opacity: 1; pointer-events: all; }
.nav__mobile a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 3rem);
  color: var(--white); padding: .6rem 0;
  transition: color .25s;
}
.nav__mobile a:hover { color: var(--blue); }
.nav__mobile-sub {
  margin-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.nav__mobile-sub a {
  font-family: var(--font-body);
  font-size: .85rem; color: rgba(255,255,255,.5);
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--night);
}
.hero__bg {
  position: absolute; inset: 0;
  /* Skyline africaine moderne au golden hour — Kigali Rwanda (Unsplash free license)
     Evoque le nouveau Dakar aspirationnel — immeubles modernes, lumière dorée dramatique */
  background: url('https://images.unsplash.com/photo-1687986261123-b17f08f2796c?w=1920&q=80') center 30%/cover no-repeat;
  transform-origin: center;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.92) 0%, rgba(10,22,40,.65) 100%);
}
.hero__grid {
  position: absolute; inset: 0; opacity: .04;
  background-image: linear-gradient(rgba(20,105,177,.4) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(20,105,177,.4) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero__corner {
  position: absolute; pointer-events: none;
}
.hero__corner--tl { top: 120px; left: clamp(20px,4vw,60px); }
.hero__corner--br { bottom: 80px; right: clamp(20px,4vw,60px); }
.hero__corner--tl::before, .hero__corner--tl::after,
.hero__corner--br::before, .hero__corner--br::after {
  content: ''; position: absolute; background: var(--blue); opacity: .5;
}
.hero__corner--tl::before { width: 1px; height: 60px; top: 0; left: 0; }
.hero__corner--tl::after  { width: 60px; height: 1px; top: 0; left: 0; }
.hero__corner--br::before { width: 1px; height: 60px; bottom: 0; right: 0; }
.hero__corner--br::after  { width: 60px; height: 1px; bottom: 0; right: 0; }

.hero__content {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 80px;
  width: 100%;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
}
.hero__eyebrow span { height: 1px; width: 40px; background: var(--blue); }
.hero__eyebrow p { font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--blue); }

.hero__title { color: var(--white); max-width: 900px; }
.hero__title em { font-style: italic; color: var(--blue); }
.hero__subtitle {
  margin-top: 1.5rem;
  color: rgba(255,255,255,.65);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7; max-width: 560px;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: 2.5rem;
}
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: 700px;
}
.hero__stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700; color: var(--blue);
  line-height: 1;
  font-variation-settings: 'opsz' 72, 'WONK' 0;
}
.hero__stat-label {
  font-size: .65rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: .5rem;
}
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  z-index: 2;
}
.hero__scroll span {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  position: relative; min-height: 50vh;
  display: flex; align-items: flex-end;
  background: var(--night); overflow: hidden;
  padding-bottom: clamp(40px, 6vw, 80px);
}
.page-hero__bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  opacity: .2;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--night) 40%, transparent);
}
.page-hero__content {
  position: relative; z-index: 2; width: 100%;
  padding-top: calc(var(--nav-h) + 80px);
}
.page-hero__content .t-label { margin-bottom: 1rem; }
.page-hero__content .t-h1 { color: var(--white); max-width: 800px; }
.page-hero__content p { color: rgba(255,255,255,.6); max-width: 540px; margin-top: 1rem; font-size: 1.1rem; line-height: 1.7; }

/* ─── SUBSIDIARIES GRID ──────────────────────────────────────── */
.subs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(20,105,177,.15);
}
.sub-card {
  position: relative; overflow: hidden;
  background: var(--night);
  padding: 2.5rem;
  display: flex; flex-direction: column;
  min-height: 300px;
  cursor: pointer;
  transition: background .4s;
}
.sub-card::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--blue);
  transition: width .5s var(--ease-expo);
}
.sub-card:hover::before { width: 100%; }
.sub-card:hover { background: #0d1e38; }

.sub-card__logo { height: 36px; margin-bottom: 2rem; object-fit: contain; object-position: left; filter: brightness(0) invert(1); opacity: .7; transition: opacity .3s, filter .3s; }
.sub-card:hover .sub-card__logo { filter: none; opacity: 1; }

.sub-card__number {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 700;
  color: rgba(20,105,177,.08); line-height: 1;
  position: absolute; top: 1.5rem; right: 1.5rem;
}
.sub-card__title { color: var(--white); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; transition: color .3s; }
.sub-card:hover .sub-card__title { color: var(--blue); }
.sub-card__tag { font-size: .65rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(20,105,177,.6); margin-bottom: 1rem; }
.sub-card__desc { font-size: .875rem; color: rgba(255,255,255,.45); line-height: 1.65; flex: 1; }
.sub-card__arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .65rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(20,105,177,.5); margin-top: 1.5rem;
  transition: color .3s, gap .3s;
}
.sub-card:hover .sub-card__arrow { color: var(--blue); gap: .75rem; }
.sub-card__arrow svg { width: 12px; }

/* ─── STATS SECTION ──────────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}
.stat-item { text-align: center; }
.stat-item__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 700; color: var(--night);
  line-height: 1;
}
.stat-item__suffix { color: var(--blue); }
.stat-item__line {
  width: 32px; height: 2px; background: var(--blue);
  margin: 1rem auto;
  transition: width .5s var(--ease-expo);
}
.stat-item:hover .stat-item__line { width: 64px; }
.stat-item__label { font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(10,22,40,.4); }

/* ─── ABOUT SPLIT ────────────────────────────────────────────── */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px); align-items: center;
}
.about-split__visual { position: relative; }
.about-split__img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
}
.about-split__frame {
  position: absolute; bottom: -20px; right: -20px;
  width: 100%; height: 100%;
  border: 1.5px solid rgba(20,105,177,.3);
  z-index: -1;
}
.about-split__badge {
  position: absolute; top: -24px; left: -24px;
  background: var(--night); padding: 1.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.about-split__badge-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--blue); }
.about-split__badge-txt { font-size: .65rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.value-card {
  display: flex; gap: .875rem;
  padding: 1.25rem;
  border: 1px solid rgba(10,22,40,.1);
  transition: border-color .3s;
}
.value-card:hover { border-color: var(--blue); }
.value-card__icon { flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.value-card__icon svg { width: 18px; }
.value-card__title { font-size: .875rem; font-weight: 600; margin-bottom: .25rem; }
.value-card__desc { font-size: .8rem; color: var(--grey); }

/* ─── PROJECTS GRID ──────────────────────────────────────────── */
.projects-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5px; background: rgba(20,105,177,.1);
}
.project-card {
  position: relative; overflow: hidden;
  aspect-ratio: 16/10; cursor: pointer;
}
.project-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-expo);
}
.project-card:hover .project-card__img { transform: scale(1.05); }
.project-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.95) 0%, rgba(10,22,40,.2) 60%, transparent);
}
.project-card__content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem;
}
.project-card__tag { font-size: .65rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; }
.project-card__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--white); }
.project-card__loc { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: .25rem; }
.project-card__link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .65rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue); margin-top: 1rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .35s var(--ease-expo);
}
.project-card:hover .project-card__link { opacity: 1; transform: translateY(0); }

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonial {
  max-width: 840px; margin: 0 auto; text-align: center;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic; line-height: 1.6;
  color: var(--night); margin: 2rem 0;
}
.testimonial__avatar {
  width: 52px; height: 52px;
  background: var(--night); color: var(--blue);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.testimonial__name { font-weight: 600; font-size: .95rem; }
.testimonial__role { font-size: .8rem; color: var(--grey); margin-top: .25rem; }
.testimonial__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.testimonial__dot {
  height: 2px; background: rgba(10,22,40,.15);
  cursor: pointer; transition: all .3s;
}
.testimonial__dot { width: 24px; }
.testimonial__dot.active { width: 48px; background: var(--blue); }

/* ─── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--night); text-align: center;
  padding: clamp(80px, 12vw, 160px) 0;
}
.cta-banner__bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?w=1920&q=80') center/cover no-repeat;
  opacity: .12;
}
.cta-banner__line-top, .cta-banner__line-bot {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: .4;
}
.cta-banner__line-top { top: 0; }
.cta-banner__line-bot { bottom: 0; }
.cta-banner__content { position: relative; z-index: 2; }
.cta-banner__title { color: var(--white); margin-bottom: 1rem; }
.cta-banner__sub { color: rgba(255,255,255,.55); max-width: 480px; margin: 0 auto 2.5rem; font-size: 1.05rem; line-height: 1.7; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta-banner__trust {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2rem; margin-top: 4rem; padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.cta-banner__trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
}
.cta-banner__trust-item::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
}

/* ─── WHATSAPP FLOAT ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,.4);
  z-index: 9997;
  animation: waPulse 3s ease-in-out infinite;
  transition: transform .3s, box-shadow .3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 26px; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 32px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 8px 48px rgba(37,211,102,.6), 0 0 0 8px rgba(37,211,102,.1); }
}

/* ─── ORBITAL FILIALES ───────────────────────────────────────── */
.orbital-section { background: #06101f; }

.orbital-layout {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  max-width: 820px;
  margin: 0 auto;
}

/* Stage */
.orbital-stage {
  flex-shrink: 0;
  position: relative;
  width: 420px;
  height: 420px;
}

/* Ring track */
.orbital-ring-track {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
}
.orbital-ring-track::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.05);
}

/* Center logo */
.orbital-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.orbital-center::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,.25) 0%, transparent 70%);
}
.orbital-center img {
  width: 88px;
  filter: brightness(0) invert(1);
  opacity: .85;
  object-fit: contain;
}

/* Nodes */
.orbital-nodes { position: absolute; inset: 0; }

.orbital-node {
  position: absolute;
  top: 50%; left: 50%;
  cursor: pointer;
  z-index: 5;
  will-change: transform;
}

.orbital-node__glow {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}
.orbital-node:hover .orbital-node__glow,
.orbital-node--active .orbital-node__glow { opacity: 1; }

.orbital-node__disk {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.orbital-node__disk img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}
.orbital-node:hover .orbital-node__disk {
  transform: scale(1.12);
  border-color: rgba(255,255,255,.6);
  box-shadow: 0 0 18px rgba(255,255,255,.2);
}
.orbital-node--active .orbital-node__disk {
  transform: scale(1.2);
  border-color: #fff;
  box-shadow: 0 0 24px rgba(255,255,255,.35);
}
.orbital-node--dim .orbital-node__disk {
  opacity: .35;
}
.orbital-node--dim .orbital-node__label { opacity: .2; }

.orbital-node__label {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  transition: color .3s, opacity .3s;
  pointer-events: none;
}
.orbital-node:hover .orbital-node__label,
.orbital-node--active .orbital-node__label { color: #fff; }

/* Info panel */
.orbital-panel {
  flex: 1;
  min-width: 0;
  color: var(--white);
}

.orbital-panel__idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 12px;
  min-height: 200px;
  color: rgba(255,255,255,.3);
}
.orbital-panel__idle svg { width: 32px; height: 32px; margin-bottom: 1rem; }
.orbital-panel__idle p { font-size: .8rem; line-height: 1.6; }

.orbital-panel__info {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
}
.orbital-panel__info--in {
  opacity: 1;
  transform: translateY(0);
}

.opi__logo-wrap {
  width: 120px; height: 48px;
  display: flex; align-items: center;
  margin-bottom: 1.25rem;
}
.opi__logo-wrap img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.opi__sector {
  display: inline-flex;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(26,86,219,.4);
  border-radius: 4px;
  padding: .2rem .6rem;
  margin-bottom: .85rem;
}
.opi__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .5rem;
}
.opi__slogan {
  font-size: .8rem;
  font-style: italic;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.opi__desc {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.opi__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.opi__link svg { width: 16px; height: 16px; }

/* Mobile grid */
.orbital-mobile { display: none; }

.orb-mob-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  text-decoration: none;
  color: var(--white);
  transition: background .2s, border-color .2s;
}
.orb-mob-card:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); }
.orb-mob-card__logo {
  flex-shrink: 0;
  width: 52px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.orb-mob-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }
.orb-mob-card__body { flex: 1; min-width: 0; }
.orb-mob-card__sector { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: .2rem; }
.orb-mob-card__name { font-weight: 700; font-size: .88rem; }
.orb-mob-card__slogan { font-size: .72rem; color: rgba(255,255,255,.45); margin-top: .15rem; font-style: italic; }
.orb-mob-card__arrow { flex-shrink: 0; width: 16px; height: 16px; color: rgba(255,255,255,.3); }

/* Responsive */
@media (max-width: 720px) {
  .orbital-layout { display: none; }
  .orbital-mobile { display: block; }
}
@media (max-width: 860px) and (min-width: 721px) {
  .orbital-layout { flex-direction: column; gap: 2rem; }
  .orbital-stage { width: 360px; height: 360px; }
  .orbital-ring-track { width: 280px; height: 280px; }
  .orbital-node__disk { width: 52px; height: 52px; }
}

/* ─── TEAM GRID ──────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: box-shadow .3s, transform .3s;
}
.team-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.12); transform: translateY(-4px); }
.team-card__img-wrap { aspect-ratio: 3/3.5; overflow: hidden; background: #edf0f4; }
.team-card__photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.team-card__photo--placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #c0c8d4;
}
.team-card__photo--placeholder svg { width: 64px; height: 64px; }
.team-card__body { padding: 1.5rem; }
.team-card__role { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .4rem; }
.team-card__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--night); line-height: 1.3; margin-bottom: .3rem; }
.team-card__sub { font-size: .75rem; color: var(--grey); margin-bottom: .75rem; }
.team-card__bio { font-size: .8rem; color: var(--grey); line-height: 1.65; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.team-card__socials { display: flex; gap: .5rem; }
.team-card__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: #f0f4f8; color: var(--night);
  transition: background .2s, color .2s;
}
.team-card__social:hover { background: var(--blue); color: var(--white); }
.team-card__social svg { width: 16px; height: 16px; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: #060e1a; color: var(--white);
  padding: 80px 0 0;
}
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__logo img { height: 48px; object-fit: contain; margin-bottom: 1.25rem; filter: brightness(0) invert(1); }
.footer__tagline { font-size: .8rem; color: rgba(255,255,255,.35); line-height: 1.7; max-width: 240px; }
.footer__social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, color .3s;
  color: rgba(255,255,255,.45);
}
.footer__social a:hover { border-color: var(--blue); color: var(--blue); }
.footer__social svg { width: 15px; }

.footer__heading { font-size: .65rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.25rem; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer__links a {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: rgba(255,255,255,.4);
  transition: color .25s;
}
.footer__links a:hover { color: var(--blue); }
.footer__links svg { width: 10px; flex-shrink: 0; transition: transform .3s; }
.footer__links a:hover svg { transform: translateX(3px); }

.footer__contact li { display: flex; gap: .75rem; margin-bottom: 1rem; }
.footer__contact svg { width: 15px; flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.footer__contact p, .footer__contact a { font-size: .8rem; color: rgba(255,255,255,.4); line-height: 1.6; }
.footer__contact a:hover { color: var(--blue); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding: 1.5rem 0;
}
.footer__copy { font-size: .75rem; color: rgba(255,255,255,.2); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { font-size: .7rem; color: rgba(255,255,255,.2); transition: color .25s; }
.footer__legal a:hover { color: var(--blue); }

/* ─── BLOG / CARDS ───────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.blog-card {
  border: 1px solid rgba(10,22,40,.1);
  overflow: hidden; transition: border-color .3s;
}
.blog-card:hover { border-color: rgba(20,105,177,.4); }
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-expo); }
.blog-card:hover .blog-card__img img { transform: scale(1.04); }
.blog-card__body { padding: 1.75rem; }
.blog-card__meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; align-items: center; }
.blog-card__cat {
  font-size: .65rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  background: rgba(20,105,177,.12); color: var(--blue);
  padding: .3rem .75rem;
}
.blog-card__date { font-size: .75rem; color: var(--grey); }
.blog-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin-bottom: .75rem; color: var(--night); transition: color .25s; }
.blog-card:hover .blog-card__title { color: var(--blue); }
.blog-card__excerpt { font-size: .875rem; color: var(--grey); line-height: 1.65; margin-bottom: 1.25rem; }
.blog-card__link { font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: .4rem; }
.blog-card__link svg { width: 12px; transition: transform .3s; }
.blog-card__link:hover svg { transform: translateX(4px); }

/* ─── CAREERS ────────────────────────────────────────────────── */
.career-card {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(10,22,40,.1);
  transition: border-color .35s; cursor: pointer;
}
.career-card:hover { border-color: var(--blue); }
.career-card__tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .5rem; }
.career-card__tag {
  font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .25rem .65rem;
}
.career-card__tag--cat { background: rgba(20,105,177,.1); color: var(--blue); }
.career-card__tag--type { background: rgba(10,22,40,.05); color: rgba(10,22,40,.5); }
.career-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--night); transition: color .25s; }
.career-card:hover .career-card__title { color: var(--blue); }
.career-card__info { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: .5rem; }
.career-card__info span { font-size: .8rem; color: var(--grey); display: flex; align-items: center; gap: .35rem; }
.career-card__info svg { width: 12px; color: var(--blue); }

/* ─── CONTACT ────────────────────────────────────────────────── */
.contact-split { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 100px); }
.contact-info__item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.contact-info__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(20,105,177,.1);
  display: flex; align-items: center; justify-content: center;
}
.contact-info__icon svg { width: 18px; color: var(--blue); }
.contact-info__label { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: .25rem; }
.contact-info__val { font-size: .9rem; color: var(--night); }
.contact-info__val a { transition: color .25s; }
.contact-info__val a:hover { color: var(--blue); }
.contact-info__map { background: rgba(10,22,40,.05); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; margin-top: 2rem; font-size: .8rem; color: var(--grey); gap: .5rem; }

/* Form */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form__group { display: flex; flex-direction: column; gap: .5rem; }
.form__label { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(10,22,40,.6); }
.form__input, .form__select, .form__textarea {
  width: 100%;
  border: 1px solid rgba(10,22,40,.2);
  padding: .9rem 1.1rem;
  font-family: var(--font-body); font-size: .9rem; color: var(--night);
  background: transparent;
  outline: none; appearance: none;
  transition: border-color .25s;
}
.form__input:focus, .form__select:focus, .form__textarea:focus { border-color: var(--blue); }
.form__textarea { resize: vertical; min-height: 140px; }
.form__select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 1rem center; padding-right: 2.5rem; }
.form__input--error, .form__select--error { border-color: #e05252 !important; }
.form__error-msg { display: block; margin-top: .3rem; font-size: .72rem; color: #e05252; }

/* Consentement RGPD */
.form__consent { display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; }
.form__consent input[type="checkbox"] {
  flex-shrink: 0; margin-top: .15rem;
  width: 1rem; height: 1rem;
  accent-color: var(--blue); cursor: pointer;
}
.form__consent-text { font-size: .78rem; color: var(--grey); line-height: 1.6; }
.form__consent-text a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ─── SUBSIDIARY PAGE ────────────────────────────────────────── */
.sub-page__logo { height: 48px; object-fit: contain; margin-bottom: 1.5rem; }
.sub-page__intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.sub-page__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.sub-page__stat { border-left: 2px solid var(--blue); padding-left: 1.25rem; }
.sub-page__stat-val { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--night); }
.sub-page__stat-lbl { font-size: .7rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--grey); margin-top: .25rem; }

/* ── Hero logo + nom filiale ── */
.page-hero__brand {
  display: flex; align-items: center; gap: 1.25rem;
  margin: .75rem 0 1.25rem;
}
.page-hero__brand-logo {
  height: 72px; object-fit: contain;
  filter: brightness(0) invert(1);
}
.page-hero__brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700; color: var(--white);
  line-height: 1.1;
  border-left: 2px solid var(--blue);
  padding-left: 1rem;
}

/* ── Image illustrative droite avec stats overlay ── */
.sub-page__visual { position: relative; }
.sub-page__img-wrap {
  position: relative; overflow: hidden;
  border-left: 3px solid var(--blue);
}
.sub-page__img-wrap img {
  width: 100%; height: 420px;
  object-fit: cover; display: block;
  transition: transform .6s var(--ease-expo);
}
.sub-page__img-wrap:hover img { transform: scale(1.03); }
.sub-page__img-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(10,22,40,.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(20,105,177,.2);
}
.sub-page__img-stat {
  padding: 1rem .75rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
}
.sub-page__img-stat:last-child { border-right: none; }
.sub-page__img-stat-val {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--blue); display: block;
  line-height: 1;
}
.sub-page__img-stat-lbl {
  font-size: .58rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5); display: block;
  margin-top: .3rem; line-height: 1.3;
}

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: rgba(255,255,255,.07); }
.service-card {
  background: var(--night); padding: 2rem;
  transition: background .3s;
  border-bottom: 2px solid transparent;
  transition: all .3s;
}
.service-card:hover { background: #0d1e38; border-bottom-color: var(--blue); }
.service-card__icon { color: var(--blue); margin-bottom: 1.25rem; }
.service-card__icon svg { width: 22px; }
.service-card__title { color: var(--white); font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: .75rem; transition: color .3s; }
.service-card:hover .service-card__title { color: var(--blue); }
.service-card__desc { font-size: .825rem; color: rgba(255,255,255,.4); line-height: 1.65; }

/* ─── TIMELINE ───────────────────────────────────────────────── */
.timeline { position: relative; max-width: 700px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 0; bottom: 0; width: 1px;
  background: rgba(10,22,40,.1);
}
.timeline-item {
  display: grid; grid-template-columns: 1fr 40px 1fr;
  gap: 1rem; align-items: start; margin-bottom: 2rem;
}
.timeline-item__content {
  padding: 1.5rem;
  border: 1px solid rgba(10,22,40,.1);
  transition: border-color .3s;
}
.timeline-item:hover .timeline-item__content { border-color: rgba(20,105,177,.3); }
.timeline-item:nth-child(even) .timeline-item__content:first-child { opacity: 0; pointer-events: none; }
.timeline-item:nth-child(odd) .timeline-item__content:last-child { opacity: 0; pointer-events: none; }
.timeline-item__dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); margin: 1.6rem auto 0;
  box-shadow: 0 0 0 4px rgba(20,105,177,.2);
  flex-shrink: 0;
}
.timeline-item__year { font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; }
.timeline-item__title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.timeline-item__desc { font-size: .825rem; color: var(--grey); line-height: 1.6; }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────────── */
.reveal { opacity: 0; }
.reveal--up    { transform: translateY(50px); }
.reveal--left  { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal.in-view { opacity: 1; transform: none; transition: opacity .8s var(--ease-expo), transform .8s var(--ease-expo); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .subs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .sub-page__intro { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__right { display: none; }
  .nav__burger { display: flex; }
  .subs-grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding: 0 1rem; }
  .timeline::before { left: 20px; transform: none; }
  .timeline-item { grid-template-columns: 20px 1fr; }
  .timeline-item__content:first-child { display: none; }
  .timeline-item:nth-child(even) .timeline-item__content:last-child,
  .timeline-item:nth-child(odd) .timeline-item__content:last-child { opacity: 1; pointer-events: all; }
  .timeline-item__dot { margin: 1.6rem 0 0; }
  .services-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .sub-page__stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .sub-page__stats { grid-template-columns: 1fr; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
}

/* ─── SKIP LINK ──────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--blue); color: var(--white);
  padding: .75rem 1.5rem;
  font-size: .875rem; font-weight: 600;
  z-index: 10000;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ─── FOCUS RINGS ────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ─── MOBILE ACCORDION FILIALES ──────────────────────────────── */
.nav__mobile-acc-btn {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 3rem);
  color: rgba(255,255,255,.75); padding: .6rem 0;
  display: flex; align-items: center; gap: .75rem;
  transition: color .25s; background: none;
  cursor: pointer; border: none; font-weight: 400;
}
.nav__mobile-acc-btn:hover { color: var(--blue); }
.nav__mobile-acc-btn svg {
  width: 20px; transition: transform .3s var(--ease-expo);
}
.nav__mobile-acc-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__mobile-acc-panel {
  overflow: hidden; max-height: 0;
  transition: max-height .4s var(--ease-expo);
}
.nav__mobile-acc-panel.open { max-height: 400px; }
.nav__mobile-acc-panel a {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  color: rgba(255,255,255,.5) !important;
  padding: .4rem 1.5rem !important;
}

/* ─── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .whatsapp-float { animation: none; }
  .hero__scroll-line { animation: none; }
  .cursor, .cursor-follower { display: none; }
}

/* ─── GRAIN TEXTURE ──────────────────────────────────────────── */
.section--grain::after,
.section--dark.section--grain::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: .03;
  pointer-events: none;
  z-index: 0;
}
.section--grain { position: relative; }
.section--grain > * { position: relative; z-index: 1; }

/* ─── UTILITIES ──────────────────────────────────────────────── */
.mt-0  { margin-top: 0; }
.mt-xs { margin-top: .5rem; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-grey  { color: var(--grey); }
.text-white { color: var(--white); }
.text-blue  { color: var(--blue); }
.max-600 { max-width: 600px; }
.max-800 { max-width: 800px; }
.w-full { width: 100%; justify-content: center; }

/* ─── WATERMARK TYPOGRAPHIQUE ────────────────────────────────── */
.section-wm {
  position: relative;
  overflow: hidden;
}
.section-wm::before {
  content: attr(data-wm);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 800;
  color: var(--blue);
  opacity: .03;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -.02em;
  user-select: none;
}

/* ─── SPLIT TEXT REVEAL ──────────────────────────────────────── */
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotate(2deg);
  transition: opacity .7s var(--ease-expo), transform .7s var(--ease-expo);
}
.split-word.in-view {
  opacity: 1;
  transform: none;
}

/* ─── PROJECT CARD LOCATION ──────────────────────────────────── */
.project-card__loc {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  letter-spacing: .08em;
  opacity: .7;
  margin-top: .25rem;
}
.project-card__loc svg { flex-shrink: 0; opacity: .8; }

/* ─── EMPTY STATE ────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 480px;
  margin: 0 auto;
}
.empty-state__icon {
  width: 64px; height: 64px;
  border: 1px solid rgba(20,105,177,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--blue);
}
.empty-state__title {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--night);
  margin-bottom: .75rem;
}
.empty-state__text {
  font-size: .9rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ─── CTA BANNER ENHANCED ────────────────────────────────────── */
.cta-banner {
  position: relative;
  background: var(--night);
  overflow: hidden;
}
.cta-banner::after {
  content: 'BUILD';
  position: absolute;
  right: -2rem; bottom: -3rem;
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 20rem);
  font-weight: 800;
  color: var(--blue);
  opacity: .04;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ─── ABOUT SECTION ENHANCED ─────────────────────────────────── */
.about-split__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── HERO PARALLAX HINT ─────────────────────────────────────── */
.hero__bg {
  will-change: transform;
}

/* ─── MOBILE HERO STATS 2x2 ─────────────────────────────────── */
@media (max-width: 600px) {
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .hero__stat-value {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }
  .project-card__img {
    min-height: 220px;
    object-fit: cover;
  }
}

/* ─── BLOG CARD TITLE FONT FIX (Syne) ───────────────────────── */
.blog-card__title,
.career-card__title,
.timeline-item__title,
.service-card__title {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ─── NAV MOBILE ACCORDION FONT FIX ─────────────────────────── */
.nav__mobile-acc-btn {
  font-family: var(--font-display);
  font-weight: 700;
}
.nav__mobile a {
  font-family: var(--font-display);
  font-weight: 700;
}
