/* ══════════════════════════════════════════════════════
   VYOU COMMUNICATION – DESIGN SYSTEM GLOBAL
   © 2025 Vyou Communication · Abidjan, Côte d'Ivoire
══════════════════════════════════════════════════════ */

/* ─── POLICES LOCALES (Gotham & Avenir) ─── */
/* Gotham – police display/titres */
@font-face {
  font-family: 'Gotham';
  src: local('Gotham Bold'), local('Gotham-Bold');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: local('Gotham Black'), local('Gotham-Black');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: local('Gotham Book'), local('Gotham-Book'), local('Gotham Light'), local('Gotham-Light');
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}
/* Avenir – police corps de texte */
@font-face {
  font-family: 'Avenir';
  src: local('Avenir'), local('Avenir Next');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: local('Avenir Oblique'), local('Avenir Next Italic');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}


/* ─── DESIGN TOKENS ─── */
:root {
  /* Couleurs */
  --W: #F9F6F0;
  --K: #080808;
  --Y: #F5C400;
  --Y2: #FFD740;
  --Yd: rgba(245,196,0,0.15);
  --Km: rgba(8,8,8,0.06);

  /* Easings */
  --ease: cubic-bezier(.16,1,.3,1);
  --ease2: cubic-bezier(.87,0,.13,1);

  /* ── Système typographique ── */
  /* Familles */
  --f-display: 'Gotham', 'Montserrat', sans-serif;
  --f-serif:   'Avenir', 'Nunito', sans-serif;
  --f-mono:    'Avenir', 'Nunito', sans-serif;

  /* Tailles de base */
  --text-2xs:  0.55rem;   /* 8.8px – micro labels */
  --text-xs:   0.68rem;   /* 10.9px – labels */
  --text-sm:   0.82rem;   /* 13.1px – body small */
  --text-md:   1rem;      /* 16px – body */
  --text-lg:   1.15rem;   /* 18.4px – lead */
  --text-xl:   1.4rem;    /* 22.4px – sous-titre */

  /* Interligne */
  --lh-tight:  0.92;
  --lh-head:   1;
  --lh-body:   1.75;
  --lh-loose:  1.9;

  /* Espacement lettres */
  --ls-tight:  -0.04em;
  --ls-normal: 0;
  --ls-wide:   0.15em;
  --ls-wider:  0.25em;
  --ls-widest: 0.35em;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--K); color: var(--W);
  font-family: var(--f-mono); font-weight: 300;
  font-size: var(--text-sm); line-height: var(--lh-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── TYPOGRAPHIE GLOBALE NORMALISÉE ─── */

/* Éléments natifs */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 900;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  color: inherit;
}
h1 { font-size: clamp(3rem, 8vw, 9rem); }
h2 { font-size: clamp(2.2rem, 5vw, 5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
h5 { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.3; }
h6 { font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--ls-wide); text-transform: uppercase; line-height: 1.4; }
p { font-family: var(--f-mono); font-size: var(--text-sm); line-height: var(--lh-body); }
strong { font-family: var(--f-display); font-weight: 700; font-size: 0.9em; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
small { font-size: var(--text-xs); letter-spacing: var(--ls-wide); }

/* ── Classes typographiques utilitaires ── */

/* Display – Grandes headlines Gotham */
.t-display-xl {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(4rem, 10vw, 12rem);
  line-height: 0.88; letter-spacing: var(--ls-tight);
}
.t-display {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 7rem);
  line-height: var(--lh-tight); letter-spacing: var(--ls-tight);
}
.t-display-sm {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: var(--lh-tight); letter-spacing: -0.03em;
}

/* Titres de section */
.t-section {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: var(--lh-head); letter-spacing: -0.02em;
}

/* Corps de texte – Serif élégant */
.t-serif-lg {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: var(--lh-loose);
}
.t-serif {
  font-family: var(--f-serif); font-style: italic;
  font-size: var(--text-lg);
  line-height: var(--lh-body);
}
.t-serif-sm {
  font-family: var(--f-serif); font-style: italic;
  font-size: var(--text-md);
  line-height: var(--lh-body);
}

/* Corps technique – Mono */
.t-body {
  font-family: var(--f-mono); font-weight: 300;
  font-size: var(--text-sm); line-height: var(--lh-body);
}
.t-body-sm {
  font-family: var(--f-mono); font-weight: 300;
  font-size: var(--text-xs); line-height: var(--lh-body);
}

/* Labels et metadata */
.t-label {
  font-family: var(--f-mono); font-weight: 400;
  font-size: var(--text-xs); letter-spacing: var(--ls-wider);
  text-transform: uppercase; line-height: 1;
}
.t-micro {
  font-family: var(--f-mono); font-weight: 400;
  font-size: var(--text-2xs); letter-spacing: var(--ls-widest);
  text-transform: uppercase; line-height: 1;
}
.t-tag {
  font-family: var(--f-display); font-weight: 700;
  font-size: var(--text-2xs); letter-spacing: var(--ls-wide);
  text-transform: uppercase; line-height: 1;
}

/* ── Modificateurs de couleur ── */
.t-white   { color: var(--W); }
.t-black   { color: var(--K); }
.t-yellow  { color: var(--Y); }
.t-muted   { color: rgba(249,246,240,0.6); }
.t-muted-k { color: rgba(8,8,8,0.45); }
.t-italic  { font-style: italic; }
.t-outline {
  -webkit-text-stroke: 2px currentColor;
  color: transparent;
}

/* ── Lien stylisé ── */
.t-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700;
  font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase;
  transition: gap .3s var(--ease), color .3s;
}
.t-link::after { content: '→'; transition: transform .3s var(--ease); }
.t-link:hover { gap: 14px; }
.t-link:hover::after { transform: translateX(3px); }

/* ─── LOADER ─── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--K);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  transition: opacity .8s var(--ease), visibility .8s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.loader-logo img {
  height: clamp(48px, 10vw, 80px); width: auto; display: block;
  opacity: 0; transform: translateY(20px);
  animation: loaderChar 1s var(--ease) .05s forwards;
  filter: brightness(0) invert(1);
}
@keyframes loaderChar { to { opacity: 1; transform: none; } }
.loader-bar { width: 200px; height: 1px; background: rgba(249,246,240,0.1); position: relative; overflow: hidden; }
.loader-bar::after {
  content: ''; position: absolute; inset: 0;
  background: var(--Y); transform: translateX(-100%);
  animation: loaderFill 1.1s var(--ease) .1s forwards;
}
@keyframes loaderFill { to { transform: translateX(0); } }
.loader-text { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(249,246,240,0.5); }

/* ─── CURSOR (désactivé – curseur natif) ─── */
#mag, .mag-label { display: none !important; }

/* ─── NAV PRINCIPALE (header nav uniquement) ─── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
}
header nav {
  padding: 20px 56px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .5s, padding .4s;
}
header nav.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(249,246,240,0.06);
  padding: 14px 56px;
}
.nav-logo {
  font-family: var(--f-display); font-weight: 900;
  font-size: 1.5rem; letter-spacing: var(--ls-tight); color: var(--W);
  position: relative; z-index: 1010; flex-shrink: 0; line-height: 1;
  display: flex; align-items: center;
}
.nav-logo img { height: 44px !important; width: auto !important; display: block !important; }
.nav-mid {
  display: flex; gap: 36px; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-mid a {
  font-family: var(--f-mono); font-size: var(--text-2xs);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: rgba(249,246,240,0.4);
  transition: color .3s; position: relative;
}
.nav-mid a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--Y);
  transition: width .35s var(--ease);
}
.nav-mid a:hover { color: var(--W); }
.nav-mid a:hover::after { width: 100%; }
.nav-mid a.active { color: var(--Y); }
.nav-mid a.active::after { width: 100%; }
.nav-cta {
  font-family: var(--f-display); font-weight: 700;
  font-size: var(--text-2xs); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 28px;
  border: 1px solid rgba(249,246,240,0.2);
  color: var(--W); position: relative; overflow: hidden;
  transition: color .4s, border-color .4s;
  flex-shrink: 0; z-index: 1010;
}
.nav-cta::before { content: ''; position: absolute; inset: 0; background: var(--Y); transform: translateY(101%); transition: transform .4s var(--ease); }
.nav-cta:hover { color: var(--K); border-color: var(--Y); }
.nav-cta:hover::before { transform: none; }
.nav-cta span { position: relative; z-index: 1; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  width: 32px; padding: 4px; z-index: 1010; flex-shrink: 0;
}
.nav-toggle span {
  display: block; height: 1.5px; background: var(--W); border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 160px 56px 80px;
  background: var(--K);
  position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(249,246,240,0.07);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(249,246,240,.02) 1px,transparent 1px), linear-gradient(90deg,rgba(249,246,240,.02) 1px,transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.page-hero-orb {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle,rgba(245,196,0,.15) 0%,transparent 70%);
  top: -100px; right: -50px; pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite alternate;
}
@keyframes orbFloat { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px,60px) scale(1.1); } }
.page-hero-content { position: relative; z-index: 2; }
.ph-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: var(--text-2xs);
  letter-spacing: var(--ls-wider); text-transform: uppercase;
  color: var(--Y); margin-bottom: 24px;
  opacity: 0; animation: fadeUp .8s .3s var(--ease) forwards;
}
.ph-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--Y); animation: ping 2.5s ease-in-out infinite; }
.ph-h1 {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 7rem);
  line-height: 0.92; letter-spacing: var(--ls-tight); color: var(--W);
  opacity: 0; animation: fadeUp .9s .5s var(--ease) forwards;
}
.ph-h1 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--Y); font-size: 0.9em; }
.ph-h1 .outline { -webkit-text-stroke: 2px var(--W); color: transparent; }
.ph-sub {
  margin-top: 28px; max-width: 560px;
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: var(--lh-loose);
  color: rgba(249,246,240,0.5);
  opacity: 0; animation: fadeUp .8s .7s var(--ease) forwards;
}
.ph-breadcrumb {
  margin-top: 40px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: var(--text-2xs);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: rgba(249,246,240,0.5);
  opacity: 0; animation: fadeUp .8s .9s var(--ease) forwards;
}
.ph-breadcrumb a { transition: color .3s; }
.ph-breadcrumb a:hover { color: var(--Y); }
.ph-breadcrumb span { color: var(--Y); }

/* ─── LABELS DE SECTION ─── */
/* Sur fond clair */
.sec-label {
  font-family: var(--f-mono); font-weight: 400;
  font-size: var(--text-2xs); letter-spacing: var(--ls-wider); text-transform: uppercase;
  color: rgba(8,8,8,0.38); display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.sec-label::before { content: ''; width: 28px; height: 1px; background: var(--Y); flex-shrink: 0; }
/* Sur fond sombre */
.sec-label-w {
  font-family: var(--f-mono); font-weight: 400;
  font-size: var(--text-2xs); letter-spacing: var(--ls-wider); text-transform: uppercase;
  color: rgba(249,246,240,0.45); display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.sec-label-w::before { content: ''; width: 28px; height: 1px; background: var(--Y); flex-shrink: 0; }

/* ─── HEADINGS UTILITAIRES ─── */
/* Grand titre sur fond clair */
.h2-big {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  line-height: 0.94; letter-spacing: var(--ls-tight); color: var(--K);
}
.h2-big em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  color: rgba(8,8,8,0.32); font-size: 0.9em; letter-spacing: -0.02em;
}
/* Grand titre sur fond sombre */
.h2-w {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.94; letter-spacing: var(--ls-tight); color: var(--W);
}
.h2-w em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  color: var(--Y); font-size: 0.9em; letter-spacing: -0.02em;
}
/* Variante avec accent jaune sur fond clair */
.h2-big-y em { color: var(--Y); }
/* Variante ligne outline */
.h2-outline {
  -webkit-text-stroke: 2px var(--W);
  color: transparent;
}
.h2-outline-k {
  -webkit-text-stroke: 2px var(--K);
  color: transparent;
}

/* ─── BOUTONS ─── */
/* Bouton principal jaune */
.btn-main {
  font-family: var(--f-display); font-weight: 700;
  font-size: var(--text-2xs); letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--Y); color: var(--K);
  padding: 18px 44px;
  position: relative; overflow: hidden; display: inline-block;
  transition: transform .3s var(--ease), box-shadow .3s;
  border: none; outline: none;
}
.btn-main::after {
  content: ''; position: absolute; inset: 0;
  background: var(--Y2); transform: translateX(-100%) skewX(-12deg);
  transition: transform .4s var(--ease);
}
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(245,196,0,.25); }
.btn-main:hover::after { transform: translateX(0) skewX(-12deg); }
.btn-main-inner { position: relative; z-index: 1; }

/* Bouton outline sur fond sombre */
.btn-outline {
  font-family: var(--f-display); font-weight: 700;
  font-size: var(--text-2xs); letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid rgba(249,246,240,0.22); color: var(--W);
  padding: 16px 40px; display: inline-block;
  position: relative; overflow: hidden;
  transition: color .4s, border-color .4s;
  background: transparent;
}
.btn-outline::before {
  content: ''; position: absolute; inset: 0;
  background: var(--W); transform: translateY(101%);
  transition: transform .4s var(--ease);
}
.btn-outline:hover { color: var(--K); border-color: var(--W); }
.btn-outline:hover::before { transform: none; }
.btn-outline span { position: relative; z-index: 1; }

/* ─── MARQUEE ─── */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(249,246,240,0.08);
  border-bottom: 1px solid rgba(249,246,240,0.08);
  background: rgba(245,196,0,0.03);
  padding: 18px 0;
}
.marquee-track { display: flex; width: max-content; animation: mq 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.mq-item {
  white-space: nowrap; padding: 0 52px;
  font-family: var(--f-display); font-weight: 700;
  font-size: var(--text-2xs); letter-spacing: var(--ls-wider); text-transform: uppercase;
  color: rgba(249,246,240,0.4);
  display: flex; align-items: center; gap: 52px;
}
.mq-item::after { content: '✦'; color: var(--Y); font-size: 0.55rem; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ─── STATEMENT BAND ─── */
.statement {
  background: var(--Y); padding: 100px 56px;
  display: grid; grid-template-columns: 3fr 2fr; gap: 80px; align-items: center;
}
.stmt-q {
  font-family: var(--f-serif); font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 3rem); color: var(--K);
  line-height: 1.3;
}
.stmt-q em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.stmt-stats { display: flex; flex-direction: column; gap: 0; }
.ss { padding: 24px 0; border-bottom: 1px solid rgba(8,8,8,0.15); display: flex; align-items: baseline; gap: 16px; }
.ss:first-child { border-top: 1px solid rgba(8,8,8,0.15); }
.ss-n {
  font-family: var(--f-display); font-weight: 900;
  font-size: 3rem; color: var(--K); line-height: 1; min-width: 88px;
  letter-spacing: var(--ls-tight);
}
.ss-l {
  font-family: var(--f-mono); font-size: var(--text-xs);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(8,8,8,0.5);
}

/* ─── FOOTER ─── */
footer {
  background: var(--K);
  border-top: 1px solid rgba(249,246,240,0.07);
}
.footer-main {
  padding: 80px 56px 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
}
.f-brand {}
.f-logo {
  font-family: var(--f-display); font-weight: 900;
  font-size: 2.2rem; letter-spacing: var(--ls-tight); color: var(--W); line-height: 1;
}
.f-logo img { height: 52px !important; width: auto !important; display: block !important; }
.f-logo span { color: var(--Y); }
.f-tagline {
  margin-top: 16px;
  font-family: var(--f-serif); font-style: italic;
  font-size: var(--text-md); color: rgba(249,246,240,0.38);
  line-height: 1.65; max-width: 240px;
}
.f-soc { display: flex; gap: 8px; margin-top: 28px; }
.f-soc a {
  width: 36px; height: 36px;
  border: 1px solid rgba(249,246,240,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(249,246,240,0.3);
  font-family: var(--f-display); font-size: var(--text-2xs); font-weight: 700;
  letter-spacing: .04em; transition: all .3s;
}
.f-soc a:hover { border-color: var(--Y); color: var(--Y); background: rgba(245,196,0,.06); }
.f-col-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: var(--text-2xs); letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(249,246,240,0.7); margin-bottom: 20px;
}
.f-col-links { display: flex; flex-direction: column; gap: 12px; }
.f-col-links a {
  font-family: var(--f-mono); font-size: var(--text-xs);
  color: rgba(249,246,240,0.3); line-height: 1.5; transition: color .3s;
}
.f-col-links a:hover { color: var(--Y); }
.footer-bottom {
  border-top: 1px solid rgba(249,246,240,0.07);
  padding: 24px 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.f-copy {
  font-family: var(--f-mono); font-weight: 300;
  font-size: var(--text-2xs); letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(249,246,240,0.35);
}
.f-legal { display: flex; gap: 24px; }
.f-legal a {
  font-family: var(--f-mono); font-size: var(--text-2xs);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(249,246,240,0.35); transition: color .3s;
}
.f-legal a:hover { color: var(--Y); }

/* ─── FORMULAIRES ─── */
.fg { display: flex; flex-direction: column; gap: 8px; }
.fg label {
  font-family: var(--f-mono); font-size: var(--text-2xs);
  letter-spacing: var(--ls-wider); text-transform: uppercase;
  color: rgba(8,8,8,0.38);
}
/* Champ sur fond clair */
.fi {
  width: 100%; background: transparent;
  border: none; border-bottom: 1px solid rgba(8,8,8,0.15);
  color: var(--K); padding: 12px 0;
  font-family: var(--f-serif); font-style: italic;
  font-size: var(--text-md); outline: none;
  transition: border-color .3s; appearance: none; cursor: text;
}
.fi:focus { border-color: var(--K); }
.fi::placeholder { color: rgba(8,8,8,0.18); font-family: var(--f-serif); font-style: italic; }
textarea.fi { resize: vertical; min-height: 100px; border: 1px solid rgba(8,8,8,0.12); padding: 14px; border-radius: 0; }
select.fi { cursor: pointer; font-family: var(--f-mono); font-style: normal; }
.fg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
/* Modificateur fond sombre */
.fi-dark { border-bottom-color: rgba(249,246,240,0.15); color: var(--W); }
.fi-dark:focus { border-bottom-color: var(--Y); }
.fi-dark::placeholder { color: rgba(249,246,240,0.18); }
textarea.fi-dark { border-color: rgba(249,246,240,0.12); }
select.fi-dark { font-family: var(--f-mono); font-style: normal; }
select.fi-dark option { background: #111; color: var(--W); }
/* Bouton soumettre */
.fsub {
  font-family: var(--f-display); font-weight: 700;
  font-size: var(--text-2xs); letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--K); color: var(--W);
  padding: 18px 44px; align-self: flex-start;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease); border: 2px solid var(--K); cursor: pointer;
}
.fsub::before { content: ''; position: absolute; inset: 0; background: var(--Y); transform: translateY(100%); transition: transform .4s var(--ease); }
.fsub:hover { color: var(--K); transform: translateY(-2px); }
.fsub:hover::before { transform: none; }
.fsub span { position: relative; z-index: 1; }
/* Message succès */
.fok {
  display: none; padding: 18px 20px;
  background: rgba(245,196,0,0.1); border: 1px solid rgba(245,196,0,.3);
  color: rgba(8,8,8,0.8); margin-top: 8px;
  font-family: var(--f-mono); font-size: var(--text-xs);
  letter-spacing: 0.06em; text-align: center;
}

/* ─── SCROLL REVEAL ─── */
.rv { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.vis { opacity: 1; transform: none; }
.rv-l { opacity: 0; transform: translateX(-32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv-l.vis { opacity: 1; transform: none; }
.rv-r { opacity: 0; transform: translateX(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv-r.vis { opacity: 1; transform: none; }

/* ─── UTILS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rotateSlow { to { transform: rotate(360deg); } }
@keyframes ping { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.8); opacity: .3; } }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  header nav { padding: 16px 20px; }
  header nav.scrolled { padding: 12px 20px; }
  .nav-mid {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8,8,8,0.98); backdrop-filter: blur(24px);
    flex-direction: column; align-items: center; justify-content: center; gap: 36px;
    z-index: 990; list-style: none;
    padding: 0; margin: 0;
    /* Annule le transform desktop */
    transform: none !important;
    /* Empêche le scroll de déborder sur iOS */
    overflow-y: auto;
    overscroll-behavior: contain;
    /* Hauteur dynamique pour iOS (barre de nav navigateur) */
    height: 100vh;
    height: 100dvh;
  }
  .nav-mid.open { display: flex; }
  .nav-mid li { display: block; text-align: center; }
  .nav-mid a {
    font-size: clamp(1.8rem,5vw,2.5rem); letter-spacing: 0.04em; text-transform: uppercase;
    color: rgba(249,246,240,0.4); font-family: 'Gotham', 'Montserrat', sans-serif; font-weight: 900;
    transition: color .3s;
  }
  .nav-mid a:hover, .nav-mid a.active { color: var(--Y); }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
  .nav-cta { display: none; }
  .page-hero { padding: 120px 24px 60px; }
  .statement { grid-template-columns: 1fr; gap: 48px; padding: 72px 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; padding: 20px 24px; }
  .fg2 { grid-template-columns: 1fr; }
  .nav-logo img { height: 36px !important; }
  .f-logo img { height: 44px !important; }
  #chatbot-window { width: calc(100vw - 32px) !important; right: 16px !important; bottom: 90px !important; }
}

/* ─── SCROLL TO TOP ─── */
#scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 800;
  width: 48px; height: 48px;
  background: var(--Y); color: var(--K);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background .3s;
  box-shadow: 0 8px 32px rgba(245,196,0,.25);
}
#scroll-top.visible {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
#scroll-top:hover {
  background: var(--Y2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(245,196,0,.35);
}

/* ─── CHATBOT ─── */
#chatbot-toggle {
  position: fixed; bottom: 32px; right: 92px; z-index: 800;
  width: 52px; height: 52px;
  background: var(--K); color: var(--Y);
  border: 1px solid rgba(245,196,0,.4); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: background .3s, transform .3s, border-color .3s;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
#chatbot-toggle:hover {
  background: rgba(245,196,0,.1);
  border-color: var(--Y);
  transform: scale(1.08);
}
#chatbot-toggle.active {
  background: var(--Y); color: var(--K);
  border-color: var(--Y);
}
#chatbot-window {
  position: fixed; bottom: 100px; right: 92px; z-index: 799;
  width: 360px;
  background: var(--K);
  border: 1px solid rgba(249,246,240,.1);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(16px) scale(.97);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
#chatbot-window.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0) scale(1);
}
.cb-header {
  background: var(--Y); color: var(--K);
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.cb-header-info { display: flex; align-items: center; gap: 12px; }
.cb-avatar {
  width: 36px; height: 36px;
  background: var(--K); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.cb-name {
  font-family: var(--f-display); font-weight: 700;
  font-size: .78rem; letter-spacing: .04em; line-height: 1.1;
}
.cb-status {
  font-family: var(--f-mono); font-size: .6rem;
  letter-spacing: .12em; text-transform: uppercase;
  opacity: .6; margin-top: 2px;
}
.cb-close {
  width: 28px; height: 28px;
  background: rgba(8,8,8,.15);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--K); font-weight: 900;
  transition: background .2s;
}
.cb-close:hover { background: rgba(8,8,8,.3); }
.cb-messages {
  flex: 1; overflow-y: auto; padding: 20px 16px;
  display: flex; flex-direction: column; gap: 12px;
  max-height: 320px; min-height: 200px;
  scrollbar-width: thin; scrollbar-color: rgba(245,196,0,.3) transparent;
}
.cb-messages::-webkit-scrollbar { width: 3px; }
.cb-messages::-webkit-scrollbar-track { background: transparent; }
.cb-messages::-webkit-scrollbar-thumb { background: rgba(245,196,0,.3); }
.cb-bubble {
  max-width: 85%; padding: 10px 14px;
  font-family: var(--f-mono); font-size: .78rem; line-height: 1.6;
  animation: fadeUp .3s var(--ease);
}
.cb-bubble.bot {
  background: rgba(249,246,240,.06);
  border: 1px solid rgba(249,246,240,.08);
  color: var(--W); align-self: flex-start;
}
.cb-bubble.user {
  background: var(--Y); color: var(--K);
  align-self: flex-end;
  font-weight: 400;
}
.cb-bubble a { color: var(--Y); text-decoration: underline; }
.cb-bubble.bot a { color: var(--Y2); }
.cb-quick {
  padding: 8px 16px 12px; display: flex; flex-wrap: wrap; gap: 6px;
  border-top: 1px solid rgba(249,246,240,.06);
}
.cb-q {
  font-family: var(--f-display); font-weight: 700;
  font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid rgba(249,246,240,.3); color: rgba(249,246,240,.8);
  padding: 6px 14px; cursor: pointer; background: transparent;
  transition: border-color .3s, color .3s, background .3s;
}
.cb-q:hover {
  border-color: var(--Y); color: var(--Y);
  background: rgba(245,196,0,.06);
}
.cb-input-row {
  display: flex; align-items: center; gap: 0;
  border-top: 1px solid rgba(249,246,240,.08); flex-shrink: 0;
}
.cb-input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--W); padding: 14px 16px;
  font-family: var(--f-mono); font-size: .8rem;
}
.cb-input::placeholder { color: rgba(249,246,240,.45); }
.cb-send {
  width: 48px; height: 48px; background: var(--Y); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--K); font-weight: 900; flex-shrink: 0;
  transition: background .3s;
}
.cb-send:hover { background: var(--Y2); }
.cb-typing {
  display: flex; align-items: center; gap: 4px; padding: 10px 14px;
  background: rgba(249,246,240,.06); border: 1px solid rgba(249,246,240,.08);
  align-self: flex-start; max-width: 72px;
}
.cb-typing span {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(249,246,240,.6);
  animation: cbDot 1.4s ease-in-out infinite;
}
.cb-typing span:nth-child(2) { animation-delay: .2s; }
.cb-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes cbDot {
  0%,80%,100% { transform: scale(.6); opacity: .4; }
  40% { transform: scale(1); opacity: 1; }
}
