/* =========================================================
   BlackCircle — feuille de styles principale
   ========================================================= */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #050506;
  --bg-2: #09090b;
  --surface: #101013;
  --surface-2: #16161a;
  --surface-3: #1d1d22;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f4f6;
  --text-2: #b9bdc4;
  --muted: #80858e;
  --silver: #c8ccd2;
  --silver-dim: #8b9099;
  --glow: rgba(214, 220, 230, 0.12);
  --danger: #f0a3a3;
  --ok: #cfe3d6;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 12vw, 160px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.42s var(--ease) both; }
.site-header { view-transition-name: site-header; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: #d6dae0; color: #000; }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--text); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 500;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Typographie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--silver-dim);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.display {
  font-size: clamp(44px, 9vw, 120px); font-weight: 600; letter-spacing: -0.045em; line-height: 0.95;
  background: linear-gradient(180deg, #ffffff 0%, #d9dce1 55%, #8c919a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h1 { font-size: clamp(36px, 6vw, 72px); letter-spacing: -0.035em; line-height: 1.02; }
.h2 { font-size: clamp(30px, 4.4vw, 54px); letter-spacing: -0.03em; line-height: 1.05; }
.h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.015em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); }
.text-silver {
  background: linear-gradient(90deg, #f3f4f6, #9ca1aa); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.35s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn-primary {
  background: linear-gradient(180deg, #ffffff, #d7dae0); color: #07070a;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.btn-primary:hover { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.4), 0 8px 34px rgba(220, 226, 236, 0.22); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.28); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--silver); font-weight: 500; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, body.menu-open .site-header {
  background: rgba(6, 6, 8, 0.78); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { width: 30px; height: 30px; }
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: 0.22em; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: block; padding: 8px 14px; font-size: 14px; color: var(--text-2); border-radius: 999px;
  transition: color 0.25s, background-color 0.25s;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--silver); box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}
.header-actions { display: flex; gap: 8px; margin-left: 12px; }

.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-bars { position: relative; width: 18px; height: 10px; }
.menu-bars span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-bars span:first-child { top: 0; }
.menu-bars span:last-child { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .menu-bars span:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:last-child { top: 4.25px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: #060608;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(2) { transition-delay: 0.04s; }
.mobile-menu.is-open li:nth-child(3) { transition-delay: 0.08s; }
.mobile-menu.is-open li:nth-child(4) { transition-delay: 0.12s; }
.mobile-menu.is-open li:nth-child(5) { transition-delay: 0.16s; }
.mobile-menu nav a { display: flex; justify-content: space-between; padding: 18px 0; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; color: var(--text-2); }
.mobile-menu nav a[aria-current="page"] { color: var(--text); }
.mobile-actions { display: grid; gap: 10px; }
.mobile-actions .btn { width: 100%; }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--surface) 50%, var(--bg-2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-head .lead { margin: 0 auto 0 0; }
.section-head.center .lead { margin: 0 auto; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

/* ---------- Hero accueil ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 64px) 0 96px; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 72% 48%, transparent 0 40%, rgba(5, 5, 6, 0.55) 70%),
    linear-gradient(180deg, rgba(5, 5, 6, 0) 60%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5, 5, 6, 0.85) 0%, rgba(5, 5, 6, 0.2) 55%, rgba(5, 5, 6, 0) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -3; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 10%, transparent 75%);
}
.hero-content { display: grid; gap: 28px; max-width: 760px; }
.hero-tagline { font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; color: var(--text); max-width: 26ch; }
.hero .lead { max-width: 52ch; }
.hero .btn-row { margin-top: 12px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1px solid var(--line-strong); border-radius: 12px;
}
.hero-scroll::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px;
  background: var(--silver); animation: scroll-dot 2.2s var(--ease) infinite;
}
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(12px); } }

/* Entrée du hero */
.hero-in > * { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; }
.hero-in > *:nth-child(2) { animation-delay: 0.1s; }
.hero-in > *:nth-child(3) { animation-delay: 0.2s; }
.hero-in > *:nth-child(4) { animation-delay: 0.3s; }
.hero-in > *:nth-child(5) { animation-delay: 0.4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Hero des pages intérieures ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(72px, 10vw, 140px)) 0 clamp(64px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; width: min(900px, 140vw); aspect-ratio: 1; right: -20%; top: -45%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 216, 226, 0.09), transparent 62%);
  animation: breathe 9s ease-in-out infinite;
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; width: min(620px, 100vw); aspect-ratio: 1; right: -6%; top: -20%;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.012), 0 0 0 160px rgba(255, 255, 255, 0.008);
}
.page-hero .container { display: grid; gap: 24px; }
.page-hero .h1 { max-width: 18ch; }
@keyframes breathe { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }

/* ---------- Cartes ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease), background-color 0.4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.45s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(225, 230, 238, 0.08), transparent 60%);
}
.card:hover { border-color: rgba(255, 255, 255, 0.16); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card p { color: var(--text-2); font-size: 15px; }
.card-icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  background: linear-gradient(180deg, var(--surface-3), var(--surface)); border: 1px solid var(--line-strong);
  color: var(--silver); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.card-icon .icon { width: 22px; height: 22px; }
.card-num { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.08em; }
.card-title { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.card-feature { grid-column: span 2; }

/* Piliers */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 40px 32px 8px 0; display: grid; gap: 16px; align-content: start; position: relative; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--silver);
  transition: width 1.2s var(--ease) 0.2s;
}
.pillar.is-visible::before { width: 64px; }
.pillar + .pillar::before { left: 32px; }
.pillar .card-num { font-size: 13px; }
.pillar h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: 0.04em; }
.pillar p { color: var(--text-2); max-width: 34ch; }

/* ---------- Statistiques ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.stat { display: grid; gap: 8px; padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 32px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value { font-family: var(--mono); font-size: clamp(34px, 4vw, 52px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-pending { color: var(--surface-3); -webkit-text-stroke: 1px var(--silver-dim); }
.stat-label { color: var(--muted); font-size: 14px; }
.stats-note { margin-top: 18px; color: var(--muted); font-size: 13px; }

/* ---------- Double espace (accueil) ---------- */
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.space-card { min-height: 380px; justify-content: space-between; padding: clamp(28px, 4vw, 48px); }
.space-card .h2 { font-size: clamp(28px, 3.2vw, 40px); }
.space-card ul { display: grid; gap: 10px; color: var(--text-2); font-size: 15px; }
.space-card li { display: flex; gap: 10px; align-items: baseline; }
.space-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--silver-dim); flex: none; transform: translateY(-2px); }
.space-card .ring {
  position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid var(--line-strong); z-index: -1; transition: transform 0.8s var(--ease);
}
.space-card .ring::after { content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 1px solid var(--line); }
.space-card:hover .ring { transform: scale(1.08) rotate(20deg); }

/* ---------- CTA final ---------- */
.cta {
  position: relative; text-align: center; padding: clamp(64px, 9vw, 120px) var(--gutter);
  border-radius: 32px; border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  background: var(--surface);
}
.cta::before {
  content: ""; position: absolute; left: 50%; top: 100%; width: 900px; height: 900px; margin-left: -450px; margin-top: -170px; z-index: -1;
  border-radius: 50%; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 -10px 80px rgba(220, 226, 236, 0.16), inset 0 10px 60px rgba(220, 226, 236, 0.08);
}
.cta .h2 { max-width: 20ch; margin: 0 auto; }
.cta .lead { margin: 20px auto 0; }
.cta .btn-row { justify-content: center; margin-top: 36px; }

/* ---------- Flux du bot ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-bottom: 48px; }
.flow-node { position: relative; display: grid; justify-items: center; gap: 14px; text-align: center; padding: 0 8px; }
.flow-dot {
  position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, var(--surface-3), #000 75%); border: 1px solid var(--line-strong);
  color: var(--silver); box-shadow: 0 0 0 8px var(--bg-2);
}
.section-alt .flow-dot { box-shadow: 0 0 0 8px var(--surface); }
.flow-dot .icon { width: 26px; height: 26px; }
.flow-node strong { font-size: 16px; font-weight: 600; }
.flow-node span { color: var(--muted); font-size: 14px; max-width: 22ch; }
.flow-line { position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 1px; background: var(--line-strong); overflow: hidden; }
.flow-line::after {
  content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: pulse-line 3.2s var(--ease) infinite;
}
@keyframes pulse-line { to { left: 100%; } }

.steps { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.step-num { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--text-2); max-width: 64ch; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; }

.note {
  display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02); color: var(--text-2); font-size: 14px;
}
.note .icon { color: var(--silver-dim); margin-top: 2px; }

/* Setup timer */
.setup { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.timer { position: relative; width: clamp(200px, 24vw, 280px); aspect-ratio: 1; display: grid; place-items: center; }
.timer svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.timer circle { fill: none; stroke-width: 1.5; }
.timer .track { stroke: var(--line-strong); }
.timer .bar { stroke: var(--silver); stroke-linecap: round; stroke-dasharray: 603; stroke-dashoffset: 603; transition: stroke-dashoffset 2.4s var(--ease) 0.3s; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35)); }
.timer.is-visible .bar { stroke-dashoffset: 120; }
.timer-label { text-align: center; display: grid; gap: 4px; }
.timer-label strong { font-family: var(--mono); font-size: clamp(48px, 6vw, 72px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.timer-label span { color: var(--muted); font-size: 14px; }
.check-list { display: grid; gap: 14px; margin-top: 28px; }
.check-list li { display: flex; gap: 12px; color: var(--text-2); }
.check-list .icon { color: var(--silver); width: 18px; height: 18px; margin-top: 4px; }

/* Services */
.service-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.service { background: var(--bg-2); padding: 32px 24px; display: grid; gap: 14px; align-content: start; transition: background-color 0.4s; }
.section-alt .service { background: var(--surface); }
.service:hover { background: var(--surface-2); }
.service .icon { color: var(--silver); width: 24px; height: 24px; }
.service h3 { font-size: 16px; }
.service p { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer;
  font-size: 18px; font-weight: 500; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 0.4s var(--ease); color: var(--silver-dim); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .faq-body { padding: 0 0 24px; color: var(--text-2); max-width: 70ch; }

/* ---------- Affiliate : rémunération ---------- */
.rate-hero {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 32px; border: 1px solid var(--line-strong); overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 0% 0%, #1a1a1f 0%, #0a0a0c 55%, #050506 100%);
}
.rate-hero::after {
  content: ""; position: absolute; z-index: -1; right: -160px; bottom: -260px; width: 560px; height: 560px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 0 120px rgba(220, 226, 236, 0.08) inset;
}
.rate-figure { display: flex; align-items: baseline; gap: 0.18em; font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; flex-wrap: wrap; }
.rate-figure .num { font-size: clamp(72px, 12vw, 160px); }
.rate-figure .sep { font-size: clamp(40px, 6vw, 80px); color: var(--silver-dim); font-weight: 300; }
.rate-figure .unit { font-size: clamp(18px, 2vw, 24px); letter-spacing: 0; color: var(--text-2); font-weight: 500; margin-left: 0.3em; }
.rate-copy { display: grid; gap: 16px; }
.rate-copy p { color: var(--text-2); }

/* Simulateur */
.simulator {
  display: grid; grid-template-columns: 1fr 1fr; border-radius: 28px; border: 1px solid var(--line-strong);
  background: var(--surface); overflow: hidden;
}
.sim-controls { padding: clamp(28px, 4vw, 48px); display: grid; gap: 32px; align-content: start; border-right: 1px solid var(--line); }
.sim-results { padding: clamp(28px, 4vw, 48px); display: grid; gap: 28px; align-content: start; background: linear-gradient(180deg, #0c0c0f, #08080a); }
.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--text-2); }
.lots-display { display: flex; align-items: baseline; gap: 12px; }
.lots-input {
  width: 4.2ch; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); padding: 0;
  font-family: var(--mono); font-size: clamp(56px, 7vw, 84px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.05;
  -moz-appearance: textfield; appearance: textfield;
}
.lots-input::-webkit-outer-spin-button, .lots-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lots-input:focus { outline: none; border-bottom-color: var(--silver); }
.lots-display span { color: var(--muted); }

.range { --p: 10%; width: 100%; height: 28px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #e9ebef var(--p), var(--surface-3) var(--p)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--surface-3); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: #e9ebef; }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff;
  border: 0; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 2px 10px rgba(0, 0, 0, 0.6); transition: box-shadow 0.25s;
}
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08); }
.range:hover::-webkit-slider-thumb, .range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12), 0 2px 10px rgba(0, 0, 0, 0.6); }
.range:focus-visible { outline: none; }
.range-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  font-family: var(--mono); font-size: 13px; color: var(--text-2); transition: all 0.25s var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.chip[aria-pressed="true"] { background: var(--text); color: #000; border-color: var(--text); }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.segmented button {
  padding: 10px 8px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  font-size: 13px; color: var(--muted); transition: all 0.3s var(--ease);
}
.segmented button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }

.result-block { display: grid; gap: 6px; }
.result-label { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.result-value { font-family: var(--mono); font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.result-value.big { font-size: clamp(40px, 5vw, 60px); }
.result-range { color: var(--silver-dim); font-weight: 400; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11px;
  font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver);
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03);
}
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; font-size: 13px; }
.bar-row span:first-child { color: var(--muted); font-family: var(--mono); }
.bar-row b { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.bar-track { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #6f747d, #eef0f3); transition: width 0.7s var(--ease); }
.sim-disclaimer { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }

.data-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.data-table th { font-size: 13px; font-weight: 500; color: var(--muted); }
.data-table td { font-family: var(--mono); font-size: 16px; }
.data-table tbody tr { transition: background-color 0.25s; }
.data-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow-x: auto; background: var(--bg-2); }
.table-wrap .data-table tr:last-child td { border-bottom: 0; }

/* Profils */
.profiles { display: flex; flex-wrap: wrap; gap: 12px; }
.profile {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.025); font-size: 16px; font-weight: 500;
  transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease);
}
.profile:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); transform: translateY(-2px); }
.profile .icon { color: var(--silver); }

/* ---------- Formulaires ---------- */
.form-shell {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px);
  padding: clamp(28px, 5vw, 64px); border-radius: 32px; border: 1px solid var(--line); background: var(--surface);
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field .label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.field .opt { color: var(--muted); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--bg-2); font-size: 15px; transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.textarea { min-height: 130px; resize: vertical; }
.select {
  -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a1a6ae' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.select option { background: var(--surface-2); }
.input::placeholder, .textarea::placeholder { color: #5d626b; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--silver); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06); background: #0c0c0f; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field-error { font-size: 12.5px; color: var(--danger); min-height: 0; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #e7e9ec; flex: none; }
.checkbox a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.form-status.is-error { display: block; border: 1px solid rgba(240, 163, 163, 0.35); background: rgba(240, 163, 163, 0.06); color: #f3c4c4; }
.form-status a { text-decoration: underline; }
.form-success { display: none; gap: 16px; align-content: start; padding: 8px 0; }
.form-success.is-visible { display: grid; animation: rise 0.6s var(--ease); }
.form-success .card-icon { color: var(--ok); }
.form-aside { display: grid; gap: 20px; align-content: start; }
.form-aside ol { display: grid; gap: 14px; margin-top: 8px; }
.form-aside li { display: flex; gap: 14px; color: var(--text-2); font-size: 15px; }
.form-aside li span { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 2px; }

.channel-list { display: grid; gap: 10px; }
.channel {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02); transition: border-color 0.3s, background-color 0.3s;
}
.channel:hover { border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.04); }
.channel > span { display: grid; flex: 1; }
.channel small { color: var(--muted); font-size: 13px; }
.channel .icon:first-child { color: var(--silver); width: 22px; height: 22px; }
.channel .icon:last-child { color: var(--muted); width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.channel:hover .icon:last-child { transform: translateX(4px); color: var(--text); }

/* ---------- Pages texte (légal) ---------- */
.prose { max-width: 760px; display: grid; gap: 18px; color: var(--text-2); }
.prose h2 { color: var(--text); font-size: 22px; margin-top: 28px; }
.prose ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 500; }
.todo { color: #e8c9a0; background: rgba(232, 201, 160, 0.08); padding: 0 4px; border-radius: 4px; }

/* ---------- Bandeau risque & pied de page ---------- */
.risk-band { border-top: 1px solid var(--line); background: var(--bg-2); }
.risk-inner { display: flex; gap: 16px; align-items: flex-start; padding-top: 28px; padding-bottom: 28px; }
.risk-inner .icon { color: var(--silver); width: 22px; height: 22px; margin-top: 2px; }
.risk-inner p { font-size: 14px; color: var(--text-2); max-width: 110ch; }
.risk-inner strong { color: var(--text); font-weight: 600; }
.risk-inner a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.site-footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 36ch; }
.footer-title { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; font-size: 14px; }
.footer-links a { color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; transition: color 0.25s; }
.footer-links a:hover { color: var(--text); }
.footer-links .icon { width: 16px; height: 16px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .service-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1081px) { .mobile-menu { display: none; } }
@media (max-width: 900px) {
  .cards, .cards-2 { grid-template-columns: 1fr 1fr; }
  .card-feature { grid-column: 1 / -1; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 32px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .pillar + .pillar::before { left: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split-cards, .two-col, .rate-hero, .simulator, .form-shell, .setup { grid-template-columns: 1fr; }
  .sim-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .sticky-col { position: static; }
  .setup .timer { margin: 0 auto; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow-line { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .cards, .cards-2, .service-list { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .space-card { min-height: 0; gap: 28px; }
  .hero .btn-row .btn, .cta .btn-row .btn { width: 100%; }
  .data-table th, .data-table td { padding: 14px; }
  .data-table td { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .brand-name { font-size: 14px; letter-spacing: 0.18em; }
  .rate-figure .num { font-size: clamp(64px, 19vw, 100px); }
  .bar-row { grid-template-columns: 62px 1fr auto; }
}
@media (max-width: 380px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
}

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

/* ---------- Compléments ---------- */
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.sim-table { margin-top: clamp(48px, 6vw, 72px); display: grid; gap: 20px; }
@media (max-width: 1080px) { .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards-4 { grid-template-columns: 1fr; } }

/* ---------- Back-office ---------- */
.admin { padding: calc(var(--header-h) + 56px) 0 96px; min-height: 80vh; }
.admin-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.admin-login { display: grid; gap: 16px; max-width: 420px; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.admin-tabs { grid-template-columns: repeat(2, auto); }
.admin-tabs button { padding: 10px 18px; }
.admin-filter { width: auto; min-height: 44px; }
.admin-list { display: grid; gap: 8px; margin-top: 16px; }
.admin-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.admin-item summary { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; cursor: pointer; list-style: none; }
.admin-item summary::-webkit-details-marker { display: none; }
.admin-title { display: grid; min-width: 0; }
.admin-title strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-title small, .admin-item time { color: var(--muted); font-size: 13px; }
.admin-status { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line-strong); text-align: center; }
.admin-status.s-nouveau { background: var(--text); color: #000; border-color: var(--text); }
.admin-status.s-accepte { color: var(--ok); }
.admin-status.s-refuse, .admin-status.s-archive { color: var(--muted); }
.admin-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; padding: 8px 20px 24px; border-top: 1px solid var(--line); }
.admin-body dl { display: grid; grid-template-columns: 170px 1fr; gap: 10px 16px; margin: 16px 0 0; font-size: 14px; }
.admin-body dt { color: var(--muted); }
.admin-body dd { margin: 0; word-break: break-word; white-space: pre-wrap; }
.admin-body a { text-decoration: underline; text-underline-offset: 3px; }
.admin-actions { display: grid; gap: 14px; padding-top: 16px; align-content: start; }
@media (max-width: 760px) {
  .admin-body { grid-template-columns: 1fr; }
  .admin-body dl { grid-template-columns: 1fr; gap: 2px; }
  .admin-body dd { margin-bottom: 10px; }
  .admin-item summary { grid-template-columns: 1fr; gap: 6px; }
  .admin-status { justify-self: start; }
}
.rate-figure .num { font-size: clamp(52px, 7vw, 100px); white-space: nowrap; }
.rate-figure .sep { font-size: clamp(36px, 4.5vw, 64px); }
.rate-figure .unit { flex-basis: 100%; margin: 14px 0 0; }
.rate-hero .eyebrow { margin-bottom: 20px; }
.two-col > .reveal:first-child { display: grid; gap: 20px; align-content: start; }
.simulator .lots-display { flex-wrap: wrap; }
/* Le flou de l'en-tête créerait un bloc conteneur pour le menu fixe : on le retire quand le menu est ouvert */
body.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #060608; }
@media (max-width: 640px) {
  .hero { align-items: flex-end; padding-bottom: 88px; }
}
.setup .eyebrow { margin-bottom: 18px; }
.setup .lead { margin-top: 18px; }
.nw { white-space: nowrap; }
.result-value.big { font-size: clamp(34px, 3.4vw, 50px); }

/* ---------- Identité : logo BC, police du nom, bannière ---------- */
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
.logo-mark { width: auto; height: 32px; }
.brand-name { font-family: "Cinzel", "Times New Roman", serif; font-weight: 500; font-size: 17px; letter-spacing: 0.16em; }
.footer-brand .logo-mark { height: 40px; }

.hero-banner { display: block; min-height: 0; padding: var(--header-h) 0 clamp(72px, 9vw, 120px); }
.hero-banner::before { content: none; }
.banner-wrap { position: relative; overflow: hidden; }
.banner-title { margin: 0; line-height: 0; }
.banner-title img {
  width: 100%; height: auto; max-height: 72vh; object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  animation: banner-in 1.6s var(--ease) both;
}
@keyframes banner-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
/* Reflet lumineux discret qui traverse la bannière */
.banner-sheen {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.07) 48%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.07) 52%, transparent 62%);
  background-size: 250% 100%; background-position: 130% 0;
  animation: sheen 9s ease-in-out 1.8s infinite;
}
@keyframes sheen { 0% { background-position: 130% 0; } 35%, 100% { background-position: -30% 0; } }
.hero-banner .hero-content { margin: clamp(-24px, -2vw, 0px) auto 0; text-align: center; justify-items: center; gap: 20px; }
.hero-banner .hero-tagline { max-width: 30ch; }
.hero-banner .lead { margin: 0 auto; }
.hero-banner .btn-row { justify-content: center; }
@media (max-width: 640px) {
  .hero-banner { padding-bottom: 72px; }
  .banner-title img { height: 56vw; max-height: none; }
  .hero-banner .hero-content { margin-top: 8px; }
  .brand-name { font-size: 15px; letter-spacing: 0.12em; }
  .logo-mark { height: 28px; }
}

/* ---------- Nos réseaux ---------- */
.socials { border-top: 1px solid var(--line); background: var(--bg); padding: clamp(56px, 7vw, 88px) 0; }
.socials-inner { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.socials-head { display: grid; gap: 12px; }
.social-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.social-card {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: border-color 0.35s var(--ease), transform 0.45s var(--ease), background-color 0.35s;
}
.social-card:hover { border-color: rgba(255, 255, 255, 0.26); transform: translateY(-3px); background-color: rgba(255, 255, 255, 0.03); }
.social-logo {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px;
  background: radial-gradient(circle at 50% 25%, #26262c, #0b0b0d 75%); border: 1px solid var(--line-strong);
  color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); transition: box-shadow 0.4s var(--ease);
}
.social-card:hover .social-logo { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 24px rgba(220, 226, 236, 0.18); }
.social-logo .icon { width: 24px; height: 24px; }
.social-text { display: grid; flex: 1; min-width: 0; }
.social-text strong { font-weight: 600; font-size: 16px; }
.social-text small { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-card > .icon:last-child { width: 18px; height: 18px; color: var(--muted); transition: transform 0.35s var(--ease), color 0.35s; }
.social-card:hover > .icon:last-child { color: var(--text); transform: translate(2px, -2px); }
@media (max-width: 1080px) { .socials-inner { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .social-cards { grid-template-columns: 1fr; } }
