:root {
  /* Weedou Barki Group v3 — forêt profonde, émeraude, or ; ivoire ; grands visuels photo, typographie éditoriale, mouvement maîtrisé */
  --forest: #04261B;
  --forest-2: #073326;
  --emerald: #0B7A55;
  --emerald-2: #0E8A62;
  --mint: #DDF0E6;
  --gold: #E3A92B;
  --gold-2: #F7CE5B;
  --ivory: #F7F4EC;
  --paper: #FFFFFF;
  --ink: #0B1712;
  --muted: #55645C;
  --line: #E4DED0;
  --line-dark: rgba(255,255,255,.12);
  --cg: #1D4ED8; --cg-deep: #15389E; --cg-ink: #0B1B3F; --cg-gold: #D6A83A;
  --yo: #0A3A2C; --yo-2: #0F5A43; --yo-or: #F4A62A;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;
  --font-serif: "Montserrat", Arial, sans-serif;
  --r: 18px;
  --shadow: 0 1px 2px rgba(4,38,27,.06), 0 24px 48px -24px rgba(4,38,27,.28);
  --ease: cubic-bezier(.2,.8,.2,1);
  --max: 1240px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16.5px/1.7 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--emerald); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.32rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }
.serif { font-family: var(--font-display); font-style: normal; font-weight: 800; letter-spacing: inherit; }
.gold { color: var(--gold); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 58ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 12.5px var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--emerald); }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.dark { background: var(--forest); color: #CFE2D8; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark .muted { color: #9FC0B0; }
.dark .eyebrow { color: var(--gold); }
.paper { background: var(--paper); }
section { padding: 120px 0; position: relative; }

/* ---------- Header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 120; background: linear-gradient(90deg, var(--gold), var(--emerald-2)); }
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .4s, box-shadow .4s, transform .4s; }
.hdr .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.hdr.solid { background: rgba(247,244,236,.94); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 10px 30px -20px rgba(4,38,27,.45); }
.hdr.solid .bar { height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.hdr.solid .brand { color: var(--ink); }
.brand .mark { width: 46px; height: 46px; flex: none; }
.brand b.old { display: block; font: 800 1.18rem/1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.brand small { display: flex; align-items: center; gap: 8px; font: 700 10.5px var(--font-body); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.brand small::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.mark .w { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.4s .3s var(--ease) forwards; }
.mark .pin { transform-origin: 60px 54px; animation: drop .9s 1.2s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drop { from { transform: translateY(-26px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.menu { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font: 600 15px var(--font-body); color: #fff; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s; }
.hdr.solid .menu > li > a { color: var(--ink); }
.menu > li > a:hover, .menu > li.on > a { background: rgba(255,255,255,.14); }
.hdr.solid .menu > li > a:hover, .hdr.solid .menu > li.on > a { background: var(--mint); color: var(--forest); }
.chev { width: 10px; height: 10px; transition: transform .3s; }
.menu > li:hover .chev { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 10px); min-width: 340px; list-style: none; margin: 0; padding: 10px; background: var(--paper); border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(4,38,27,.35); opacity: 0; visibility: hidden; transition: .28s var(--ease); }
.menu > li:hover .drop, .menu > li:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop a { display: flex; gap: 14px; align-items: center; padding: 11px 12px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background .2s; }
.drop a:hover { background: var(--ivory); }
.drop .di { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--emerald); flex: none; overflow: hidden; }
.drop .di img { width: 100%; height: 100%; object-fit: cover; }
.drop b { display: block; font-size: 14.5px; }
.drop span span { font-size: 13px; color: var(--muted); }
.hdr-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; cursor: pointer; }
.hdr.solid .burger { border-color: var(--line); }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: #fff; transition: .3s; }
.hdr.solid .burger span { background: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 700 15.5px var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; position: relative; overflow: hidden; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.18); transform: translateX(-101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn .ic { transition: transform .25s; }
.btn:hover .ic { transform: translateX(4px); }
.b-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--forest); box-shadow: 0 14px 30px -14px rgba(227,169,43,.9); }
.b-green { background: var(--emerald); color: #fff; box-shadow: 0 14px 30px -14px rgba(11,122,85,.9); }
.b-line { border-color: rgba(255,255,255,.45); color: #fff; }
.b-line:hover { border-color: #fff; }
.b-ink { border-color: var(--ink); color: var(--ink); }
.b-ink::before { background: var(--ink); }
.b-ink:hover { color: var(--ivory); }
.b-sm { padding: 11px 20px; font-size: 14.5px; }
.hdr:not(.solid) .b-green { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); box-shadow: none; }

/* ---------- Hero (accueil) ---------- */
.hero { position: relative; min-height: 0; padding: 190px 0 0; color: #fff; overflow: hidden; background: var(--forest); }
.slides, .slides figure { position: absolute; inset: 0; margin: 0; }
.slides figure { opacity: 0; animation: fade 24s infinite; }
.slides figure img { width: 100%; height: 100%; object-fit: cover; animation: kb 24s infinite; }
.slides figure:nth-child(1) { opacity: 1; }
.slides figure:nth-child(2), .slides figure:nth-child(2) img { animation-delay: 6s; }
.slides figure:nth-child(3), .slides figure:nth-child(3) img { animation-delay: 12s; }
.slides figure:nth-child(4), .slides figure:nth-child(4) img { animation-delay: 18s; }
@keyframes fade { 0% { opacity: 0; } 4%, 25% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes kb { 0% { transform: scale(1.12); } 30% { transform: scale(1); } 100% { transform: scale(1); } }
.slides figure:nth-child(1) { animation-name: fade1; }
@keyframes fade1 { 0%, 25% { opacity: 1; } 30%, 96% { opacity: 0; } 100% { opacity: 1; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,38,27,.96) 0%, rgba(4,38,27,.82) 38%, rgba(4,38,27,.35) 70%, rgba(4,38,27,.55) 100%), linear-gradient(0deg, rgba(4,38,27,1) 0%, transparent 40%); }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 13ch; margin: 24px 0 26px; }
.hero .lead { color: #CFE2D8; }
.mask { display: block; overflow: hidden; padding-bottom: .08em; }
.mask > span { display: inline-block; animation: up 1.1s var(--ease) both; }
.mask:nth-child(2) > span { animation-delay: .1s; } .mask:nth-child(3) > span { animation-delay: .2s; }
@keyframes up { from { transform: translateY(110%); } to { transform: none; } }
.fade-in > * { animation: rise .9s var(--ease) both; }
.fade-in > *:nth-child(2) { animation-delay: .1s; } .fade-in > *:nth-child(3) { animation-delay: .2s; } .fade-in > *:nth-child(4) { animation-delay: .3s; } .fade-in > *:nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.acts { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.slide-dots { display: flex; gap: 8px; margin-top: 46px; }
.slide-dots i { width: 44px; height: 3px; background: rgba(255,255,255,.25); border-radius: 3px; overflow: hidden; position: relative; }
.slide-dots i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: dot 24s linear infinite; }
.slide-dots i:nth-child(2)::after { animation-delay: 6s; } .slide-dots i:nth-child(3)::after { animation-delay: 12s; } .slide-dots i:nth-child(4)::after { animation-delay: 18s; }
@keyframes dot { 0% { transform: scaleX(0); } 25% { transform: scaleX(1); opacity: 1; } 26%, 100% { transform: scaleX(1); opacity: 0; } }

/* KPI */
.kpis { position: relative; z-index: 3; margin-top: 90px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 26px 26px 0 0; backdrop-filter: blur(16px); overflow: hidden; }
.kpi { padding: 34px 32px 30px; position: relative; border-right: 1px solid rgba(255,255,255,.1); }
.kpi:last-child { border-right: 0; }
.kpi .k-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(227,169,43,.16); color: var(--gold-2); margin-bottom: 20px; }
.kpi b { display: flex; align-items: baseline; gap: 6px; font: 800 clamp(2.3rem, 3.6vw, 3.3rem)/1 var(--font-display); color: #fff; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi b sup { font-size: .42em; color: var(--gold); letter-spacing: 0; top: 0; }
.kpi > span { display: block; margin-top: 12px; color: #A9C7B8; font-size: 15px; line-height: 1.45; }
.kpi .bar { position: absolute; left: 32px; right: 32px; bottom: 0; height: 3px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.kpi .bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--emerald-2)); transform-origin: left; animation: fill 2.2s .6s var(--ease) both; }
.kpi:nth-child(2) .bar::after { animation-delay: .8s; } .kpi:nth-child(3) .bar::after { animation-delay: 1s; } .kpi:nth-child(4) .bar::after { animation-delay: 1.2s; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.kpi:hover .k-ic { background: var(--gold); color: var(--forest); transition: .3s; }
.kpis.light { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; backdrop-filter: none; margin-top: 0; }
.kpis.light .kpi { border-color: var(--line); }
.kpis.light b { color: var(--ink); }
.kpis.light .kpi > span { color: var(--muted); }
.kpis.light .k-ic { background: var(--mint); color: var(--emerald); }
.kpis.light .bar { background: var(--line); }

/* ---------- Page hero ---------- */
.phero { position: relative; overflow: hidden; background: var(--forest); color: #fff; padding: 200px 0 110px; }
.phero .bg { position: absolute; inset: 0; }
.phero .bg img { width: 100%; height: 100%; object-fit: cover; animation: kb2 14s var(--ease) both; }
@keyframes kb2 { from { transform: scale(1.15); } to { transform: scale(1.02); } }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,38,27,.95) 0%, rgba(4,38,27,.78) 45%, rgba(4,38,27,.3) 100%), linear-gradient(0deg, rgba(4,38,27,.85), transparent 50%); }
.phero .wrap { position: relative; z-index: 2; }
.phero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.9rem); max-width: 16ch; margin: 18px 0 22px; }
.phero .lead { color: #CFE2D8; }
.crumbs { display: flex; gap: 10px; font-size: 13.5px; color: #9FC0B0; margin-bottom: 28px; flex-wrap: wrap; animation: rise .7s both; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.phero .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.chip-l { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; transition: .25s; }
.chip-l:hover { background: var(--gold); color: var(--forest); border-color: var(--gold); }

/* ---------- Reveal ---------- */
.rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
@keyframes rv { from { opacity: .3; transform: translateY(44px); } to { opacity: 1; transform: none; } }
.clip { animation: clip linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
@keyframes clip { from { clip-path: inset(18% 12% 18% 12% round 30px); } to { clip-path: inset(0 0 0 0 round 24px); } }
.par img { animation: par linear both; animation-timeline: view(); }
@keyframes par { from { transform: scale(1.18) translateY(-4%); } to { transform: scale(1.04) translateY(4%); } }
@supports not (animation-timeline: view()) { .rv, .clip, .par img { animation: none; } }

/* ---------- Layout helpers ---------- */
.head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.head h2 { margin-top: 16px; }
.head p { color: var(--muted); font-size: 1.08rem; }
.dark .head p { color: #9FC0B0; }
.head.c { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.head.c p { max-width: 60ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.rev > :first-child { order: 2; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.big-p { font: 500 clamp(1.35rem, 2.3vw, 1.9rem)/1.45 var(--font-display); letter-spacing: -0.02em; color: var(--ink); text-wrap: pretty; }
.big-p em { font-style: normal; color: var(--emerald); }
.dark .big-p { color: #fff; }
.dark .big-p em { color: var(--gold); }

.photo { position: relative; border-radius: 24px; overflow: hidden; margin: 0; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.photo:hover img { transform: scale(1.05); }
.photo figcaption { position: absolute; left: 18px; bottom: 18px; right: 18px; padding: 14px 18px; border-radius: 14px; background: rgba(4,38,27,.78); backdrop-filter: blur(8px); color: #fff; font-size: 14px; }
.photo .tagp { position: absolute; top: 18px; left: 18px; background: var(--gold); color: var(--forest); font: 800 12px var(--font-body); letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.stack { position: relative; }
.stack .photo:nth-child(2) { position: absolute; width: 46%; right: -6%; bottom: -12%; border: 8px solid var(--ivory); }

.checks { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.dark .checks li::before { background-color: var(--gold); }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 34px; position: relative; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card .ci { width: 56px; height: 56px; border-radius: 16px; background: var(--mint); color: var(--emerald); display: grid; place-items: center; margin-bottom: 24px; transition: .4s var(--ease); }
.card .ci .ic { width: 26px; height: 26px; }
.card:hover .ci { background: var(--emerald); color: #fff; transform: rotate(-8deg) scale(1.05); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .n { position: absolute; top: 24px; right: 28px; font: 800 2.6rem var(--font-display); color: var(--mint); letter-spacing: -0.04em; }
.dark .card { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
.dark .card p { color: #9FC0B0; }
.dark .card .ci { background: rgba(227,169,43,.14); color: var(--gold-2); }
.dark .card .n { color: rgba(255,255,255,.08); }

.pcard { display: block; text-decoration: none; color: inherit; background: var(--paper); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.pcard:hover { transform: translateY(-10px); box-shadow: 0 40px 60px -30px rgba(4,38,27,.4); }
.pcard .pi { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pcard .pi img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pi img { transform: scale(1.08); }
.pcard .pi::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4,38,27,.7)); }
.pcard .pn { position: absolute; z-index: 1; left: 22px; bottom: 16px; color: #fff; font: 800 13px var(--font-body); letter-spacing: .16em; }
.pcard .pb { padding: 26px 28px 30px; }
.pcard h3 { margin-bottom: 10px; }
.pcard p { color: var(--muted); font-size: 15.5px; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: 14.5px; color: var(--emerald); }
.more .ic { transition: transform .3s; }
.pcard:hover .more .ic, .card:hover .more .ic { transform: translateX(5px); }

/* ---------- Brand cards (vrais thèmes) ---------- */
.brands { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.bcard { position: relative; display: flex; flex-direction: column; min-height: 470px; padding: 36px; border-radius: 30px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; transition: transform .55s var(--ease), box-shadow .55s; }
.bcard:hover { transform: translateY(-10px); box-shadow: 0 50px 70px -40px rgba(0,0,0,.55); }
.bcard .logo { height: 54px; display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.bcard .logo img { height: 46px; width: auto; }
.bcard .logo .mark { width: 50px; height: 50px; flex: none; }
.bcard .logo .wm { font: 800 1.9rem/1 var(--font-display); letter-spacing: -0.03em; }
.bcard .logo .wm small { display: block; font: 700 11px var(--font-body); letter-spacing: .3em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.bcard .role { align-self: flex-start; font: 800 11px var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.14); margin-bottom: 18px; }
.bcard h3 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; }
.bcard p { color: rgba(255,255,255,.82); font-size: 15.5px; }
.bcard .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 28px; }
.bcard .tags span { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); }
.bcard .go { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-weight: 800; }
.bcard .go i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; transition: transform .4s var(--ease); }
.bcard:hover .go i { transform: rotate(-45deg); }
.bcard .orb { position: absolute; z-index: -1; width: 380px; height: 380px; right: -140px; top: -140px; border-radius: 50%; opacity: .5; transition: transform 1s var(--ease); }
.bcard:hover .orb { transform: scale(1.25) translate(-20px, 20px); }
.b-wb { background: radial-gradient(120% 100% at 0% 100%, #0E8A62 0%, #04261B 70%); }
.b-wb .orb { background: radial-gradient(circle, rgba(247,206,91,.55), transparent 65%); }
.b-wb .go i { color: var(--forest); }
.b-cg { background: radial-gradient(120% 100% at 0% 100%, #2E6BF2 0%, #1D4ED8 40%, #0B1B3F 100%); }
.b-cg .orb { background: radial-gradient(circle, rgba(242,210,122,.6), transparent 65%); }
.b-cg .go i { color: var(--cg); }
.b-yo { background: radial-gradient(120% 100% at 0% 100%, #0F5A43 0%, #0A3A2C 55%, #06231A 100%); }
.b-yo .orb { background: radial-gradient(circle, rgba(244,166,42,.6), transparent 65%); }
.b-yo .go i { color: var(--yo); }
.b-yo .wm small { color: var(--yo-or); opacity: 1; }

/* logos strip */
.logos { display: flex; align-items: center; justify-content: center; gap: 70px; flex-wrap: wrap; }
.logos a { opacity: .75; transition: opacity .3s, transform .3s; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logos a:hover { opacity: 1; transform: translateY(-3px); }

/* marquee */
.marquee { overflow: hidden; padding: 30px 0; border-block: 1px solid var(--line); background: var(--paper); }
.marquee .track { display: flex; gap: 60px; width: max-content; animation: mq 50s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 14px; font: 800 1.7rem var(--font-display); letter-spacing: -0.03em; white-space: nowrap; color: var(--ink); }
.marquee span img { width: 34px; height: 25px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Afrique ---------- */
.africa-sec { background: radial-gradient(70% 80% at 70% 30%, #0B4A36 0%, var(--forest) 60%); color: #CFE2D8; overflow: hidden; }
.africa-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: start; }
.map-wrap { position: relative; aspect-ratio: 1 / 1.03; }
.map-wrap canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.tip { position: absolute; pointer-events: none; z-index: 3; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); font-size: 13.5px; display: flex; gap: 10px; align-items: center; transform: translate(-50%, calc(-100% - 14px)); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.tip.on { opacity: 1; }
.tip img { width: 30px; height: 22px; border-radius: 4px; object-fit: cover; }
.tip b { display: block; font-size: 14.5px; }
.map-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; margin-top: 14px; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; }
.ctabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line-dark); margin: 24px 0 18px; flex-wrap: wrap; }
.ctabs button { border: 0; background: transparent; color: #CFE2D8; padding: 9px 18px; border-radius: 999px; font: 700 14px var(--font-body); cursor: pointer; transition: .25s; }
.ctabs button.on { background: var(--gold); color: var(--forest); }
.clist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; max-height: 440px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.citem { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); cursor: pointer; transition: .25s; color: #E6F0EA; font: 600 14px var(--font-body); text-align: left; }
.citem:hover, .citem.hl { border-color: var(--gold); background: rgba(227,169,43,.1); }
.citem img { width: 26px; height: 19px; border-radius: 3px; object-fit: cover; flex: none; }
.citem .st { margin-left: auto; display: flex; gap: 4px; }
.citem .st i { width: 8px; height: 8px; border-radius: 50%; }
.citem.dim { opacity: .3; }

/* pays (cartes) */
.countries { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.country { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px; transition: .4s var(--ease); }
.country:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.country img { width: 44px; height: 33px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); margin-bottom: 16px; }
.country b { display: block; font: 800 1.1rem var(--font-display); }
.country small { color: var(--muted); }
.tg { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tg span { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 6px; letter-spacing: .02em; }
.t-wb { background: var(--mint); color: var(--forest); } .t-cg { background: #DCE6FF; color: var(--cg-deep); } .t-yo { background: #FDEBCB; color: #7A4A06; }

/* ---------- Timeline ---------- */
.tl { position: relative; display: grid; gap: 0; }
.tl::before { content: ""; position: absolute; left: 150px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl::after { content: ""; position: absolute; left: 150px; top: 0; width: 2px; height: 100%; background: linear-gradient(var(--gold), var(--emerald)); transform-origin: top; animation: tlf linear both; animation-timeline: view(); animation-range: entry 20% exit 60%; }
@keyframes tlf { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@supports not (animation-timeline: view()) { .tl::after { animation: none; } }
.step { display: grid; grid-template-columns: 150px 1fr; gap: 56px; padding-bottom: 90px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 141px; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--ivory); border: 4px solid var(--emerald); z-index: 1; }
.step .y { text-align: right; padding-right: 36px; font: 800 2rem var(--font-display); color: var(--emerald); letter-spacing: -0.04em; }
.step .t { font: 800 12px var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.step h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 10px 0 14px; }
.step p { color: var(--muted); max-width: 62ch; margin-bottom: 12px; }
.step .photo { margin-top: 24px; max-width: 640px; aspect-ratio: 16/9; }

/* quote */
.quote { font: 600 clamp(1.6rem, 3vw, 2.6rem)/1.28 var(--font-display); font-style: normal; letter-spacing: -0.02em; max-width: 26ch; margin: 0; text-wrap: balance; }
.quote::before { content: "“"; display: block; font: 800 6rem/0.6 var(--font-display); color: var(--gold); margin-bottom: 16px; font-style: normal; }
.quote + cite { display: block; margin-top: 24px; font-style: normal; font-weight: 700; color: var(--muted); }
.dark .quote { color: #fff; }
.dark .quote + cite { color: #9FC0B0; }

/* portrait */
.portrait { position: relative; padding: 0 0 26px 26px; }
.portrait::before { content: ""; position: absolute; inset: 26px 26px 0 0; border-radius: 28px; border: 2px solid var(--gold); animation: frame 7s ease-in-out infinite; }
@keyframes frame { 50% { transform: translate(8px, -8px); } }
.portrait .ph { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 6 / 7; box-shadow: 0 40px 70px -30px rgba(0,0,0,.55); isolation: isolate; }
.portrait .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: kbp 18s ease-in-out infinite alternate; }
@keyframes kbp { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, 1%); } }
.portrait .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 6s 1s ease-in-out infinite; }
@keyframes sheen { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
.portrait .ph::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(4,38,27,.75), transparent 45%); }
.portrait .cn { position: absolute; z-index: 2; width: 34px; height: 34px; border-color: #fff; border-style: solid; opacity: .9; }
.portrait .cn.a { top: 18px; left: 18px; border-width: 3px 0 0 3px; border-radius: 10px 0 0 0; }
.portrait .cn.b { bottom: 18px; right: 18px; border-width: 0 3px 3px 0; border-radius: 0 0 10px 0; }
.portrait .nm { position: absolute; z-index: 3; left: 28px; bottom: 28px; color: #fff; }
.portrait .nm b { display: block; font: 800 1.35rem var(--font-display); letter-spacing: -0.01em; }
.portrait .nm small { color: var(--gold-2); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.portrait .badge { position: absolute; z-index: 3; right: -6px; top: 60px; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; font-size: 13px; animation: bob 6s ease-in-out infinite; }
.portrait .badge b { display: block; font: 800 15px var(--font-display); }
.portrait .badge .mark { width: 34px; height: 34px; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.letter { background: var(--paper); border-radius: 30px; padding: clamp(30px, 5vw, 64px); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.letter::before { content: ""; position: absolute; top: 0; left: 60px; right: 60px; height: 6px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, #CE1126 33%, #FCD116 33% 66%, #009460 66%); }
.letter p { font-size: 1.12rem; line-height: 1.85; margin-bottom: 20px; }
.sign { display: flex; gap: 16px; align-items: center; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.sign .sg { font: 800 1.5rem var(--font-display); color: var(--emerald); letter-spacing: -0.02em; }

/* legal */
.legal { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 40px; background: var(--paper); border-radius: 24px; padding: 36px; border: 1px solid var(--line); margin: 0; }
.legal dt { font: 700 12px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal dd { margin: 4px 0 0; font-weight: 700; }

/* GPS dashboard */
.dash { background: #07130E; border-radius: 28px; padding: 18px; color: #D6E6DD; box-shadow: 0 50px 90px -40px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.06); }
.dash-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 16px; gap: 10px; flex-wrap: wrap; }
.dash-top b { color: #fff; font-family: var(--font-display); }
.live { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: #7FE0B4; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #2BD38A; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43,211,138,.6); } 100% { box-shadow: 0 0 0 10px rgba(43,211,138,0); } }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.dash-map { background: #10241B; border-radius: 16px; overflow: hidden; }
.dash-map svg { display: block; width: 100%; height: auto; }
.dash-list { display: grid; gap: 8px; align-content: start; }
.veh { background: #11221A; border: 1px solid #1E3A2D; border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-size: 13.5px; cursor: pointer; transition: border-color .2s; }
.veh:hover, .veh.sel { border-color: var(--gold); }
.veh .c { width: 10px; height: 10px; border-radius: 50%; }
.veh b { color: #fff; display: block; font-size: 14px; }
.veh small { color: #84A897; }
.veh .spd { font: 700 15px var(--font-display); color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.veh .spd small { display: block; font: 500 11px var(--font-body); }
.dk { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.dk div { background: #11221A; border-radius: 12px; padding: 12px 14px; }
.dk small { color: #84A897; font-size: 12px; display: block; }
.dk b { font: 800 1.4rem var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }

/* CarGoo services */
.svc { background: #fff; border: 1px solid #DDE4F3; border-radius: 22px; padding: 18px 18px 22px; text-align: center; transition: .4s var(--ease); }
.svc:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -30px rgba(21,56,158,.5); }
.svc img { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 12px; transition: transform .6s var(--ease); }
.svc:hover img { transform: scale(1.06) rotate(-2deg); }
.svc b { font: 800 1.02rem var(--font-display); color: var(--cg-ink); }
.cg-theme .eyebrow { color: var(--cg); }
.cg-theme .eyebrow::before { background: linear-gradient(90deg, var(--cg-gold), transparent); }
.yo-theme .eyebrow { color: var(--yo-2); }
.yo-theme .eyebrow::before { background: linear-gradient(90deg, var(--yo-or), transparent); }

/* news */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filters button { border: 1.5px solid var(--line); background: var(--paper); padding: 10px 20px; border-radius: 999px; font: 700 14px var(--font-body); cursor: pointer; color: var(--ink); transition: .25s; }
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.news-feat { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; background: var(--paper); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 30px; }
.news-feat .pi { min-height: 420px; position: relative; overflow: hidden; }
.news-feat .pi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.news-feat:hover .pi img { transform: scale(1.05); }
.news-feat .pb { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.cat { font: 800 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 34px; padding: 80px 70px; background: var(--forest); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; isolation: isolate; }
.cta .bgimg { position: absolute; inset: 0; z-index: -2; }
.cta .bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,38,27,.96) 30%, rgba(4,38,27,.6)); }
.cta h2 { color: #fff; }
.cta p { color: #CFE2D8; margin-top: 16px; }
.cta .acts { justify-content: flex-end; margin: 0; }

/* contact cards */
.ccard { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 34px; transition: .4s var(--ease); }
.ccard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ccard .ci { width: 56px; height: 56px; border-radius: 16px; background: var(--mint); color: var(--emerald); display: grid; place-items: center; margin-bottom: 20px; }
.ccard .ci .ic { width: 26px; height: 26px; }
.ccard .v { font: 800 1.35rem var(--font-display); letter-spacing: -0.02em; margin: 8px 0 4px; display: block; color: var(--ink); text-decoration: none; }

/* ---------- Footer ---------- */
.ft { background: #03190F; color: #93ADA0; padding: 110px 0 0; font-size: 15px; overflow: hidden; }
.ft-big { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 70px; margin-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ft-big .mark { width: clamp(80px, 10vw, 130px); height: auto; }
.ft-big span { font: 800 clamp(3rem, 9vw, 8.4rem)/0.9 var(--font-display); letter-spacing: -0.05em; color: #fff; }
.ft-big span em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; }
.ft h4 { color: #fff; font: 700 12px var(--font-body); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; }
.ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ft a { color: #93ADA0; text-decoration: none; transition: color .2s; }
.ft a:hover { color: var(--gold); }
.ft .bl { display: flex; gap: 14px; margin-top: 24px; align-items: center; }
.ft .bl a { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 14px; }
.ft .bl a:hover { background: rgba(255,255,255,.12); color: #fff; }
.ft-bot { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.flag-line { display: flex; height: 4px; } .flag-line i { flex: 1; } .flag-line i:nth-child(1) { background: #CE1126; } .flag-line i:nth-child(2) { background: #FCD116; } .flag-line i:nth-child(3) { background: #009460; }
.totop { position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--emerald); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(20px); transition: .35s var(--ease); box-shadow: 0 14px 30px -12px rgba(11,122,85,.9); }
.totop.on { opacity: 1; transform: none; }

/* curtain */
.curtain { position: fixed; inset: 0; z-index: 300; background: var(--forest); display: grid; place-items: center; transform: translateY(100%); pointer-events: none; }
.curtain .mark { width: 84px; height: 84px; opacity: 0; transform: scale(.8); transition: .3s .15s; }
body.leaving .curtain { transform: none; transition: transform .5s cubic-bezier(.7,0,.3,1); }
body.leaving .curtain .mark { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .menu { display: none; }
  .burger { display: block; }
  .menu.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); padding: 14px 22px 26px; max-height: calc(100vh - 80px); overflow-y: auto; box-shadow: var(--shadow); }
  .menu.open > li > a { color: var(--ink); }
  .menu.open .drop { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 6px 10px; min-width: 0; }
  .ft-grid { grid-template-columns: 1fr 1fr 1fr; }
  .countries { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 960px) {
  section { padding: 84px 0; }
  .split, .head, .africa-grid, .cta, .news-feat, .dash-grid { grid-template-columns: 1fr; }
  .split { gap: 48px; }
  .split.rev > :first-child { order: 0; }
  .g3, .g4, .brands { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kpi:nth-child(2) { border-right: 0; }
  .kpi:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .cta { padding: 54px 36px; } .cta .acts { justify-content: flex-start; }
  .stack .photo:nth-child(2) { display: none; }
  .hdr-cta .b-green { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .g2, .g3, .g4, .brands, .clist, .legal { grid-template-columns: minmax(0,1fr); }
  .countries { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-grid > :first-child { grid-column: 1 / -1; }
  .kpi { padding: 26px 20px; }
  .kpi .bar { left: 20px; right: 20px; }
  .tl::before, .tl::after { left: 9px; }
  .step { grid-template-columns: 1fr; gap: 6px; padding-left: 40px; padding-bottom: 60px; }
  .step::before { left: 0; }
  .step .y { text-align: left; padding: 0; }
  .dk { grid-template-columns: 1fr 1fr; }
  .bcard { min-height: 0; padding: 28px; }
  .hero { padding-top: 150px; }
  .phero { padding: 150px 0 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .mark .w { stroke-dashoffset: 0; }
  .slides figure:first-child { opacity: 1; }
  .curtain { display: none; }
}
.africa-sec h2, .africa-sec h3 { color: #fff; }
.africa-sec .lead { color: #9FC0B0; }
.africa-sec .eyebrow { color: var(--gold); }

/* ===== Hero carte ===== */
.hero-x { padding-top: 150px; background: radial-gradient(80% 90% at 75% 35%, #0B4A36 0%, #04261B 55%, #021710 100%); }
.hero-x::after { background: linear-gradient(90deg, rgba(4,38,27,.92) 0%, rgba(4,38,27,.7) 45%, rgba(4,38,27,.55) 100%), linear-gradient(0deg, #04261B 0%, transparent 35%); }
.slides.dim { opacity: .3; }
.hero-grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 4px 4px; mask-image: linear-gradient(90deg, transparent 30%, #000 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 32px; align-items: center; }
.hero-x h1 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); }
.hero-map { position: relative; }
.hero-map::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(227,169,43,.16), transparent 65%); filter: blur(10px); }
.hero-map .map-wrap { max-width: 640px; margin-left: auto; }
.hero-map .map-legend { justify-content: flex-end; color: #CFE2D8; margin-top: 6px; }
.hero-x .kpis { margin-top: 70px; }

/* ===== Tableau des pays ===== */
.board { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 10px; margin-bottom: 44px; }
.cb { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; transition: transform .35s var(--ease), border-color .3s, opacity .3s, background .3s; }
.cb:hover { transform: translateY(-4px); border-color: var(--emerald); background: #fff; }
.cb img { width: 34px; height: 25px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }
.cb b { display: block; font: 700 14px/1.2 var(--font-body); }
.cb small { font-size: 12px; color: var(--muted); }
.cb[data-o="1"] { background: var(--forest); border-color: var(--forest); }
.cb[data-o="1"] b { color: #fff; } .cb[data-o="1"] small { color: var(--gold-2); }
.cb.off { opacity: .22; transform: scale(.97); }
.paper .ctabs { background: var(--ivory); border-color: var(--line); margin-top: 18px; }
.paper .ctabs button { color: var(--ink); }

/* ===== Pied de page ===== */
.ft { position: relative; background: #021710; color: #93ADA0; padding: 90px 0 0; overflow: hidden; }
.ft-glow { position: absolute; width: 900px; height: 900px; left: 50%; top: -520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(14,138,98,.35), transparent 60%); pointer-events: none; }
.ft .wrap { position: relative; }
.ft-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding: 44px 48px; border-radius: 28px; background: linear-gradient(120deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); margin-bottom: 80px; }
.ft-cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.6rem); margin-top: 12px; max-width: 20ch; }
.ft-cta .eyebrow { color: var(--gold); }
.ft-brand .brand { color: #fff; margin-bottom: 22px; }
.ft-brand p { max-width: 38ch; }
.ft-contact { gap: 16px !important; }
.ft-contact li { display: flex; gap: 12px; align-items: flex-start; }
.ft-contact .ic { color: var(--gold); margin-top: 4px; }
.ft-contact a { color: #fff !important; font-weight: 700; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); color: #CFE2D8; transition: .3s var(--ease); }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--forest); transform: translateY(-3px); }
.ft-word { display: flex; gap: .25em; align-items: baseline; font: 800 clamp(2.1rem, 6.6vw, 6rem)/0.95 var(--font-display); letter-spacing: -0.04em; color: rgba(255,255,255,.06); white-space: nowrap; margin: 20px 0 10px; overflow: hidden; user-select: none; }
.ft-word em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px rgba(227,169,43,.45); }
.ft-word span { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.14), rgba(255,255,255,.04)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.ft-bot { align-items: center; }
.ft-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.ft-top { background: none; border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 999px; padding: 8px 14px; font: 700 13px var(--font-body); display: inline-flex; gap: 8px; align-items: center; cursor: pointer; transition: .3s; }
.ft-top:hover { background: var(--gold); color: var(--forest); border-color: var(--gold); }
.flag-line { position: relative; z-index: 1; }
@media (max-width: 1180px) { .board { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-map .map-wrap { margin: 0 auto; }
  .hero-map .map-legend { justify-content: center; }
  .board { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .ft-cta { padding: 32px 26px; }
}
@media (max-width: 640px) { .board { grid-template-columns: repeat(2, minmax(0,1fr)); } .hero-x { padding-top: 120px; } }

.ft .btn.b-gold { color: var(--forest); }
.ft .btn.b-line { color: #fff; }
.ft .bl a { white-space: nowrap; }
.ft .bl { flex-wrap: wrap; }


/* ===== Logotype animé ===== */
.wm { display: flex; flex-direction: column; gap: 6px; line-height: 1; }
.wm-t { display: flex; gap: .32em; font: 800 1.08rem/1 var(--font-display); letter-spacing: .07em; perspective: 400px; white-space: nowrap; }
.wm .l { display: inline-block; animation: lin .7s var(--ease) both; animation-delay: calc(var(--i) * 45ms + .35s); }
.w1 .l { color: #fff; }
.hdr.solid .w1 .l { color: var(--ink); }
.w2 .l { color: transparent; background: linear-gradient(105deg, #D99A1E 0%, #F7CE5B 38%, #FFF4CC 50%, #F7CE5B 62%, #D99A1E 100%); background-size: 400% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; animation: lin .7s var(--ease) both, gshine 6s ease-in-out infinite; animation-delay: calc(var(--i) * 45ms + .35s), calc(var(--i) * 90ms + 2.2s); }
@keyframes lin { from { opacity: 0; transform: translateY(70%) rotateX(70deg); } to { opacity: 1; transform: none; } }
@keyframes gshine { 0% { background-position: 100% 0; } 25%, 100% { background-position: 0% 0; } }
.wm-s { display: flex; align-items: center; gap: 8px; font: 700 9.5px/1 var(--font-body); letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; color: var(--gold); animation: rise .8s 1s both; }
.wm-s i { height: 1px; flex: 1; min-width: 14px; background: linear-gradient(90deg, transparent, currentColor); }
.wm-s i:last-child { background: linear-gradient(90deg, currentColor, transparent); }
.hdr.solid .wm-s { color: #B07A10; }
.brand:hover .w2 .l { animation-duration: .7s, 1.2s; }
.brand .mark .pin { animation: drop .9s 1.2s cubic-bezier(.3,1.6,.5,1) both, pinb 5s 3s ease-in-out infinite; }
@keyframes pinb { 0%, 80%, 100% { transform: none; } 88% { transform: translateY(-6px); } 94% { transform: translateY(1px); } }
.brand { gap: 14px; }
.brand .mark { width: 48px; height: 48px; }
.ft .wm-t { font-size: 1.35rem; }
.bcard .wm-t { font-size: 1.3rem; }
.bcard .w1 .l { color: #fff; }

/* footer CTA avec photo */
.ft-cta { position: relative; overflow: hidden; isolation: isolate; }
.ft-cta-bg { position: absolute; inset: 0; z-index: -1; }
.ft-cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }

/* ===== Smartphone ===== */
@media (max-width: 640px) {
  .totop { display: none; }
  .hdr .bar { height: 70px; }
  .brand .mark { width: 42px; height: 42px; }
  .wm-t { font-size: .98rem; }
  section { padding: 68px 0; }
  .head { margin-bottom: 36px; gap: 14px; }
  h2 { font-size: 1.75rem; }
  .lead { font-size: 1.04rem; }
  .big-p { font-size: 1.2rem; }
  .acts { gap: 10px; margin-top: 28px; }
  .acts .btn { width: 100%; justify-content: center; }
  .hero-x { padding-top: 110px; }
  .hero-x h1 { font-size: 2.35rem; }
  .hero-map { margin-top: 10px; }
  .hero-map .map-legend { font-size: 12.5px; gap: 12px; }
  .hero-x .kpis { margin-top: 40px; }
  .kpi { padding: 22px 16px 24px; }
  .kpi b { font-size: 2.1rem; }
  .kpi .k-ic { margin-bottom: 14px; width: 38px; height: 38px; }
  .kpi > span { font-size: 13.5px; }
  .board { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .cb { padding: 10px; gap: 8px; }
  .cb img { width: 28px; height: 21px; }
  .cb b { font-size: 13px; }
  .cb small { font-size: 11px; }
  .ctabs { display: flex; width: 100%; }
  .ctabs button { flex: 1; padding: 9px 8px; font-size: 13px; }
  .card { padding: 26px; }
  .pcard .pb { padding: 22px; }
  .bcard h3 { font-size: 1.35rem; }
  .phero h1 { font-size: 2.2rem; }
  .crumbs { margin-bottom: 18px; }
  .portrait { padding: 0 0 18px 18px; }
  .portrait::before { inset: 18px 18px 0 0; }
  .portrait .badge { right: 6px; top: 16px; padding: 8px 12px; }
  .portrait .badge .mark { width: 28px; height: 28px; }
  .letter { padding: 30px 22px; }
  .letter::before { left: 24px; right: 24px; }
  .letter p { font-size: 1.02rem; }
  .ft { padding-top: 60px; }
  .ft-cta { padding: 28px 22px; margin-bottom: 50px; }
  .ft-bot { flex-direction: column; align-items: flex-start; }
  .news-feat .pi { min-height: 240px; }
  .news-feat .pb { padding: 28px 22px; }
  .dash { padding: 12px; border-radius: 20px; }
  .split { gap: 36px; }
  .step h3 { font-size: 1.4rem; }
  .cta, .legal { padding: 28px 22px; }
}
@media (max-width: 380px) { .wm-t { font-size: .9rem; letter-spacing: .05em; } .hero-x h1 { font-size: 2.1rem; } }
@media (max-width: 960px) { .split[style] { grid-template-columns: 1fr !important; } .split [style*="sticky"] { position: static !important; } }
.portrait .badge span { white-space: nowrap; }
/* menu mobile : accordéon, aucun décalage */
@media (max-width: 1180px) {
  .menu.open { gap: 2px; }
  .menu.open > li > a { justify-content: space-between; width: 100%; padding: 14px 16px; font-size: 16px; border-radius: 12px; }
  .menu.open .drop, .menu.open > li:hover .drop, .menu.open > li:focus-within .drop { position: static; transform: none !important; opacity: 1; visibility: visible; display: none; left: auto; margin: 0; }
  .menu.open > li.exp .drop { display: block; }
  .menu.open > li.exp .chev, .menu.open > li:hover .chev { transform: none; }
  .menu.open > li.exp .chev { transform: rotate(180deg); }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 960px) {
  .phero .wrap[style] { grid-template-columns: 1fr !important; }
  .phero .wrap[style] > .fade-in:last-child { max-width: 300px; width: 100%; margin: 10px auto 0; }
}
