/* SGM.SARL — site vitrine. Mise en page de la maquette Claude Design « SGM Site Vitrine v2 », charte bleu et blanc du logo. */

:root {
  /* Charte : bleus relevés dans le logo (dégradé #66CAFE → #44ADFE, teinte dominante #55BBFD) */
  --blue-300: #66CAFE;
  --blue-400: #55BBFD;
  /* Même teinte, assombrie : le bleu du logo n'offre que 2,1:1 avec le blanc, trop peu pour du texte */
  --blue-700: #0868AC;
  --blue-800: #06528A;
  --blue-50: #F2F8FE;
  --navy-800: #0C2C4C;
  --navy-900: #072039;
  --navy-950: #041526;
  --white: #FFFFFF;
  --slate-200: #C4D3E3;
  --slate-400: #93A8BF;
  --slate-500: #56697F;
  --slate-600: #43576D;
  --red-300: #FF9B8A;
  --red-700: #B42318;

  /* Rôles des couleurs : zone claire par défaut ; .theme-dark et .theme-brand les redéfinissent pour leur zone */
  --bg: var(--white);
  --bg-alt: var(--blue-50);
  --surface: var(--white);
  --inset: var(--blue-50);
  --text: var(--navy-900);
  --text-2: var(--slate-600);
  --text-3: var(--slate-500);
  --line: color-mix(in srgb, var(--navy-900) 12%, transparent);
  --line-2: color-mix(in srgb, var(--navy-900) 22%, transparent);
  --accent: var(--blue-700);
  --accent-hover: var(--blue-800);
  --brand: var(--blue-400);
  --action: var(--blue-700);
  --action-text: var(--white);
  --action-hover: var(--blue-800);
  --danger: var(--red-700);
  --shadow: color-mix(in srgb, var(--navy-900) 28%, transparent);

  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'DM Serif Display', serif;
  --mono: 'JetBrains Mono', monospace;
  --display: 'Big Shoulders Display', sans-serif;
  --ease: cubic-bezier(.16, .84, .3, 1);
  --gutter: clamp(20px, 4vw, 48px);
}

/* Zone sombre (bleu nuit) : accueil, menu, réassurance, pied de page… */
.theme-dark {
  --bg: var(--navy-900);
  --bg-alt: var(--navy-950);
  --surface: var(--navy-800);
  --inset: var(--navy-900);
  --text: var(--white);
  --text-2: var(--slate-200);
  --text-3: var(--slate-400);
  --line: color-mix(in srgb, var(--white) 10%, transparent);
  --line-2: color-mix(in srgb, var(--white) 20%, transparent);
  --accent: var(--blue-400);
  --accent-hover: var(--blue-300);
  --brand: var(--blue-400);
  --action: var(--blue-400);
  --action-text: var(--navy-900);
  --action-hover: var(--blue-300);
  --danger: var(--red-300);
  --shadow: color-mix(in srgb, var(--navy-950) 85%, transparent);
}

/* Zone au bleu du logo : texte bleu nuit (7,8:1) */
.theme-brand {
  --bg: var(--blue-400);
  --text: var(--navy-900);
  --text-2: var(--navy-800);
  --text-3: var(--navy-800);
  --line: color-mix(in srgb, var(--navy-900) 18%, transparent);
  --line-2: color-mix(in srgb, var(--navy-900) 35%, transparent);
  --accent: var(--navy-900);
  --accent-hover: var(--navy-800);
  --brand: var(--navy-900);
  --action: var(--navy-900);
  --action-text: var(--white);
  --action-hover: var(--navy-800);
  --shadow: color-mix(in srgb, var(--navy-900) 40%, transparent);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
::selection { background: var(--action); color: var(--action-text); }
input, select, textarea, button { font: inherit; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
option, optgroup { background: var(--surface); color: var(--text); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: fixed; left: 14px; top: 14px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--action); color: var(--action-text); font-weight: 700; transform: translateY(-200%); }
.skip:focus { transform: none; color: var(--action-text); }

.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%27180%27%20height=%27180%27%3E%3Cfilter%20id=%27n%27%3E%3CfeTurbulence%20type=%27fractalNoise%27%20baseFrequency=%27.9%27%20numOctaves=%272%27%20stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect%20width=%27100%25%27%20height=%27100%25%27%20filter=%27url%28%23n%29%27/%3E%3C/svg%3E"); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Éléments partagés ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; scroll-margin-top: 90px; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); }
.dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--brand); transform-origin: 0 50%; transition: transform .9s var(--ease) .3s; }
.eyebrow__num { color: var(--accent); }

.h2 { margin: 22px 0 0; font-weight: 800; font-size: clamp(42px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -.04em; color: var(--text); }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; letter-spacing: -.01em; color: var(--accent); }
.accent--block { display: block; line-height: 1.06; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 28px clamp(40px, 6vw, 96px); align-items: end; }
.lead { margin: 0; max-width: 540px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.lead--sm { font-size: clamp(16px, 1.3vw, 19px); }
.lead strong { color: var(--text); font-weight: 700; }
.caption { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }

.btn { display: inline-flex; align-items: center; gap: 16px; padding: 8px 8px 8px 26px; border-radius: 999px; background: var(--action); color: var(--action-text); font-size: 16px; font-weight: 700; transition: background .25s ease, transform .25s ease, translate .4s var(--ease); }
.btn:hover { background: var(--action-hover); color: var(--action-text); transform: translateY(-2px); }
.btn--glow { box-shadow: 0 18px 44px -18px color-mix(in srgb, var(--action) 75%, transparent); }
.btn--wide { display: flex; justify-content: space-between; gap: 14px; width: 100%; box-sizing: border-box; border: 0; cursor: pointer; }
.btn--wide:hover { transform: none; }
.btn__icon { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--action-text); color: var(--action); display: flex; align-items: center; justify-content: center; }
.btn--wide .btn__icon { width: 46px; height: 46px; }

/* Halo bleu qui suit le pointeur (variables --mx/--my posées par main.js) */
.spot { --spot: 360px; --spot-a: 12%; background: radial-gradient(var(--spot) circle at var(--mx, -999px) var(--my, -999px), color-mix(in srgb, var(--brand) var(--spot-a), transparent), transparent 70%), var(--surface); }

/* ---------- En-tête ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; padding: 0 14px; pointer-events: none; }
.nav { pointer-events: auto; width: 100%; max-width: 1180px; box-sizing: border-box; display: flex; align-items: center; gap: 20px; padding: 9px 9px 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--bg) 45%, transparent); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); transition: background .35s ease, box-shadow .35s ease; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); box-shadow: 0 18px 40px -20px var(--shadow); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand img { width: 38px; height: 38px; display: block; }
.brand__name { font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--text); }
.brand__name span { color: var(--accent); }
.nav__links { margin: 0 auto; display: flex; align-items: center; gap: 2px; font-size: 14.5px; font-weight: 500; }
.nav__links a { position: relative; padding: 10px 14px; border-radius: 999px; color: var(--text-2); transition: color .2s, background .2s; }
.nav__links a:hover { background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--brand); }
.nav__cta { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--action); color: var(--action-text); font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .25s ease, transform .25s ease, translate .4s var(--ease); }
.nav__cta:hover { background: var(--action-hover); color: var(--action-text); transform: translateY(-1px); }
.nav__burger { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--action); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0; }
.nav__burger span { width: 18px; height: 2px; background: var(--action-text); border-radius: 2px; }
@media (min-width: 1040px) { .nav__burger { display: none; } }
@media (max-width: 1039.98px) { .nav__links, .nav__cta { display: none; } }

/* Menu mobile (élément <dialog> natif : piège du focus et touche Échap gérés par le navigateur) */
.menu { position: fixed; inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; border: 0; background: var(--bg); color: var(--text); flex-direction: column; padding: 22px var(--gutter) 32px; overflow-y: auto; overscroll-behavior: contain; }
.menu[open] { display: flex; }
.menu__top { display: flex; align-items: center; justify-content: space-between; }
.menu__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 22px; cursor: pointer; }
.menu__links { margin-top: 48px; display: flex; flex-direction: column; gap: 8px; font-weight: 800; font-size: 40px; letter-spacing: -.03em; line-height: 1.15; }
.menu__links a { color: var(--text); }
.menu__links .menu__contact { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.menu__info { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 13px; }
.menu__info a { color: var(--text); }
.menu__info span { color: var(--text-2); }

/* ---------- Accueil ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.hero__img { position: absolute; top: -7%; left: -16px; right: -16px; bottom: -7%; will-change: transform; } /* débord latéral : la photo suit légèrement la souris */
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 38%; display: block; transition: translate 1.2s var(--ease); }
.hero__shade { position: absolute; inset: 0; }
.hero__shade--x { background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 97%, transparent) 0%, color-mix(in srgb, var(--bg) 90%, transparent) 32%, color-mix(in srgb, var(--bg) 55%, transparent) 62%, color-mix(in srgb, var(--bg) 40%, transparent) 100%); }
.hero__shade--b { background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 20%, transparent 46%); }
.hero__shade--t { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 80%, transparent) 0%, transparent 24%); }
.hero__shade--m { background: color-mix(in srgb, var(--bg) 50%, transparent); }
@media (min-width: 1040px) { .hero__shade--m { display: none; } }
.hero__content { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 1280px; box-sizing: border-box; margin: 0 auto; padding: clamp(118px, 15vh, 164px) var(--gutter) 44px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: color-mix(in srgb, var(--bg) 45%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.hero__title { margin: 28px 0 0; font-weight: 800; font-size: clamp(40px, 5.6vw, 86px); line-height: 1.06; letter-spacing: -.04em; color: var(--text); }
.hero__line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__line > span { display: block; }
.hero__line--accent { padding: .02em 0 .2em; margin-bottom: 0; }
.hero__line--accent > span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.2em; line-height: 1.08; letter-spacing: -.01em; color: var(--accent); }
.hero__sub { display: block; margin-top: 14px; max-width: 24ch; font-weight: 600; font-size: clamp(21px, 2.1vw, 32px); line-height: 1.24; letter-spacing: -.02em; color: var(--text); text-wrap: balance; }
.hero__lead { margin: 26px 0 0; max-width: 600px; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.65; color: var(--text-2); text-wrap: pretty; }
.hero__lead strong { color: var(--text); font-weight: 700; }
.hero__ctas { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero__call { display: flex; align-items: center; gap: 14px; color: var(--text); }
.hero__call:hover { color: var(--accent-hover); }
.hero__call-icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.hero__call-text { display: flex; flex-direction: column; gap: 3px; }
.hero__call-text span { font-size: 15px; font-weight: 600; }
.hero__call-text small { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--text-2); }
.hero__stats-wrap { width: 100%; max-width: 1280px; box-sizing: border-box; margin: 0 auto; padding: 0 var(--gutter) 36px; }
.hero__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 22px 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__value { font-weight: 700; font-size: clamp(32px, 3vw, 44px); line-height: 1; letter-spacing: -.03em; }
.stat__label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }

/* Bandeau défilant des 11 expertises */
.ticker { background: var(--bg); color: var(--text); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: marquee 96s linear infinite; } /* ≈ 50 px/s */
.ticker__track span { display: flex; align-items: center; gap: 28px; padding: 20px 28px 20px 0; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 8px; height: 8px; background: var(--text); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- À propos ---------- */
.apropos { padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 9vw, 120px); }
.apropos__glow { position: absolute; right: -12%; top: -4%; width: 64vw; height: 640px; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 14%, transparent), transparent); pointer-events: none; }
.apropos .wrap { position: relative; }
.cards { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 18px; }
.mcard { flex: 1 1 320px; display: flex; flex-direction: column; gap: 26px; padding: 14px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); }
.mcard__panel { flex: 1; padding: 18px; border-radius: 20px; background: var(--inset); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.mcard__meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.mcard__meta em { font-style: normal; color: var(--accent); }
.mcard__body { padding: 0 12px 14px; }
.mcard__title { display: flex; align-items: center; gap: 12px; color: var(--accent); }
.mcard__title h3 { margin: 0; font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--text); }
.mcard__body p { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }

/* Cycle de vie : l'étape active (.is-on) avance toutes les 2 s */
.step { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); transition: background .4s, border-color .4s, color .4s; }
.step::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); transition: background .4s; }
.step::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--brand); transform-origin: 0 50%; opacity: 0; }
.step i { margin-left: auto; font-style: normal; }
.step.is-done { color: var(--text-2); }
.step.is-done::before, .step.is-on::before { background: var(--brand); }
.step.is-on { background: color-mix(in srgb, var(--brand) 12%, var(--surface)); border-color: color-mix(in srgb, var(--brand) 55%, transparent); color: var(--text); }
.step.is-on::after { opacity: 1; animation: stepfill 2s linear forwards; }
@keyframes stepfill { from { transform: scaleX(0); } }

/* Terminal « Vision » */
.term { flex: 1; min-height: 250px; padding: 18px; border-radius: 20px; background: var(--bg-alt); border: 1px solid var(--line); display: flex; flex-direction: column; }
.term__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.term__live { display: flex; align-items: center; gap: 8px; }
.term__body { flex: 1; padding-top: 18px; font-family: var(--mono); font-size: 14px; line-height: 1.75; letter-spacing: .04em; color: var(--text); }
.term__prompt { color: var(--accent); }
.term__cursor { display: inline-block; width: 9px; height: 17px; margin-left: 3px; vertical-align: -3px; background: var(--brand); animation: blink 1s linear infinite; }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.term__bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.term__bars span { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.term__bars i { display: block; height: 100%; background: var(--brand); transform-origin: 0 50%; }

.pcard { flex: 1 1 320px; position: relative; overflow: hidden; min-height: 440px; border-radius: 30px; border: 1px solid var(--line); background: var(--surface); }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% 40%; }
.pcard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--bg) 85%, transparent) 100%); }
.pcard__label { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--bg) 60%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }

/* Mot du PDG */
.ceo { margin-top: clamp(80px, 10vw, 136px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .ceo { grid-template-columns: minmax(0, 1fr); } .ceo__photo { max-width: 420px; } }
.ceo__photo { position: relative; margin: 0; overflow: hidden; border-radius: 30px; border: 1px solid var(--line); background: var(--inset); }
.ceo__photo img { width: 100%; height: auto; display: block; } /* photo entière : le drapeau et le logo mural sont aux bords */
.ceo__quote { margin: 28px 0 0; padding-left: 24px; border-left: 3px solid var(--brand); font-family: var(--serif); font-style: italic; font-size: clamp(23px, 2.3vw, 32px); line-height: 1.3; color: var(--accent); text-wrap: pretty; }
.ceo__quote p { margin: 0; }
.ceo__text p { margin: 22px 0 0; max-width: 62ch; font-size: 17px; line-height: 1.7; color: var(--text-2); text-wrap: pretty; }
.ceo__sign { margin: 32px 0 0; display: flex; flex-direction: column; gap: 6px; }
.ceo__sign strong { font-size: 19px; letter-spacing: -.01em; color: var(--text); }
.ceo__sign span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }

/* Valeurs */
.values { margin-top: clamp(80px, 10vw, 136px); }
.values__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.values__head h3, .ceo__title { margin: 0; font-weight: 800; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -.04em; color: var(--text); }
.values__grid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.vcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.vfeat { grid-row: span 2; min-height: 300px; box-sizing: border-box; padding: 30px; border-radius: 30px; background: var(--bg); color: var(--text); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.vfeat__icon { width: 58px; height: 58px; border-radius: 50%; background: var(--text); color: var(--bg); display: flex; align-items: center; justify-content: center; }
.vfeat__num { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; }
.vfeat h4 { margin: 0; font-weight: 800; font-size: clamp(32px, 3vw, 44px); line-height: 1.04; letter-spacing: -.035em; }
.vfeat p { margin: 14px 0 0; max-width: 30ch; font-size: 17px; line-height: 1.5; font-weight: 500; }
.vcard { min-height: 200px; box-sizing: border-box; padding: 26px; border-radius: 26px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; transition: transform .45s var(--ease), border-color .3s ease; }
.vcard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--brand) 55%, transparent); }
.vcard__icon { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.vcard__num { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--text-3); }
.vcard h4 { margin: 0; font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; color: var(--text); }
.vcard p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* ---------- Expertises ---------- */
.expertises { padding: clamp(80px, 10vw, 140px) 0; }
.xp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.xp-head__intro { max-width: 720px; }
.xp-count { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.xp-count__num { font-weight: 800; font-size: clamp(110px, 13vw, 200px); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 45%, transparent); }
.xp-count__caption { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.filters { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); transition: background .25s, color .25s, border-color .25s; }
.filter span { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.filter[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: var(--action-text); }
.filter[aria-pressed="true"] span { color: var(--action-text); }
.xp-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 262px), 1fr)); gap: 16px; }
.xp { --spot: 380px; --spot-a: 13%; min-height: 300px; box-sizing: border-box; padding: 24px; border-radius: 26px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; cursor: pointer; transition: opacity .4s ease, transform .45s var(--ease), border-color .3s ease; }
.xp:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--brand) 60%, transparent); }
.xp.is-dim { opacity: .22; }
.xp__img { flex: none; display: block; width: calc(100% + 24px); max-width: none; height: auto; aspect-ratio: 16 / 10; margin: -12px -12px 2px; object-fit: cover; border-radius: 14px; background: var(--inset); } /* visuel du pôle, encadré à 12 px du bord de la carte */
.xp__top { display: flex; justify-content: space-between; align-items: flex-start; }
.xp__icon { width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--brand) 14%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.xp__num { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: 1.92px; text-transform: uppercase; color: var(--accent); }
.xp__num small { font-size: 9.5px; font-weight: 400; color: var(--text-3); }
.xp h3 { margin: 0; font-weight: 700; font-size: clamp(19px, 1.5vw, 21px); line-height: 1.2; letter-spacing: -.02em; color: var(--text); overflow-wrap: break-word; }
.xp p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.xp__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tag { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.xp__go { flex: none; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--accent); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, color .25s; }
.xp:hover .xp__go, .xp__go:hover { background: var(--action); border-color: var(--action); color: var(--action-text); } /* toute la carte est cliquable */
.xp-cta { min-height: 300px; box-sizing: border-box; padding: 26px; border-radius: 26px; background: var(--bg); color: var(--text); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: transform .45s var(--ease), background .3s ease; }
.xp-cta:hover { transform: translateY(-6px); background: var(--blue-300); color: var(--text); }
.xp-cta__label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.xp-cta__title { font-weight: 800; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.08; letter-spacing: -.03em; }
.xp-cta__title em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.xp-cta__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; }
.cta-center { margin-top: clamp(56px, 7vw, 88px); display: flex; justify-content: center; }
.cta-pill { max-width: 100%; box-sizing: border-box; display: inline-flex; align-items: center; gap: 22px; padding: 12px 12px 12px 34px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 13.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; box-shadow: 0 30px 60px -30px var(--shadow); transition: border-color .3s ease, background .3s ease, translate .4s var(--ease); }
.cta-pill:hover { border-color: var(--accent); background: var(--inset); color: var(--text); }
.cta-pill__icon { flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--action); color: var(--action-text); display: flex; align-items: center; justify-content: center; }

/* ---------- Réalisations ---------- */
.realisations { padding: clamp(88px, 11vw, 150px) 0 clamp(72px, 9vw, 120px); }
.works { margin-top: 52px; display: flex; flex-wrap: wrap; gap: 16px; }
.work { position: relative; margin: 0; flex: 1 1 300px; height: clamp(300px, 28vw, 400px); overflow: hidden; border-radius: 30px; border: 1px solid var(--line); background: var(--surface); }
.work--xl { flex-basis: 560px; }
.work--lg { flex-basis: 380px; }
.work--xl, .work--lg { height: clamp(340px, 38vw, 540px); }
.work img { position: absolute; left: 0; top: -40px; width: 100%; height: calc(100% + 80px); object-fit: cover; transition: scale 1.2s var(--ease); } /* 40 px de marge haut/bas pour la parallaxe */
.work:hover img { scale: 1.06; }
.work::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 38%, color-mix(in srgb, var(--bg) 92%, transparent) 100%); }
.work--xl::after, .work--lg::after { background: linear-gradient(180deg, transparent 42%, color-mix(in srgb, var(--bg) 92%, transparent) 100%); }
.work__count { position: absolute; top: 18px; right: 18px; z-index: 1; pointer-events: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--text); }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none; padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 8px; }
.work--xl figcaption, .work--lg figcaption { padding: clamp(20px, 2.4vw, 30px); }
.work__tag { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.work__title { font-weight: 700; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.15; letter-spacing: -.025em; color: var(--text); }
.work--xl .work__title, .work--lg .work__title { font-size: clamp(22px, 2.2vw, 30px); }
.work__desc { font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.work--xl .work__desc, .work--lg .work__desc { max-width: 44ch; font-size: 15px; }

/* ---------- Pourquoi SGM ---------- */
.pourquoi { padding: clamp(80px, 10vw, 140px) 0; }
.pourquoi__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px clamp(48px, 6vw, 96px); align-items: center; }
.collage { position: relative; margin-top: 44px; margin-bottom: clamp(60px, 7vw, 90px); max-width: 580px; }
.collage__main { width: 78%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; }
.collage__sub { position: absolute; right: 0; bottom: calc(-1 * clamp(60px, 7vw, 90px)); width: 64%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 24px; border: 6px solid var(--bg-alt); }
.collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge { position: absolute; right: 2%; top: -28px; width: 132px; height: 132px; border-radius: 50%; background: var(--bg); color: var(--text); display: flex; align-items: center; justify-content: center; box-shadow: 0 24px 50px -20px var(--shadow); }
.badge svg { position: absolute; inset: 0; animation: spin 20s linear infinite; }
.badge text { font-family: var(--mono); font-size: 10.5px; letter-spacing: 3.2px; font-weight: 500; }
.badge__mark { width: 40px; height: 35px; background: currentColor; -webkit-mask: url(assets/sgm-mark.webp) center / contain no-repeat; mask: url(assets/sgm-mark.webp) center / contain no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
.reasons { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.reason { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 24px 24px 24px 26px; border-radius: 22px; border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s ease; }
.reason:hover { transform: translateX(8px); border-color: color-mix(in srgb, var(--brand) 55%, transparent); }
.reason__num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.reason__text { font-weight: 700; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -.02em; color: var(--text); }
.check { width: 38px; height: 38px; border-radius: 50%; background: var(--action); color: var(--action-text); display: flex; align-items: center; justify-content: center; }
.reasons__cta { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.phone-link { font-family: var(--mono); font-size: 14px; letter-spacing: .06em; color: var(--accent); }

/* ---------- Partenariats ---------- */
.partenariats { padding: clamp(24px, 3vw, 40px) clamp(10px, 1.6vw, 22px) 0; }
.partner { position: relative; overflow: hidden; max-width: 1440px; margin: 0 auto; border-radius: clamp(28px, 3.4vw, 48px); background: var(--bg); color: var(--text); padding: clamp(56px, 8vw, 112px) 0; }
.partner__mark { position: absolute; right: -6%; top: 50%; width: min(56vw, 700px); aspect-ratio: 575 / 503; transform: translateY(-50%); background: var(--text); opacity: .07; -webkit-mask: url(assets/sgm-mark.webp) center / contain no-repeat; mask: url(assets/sgm-mark.webp) center / contain no-repeat; pointer-events: none; }
.partner__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.partner__text { margin: 30px 0 0; max-width: 560px; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; text-wrap: pretty; }
.partner__text strong { font-weight: 800; }
.pcta { background: var(--bg); color: var(--text); border-radius: 30px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 40px 80px -40px var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.panel-head > span:first-child { display: flex; align-items: center; gap: 8px; }
.pcta__step { margin-top: 24px; font-size: 15px; font-weight: 700; }
.chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 15px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600; border: 1px solid var(--line-2); background: transparent; color: var(--text); transition: background .2s, color .2s, border-color .2s; }
.chip[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: var(--action-text); }
.types { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.type { padding: 15px 8px; border-radius: 16px; cursor: pointer; font-size: 15px; font-weight: 700; border: 1px solid var(--line-2); background: transparent; color: var(--text); transition: background .2s, color .2s, border-color .2s; }
.type[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.quote { margin: 24px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: flex; gap: 14px; font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.quote::before { content: ""; flex: none; width: 3px; border-radius: 3px; background: var(--brand); }
.pcta .btn--wide { margin-top: 20px; }

/* Bandeau des partenaires : défile de droite à gauche en boucle (main.js double la liste) ; pause au survol ou au bouton */
.logos { position: relative; margin-top: clamp(56px, 7vw, 88px); }
.logos__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logos__pause { flex: none; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.logos__pause:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.logos__pause[aria-pressed="true"] .i-pause, .logos__pause[aria-pressed="false"] .i-play { display: none; }
.logos__viewport { margin-top: 14px; overflow-x: auto; }
.logos__track { display: flex; width: max-content; margin: 0; padding: 10px var(--gutter) 30px; list-style: none; }
.logos__track li { flex: none; width: 200px; height: 104px; margin-right: 16px; display: flex; align-items: center; justify-content: center; border-radius: 22px; background: var(--white); box-shadow: 0 16px 32px -22px var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.logos__track li:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px var(--shadow); }
.logos__track img { display: block; }
.logos__viewport.is-looping { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); } /* masque : seule l'opacité compte, pas la couleur */
.logos__viewport.is-looping .logos__track { padding-inline: 0; animation: logos 54s linear infinite; }
.logos__viewport.is-looping:hover .logos__track, .logos__viewport.is-paused .logos__track { animation-play-state: paused; }
@keyframes logos { to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .logos__track li { width: 156px; height: 84px; margin-right: 12px; border-radius: 18px; }
  .logos__track img { scale: .8; }
}

/* ---------- Contact ---------- */
.contact { padding: clamp(88px, 11vw, 150px) 0; }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px clamp(48px, 6vw, 96px); align-items: start; }
.contact .h2 { font-size: clamp(42px, 5vw, 76px); }
.contact .h2 .accent { margin-top: 14px; font-size: .62em; line-height: 1.12; letter-spacing: -.005em; }
.infos { margin-top: 44px; display: flex; flex-direction: column; border-top: 1px solid var(--line); font-style: normal; }
.info { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent); display: flex; align-items: center; justify-content: center; transition: border-color .3s, background .3s; }
.info:hover .info__icon { border-color: var(--accent); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.info__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.info__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.info__value { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; color: var(--text); overflow-wrap: anywhere; transition: color .2s; }
a.info__value:hover { color: var(--accent); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: clamp(24px, 3.2vw, 42px); box-shadow: 0 40px 80px -48px var(--shadow); }
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea { width: 100%; box-sizing: border-box; padding: 15px 16px; border: 1px solid var(--line-2); background: var(--inset); border-radius: 14px; font-size: 16px; font-weight: 400; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input, .field select { line-height: 21px; } /* hauteur fixe : Chrome ne recalcule pas un <select> après le chargement de la police */
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent); }
/* Chevron : une image SVG ne lit pas les variables CSS, sa couleur est celle de --blue-700 */
.field select { padding-right: 44px; background: var(--inset) url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2712%27%20height=%278%27%3E%3Cpath%20d=%27M1%201l5%205%205-5%27%20fill=%27none%27%20stroke=%27%230868AC%27%20stroke-width=%271.8%27/%3E%3C/svg%3E") no-repeat right 18px center; appearance: none; -webkit-appearance: none; cursor: pointer; }
.field textarea { line-height: 1.5; resize: vertical; }
.field__err { font-weight: 500; color: var(--danger); }
.field__err:empty { display: none; }
.form__note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.form__alert { margin: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); background: color-mix(in srgb, var(--danger) 8%, transparent); font-size: 14px; line-height: 1.5; color: var(--text); }
.form [type="submit"]:disabled { cursor: progress; opacity: .7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* champ piège anti-robots */
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px 0; }
.sent__icon { width: 62px; height: 62px; border-radius: 50%; background: var(--action); color: var(--action-text); display: flex; align-items: center; justify-content: center; }
.sent h3 { margin: 0; font-weight: 800; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -.03em; outline: none; }
.sent h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.sent p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.btn-ghost { padding: 13px 20px; border: 1px solid var(--line-2); background: transparent; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

/* ---------- Pied de page ---------- */
.footer { background: var(--bg-alt); color: var(--text); padding: clamp(72px, 9vw, 120px) 0 0; overflow: hidden; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 44px 40px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__brand .brand { gap: 12px; }
.footer__brand .brand img { width: 42px; height: 42px; }
.footer__brand .brand__name { font-size: 21px; }
.footer__brand p { margin: 0; max-width: 300px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__title { margin-bottom: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.footer__col a { color: var(--text); transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__col a.footer__more { color: var(--accent); }
.footer__col a.footer__more:hover { color: var(--accent-hover); }
.wordmark { position: relative; padding-top: clamp(28px, 4vw, 48px); font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(84px, 20.5vw, 300px); line-height: .78; letter-spacing: -.01em; color: var(--text); white-space: nowrap; text-align: center; }
.wordmark span { display: inline-block; transform-origin: 50% 100%; transition: translate .6s var(--ease), rotate .6s var(--ease); } /* lettres soulevées par main.js au passage de la souris */
.wordmark .wordmark__dot { color: var(--brand); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 28px 0 32px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.footer__bottom a { color: var(--text); transition: color .2s; }
.footer__bottom a:hover { color: var(--accent); }

/* Bouton d'appel flottant : visible après le hero, masqué sur la section contact */
.fab { position: fixed; right: clamp(14px, 2.5vw, 30px); bottom: clamp(14px, 2.5vw, 30px); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--action); color: var(--action-text); font-size: 14px; font-weight: 700; box-shadow: 0 20px 44px -16px var(--shadow); opacity: 0; transform: translateY(24px); visibility: hidden; transition: opacity .35s ease, transform .35s ease, background .25s ease, visibility 0s .35s; }
.fab.is-visible { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.fab:hover { background: var(--action-hover); color: var(--action-text); }
.fab .btn__icon { width: 40px; height: 40px; }

/* ---------- Animations ---------- */
.intro [data-intro] { opacity: 0; }
.is-pending { opacity: 0; } /* bloc en attente d'apparition au défilement (posé par main.js) */
.is-pending .eyebrow::before { transform: scaleX(0); transition: none; } /* le filet bleu se trace à l'apparition de la section */

/* Micro-interactions */
.btn__icon svg { transition: translate .35s var(--ease); }
.btn:hover .btn__icon svg, .xp-cta:hover .btn__icon svg { translate: 3px 0; } /* la flèche avance : invite à cliquer */
.btn:active, .nav__cta:active, .cta-pill:active, .fab:active, .filter:active, .chip:active, .type:active, .xp__go:active, .logos__pause:active { scale: .97; } /* retour tactile au clic */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track, .badge svg, .term__cursor, .step.is-on::after { animation: none; }
}

/* ---------- Réseaux sociaux & signature du PDG (contact) ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.social { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text); display: inline-flex; align-items: center; justify-content: center; transition: color .2s, border-color .2s, background .2s; }
.social:hover, .footer__col a.social:hover { color: var(--action-text); background: var(--action); border-color: var(--action); }
.signature { margin: 36px 0 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--brand); }
.signature p { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4; color: var(--text); }
.signature footer { display: flex; flex-direction: column; gap: 4px; }
.signature strong { font-size: 16px; font-weight: 700; color: var(--text); }
.signature span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
