/* ============================================================
   CONNEX CPA, feuille de style commune
   Palette chaleureuse, typographie Fraunces et Inter
   ============================================================ */

:root {
  /* Accent terracotta */
  --accent: #c15f3c;
  --accent-soft: #e8c9ba;
  --accent-wash: #f7ebe4;

  /* Fonds chaleureux */
  --cream: #faf6f0;
  --cream-deep: #f3ede3;
  --beige: #f0e7db;
  --beige-deep: #e7dccb;
  --white: #ffffff;

  /* Encres */
  --ink: #26221e;
  --ink-soft: #55504a;
  --ink-muted: #857d73;
  --line: #e6ddd0;

  /* Couleurs fonctionnelles douces */
  --green: #3f7d5c;
  --blue: #3a6b8a;
  --gold: #b6862c;

  /* Typographie */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Rythme */
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 18px 50px rgba(38, 34, 30, 0.07);
  --shadow-card: 0 8px 30px rgba(38, 34, 30, 0.06);
  --maxw: 1140px;
}

/* ------------------------------------------------------------
   Base
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-cream-deep { background: var(--cream-deep); }
.bg-beige { background: var(--beige); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p.lead { font-size: 1.12rem; color: var(--ink-soft); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--accent-soft); }

/* ------------------------------------------------------------
   Boutons en pilule
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.btn svg { flex: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(193, 95, 60, 0.28);
}
.btn-primary:hover {
  background: #ad5233;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(193, 95, 60, 0.34);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--beige-deep);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-wash);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.btn-light:hover { transform: translateY(-2px); }

.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn-sm { padding: 11px 22px; font-size: 0.9rem; }

/* ------------------------------------------------------------
   Barre supérieure fixe
   ------------------------------------------------------------ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.logo span.cpa { color: var(--accent); }

/* Logo image officiel Connex */
.logo-img { height: 32px; width: auto; display: block; }
.logo-img-footer { height: 30px; margin-bottom: 4px; }
@media (max-width: 860px) {
  .logo-img { height: 27px; }
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active { position: relative; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.topbar-cta { display: flex; align-items: center; gap: 14px; }

/* Bouton menu mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   Héro
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 122px 0 72px;
  overflow: hidden;
}
.hero h1 { font-size: clamp(2.1rem, 4.1vw, 3rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .sub {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 26px; }
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.hero-note svg { color: var(--green); flex: none; }

/* Formes douces décoratives en arrière plan */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.blob-a { width: 460px; height: 460px; background: var(--accent-wash); top: -120px; right: -100px; }
.blob-b { width: 380px; height: 380px; background: var(--beige); bottom: -140px; left: -120px; }
.hero .container, .hero-grid { position: relative; z-index: 1; }

/* ------------------------------------------------------------
   Héro, photo réelle avec cartes de preuve flottantes
   ------------------------------------------------------------ */
.hero-photo {
  position: relative;
  max-width: 480px;
  margin-left: auto;
}
.hero-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 14px 34px rgba(38, 34, 30, 0.16);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  white-space: nowrap;
}
.float-card .fc-ic {
  width: 34px; height: 34px; flex: none;
  border-radius: 10px;
  display: grid; place-items: center;
}
.float-card.cpa { top: 22px; left: -28px; }
.float-card.cpa .fc-ic { background: var(--accent-wash); color: var(--accent); }
.float-card.ok { bottom: 26px; right: -22px; }
.float-card.ok .fc-ic { background: #e7f1ea; color: var(--green); }
.float-card small { display: block; font-weight: 500; font-size: 0.74rem; color: var(--ink-muted); }
@media (max-width: 1020px) {
  .hero-photo { margin: 36px auto 0; }
  .hero-photo img { height: 380px; }
  .float-card.cpa { left: 12px; }
  .float-card.ok { right: 12px; }
}

/* ------------------------------------------------------------
   Héro, visuel narratif, le chaos puis le calme Connex
   ------------------------------------------------------------ */
.hl {
  background: linear-gradient(180deg, transparent 58%, var(--accent-soft) 58%);
  padding: 0 2px;
}

.story { max-width: 500px; margin-left: auto; }
.story-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 10px 6px;
}
.alert-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid #c0503a;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 10px;
}
.alert-card.warn { border-left-color: var(--gold); }
.alert-card .ico {
  width: 34px; height: 34px; flex: none;
  border-radius: 10px;
  display: grid; place-items: center;
  background: #f7e7e2; color: #c0503a;
}
.alert-card.warn .ico { background: #f6eeda; color: var(--gold); }
.alert-card .t { font-size: 0.88rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.alert-card .s { font-size: 0.76rem; color: var(--ink-muted); margin-top: 3px; }
.alert-card:nth-child(2) { transform: rotate(-0.6deg); }
.alert-card:nth-child(4) { transform: rotate(0.5deg); }

.vs-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 12px;
}
.vs-divider .ln { flex: 1; height: 1px; background: var(--beige-deep); }
.vs-divider .w {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.calm-card {
  background: var(--white);
  border: 1px solid #cfe0d6;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 16px 40px rgba(63, 125, 92, 0.14);
}
.calm-card .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.calm-card .head .t { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.92rem; color: var(--green); }
.calm-card .head .badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  background: #e7f1ea;
  padding: 5px 12px;
  border-radius: 999px;
}
.calm-card .rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.calm-card .r { font-size: 0.84rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.calm-card .r svg { color: var(--green); flex: none; }
.calm-card .r b { color: var(--ink); font-weight: 600; }

@media (max-width: 1020px) {
  .story { margin: 40px auto 0; }
}
@media (max-width: 460px) {
  .calm-card .rows { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Maquette du tableau de bord Connex, pur HTML et CSS
   ------------------------------------------------------------ */
.dash {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 26px;
  max-width: 520px;
  margin-left: auto;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.dash-head .dash-title { font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.dash-head .dash-period {
  font-size: 0.78rem;
  color: var(--ink-muted);
  background: var(--cream-deep);
  padding: 5px 12px;
  border-radius: 999px;
}
.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.dash-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 12px;
}
.dash-card .k { font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.dash-card .v { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; color: var(--ink); }
.dash-card .t { font-size: 0.72rem; margin-top: 4px; font-weight: 600; }
.t.up { color: var(--green); }
.t.due { color: var(--gold); }
.t.ok { color: var(--blue); }

.dash-recon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eef4f0;
  border: 1px solid #d8e6dd;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 18px;
}
.dash-recon .label { display: flex; align-items: center; gap: 9px; font-size: 0.88rem; font-weight: 600; color: var(--green); }
.dash-recon .val { font-size: 0.85rem; font-weight: 700; color: var(--green); }

.dash-list .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.dash-list .row:last-child { border-bottom: none; }
.dash-list .who { color: var(--ink); font-weight: 500; }
.dash-list .amt { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-weight: 600; }
.chip {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 10px;
}
.chip.green { background: #e7f1ea; color: var(--green); }
.chip.blue { background: #e8eff5; color: var(--blue); }
.chip.gold { background: #f6eeda; color: var(--gold); }
.chip.orange { background: var(--accent-wash); color: var(--accent); }

/* ------------------------------------------------------------
   Bande de logos clients
   ------------------------------------------------------------ */
.trustband { padding: 44px 0 52px; border-top: 1px solid var(--line); }
.trustband .label {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.trust-count {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 34px;
}
.trust-count strong { color: var(--accent); font-weight: 700; }
.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
/* Logos clients réels */
.logo-cell {
  height: 72px;
  display: grid;
  place-items: center;
}
.client-logo {
  width: auto;
  max-width: 100%;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.logo-cell:hover .client-logo { opacity: 1; transform: scale(1.05); }

/* ------------------------------------------------------------
   Barre de réassurance
   ------------------------------------------------------------ */
.assure {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.assure-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}
.assure-item .ic {
  width: 44px; height: 44px; flex: none;
  border-radius: 13px;
  background: var(--accent-wash);
  color: var(--accent);
  display: grid; place-items: center;
}
.assure-item .txt { font-size: 0.92rem; font-weight: 600; color: var(--ink); line-height: 1.35; }

/* ------------------------------------------------------------
   Bande de réassurance surélevée, chevauche le héro
   ------------------------------------------------------------ */
.assure-wrap { position: relative; z-index: 5; margin-top: -52px; }
.assure-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(38, 34, 30, 0.10);
  overflow: hidden;
}
.assure-cell {
  padding: 28px 26px;
  border-left: 1px solid var(--line);
}
.assure-cell:first-child { border-left: none; }
.assure-cell .ic {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--accent-wash);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 15px;
}
.assure-cell .at {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.assure-cell .as { font-size: 0.83rem; color: var(--ink-muted); line-height: 1.5; }
@media (max-width: 1020px) {
  .assure-band { grid-template-columns: 1fr 1fr; }
  .assure-cell:nth-child(3) { border-left: none; }
  .assure-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .assure-wrap { margin-top: -34px; }
  .assure-band { grid-template-columns: 1fr; }
  .assure-cell { border-left: none; }
  .assure-cell:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* ------------------------------------------------------------
   Cartes génériques
   ------------------------------------------------------------ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 900px; margin: 0 auto; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card .ic {
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--accent-wash);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.97rem; }

/* Section problème, boîtes claires avec icônes et mini titres */
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.pain-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--accent-soft);
}
.pain-item .ic {
  width: 44px; height: 44px; flex: none;
  border-radius: 13px;
  background: var(--accent-wash);
  color: var(--accent);
  display: grid; place-items: center;
}
.pain-item .pt { font-weight: 700; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.pain-item .pd { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.55; }
.pain-out {
  margin: 34px 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--accent);
}
@media (max-width: 860px) {
  .pain-grid { grid-template-columns: 1fr; }
}

/* Section problème */
.pain-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 10px; }
.pain {
  display: flex;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.pain .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 8px; }
.pain p { margin: 0; font-size: 0.97rem; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
}
.step .num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-wash);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.step .ic { color: var(--accent); margin-bottom: 14px; }
.step h3 { font-size: 1.12rem; }
.step p { font-size: 0.93rem; margin: 0; }


/* ------------------------------------------------------------
   Ligne de temps du processus, six étapes en zigzag
   ------------------------------------------------------------ */
.tl { position: relative; max-width: 950px; margin: 0 auto; padding: 12px 0 4px; }
.tl::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 30px;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--accent-soft), var(--accent) 50%, var(--accent-soft));
  border-radius: 3px;
}
.tl-item { position: relative; width: 50%; padding: 0 52px 40px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 40px 52px; }
.tl-dot {
  position: absolute;
  top: 14px; right: -26px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 0 0 7px var(--accent-wash), 0 10px 24px rgba(193, 95, 60, 0.3);
  z-index: 1;
}
.tl-item:nth-child(even) .tl-dot { right: auto; left: -26px; }
.tl-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.tl-card .ic {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--accent-wash);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 15px;
}
.tl-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.tl-card p { font-size: 0.93rem; margin: 0; }
.tl-card .mini {
  display: inline-block;
  margin-top: 13px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-wash);
  padding: 5px 12px;
  border-radius: 999px;
}
@media (max-width: 860px) {
  .tl::before { left: 25px; transform: none; bottom: 40px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 34px 70px; }
  .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 0; right: auto; width: 50px; height: 50px; }
}

/* ------------------------------------------------------------
   Comparatif, sans Connex et avec Connex
   ------------------------------------------------------------ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 960px; margin: 0 auto; align-items: stretch; }
.cmp { border-radius: var(--radius-lg); padding: 38px 34px; }
.cmp.sans { background: var(--cream-deep); border: 1px solid var(--line); }
.cmp.avec {
  background: var(--white);
  border: 2px solid var(--accent);
  box-shadow: 0 22px 54px rgba(193, 95, 60, 0.16);
  position: relative;
}
.cmp.avec .cmp-badge {
  position: absolute;
  top: -16px; left: 34px;
  background: var(--accent);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(193, 95, 60, 0.32);
}
.cmp h3 { font-size: 1.3rem; margin-bottom: 22px; }
.cmp.sans h3 { color: var(--ink-soft); }
.cmp .li { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 16px; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5; }
.cmp .li:last-child { margin-bottom: 0; }
.cmp .li .mk {
  width: 26px; height: 26px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-top: 1px;
}
.cmp.sans .li .mk { background: #e9dfd2; color: var(--ink-muted); }
.cmp.avec .li { color: var(--ink); }
.cmp.avec .li .mk { background: var(--accent-wash); color: var(--accent); }
@media (max-width: 860px) {
  .compare { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Workflow de l'accueil, quatre étapes reliées
   ------------------------------------------------------------ */
.wf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.wf-top { position: relative; display: flex; justify-content: center; margin-bottom: 20px; }
.wf-top::before {
  content: "";
  position: absolute;
  top: 50%; left: -12px; right: -12px;
  height: 3px;
  background: var(--accent-soft);
  transform: translateY(-50%);
}
.wf-step:first-child .wf-top::before { left: 50%; }
.wf-step:last-child .wf-top::before { right: 50%; }
.wf-dot {
  position: relative;
  z-index: 1;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 0 0 7px var(--cream), 0 10px 22px rgba(193, 95, 60, 0.28);
}
.wf-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wf-step:hover .wf-card { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.wf-card .ic { color: var(--accent); margin-bottom: 13px; }
.wf-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.wf-card p { font-size: 0.9rem; margin: 0; }
@media (max-width: 1020px) {
  .wf { grid-template-columns: repeat(2, 1fr); }
  .wf-top::before { display: none; }
}
@media (max-width: 640px) {
  .wf { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Statistiques animées et visualisation de conciliation
   ------------------------------------------------------------ */
.stats-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stat .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .lbl { font-size: 0.86rem; color: var(--ink-soft); margin-top: 10px; line-height: 1.4; }

/* Visualisation de conciliation bancaire en barres */
.recon-viz {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
}
.recon-viz .viz-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; color: var(--ink); }
.recon-viz .viz-sub { font-size: 0.82rem; color: var(--ink-muted); margin-bottom: 22px; }
.viz-bars { display: flex; align-items: flex-end; gap: 14px; height: 150px; }
.viz-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; height: 100%; }
.viz-col .bar {
  border-radius: 7px 7px 3px 3px;
  height: 0;
  transition: height 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.viz-col .bar.bank { background: var(--accent-soft); }
.viz-col .bar.book { background: var(--accent); }
.viz-col .m { text-align: center; font-size: 0.72rem; color: var(--ink-muted); margin-top: 8px; }
.viz-legend { display: flex; gap: 20px; margin-top: 18px; font-size: 0.8rem; color: var(--ink-soft); }
.viz-legend .lg { display: flex; align-items: center; gap: 8px; }
.viz-legend .sw { width: 14px; height: 14px; border-radius: 4px; }

/* ------------------------------------------------------------
   Témoignages
   ------------------------------------------------------------ */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.quote .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; font-size: 0.95rem; }
.quote p.body { font-size: 0.98rem; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 13px; margin-top: 18px; }
.quote .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
  font-weight: 700;
  display: grid; place-items: center;
  font-size: 0.95rem;
}
.quote .who .n { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.quote .who .r { font-size: 0.8rem; color: var(--ink-muted); }
.note-legal { font-size: 0.8rem; color: var(--ink-muted); text-align: center; margin-top: 26px; }

/* ------------------------------------------------------------
   FAQ en accordéon
   ------------------------------------------------------------ */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-q .pm {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
  display: grid; place-items: center;
  transition: transform 0.3s ease;
  font-size: 1.1rem;
  line-height: 1;
}
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a .inner { padding: 0 26px 24px; font-size: 0.97rem; color: var(--ink-soft); }

/* ------------------------------------------------------------
   Appel à l'action final
   ------------------------------------------------------------ */
.cta-final {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final h2 { max-width: 640px; margin: 0 auto 16px; }
.cta-final p { max-width: 540px; margin: 0 auto 32px; }
.cta-final .blob { opacity: 0.7; }

/* ------------------------------------------------------------
   Pied de page
   ------------------------------------------------------------ */
.footer {
  background: var(--ink);
  color: #d9d3ca;
  padding: 70px 0 34px;
  margin-top: 96px;
}
.footer a { color: #d9d3ca; }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 48px;
}
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo-mark { background: var(--accent); }
.footer p.small { font-size: 0.9rem; color: #a89f93; }
.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 11px; font-size: 0.93rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #a89f93;
}

/* ------------------------------------------------------------
   Pages intérieures, entête de page
   ------------------------------------------------------------ */
.page-hero {
  padding: 160px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { max-width: 760px; }
.page-hero p.lead { font-size: 1.15rem; max-width: 640px; }

/* Étapes alternées texte et visuel */
.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.alt-row:last-of-type { border-bottom: none; }
.alt-row .visual { order: 2; }
.alt-row.flip .visual { order: 0; }
.mini-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

/* Schéma du reçu jusqu'aux livres */
.flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.flow-node {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  width: 190px;
  box-shadow: var(--shadow-card);
}
.flow-node .ic { color: var(--accent); margin: 0 auto 12px; width: 44px; height: 44px; border-radius: 13px; background: var(--accent-wash); display: grid; place-items: center; }
.flow-node .t { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.flow-node .d { font-size: 0.8rem; color: var(--ink-muted); margin-top: 5px; }
.flow-arrow {
  align-self: center;
  color: var(--accent);
  padding: 0 14px;
  flex: none;
}

/* Tableau avant et après */
.ba-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.ba-table th, .ba-table td { padding: 18px 24px; text-align: left; font-size: 0.96rem; }
.ba-table th {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.ba-table th.before { color: var(--ink-muted); background: var(--cream-deep); }
.ba-table th.after { color: var(--accent); background: var(--accent-wash); }
.ba-table td { border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.ba-table tr:last-child td { border-bottom: none; }
.ba-table td.after-cell { background: #fdf9f5; color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------
   Tarifs, cartes de volume sélectionnables
   ------------------------------------------------------------ */
.volume-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1020px) { .volume-cards { grid-template-columns: repeat(2, 1fr); } }
.volume-card { position: relative; }
.volume-card input { position: absolute; opacity: 0; pointer-events: none; }
.volume-card label {
  display: block;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  height: 100%;
}
.volume-card label:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.volume-card input:checked + label {
  border-color: var(--accent);
  background: var(--accent-wash);
  box-shadow: 0 12px 30px rgba(193, 95, 60, 0.14);
}
.volume-card input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
.volume-card .vol {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.volume-card .unit { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 14px; }
.volume-card .desc { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }
.volume-card .check {
  position: absolute;
  top: 14px; right: 14px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid; place-items: center;
  color: transparent;
  background: var(--white);
  transition: all 0.2s ease;
}
.volume-card input:checked + label .check {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ------------------------------------------------------------
   Estimateur de la page Tarifs, boîte thématique
   ------------------------------------------------------------ */
.form-panel.estimator {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 48px;
  max-width: 1020px;
  margin: 0 auto;
}
.estimator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.step-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
  margin-bottom: 18px;
}
.step-label .n {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Liste d'options de volume */
.opt { position: relative; margin-bottom: 10px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.opt label:hover { border-color: var(--accent-soft); transform: translateX(2px); }
.opt input:checked + label {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(193, 95, 60, 0.14);
}
.opt input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
.opt .radio {
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  border: 2px solid var(--beige-deep);
  background: var(--white);
  display: grid; place-items: center;
  transition: all 0.2s ease;
}
.opt .radio::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease;
}
.opt input:checked + label .radio { border-color: var(--accent); }
.opt input:checked + label .radio::after { background: var(--accent); }
.opt .rng {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  min-width: 108px;
  line-height: 1.1;
}
.opt .rng small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 3px;
}
.opt .d { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.45; }

/* Champs blancs dans la boîte crème */
.estimator .form-field input { background: var(--white); }
.estimator .form-field input:focus { background: var(--white); }
.estimator .form-grid { grid-template-columns: 1fr; }
.estimator-foot {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.estimator-foot .consent { margin-top: 0; flex: 1; min-width: 300px; }
.estimator-foot .btn { flex: none; }

@media (max-width: 860px) {
  .estimator { padding: 28px 20px; }
  .estimator-grid { grid-template-columns: 1fr; gap: 34px; }
  .estimator-foot { flex-direction: column; align-items: stretch; }
  .estimator-foot .btn { width: 100%; justify-content: center; }
  .opt .rng { min-width: 92px; font-size: 1.1rem; }
}

/* ------------------------------------------------------------
   Formulaires
   ------------------------------------------------------------ */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-soft);
  max-width: 760px;
  margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 22px;
}
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.form-actions { margin-top: 28px; }
.form-hint { font-size: 0.82rem; color: var(--ink-muted); margin-top: 16px; }

/* Message de confirmation élégant */
.form-success {
  display: none;
  text-align: center;
  padding: 34px 20px;
}
.form-success.visible { display: block; }
.form-success .ok-ic {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #e7f1ea;
  color: var(--green);
  display: grid; place-items: center;
  margin: 0 auto 20px;
}
.form-success h3 { margin-bottom: 10px; }
.form-success p { max-width: 440px; margin: 0 auto; }

/* ------------------------------------------------------------
   Blogue
   ------------------------------------------------------------ */
.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 56px;
}
.blog-featured .img { min-height: 320px; }
.blog-featured .img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured .body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured .tag { margin-bottom: 12px; }
.blog-featured h2 { font-size: 1.7rem; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-wash);
  padding: 5px 12px;
  border-radius: 999px;
}

/* Cartes compactes du blogue, image carrée à gauche */
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.blog-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.blog-card .thumb {
  width: 130px; height: 130px;
  flex: none;
  border-radius: 14px;
  overflow: hidden;
}
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.blog-card .body { display: flex; flex-direction: column; min-width: 0; }
.blog-card .meta { font-size: 0.74rem; color: var(--ink-muted); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 7px; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: 0.87rem; margin: 0; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card .read { margin-top: auto; padding-top: 10px; font-size: 0.85rem; font-weight: 600; color: var(--accent); }

/* Page article */
.article-hero { padding: 150px 0 0; }
.article-hero .meta { display: flex; gap: 16px; align-items: center; color: var(--ink-muted); font-size: 0.88rem; margin: 18px 0 30px; flex-wrap: wrap; }
.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 56px;
  max-height: 460px;
}
.article-cover img { width: 100%; height: 440px; object-fit: cover; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { font-size: 1.65rem; margin-top: 2em; }
.article-body h3 { font-size: 1.25rem; margin-top: 1.8em; }
.article-body p { font-size: 1.05rem; }
.article-body ul, .article-body ol { color: var(--ink-soft); font-size: 1.02rem; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body blockquote {
  margin: 2em 0;
  padding: 22px 28px;
  background: var(--accent-wash);
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}
.article-cta {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 60px;
  text-align: center;
}
.article-cta h3 { margin-bottom: 10px; }
.article-cta p { max-width: 480px; margin: 0 auto 24px; }

/* ------------------------------------------------------------
   À propos
   ------------------------------------------------------------ */
.team-photo-slot {
  border: 1px dashed var(--beige-deep);
  border-radius: var(--radius-lg);
  background: var(--white);
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-muted);
  padding: 40px;
}
.team-photo-slot .ic { color: var(--beige-deep); margin-bottom: 14px; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-side .card { margin-bottom: 22px; }
.contact-line { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; font-size: 0.95rem; color: var(--ink-soft); }
.contact-line svg { color: var(--accent); flex: none; }

/* ------------------------------------------------------------
   Animations au défilement
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .viz-col .bar { transition: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1020px) {
  .hero-grid, .stats-wrap { grid-template-columns: 1fr; }
  .dash { margin: 40px auto 0; }
  .steps, .cards-4, .assure { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .img { min-height: 240px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    display: none;
  }
  .nav a { padding: 13px 0; width: 100%; font-size: 1.05rem; }
  .nav a.active::after { display: none; }
  .nav-open .nav { display: flex; }
  .nav-toggle { display: block; }
  .topbar-cta .btn { padding: 11px 20px; font-size: 0.88rem; }

  .section { padding: 68px 0; }
  .hero { padding: 140px 0 70px; }
  .pain-list, .values-grid, .blog-grid, .contact-grid, .alt-row { grid-template-columns: 1fr; }
  .alt-row .visual, .alt-row.flip .visual { order: 0; }
  .alt-row { gap: 34px; }
  .volume-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-panel { padding: 30px 22px; }
  .cta-final { padding: 54px 24px; }
}

@media (max-width: 640px) {
  .steps, .cards-3, .cards-4, .cards-2, .assure, .stats-grid { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .flow-arrow { transform: rotate(90deg); padding: 8px 0; }
  .flow { flex-direction: column; align-items: center; }
}

/* Sur très petit écran, l'image du blogue repasse au dessus du texte */
@media (max-width: 460px) {
  .blog-card { flex-direction: column; }
  .blog-card .thumb { width: 100%; height: 170px; }
}

/* ------------------------------------------------------------
   À lire ensuite, maillage interne des articles
   ------------------------------------------------------------ */
.related { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.related-t {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 2px;
}
.related-l {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.related-l:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.related-l svg { flex: none; color: var(--accent); }
@media (max-width: 640px) { .related { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Consentement aux témoins, bannière et centre de préférences
   ------------------------------------------------------------ */
.ck-banner {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 300;
  max-width: 360px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(38, 34, 30, 0.2);
  padding: 20px 22px 16px;
}
.ck-txt { min-width: 0; }
.ck-banner h3 { font-size: 0.98rem; margin: 0 0 6px; }
.ck-banner p { font-size: 0.8rem; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.5; }
.ck-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ck-banner .ck-actions .btn { flex: 1; justify-content: center; padding: 10px 14px; font-size: 0.84rem; }
.ck-link {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600;
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 9px 4px 2px;
  width: 100%;
  text-align: center;
  order: 3;
}
.ck-link:hover { color: var(--accent); }

.ck-overlay {
  position: fixed; inset: 0;
  z-index: 310;
  background: rgba(38, 34, 30, 0.5);
  display: grid; place-items: center;
  padding: 20px;
}
.ck-modal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(38, 34, 30, 0.3);
  max-width: 620px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 34px 32px 28px;
}
.ck-modal h3 { font-size: 1.35rem; margin-bottom: 10px; }
.ck-modal .intro { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 22px; }
.ck-cat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
}
.ck-cat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}
.ck-cat-head button {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600;
  color: var(--ink);
  text-align: left;
  padding: 0;
}
.ck-cat-head button .chev { color: var(--ink-muted); transition: transform 0.25s ease; }
.ck-cat.open .ck-cat-head button .chev { transform: rotate(90deg); }
.ck-always { font-size: 0.74rem; font-weight: 700; color: var(--green); background: #e7f1ea; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.ck-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.ck-body p { font-size: 0.85rem; color: var(--ink-soft); padding: 0 18px 16px; margin: 0; }

/* Interrupteur */
.ck-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.ck-switch input { opacity: 0; width: 0; height: 0; }
.ck-switch .slider {
  position: absolute; inset: 0;
  background: var(--beige-deep);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.ck-switch .slider::before {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(38, 34, 30, 0.2);
  transition: transform 0.25s ease;
}
.ck-switch input:checked + .slider { background: var(--accent); }
.ck-switch input:checked + .slider::before { transform: translateX(20px); }
.ck-switch input:focus-visible + .slider { outline: 3px solid var(--accent); outline-offset: 3px; }

.ck-modal .ck-actions { margin-top: 22px; justify-content: flex-end; }

@media (max-width: 560px) {
  .ck-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .ck-modal { padding: 24px 18px; }
  .ck-modal .ck-actions .btn { flex: 1; justify-content: center; }
}
