/* =====================================================================
   BECR — feuille de style principale (refonte 2026)
   Identité conservée : Raleway, bleu #283a8f / vert #7eb03f du logo.
   ===================================================================== */

:root {
  --blue: #283a8f;
  --blue-2: #285f8f;
  --green: #7eb03f;
  --ink: #1b2240;
  --text: #384141;
  --muted: #6a7280;
  --line: #e4e7ee;
  --soft: #f5f7fa;
  --white: #fff;
  --gradient: linear-gradient(90deg, #7eb03f 0%, #285f8f 55%, #283a8f 100%);
  --pole: var(--blue);

  --font: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -22px rgba(27, 34, 64, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 400; }
p { margin: 0 0 1.1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 14px 30px;
  border: 0; border-radius: 50px;
  background: var(--gradient); background-size: 200% 100%; background-position: 0 0;
  color: #fff; font-weight: 500; font-size: 15px; letter-spacing: .02em;
  transition: background-position .5s var(--ease), transform .3s var(--ease), box-shadow .3s;
  box-shadow: 0 10px 24px -12px rgba(40, 58, 143, .7);
}
.btn:hover { color: #fff; background-position: 100% 0; transform: translateY(-2px); }
.btn i { font-size: 1.15em; transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn--sm { padding: 9px 20px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn--ghost:hover { background: var(--blue); }
.btn--light { background: #fff; color: var(--blue); box-shadow: none; }
.btn--light:hover { color: var(--blue); background: #fff; }
.btn--outline-light { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  margin: 0 0 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #b9dc8e; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 300; letter-spacing: -.01em; }
.section-title strong, .hero__title strong, .cta__title strong { font-weight: 600; color: var(--blue); }
.section--dark .section-title strong, .hero__title strong, .cta__title strong { color: #b9dc8e; }
.section-lead { font-size: 18px; color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; view-transition-name: site-header; }
.topbar { background: var(--ink); color: rgba(255,255,255,.75); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.topbar__tagline { margin: 0; letter-spacing: .04em; }
.topbar__links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }
.topbar i { margin-right: 6px; color: var(--green); }
.nav { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.is-scrolled .nav { box-shadow: 0 10px 30px -18px rgba(27,34,64,.35); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--blue); }
.brand img { width: 40px; height: 40px; }
.brand__name { font-size: 24px; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.brand__name small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .3em; color: var(--green); text-transform: uppercase; margin-top: 4px; }
.nav__menu { display: flex; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav__menu a {
  position: relative; display: block; padding: 10px 14px;
  color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--pole, var(--gradient)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__menu li:not(.nav__pole) a::after { background: var(--gradient); }
.nav__menu a:hover, .nav__menu a[aria-current] { color: var(--blue); }
.nav__menu a:hover::after, .nav__menu a[aria-current]::after { transform: scaleX(1); }
.nav__tools { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 50px; padding: 3px; font-size: 12px; font-weight: 700; }
.lang span { padding: 4px 9px; border-radius: 50px; color: var(--muted); transition: .3s; }
.lang span.is-on { background: var(--blue); color: #fff; }
.lang:hover span:not(.is-on) { color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: .35s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: min(88vh, 820px); color: #fff; overflow: hidden; isolation: isolate; }
.hero--page { min-height: 62vh; }
.hero--short { min-height: 48vh; }
.hero--pole { min-height: min(82vh, 760px); align-items: flex-end; padding-bottom: 140px; }
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--ink) center / cover no-repeat; view-transition-name: hero-media; }
.hero--home .hero__media { view-transition-name: none; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero--pole .hero__media, .hero--page .hero__media { animation: kenburns 18s ease-out both; }
.hero__shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(27,34,64,.88) 0%, rgba(27,34,64,.55) 55%, rgba(27,34,64,.25) 100%); }
.hero--pole .hero__shade { background:
  linear-gradient(0deg, rgba(27,34,64,.9) 0%, rgba(27,34,64,.2) 70%),
  linear-gradient(100deg, color-mix(in srgb, var(--pole) 70%, transparent) 0%, transparent 70%); }
.hero__content { padding-block: 80px; }
.hero__title { color: #fff; font-size: clamp(36px, 5.6vw, 68px); font-weight: 300; max-width: 15ch; letter-spacing: -.015em; view-transition-name: hero-title; }
.hero--home .hero__title { max-width: 18ch; }
.hero__lead { font-size: clamp(17px, 1.6vw, 21px); max-width: 52ch; color: rgba(255,255,255,.85); font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrollcue 1.8s infinite; }
/* Home hero slideshow (until the client supplies a video), tuned for 4 images
   (25 % of the cycle each): 6 s per image with a slow zoom. */
.slides { position: absolute; inset: 0; }
.slides__img {
  position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0;
  animation: slide-show calc(var(--n) * 6s) linear infinite, kenburns calc(var(--n) * 6s) ease-out infinite;
  animation-delay: calc(var(--i) * 6s);
}
.slides__img:first-child { opacity: 1; }
@keyframes slide-show { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 32% { opacity: 0; } 100% { opacity: 0; } }
.hero-in { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Pole switcher (hero of pole pages) ---------- */
.pole-switch {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(3, 1fr);
  width: min(720px, calc(100% - 2 * var(--gutter)));
  padding: 6px; border-radius: 60px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  view-transition-name: pole-switch;
}
.pole-switch a {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 10px; border-radius: 50px; color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600; letter-spacing: .03em;
  transition: color .3s;
}
.pole-switch a i { font-size: 20px; }
.pole-switch a:hover { color: #fff; }
.pole-switch a[aria-current] { color: var(--pole); }
.pole-switch__indicator {
  position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px;
  width: calc((100% - 12px) / 3);
  border-radius: 50px; background: #fff;
  transform: translateX(calc(var(--i) * 100%));
  transition: transform .5s var(--ease);
  view-transition-name: pole-indicator;
}

/* ---------- Pole side rail (theme legacy: vertical tabs) ---------- */
.pole-rail { position: fixed; left: 0; top: 50%; z-index: 40; display: flex; flex-direction: column; gap: 8px; transform: translateY(-50%); }
.pole-rail__tab {
  display: flex; align-items: center; gap: 10px;
  width: 52px; padding: 14px; overflow: hidden; white-space: nowrap;
  border-radius: 0 30px 30px 0; background: var(--pole, #5b6170); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 10px 25px -14px rgba(0,0,0,.6);
  transition: width .45s var(--ease), padding .45s var(--ease);
}
.pole-rail__tab i { font-size: 24px; flex: none; }
.pole-rail__tab span { opacity: 0; transition: opacity .3s; }
.pole-rail__tab:hover, .pole-rail__tab:focus-visible { width: 220px; padding-left: 20px; color: #fff; }
.pole-rail__tab:hover span, .pole-rail__tab:focus-visible span { opacity: 1; }
.pole-rail__tab.is-active { width: 60px; box-shadow: inset -4px 0 0 rgba(255,255,255,.6), 0 10px 25px -14px rgba(0,0,0,.6); }
.pole-rail__tab.is-active:hover { width: 220px; }
.pole-rail__tab--contact { --pole: #5b6170; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(70px, 9vw, 120px); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.78); }
.section--dark .section-title { color: #fff; }
.section--dark .section-lead { color: rgba(255,255,255,.6); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split__text > p { font-size: 17.5px; }
.split__text .btn { margin-top: 10px; }
.split__media { position: relative; }
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.split__media::before { /* blue rectangle accent from the previous theme */
  content: ""; position: absolute; z-index: -1; left: -22px; bottom: -22px; width: 55%; height: 60%;
  border-radius: var(--radius-lg); background: var(--gradient);
}
.frame__badge {
  position: absolute; right: -14px; top: 28px; padding: 14px 20px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); text-align: center; line-height: 1.1;
}
.frame__badge strong { display: block; font-size: 30px; color: var(--blue); font-weight: 700; }
.frame__badge span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 600; }

/* ---------- Home pole panels (expanding) ---------- */
.poles { padding-bottom: 0; }
.poles__panels { display: flex; height: min(78vh, 640px); gap: 6px; padding: 0 6px 6px; }
.pole-panel {
  position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: var(--radius-lg); color: #fff;
  transition: flex .8s var(--ease);
}
.poles__panels:hover .pole-panel { flex: .7; }
.poles__panels .pole-panel:hover, .poles__panels .pole-panel:focus-visible { flex: 1.8; color: #fff; }
.pole-panel__media { position: absolute; inset: 0; background: center / cover no-repeat; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.pole-panel:hover .pole-panel__media { transform: scale(1); }
.pole-panel__shade { position: absolute; inset: 0;
  background: linear-gradient(0deg, color-mix(in srgb, var(--pole) 92%, black) 0%, color-mix(in srgb, var(--pole) 45%, transparent) 55%, rgba(0,0,0,.15) 100%);
  transition: opacity .6s; }
.pole-panel__body { position: absolute; inset: auto 0 0 0; padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 6px; }
.pole-panel__num { position: absolute; top: clamp(22px, 3vw, 36px); left: clamp(22px, 3vw, 40px); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
.pole-panel__icon { font-size: 42px; margin-bottom: 6px; }
.pole-panel__name { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; line-height: 1.1; }
.pole-panel__tag { font-size: 16px; opacity: .9; }
.pole-panel__summary, .pole-panel__more {
  max-height: 0; opacity: 0; overflow: hidden; transform: translateY(12px);
  transition: max-height .6s var(--ease), opacity .4s, transform .6s var(--ease);
}
.pole-panel__summary { max-width: 46ch; font-size: 15.5px; }
.pole-panel__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.pole-panel:hover .pole-panel__summary, .pole-panel:focus-visible .pole-panel__summary,
.pole-panel:hover .pole-panel__more, .pole-panel:focus-visible .pole-panel__more { max-height: 140px; opacity: 1; transform: none; transition-delay: .15s; }
.pole-panel:hover .pole-panel__more i { animation: nudge 1s infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: clamp(50px, 7vw, 90px) 0 0; padding: 0; }
.stat { padding: 28px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border-top: 3px solid transparent; border-image: var(--gradient) 1; }
.stat__value { display: block; font-size: clamp(40px, 4.4vw, 56px); font-weight: 300; line-height: 1; color: var(--blue); }
.stat__label { display: block; margin-top: 10px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--5 { display: flex; flex-wrap: wrap; justify-content: center; }
.cards--5 > * { flex: 1 1 200px; max-width: 320px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 32px 26px;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); color: var(--text);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
  overflow: hidden;
}
.section--soft .card { border-color: transparent; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--pole, var(--gradient)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--text); }
.card:hover::before { transform: scaleX(1); }
.card__icon { font-size: 40px; color: var(--pole, var(--blue)); margin-bottom: 18px; }
.card__title { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.card p { font-size: 15.5px; margin: 0; color: var(--muted); }
.card__more { margin-top: auto; padding-top: 18px; color: var(--pole, var(--blue)); font-size: 22px; transition: transform .3s var(--ease); }
.card:hover .card__more { transform: translateX(6px); }
.card--pole { padding-top: 0; }
.card__img { display: block; height: 180px; margin: 0 -26px 22px; background: center / cover no-repeat; transition: transform 1s var(--ease); }
.card--pole:hover .card__img { transform: scale(1.05); }
.card__since { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pole); margin-bottom: 6px; }

/* ---------- Checklist (distinctions) ---------- */
.checklist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.checklist--col { grid-template-columns: 1fr 1fr; }
.checklist li { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); color: #fff; font-weight: 500; line-height: 1.45; transition: background .3s, transform .4s var(--ease); }
.checklist li:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.checklist i { font-size: 30px; color: var(--green); }

/* ---------- Pillars ---------- */
.pillars { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.pillars--row { grid-template-columns: repeat(3, 1fr); margin-top: 60px; }
.pillar { position: relative; display: flex; gap: 20px; align-items: flex-start; padding: 26px; border-radius: var(--radius); background: var(--soft); transition: background .3s, transform .4s var(--ease); }
.pillar:hover { background: #fff; box-shadow: var(--shadow); transform: translateX(6px); }
.pillars--row .pillar:hover { transform: translateY(-4px); }
.pillar > i { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--pole); color: #fff; font-size: 28px; }
.pillar h3 { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15.5px; }
.pillar__num { position: absolute; right: 22px; top: 18px; font-size: 13px; font-weight: 700; color: var(--pole); opacity: .4; letter-spacing: .1em; }

/* ---------- Quote band ---------- */
.quote { position: relative; padding-block: clamp(70px, 9vw, 110px); color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--pole) 0%, color-mix(in srgb, var(--pole) 55%, var(--ink)) 100%); }
.quote::after { content: "\201C"; position: absolute; right: 4%; top: -60px; font-size: 360px; line-height: 1; color: rgba(255,255,255,.07); font-family: Georgia, serif; }
.quote__inner { max-width: 900px; }
.quote blockquote { margin: 0 0 18px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 300; line-height: 1.35; color: #fff; }
.quote blockquote strong { font-weight: 600; color: #d6efb6; }
.quote p { color: rgba(255,255,255,.8); margin: 0; }

/* ---------- Ticks / tools / countries / timeline ---------- */
.ticks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; color: var(--ink); }
.ticks li::before { content: "\f00c"; font-family: "Line Awesome Free"; font-weight: 900; position: absolute; left: 0; top: 0; color: var(--green); }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.tool { padding: 40px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.tool::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 260px; height: 260px; border-radius: 50%; background: var(--gradient); opacity: .08; }
.tool__name { margin: 0; font-size: 40px; font-weight: 700; letter-spacing: .08em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tool__kind { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--green); }
.tool p:last-child { margin: 0; }
.countries { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.countries li { display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.countries li:hover { border-color: var(--pole); transform: translateX(6px); }
.countries strong { display: block; color: var(--ink); font-size: 18px; }
.countries__code { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--pole); color: #fff; font-weight: 700; letter-spacing: .08em; }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--gradient); opacity: .5; }
.timeline li { position: relative; padding-top: 58px; }
.timeline li::before { content: ""; position: absolute; top: 14px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.timeline__year { display: block; font-size: 28px; font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: 15.5px; }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--line); aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__cap { position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; color: #fff; font-size: 14px; font-weight: 500;
  background: linear-gradient(0deg, rgba(27,34,64,.85), transparent); transform: translateY(100%); transition: transform .45s var(--ease); }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { transform: none; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15,19,38,.94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: fadein .3s; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; max-width: min(1200px, 88vw); text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { margin-top: 14px; color: rgba(255,255,255,.8); }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; display: grid; place-items: center; }
.lightbox button:hover { background: var(--green); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; }
.lightbox__nav--next { right: 20px; top: 50%; }
@keyframes fadein { from { opacity: 0; } }

/* ---------- References ---------- */
.refs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.refs li { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-radius: var(--radius); background: #fff; color: var(--ink); font-weight: 600; line-height: 1.35; border-left: 3px solid var(--green); transition: transform .4s var(--ease), box-shadow .4s; }
.refs li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.refs i { font-size: 28px; color: var(--blue); flex: none; }

/* ---------- Prev / next pole ---------- */
.pole-next { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: #fff; }
.pole-next__card { position: relative; display: flex; align-items: flex-end; min-height: 300px; overflow: hidden; border-radius: var(--radius-lg); color: #fff; isolation: isolate; }
.pole-next__card--next { justify-content: flex-end; text-align: right; }
.pole-next__img { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.pole-next__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--pole) 92%, black), color-mix(in srgb, var(--pole) 40%, transparent)); transition: opacity .5s; }
.pole-next__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pole); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .7s var(--ease); opacity: .85; }
.pole-next__card--prev { --origin: right; }
.pole-next__card:hover { color: #fff; }
.pole-next__card:hover .pole-next__img { transform: scale(1.12); }
.pole-next__card:hover::after { transform: scaleX(1); }
.pole-next__body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 6px; }
.pole-next__label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.pole-next__name { font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; line-height: 1.1; }
.pole-next__tag { opacity: .85; }

/* ---------- CTA ---------- */
.cta { position: relative; padding-block: clamp(80px, 10vw, 130px); background: var(--gradient); color: #fff; overflow: hidden; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: url("/img/logo.png") right -80px center / 520px no-repeat; opacity: .07; mix-blend-mode: luminosity; }
.cta__inner { position: relative; max-width: 860px; }
.cta .eyebrow { justify-content: center; color: #fff; }
.cta__title { color: #fff; font-size: clamp(30px, 4vw, 50px); font-weight: 300; }
.cta__text { font-size: 18px; color: rgba(255,255,255,.88); margin-bottom: 32px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--blue); font-size: 22px; }
.form { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 10px 0 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--soft); transition: border-color .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field .is-invalid, .field :user-invalid { border-color: #d14343; }
.form__status { min-height: 1.5em; font-weight: 500; }
.form__status.is-ok { color: #3d7a12; }
.form__status.is-error { color: #c0392b; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.4); }

/* ---------- Offices + footer ---------- */
.offices { padding-block: 70px; background: var(--soft); border-top: 1px solid var(--line); }
.offices__title { font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin-bottom: 30px; }
.offices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.office { font-style: normal; font-size: 15px; color: var(--muted); padding-left: 20px; border-left: 2px solid var(--line); transition: border-color .3s; }
.office:hover { border-color: var(--green); }
.office p { margin: 0 0 6px; }
.office__country { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.office__city { font-size: 24px; color: var(--ink) !important; font-weight: 600; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 20px; background: var(--green); color: #fff; font-size: 10px; letter-spacing: .1em; vertical-align: 2px; }
.footer { background: var(--ink); color: rgba(255,255,255,.65); font-size: 15px; }
.footer a { color: rgba(255,255,255,.8); }
.footer a:hover { color: var(--green); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 60px 40px; }
.footer__brand { display: flex; gap: 20px; align-items: center; }
.footer__brand img { width: 56px; height: auto; background: #fff; padding: 8px; border-radius: 10px; }
.footer__brand p { margin: 0; max-width: 30ch; }
.footer__nav { list-style: none; margin: 0; padding: 0; columns: 2; }
.footer__nav li { margin-bottom: 8px; }
.footer__social p { margin-bottom: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.footer__social a { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-right: 8px; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 20px; transition: background .3s; }
.footer__social a:hover { background: var(--green); color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.footer__bottom p { margin: 0; }
.go-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gradient); color: #fff; font-size: 24px; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .4s var(--ease); }
.is-scrolled-far .go-top { opacity: 1; transform: none; pointer-events: auto; }
.go-top:hover { color: #fff; transform: translateY(-3px); }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: flex; gap: 20px; align-items: center; max-width: 620px; padding: 20px 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 20px 50px -20px rgba(27,34,64,.5); font-size: 14px; animation: rise .6s var(--ease) both; }
.cookie[hidden] { display: none; }
.cookie p { margin: 4px 0 0; color: var(--muted); }
.cookie strong { color: var(--ink); }
.cookie__actions { display: flex; gap: 8px; flex: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   PAGE TRANSITIONS
   1) Cross-document View Transitions (Chrome / Edge / Safari 18.2+):
      header stays put, the pole switcher indicator slides to the new
      pole, the hero image slides in the travel direction.
   2) Fallback curtain (other browsers), driven by js/becr.js.
   ===================================================================== */
@view-transition { navigation: auto; }

::view-transition-group(*) { animation-duration: .7s; animation-timing-function: var(--ease); }
::view-transition-old(root) { animation: .35s ease both vt-fade-out; }
::view-transition-new(root) { animation: .55s .15s var(--ease) both vt-rise-in; }
::view-transition-group(pole-indicator) { animation-duration: .65s; }

/* Pole → pole: directional slide of the hero image and title */
html:active-view-transition-type(pole-forward)::view-transition-old(hero-media) { animation: .7s var(--ease) both vt-out-left; }
html:active-view-transition-type(pole-forward)::view-transition-new(hero-media) { animation: .7s var(--ease) both vt-in-right; }
html:active-view-transition-type(pole-back)::view-transition-old(hero-media) { animation: .7s var(--ease) both vt-out-right; }
html:active-view-transition-type(pole-back)::view-transition-new(hero-media) { animation: .7s var(--ease) both vt-in-left; }
html:active-view-transition-type(pole-forward)::view-transition-old(hero-title),
html:active-view-transition-type(pole-back)::view-transition-old(hero-title) { animation: .35s ease both vt-fade-out; }
html:active-view-transition-type(pole-forward)::view-transition-new(hero-title),
html:active-view-transition-type(pole-back)::view-transition-new(hero-title) { animation: .6s .25s var(--ease) both vt-rise-in; }
html:active-view-transition-type(pole-forward)::view-transition-group(hero-title),
html:active-view-transition-type(pole-back)::view-transition-group(hero-title) { animation: none; }

@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-rise-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes vt-out-left { to { transform: translateX(-30%); opacity: 0; } }
@keyframes vt-in-right { from { transform: translateX(100%); } }
@keyframes vt-out-right { to { transform: translateX(30%); opacity: 0; } }
@keyframes vt-in-left { from { transform: translateX(-100%); } }

/* Fallback curtain */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; background: var(--curtain, var(--blue)); transform: scaleX(0); transform-origin: right; }
.curtain.is-covering { transform: scaleX(1); transform-origin: left; transition: transform .45s var(--ease); pointer-events: auto; }
.curtain.is-revealing { transform: scaleX(0); transform-origin: right; transition: transform .6s .05s var(--ease); }
.curtain-in .curtain { transform: scaleX(1); }
.curtain.is-back.is-covering { transform-origin: right; }
.curtain.is-back.is-revealing { transform-origin: left; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .nav__cta { display: none; }
  .checklist { grid-template-columns: repeat(2, 1fr); }
  .topbar__cities { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .burger { display: block; }
  .nav__tools { margin-left: auto; }
  .nav { backdrop-filter: none; background: #fff; } /* a filter would trap the fixed menu */
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; flex-direction: column; gap: 0; margin: 0;
    padding: 30px var(--gutter); background: #fff; overflow-y: auto;
    clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease); visibility: hidden;
  }
  .nav-open .nav__menu { clip-path: inset(0); visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav__menu li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-10px); transition: .4s var(--ease); }
  .nav-open .nav__menu li { opacity: 1; transform: none; }
  .nav-open .nav__menu li:nth-child(2) { transition-delay: .05s; } .nav-open .nav__menu li:nth-child(3) { transition-delay: .1s; }
  .nav-open .nav__menu li:nth-child(4) { transition-delay: .15s; } .nav-open .nav__menu li:nth-child(5) { transition-delay: .2s; }
  .nav-open .nav__menu li:nth-child(6) { transition-delay: .25s; }
  .nav__menu a { padding: 18px 0; font-size: 20px; text-transform: none; font-weight: 500; }
  .nav__menu a::after { left: 0; right: auto; width: 40px; bottom: 10px; }
  .nav__pole a { border-left: 4px solid var(--pole); padding-left: 14px; }
  .nav__pole a::after { display: none; }
  .split, .contact { grid-template-columns: 1fr; }
  .split__media { order: -1; max-width: 640px; }
  .split__media::before { left: -12px; bottom: -12px; }
  .frame__badge { right: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards--3, .cards--4, .refs { grid-template-columns: repeat(2, 1fr); }
  .poles__panels { flex-direction: column; height: auto; }
  .pole-panel, .poles__panels:hover .pole-panel, .poles__panels .pole-panel:hover { flex: none; min-height: 300px; }
  .pole-panel__summary, .pole-panel__more { max-height: 140px; opacity: 1; transform: none; }
  .pole-rail { display: none; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .offices__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand__name small { display: none; }
  .lang span { padding: 4px 7px; }
  .hero--pole { padding-bottom: 120px; }
  .pole-switch { bottom: 20px; }
  .pole-switch a { flex-direction: column; gap: 2px; padding: 8px 4px; font-size: 11.5px; text-align: center; line-height: 1.2; }
  .cards--3, .cards--4, .refs, .checklist, .checklist--col, .stats, .pillars--row, .tools, .ticks, .timeline, .form__grid, .pole-next { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 16px; }
  .pole-next__card { min-height: 220px; }
  .gallery__cap { display: none; }
  .quote::after { font-size: 200px; }
  .footer__inner, .footer__bottom { grid-template-columns: 1fr; flex-direction: column; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
  .cookie { left: 10px; right: 10px; bottom: 10px; flex-direction: column; align-items: stretch; }
  .lightbox__nav { top: auto !important; bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
  .js .reveal, .hero-in { opacity: 1; transform: none; }
}

/* Leave room for the fixed pole rail on wide screens */
@media (min-width: 981px) and (max-width: 1340px) {
  [data-pole] main .container { padding-left: max(var(--gutter), 84px); }
}
