/* =====================================================================
   Factu-elec by Finopti  —  Feuille de style
   ---------------------------------------------------------------------
   1. Variables, reset, typographie
   2. Marque (wordmark) + bandeau + header + nav
   3. Boutons, tags, composants partagés (CTA latéral, barre mobile, footer)
   4. Page Accueil          → .page-home
   5. Page La réforme       → .page-reforme
   6. Page Webinaires       → .page-webinaires
   7. Media queries
   ===================================================================== */

/* ========== 1. VARIABLES, RESET, TYPO ========== */
:root {
  --ink: #1b1d21;
  --paper: #ffffff;
  --soft: #f5f6f8;
  --card: #ffffff;
  --dark: #14171d;
  --red: #c0292f;
  --red-deep: #9a1f24;
  --red-soft: #fbe9e9;
  --muted: #697080;
  --line: #e7e9ee;
  --shadow: 0 20px 50px -24px rgba(20, 23, 29, 0.3);
  --shadow-sm: 0 6px 18px -10px rgba(20, 23, 29, 0.25);
  --r: 10px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 26px;
}
.narrow {
  max-width: 760px;
}
.em-red {
  color: var(--red);
}
.mono {
  font-family: "JetBrains Mono", monospace;
}

/* ========== 2. MARQUE / BANDEAU / HEADER / NAV ========== */

/* Wordmark "Factu-elec by Finopti" (sans pictogramme) */
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.brand .bw {
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand .bw .ac {
  color: var(--red);
}
.brand .bw-by {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand .bw-by b {
  color: var(--red);
  font-weight: 600;
}

/* Bandeau d'annonce (défile avec la page) */
.topbar {
  background: var(--dark);
  color: #fff;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 26px;
  flex-wrap: wrap;
  text-align: center;
}
.topbar .tb-date {
  font-family: "JetBrains Mono", monospace;
  color: #f3b6b3;
  font-weight: 600;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.topbar a:hover {
  color: #f3b6b3;
  border-color: #f3b6b3;
}

/* Header collant */
header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
header.scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 20px -16px rgba(0, 0, 0, 0.4);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 18px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 26px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover {
  color: var(--red);
}
.nav-links a.active {
  color: var(--ink);
  font-weight: 600;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--red);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 24px;
  height: 2.4px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.25s;
}
.burger.open span:nth-child(1) {
  transform: translateY(7.4px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7.4px) rotate(-45deg);
}
.mmenu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px 26px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mmenu.open {
  display: flex;
}
.mmenu a {
  padding: 13px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mmenu .btn {
  margin-top: 14px;
  justify-content: center;
}

/* ========== 3. BOUTONS, TAGS, PARTAGÉS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 7px;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition:
    transform 0.16s,
    box-shadow 0.16s,
    background 0.16s,
    color 0.16s;
}
.btn .arw {
  transition: transform 0.2s;
}
.btn:hover .arw {
  transform: translateX(4px);
}
.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(192, 41, 47, 0.75);
}
.btn-red:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -12px rgba(192, 41, 47, 0.8);
}
.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 16px;
  font-size: 13.5px;
}
.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}
/* léger pouls sur le CTA principal */
.btn-pulse {
  position: relative;
}
.btn-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(192, 41, 47, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(192, 41, 47, 0.45);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(192, 41, 47, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(192, 41, 47, 0);
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--red);
  background: var(--card);
}
.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.tag.dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #f3b6b3;
}
.tag.dark::before {
  background: #e8504f;
}
.tag.gray {
  color: var(--muted);
}
.tag.gray::before {
  background: #a3aab8;
}

/* en-têtes de section */
.sec-head {
  max-width: 42rem;
  margin-bottom: 42px;
}
.sec-head .tag {
  margin-bottom: 16px;
}
.sec-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}
.sec-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 14px;
}
.sec-pad {
  padding: 78px 0;
}
.sec-soft {
  background: var(--soft);
}
.sec-dark {
  background: var(--dark);
  color: #fff;
}
.sec-dark h2 {
  color: #fff;
}

/* === CTA latéral flottant (carte webinaire) === */
.sidecta {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 75;
  width: 260px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  transform: translateY(28px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.35s,
    opacity 0.35s;
}
.sidecta.show {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.sidecta .x {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 22px;
  height: 22px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  border-radius: 50%;
}
.sidecta .x:hover {
  background: var(--soft);
  color: var(--ink);
}
.sidecta .k {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.sidecta .cd {
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  background: var(--red-soft);
  border-radius: 5px;
  padding: 3px 8px;
  display: inline-block;
  margin: 8px 0 6px;
}
.sidecta .dt {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.sidecta .pl {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.sidecta .btn {
  width: 100%;
  justify-content: center;
  padding: 11px;
}

/* === Barre fixe mobile === */
.mbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 78;
  display: none;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(20, 23, 29, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid #2a2f38;
}
.mbar .info {
  flex: 1;
  color: #fff;
  font-size: 11px;
  line-height: 1.25;
}
.mbar .info b {
  font-family: "JetBrains Mono", monospace;
  color: #f3b6b3;
  font-size: 12px;
}
.mbar .btn {
  padding: 11px 16px;
  font-size: 14px;
  white-space: nowrap;
}

/* reveal */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}
.rv.d1 {
  transition-delay: 0.07s;
}
.rv.d2 {
  transition-delay: 0.14s;
}
.rv.d3 {
  transition-delay: 0.21s;
}
.rv.d4 {
  transition-delay: 0.28s;
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* footer */
footer {
  background: var(--dark);
  color: #8a92a0;
  padding: 46px 0 28px;
  font-size: 13.5px;
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}
.foot-brand .bw {
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}
.foot-brand .bw .ac {
  color: var(--red);
}
.foot-brand .bw-by {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6c7480;
  margin-top: 3px;
}
.foot-brand .bw-by b {
  color: #f3b6b3;
}
.foot-tag {
  margin-top: 12px;
  max-width: 24rem;
}
.foot-links {
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
}
.foot-col h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a626e;
  margin-bottom: 12px;
  font-weight: 600;
}
.foot-col a {
  display: block;
  color: #aab1bd;
  margin-bottom: 7px;
}
.foot-col a:hover {
  color: #fff;
}
.foot-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #262b33;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #5a626e;
}

/* Bloc "Finopti en bref" (partagé) */
.finopti-bref {
  background: var(--soft);
  border-radius: 14px;
  padding: 38px 36px;
}
.fb-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.fb-logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
}
.fb-logo .ac {
  color: var(--red);
}
.finopti-bref p {
  color: var(--muted);
  max-width: 52rem;
  margin-bottom: 22px;
}
.fb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.fb-stat .n {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--red);
}
.fb-stat .l {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* ========== 4. PAGE ACCUEIL (.page-home) ========== */

/* Hero */
.page-home .hero {
  position: relative;
  padding: 64px 0 76px;
  overflow: hidden;
}
.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    560px 360px at 90% -8%,
    rgba(192, 41, 47, 0.09),
    transparent 70%
  );
}
.page-home .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.page-home .hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
}
.page-home .hero h1 .em {
  color: var(--red);
}
.page-home .hero-sub {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 22px 0 30px;
  max-width: 34em;
}
.page-home .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-home .hero-mini {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-home .hero-mini b {
  color: var(--ink);
}
/* carte webinaire hero */
.hero-wb {
  background: var(--dark);
  color: #fff;
  border-radius: 14px;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-wb::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(192, 41, 47, 0.5), transparent 65%);
}
.hero-wb .k {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e8504f;
  font-weight: 600;
}
.hero-wb h3 {
  color: #fff;
  font-size: 1.25rem;
  margin: 10px 0 6px;
  font-weight: 700;
}
.hero-wb .meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: #cdd3dc;
  margin-bottom: 14px;
}
.hero-wb .cd {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  font-size: 13px;
  background: rgba(232, 80, 79, 0.18);
  color: #ffd9d8;
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.hero-wb .btn {
  width: 100%;
  justify-content: center;
}
.hero-wb .pl {
  text-align: center;
  font-size: 11px;
  color: #9aa2af;
  margin-top: 10px;
}

/* 3 chiffres */
.stats3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat3 {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px;
  text-align: center;
}
.stat3 .n {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.stat3 .l {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.stat3 .src {
  font-size: 10px;
  color: #aab1bd;
  margin-top: 8px;
  font-style: italic;
}

/* mécanismes */
.mech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.mech {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 26px 24px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.mech:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #d7dae1;
}
.mech .ic {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.mech h3 {
  font-size: 1.12rem;
  margin-bottom: 7px;
}
.mech p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* encart "factures qui dorment" */
.dorment {
  background: var(--dark);
  color: #fff;
  border-radius: 16px;
  padding: 52px 46px;
  position: relative;
  overflow: hidden;
}
.dorment::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 300px at 80% 20%,
    rgba(192, 41, 47, 0.22),
    transparent 70%
  );
}
.dorment-in {
  position: relative;
  max-width: 46rem;
}
.dorment .tag {
  margin-bottom: 18px;
}
.dorment h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}
.dorment p {
  color: #c4cad3;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.dorment .big {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-top: 22px;
  line-height: 1.25;
}
.dorment .big .em {
  color: #e8504f;
}
.ghosts {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.13);
  line-height: 2;
  margin: 22px 0 4px;
  letter-spacing: 0.05em;
  user-select: none;
}

/* schéma cash */
.cash {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.cash-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cash-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  position: relative;
}
.cash-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 42px;
  bottom: -2px;
  width: 2px;
  background: var(--line);
}
.cash-step .dot {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  z-index: 1;
}
.cash-step.bad .dot {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red);
}
.cash-step h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.cash-step p {
  font-size: 0.9rem;
  color: var(--muted);
}
.cash-viz {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}
.cash-viz .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cash-viz .big {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
  margin: 6px 0;
}
.cash-viz .sub {
  font-size: 0.92rem;
  color: var(--muted);
}

/* piliers Finopti */
.piliers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pilier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 26px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.pilier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.pilier .ic {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pilier h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.pilier p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* exemples étrangers (discret, bas de page) */
.intl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.intl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 22px;
}
.intl-card .flag {
  font-size: 1.4rem;
}
.intl-card .cty {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 6px 0 2px;
}
.intl-card .yr {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--muted);
}
.intl-card .stat {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
  margin: 10px 0 4px;
  line-height: 1.1;
}
.intl-card .lesson {
  font-size: 0.88rem;
  color: var(--muted);
}
.intl-note {
  font-size: 12px;
  color: #aab1bd;
  font-style: italic;
  margin-top: 16px;
}

/* CTA pleine largeur */
.ctaband {
  background: var(--red);
  color: #fff;
  border-radius: 16px;
  padding: 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ctaband h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  max-width: 22ch;
  margin: 0 auto 8px;
}
.ctaband p {
  color: #f6d4d3;
  margin-bottom: 22px;
}
.ctaband .meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #ffd9d8;
  margin-bottom: 18px;
}
.ctaband .btn {
  margin: 0 auto;
}

/* CTA final foncé */
.page-home .final {
  background: var(--dark);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-home .final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px 360px at 50% -10%,
    rgba(192, 41, 47, 0.26),
    transparent 70%
  );
}
.page-home .final-in {
  position: relative;
}
.page-home .final h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 18ch;
  margin: 14px auto 12px;
}
.page-home .final p {
  color: #c4cad3;
  max-width: 34rem;
  margin: 0 auto 28px;
}
.page-home .final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
}
.page-home .final-contact {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: #9aa2af;
}
.page-home .final-contact a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.page-home .final-contact a:hover {
  color: #f3b6b3;
  border-color: #f3b6b3;
}

/* ========== 5. PAGE LA RÉFORME (.page-reforme) ========== */
.page-reforme .hero {
  position: relative;
  padding: 54px 0 44px;
}
.page-reforme .crumb {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.page-reforme .crumb a:hover {
  color: var(--red);
}
.page-reforme .hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  max-width: 18ch;
}
.page-reforme .hero h1 .em {
  color: var(--red);
}
.page-reforme .hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 20px 0 24px;
}
.toc {
  margin-top: 36px;
  background: var(--soft);
  border-radius: 11px;
  padding: 22px 24px;
}
.toc .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.toc ol {
  list-style: none;
  counter-reset: t;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
}
.toc li {
  counter-increment: t;
}
.toc li a {
  display: flex;
  gap: 11px;
  padding: 5px 0;
  font-weight: 500;
  font-size: 0.95rem;
}
.toc li a::before {
  content: counter(t, decimal-leading-zero);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  padding-top: 2px;
}
.toc li a:hover {
  color: var(--red);
}

/* timeline */
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.tl-item {
  position: relative;
  padding: 0 0 28px 22px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--line);
}
.tl-item.key::before {
  border-color: var(--red);
  background: var(--red-soft);
}
.tl-item .yr {
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  font-size: 13px;
  color: var(--red);
}
.tl-item h3 {
  font-size: 1.08rem;
  margin: 3px 0 5px;
}
.tl-item p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* circuit acteurs */
.circuit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}
.circ {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 18px;
  text-align: center;
  position: relative;
}
.circ .n {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
}
.circ h4 {
  font-size: 0.98rem;
  margin: 6px 0 4px;
}
.circ p {
  font-size: 0.85rem;
  color: var(--muted);
}
.acteurs {
  display: grid;
  gap: 12px;
}
.acteur {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 16px 20px;
}
.acteur .who {
  font-weight: 600;
  font-size: 0.95rem;
}
.acteur p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* formats */
.formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fmt {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}
.fmt .name {
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  color: var(--red);
  font-size: 1rem;
  margin-bottom: 6px;
}
.fmt p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* cycle steps (réutilise mech-like) */
.phase {
  margin-bottom: 30px;
}
.phase-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}
.phase-head .pn {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--red);
  padding: 4px 9px;
  border-radius: 5px;
  letter-spacing: 0.05em;
}
.phase-head h3 {
  font-size: 1.18rem;
}
.steps {
  display: grid;
  gap: 11px;
  border-left: 2px solid var(--line);
  margin-left: 14px;
  padding-left: 6px;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 18px 13px 24px;
  margin-left: 18px;
}
.step::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--red);
  transform: translateY(-50%);
}
.step-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 3px;
}
.step-top .nm {
  font-weight: 600;
  font-size: 0.98rem;
}
.step-top .mt {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  padding: 3px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}
.mt.ob {
  background: var(--red);
  color: #fff;
}
.mt.re {
  background: var(--red-soft);
  color: var(--red-deep);
}
.step p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* faq */
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .pm {
  flex: none;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: transform 0.2s;
}
.faq details[open] summary .pm {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
.page-reforme .prose p {
  margin-bottom: 13px;
  color: #3b4150;
}
.page-reforme .prose strong {
  color: var(--ink);
}

/* ========== 6. PAGE WEBINAIRES (.page-webinaires) ========== */
.page-webinaires .whero {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  padding: 66px 0 60px;
}
.page-webinaires .whero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    640px 360px at 82% 0%,
    rgba(192, 41, 47, 0.28),
    transparent 70%
  );
}
.whero-in {
  position: relative;
  max-width: 44rem;
}
.whero .k {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e8504f;
  font-weight: 600;
}
.whero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  margin: 14px 0 10px;
}
.whero .sub {
  color: #c4cad3;
  font-size: 1.1rem;
  margin-bottom: 22px;
}
.whero .cd-big {
  display: inline-flex;
  gap: 14px;
  margin-bottom: 24px;
}
.cd-cell {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
  min-width: 64px;
}
.cd-cell .v {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.cd-cell .u {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9aa2af;
  margin-top: 4px;
}
.whero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.whero .pl {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #ffd9d8;
  background: rgba(232, 80, 79, 0.18);
  padding: 6px 12px;
  border-radius: 6px;
}

/* concept mensuel */
.concept {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.concept-it {
  text-align: center;
  padding: 10px;
}
.concept-it .ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.concept-it h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.concept-it p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* prochain webinaire détaillé */
.next {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.next .tag {
  margin-bottom: 14px;
}
.next h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-bottom: 8px;
}
.next .meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 18px;
}
.next .sub {
  color: var(--muted);
  margin-bottom: 20px;
}
.points {
  list-style: none;
  display: grid;
  gap: 13px;
  margin-bottom: 24px;
}
.points li {
  display: flex;
  gap: 13px;
  font-size: 1rem;
}
.points .num {
  font-family: "JetBrains Mono", monospace;
  color: var(--red);
  font-weight: 600;
  font-size: 13px;
  padding-top: 3px;
}
.spk {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}
.spk-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--soft);
  border-radius: 10px;
  padding: 12px 16px 12px 12px;
}
.spk-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex: none;
  background-size: cover;
  background-position: center;
}
.spk-card .nm {
  font-weight: 600;
  font-size: 0.92rem;
}
.spk-card .ro {
  font-size: 0.8rem;
  color: var(--muted);
}
.next-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}
.next-box .k {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.next-box .cd {
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 6px;
  padding: 5px 12px;
  display: inline-block;
  margin: 10px 0;
}
.next-box .row {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.next-box .row .kk {
  color: var(--muted);
  min-width: 74px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 2px;
}
.next-box .row .vv {
  font-weight: 600;
}
.next-box .btn {
  width: 100%;
  justify-content: center;
  margin-top: 18px;
}
.next-box .pl {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}

/* historique */
.past-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.past-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.past-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.past-card .date {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.past-card h3 {
  font-size: 1.18rem;
  margin: 8px 0 8px;
}
.past-card .resume {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 14px;
}
.past-card ul {
  list-style: none;
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}
.past-card li {
  font-size: 0.88rem;
  padding-left: 18px;
  position: relative;
  color: #3b4150;
}
.past-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--red);
}
.past-empty {
  background: var(--soft);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  color: var(--muted);
}
.past-empty b {
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

/* rester informé */
.stay {
  background: var(--red);
  color: #fff;
  border-radius: 16px;
  padding: 42px;
  text-align: center;
}
.stay h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  max-width: 24ch;
  margin: 0 auto 10px;
}
.stay p {
  color: #f6d4d3;
  max-width: 36rem;
  margin: 0 auto 22px;
}
.stay .stay-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ========== 7. MEDIA QUERIES ========== */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
  .burger {
    display: flex;
  }
  .nav-ext {
    display: none;
  }
  .sidecta {
    display: none;
  }
  .mbar {
    display: flex;
    align-items: center;
  }
  body {
    padding-bottom: 66px;
  }
  .page-home .hero-grid,
  .cash,
  .next {
    grid-template-columns: 1fr;
  }
  .stats3,
  .piliers,
  .intl,
  .concept,
  .formats,
  .circuit {
    grid-template-columns: repeat(2, 1fr);
  }
  .mech-grid,
  .past-grid,
  .fb-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .next-box {
    position: static;
  }
  .dorment {
    padding: 38px 28px;
  }
  .acteur {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
@media (max-width: 620px) {
  .wrap {
    padding: 0 18px;
  }
  .sec-pad {
    padding: 56px 0;
  }
  .stats3,
  .piliers,
  .intl,
  .concept,
  .formats,
  .circuit,
  .mech-grid,
  .past-grid,
  .fb-stats {
    grid-template-columns: 1fr;
  }
  .topbar .wrap {
    font-size: 12px;
    gap: 8px;
  }
  .whero .cd-big {
    gap: 8px;
  }
  .cd-cell {
    min-width: 54px;
    padding: 10px 10px;
  }
  .finopti-bref,
  .ctaband,
  .stay {
    padding: 30px 22px;
  }
}

/* ========== 8. AJOUTS : LOGO, ACCESSIBILITÉ, PAGES LÉGALES ========== */

/* --- Focus clavier visible (plancher accessibilité) --- */
a:focus-visible,
.btn:focus-visible,
button:focus-visible,
summary:focus-visible,
[data-card-link]:focus-visible {
  outline: 3px solid #2f6fed;
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- Contrastes relevés (WCAG AA) --- */
.stat3 .src,
.intl-note {
  color: #6b7280;
}
.foot-col h4 {
  color: #9aa2af;
}
.foot-bottom {
  color: #8a92a0;
}

/* --- Animation du CTA désactivée si l'utilisateur préfère moins de mouvement --- */
@media (prefers-reduced-motion: reduce) {
  .btn-pulse::after {
    animation: none;
  }
  .btn,
  .mech,
  .pilier,
  .past-card {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* --- Lien "site officiel" dans la navigation --- */
.nav-ext {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 7px;
  transition:
    color 0.16s,
    border-color 0.16s;
}
.nav-ext:hover {
  color: var(--red);
  border-color: var(--red);
}
.nav-ext .ext {
  font-size: 12px;
  line-height: 1;
}

/* --- Logo Finopti (image) --- */
.brand-logo {
  height: 46px;
  width: auto;
  display: block;
}
.foot-logo {
  height: 54px;
  width: auto;
  margin-bottom: 16px;
}
.fb-logo-img {
  height: 42px;
  width: auto;
  display: block;
}
.fb-top .fb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  margin-left: auto;
}
.fb-top .fb-link:hover {
  text-decoration: underline;
}

/* --- Cartes entièrement cliquables (carte webinaire) --- */
[data-card-link] {
  cursor: pointer;
}

/* --- Pages mentions légales & confidentialité --- */
.legal {
  padding: 46px 0 72px;
}
.legal .crumb {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.legal .crumb a:hover {
  color: var(--red);
}
.legal h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 6px;
}
.legal .updated {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 30px;
}
.legal h2 {
  font-size: 1.3rem;
  margin: 34px 0 10px;
}
.legal h3 {
  font-size: 1.05rem;
  margin: 20px 0 6px;
}
.legal p,
.legal li {
  color: #3b4150;
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.75;
}
.legal ul {
  margin: 0 0 16px 22px;
}
.legal a {
  color: var(--red);
  border-bottom: 1px solid var(--red-soft);
}
.legal a:hover {
  border-color: var(--red);
}
.legal .ph {
  background: var(--red-soft);
  color: var(--red-deep);
  padding: 1px 7px;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85em;
  font-weight: 600;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 18px;
  font-size: 0.93rem;
}
.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}
.legal th {
  background: var(--soft);
  font-weight: 600;
}
.legal .back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 34px;
  font-weight: 600;
  border: 0;
  color: var(--red);
}

/* liens du bas de footer (mentions légales / site officiel) */
.foot-bottom a {
  border-bottom: 1px solid #2f343d;
}
.foot-bottom a:hover {
  color: #fff;
  border-color: #5a626e;
}

/* logo un peu plus compact sur mobile */
@media (max-width: 620px) {
  .brand-logo {
    height: 38px;
  }
  .foot-logo {
    height: 46px;
  }
}

/* ========== 9. BANDEAU WEBINAIRE (.webband) — hexagones en relief ========== */
.hexp {
  position: relative;
  aspect-ratio: 1;
}
.hexp .im {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.hexp .im-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}
/* léger biseau interne (rappel de l'hexagone du logo) */
.hexp .sh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(20, 23, 29, 0) 36%,
    rgba(20, 23, 29, 0.22) 74%,
    rgba(20, 23, 29, 0.46) 100%
  );
}

.webband {
  position: relative;
  background: var(--soft);
  overflow: hidden;
  padding: 56px 0 62px;
  border-bottom: 1px solid var(--line);
}
.webband::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    560px 320px at 88% 6%,
    rgba(192, 41, 47, 0.07),
    transparent 70%
  );
}
.wb-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.wb-left .k {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.wb-left h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin: 14px 0 12px;
  max-width: 17ch;
}
.wb-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
}
.wb-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36ch;
  margin-bottom: 24px;
}
.wb-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.wb-pl {
  display: block;
  margin-top: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}
.wb-pl b {
  color: var(--red);
}

.wb-right {
  position: relative;
  min-height: 400px;
}
.wb-right .bighex {
  position: absolute;
  width: 300px;
  height: 300px;
  right: 18px;
  top: 34px;
  opacity: 0.93;
}
.wb-right .dots {
  position: absolute;
  width: 66px;
  height: 54px;
  background-image: radial-gradient(currentColor 1.7px, transparent 1.7px);
  background-size: 11px 11px;
  opacity: 0.45;
}
.wb-right .dots-a {
  left: 6px;
  top: 160px;
  color: #14171d;
}
.wb-right .dots-b {
  right: -4px;
  bottom: 60px;
  color: #c0292f;
}
.wb-right .sp {
  position: absolute;
  text-align: center;
}
/* ombre portée décroissante d'une photo à l'autre */
.wb-right .s1 .hexp {
  width: 150px;
  filter: drop-shadow(0 6px 8px rgba(20, 23, 29, 0.4))
    drop-shadow(0 22px 30px rgba(20, 23, 29, 0.42));
}
.wb-right .s2 .hexp {
  width: 164px;
  filter: drop-shadow(0 5px 7px rgba(20, 23, 29, 0.26))
    drop-shadow(0 18px 26px rgba(20, 23, 29, 0.26));
}
.wb-right .s3 .hexp {
  width: 104px;
  filter: drop-shadow(0 4px 6px rgba(20, 23, 29, 0.14))
    drop-shadow(0 12px 18px rgba(20, 23, 29, 0.14));
}
.wb-right .s1 {
  left: 62px;
  top: 30px;
}
.wb-right .s2 {
  right: 40px;
  top: 104px;
}
.wb-right .s3 {
  left: 6px;
  bottom: 30px;
}
.wb-right .who {
  margin-top: 11px;
  line-height: 1.15;
}
.wb-right .who b {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.wb-right .who span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* --- responsive : le bandeau passe en colonne, hexagones en ligne --- */
@media (max-width: 880px) {
  .wb-in {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .wb-left h1 {
    max-width: none;
  }
  .wb-right {
    min-height: 0;
  }
  .wb-right .bighex,
  .wb-right .dots {
    display: none;
  }
  #wb-band-speakers {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
  }
  .wb-right .sp {
    position: static;
  }
  .wb-right .s1 .hexp,
  .wb-right .s2 .hexp,
  .wb-right .s3 .hexp {
    width: 112px;
  }
}

/* (priorité cascade) masquer le lien header externe sur mobile */
@media (max-width: 980px) {
  .nav-ext {
    display: none !important;
  }
}

/* --- Accroche "cash" en tête d'accueil (au-dessus du bandeau) --- */
.accroche {
  padding: 62px 0 46px;
  background: var(--paper);
}
.accroche h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  max-width: 20ch;
}
.accroche h1 .em {
  color: var(--red);
}
.accroche .acc-sub {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 20px 0 0;
  max-width: 52ch;
}
.accroche .acc-mini {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.accroche .acc-mini b {
  color: var(--ink);
}
