/* ==========================================================================
   Pura Vida — puravidamedia.fr
   Direction visuelle : sombre, sobre et précise (inspirée de linear.app)
   ========================================================================== */

:root {
  /* Fonds, du plus profond au plus élevé */
  --bg: #08090a;
  --bg-1: #0f1011;
  --bg-2: #141516;
  --bg-3: #191a1b;
  --bg-translucent: rgba(255, 255, 255, 0.03);

  /* Texte */
  --fg: #f7f8f8;
  --fg-2: #d0d6e0;
  --fg-3: #8a8f98;
  --fg-4: #62666d;

  /* Lignes */
  --border: #23252a;
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-strong: #34343a;

  /* Accent */
  --accent: #7170ff;
  --accent-hover: #828fff;
  --accent-tint: rgba(113, 112, 255, 0.12);
  --green: #4cb782;
  --error: #eb5757;
  --error-tint: rgba(235, 87, 87, 0.1);

  /* Bouton principal (clair sur fond sombre) */
  --btn-bg: #e5e5e6;
  --btn-bg-hover: #ffffff;
  --btn-fg: #08090a;

  --font: "Inter", "SF Pro Display", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);

  --container: 1200px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.011em;
  color: var(--fg-3);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open { overflow: hidden; }

::selection { background: #4f58b8; color: #fff; }

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font);
  font-weight: 510;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--fg);
}

/* Titres bicolores : la fin de phrase passe en gris */
h1 em, h2 em { font-style: normal; color: var(--fg-3); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
strong { color: var(--fg-2); font-weight: 510; }

button { font: inherit; cursor: pointer; }

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

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

.eyebrow {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 510;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}

.btn svg.icon-fill { fill: currentColor; stroke: none; }
.btn:hover svg { transform: translateX(2px); }

.btn-primary {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-fg);
}
.btn-primary:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); }

.btn-ghost,
.btn-ghost-light {
  background: var(--bg-translucent);
  border-color: var(--border);
  color: var(--fg);
}
.btn-ghost:hover,
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--border-strong); }

.btn-sm { height: 32px; padding: 0 12px; font-size: 0.8125rem; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 1rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 510;
  color: var(--accent-hover);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}
.text-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.text-link:hover { color: var(--fg); }
.text-link--light { font-size: 0.9rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.site-header.is-scrolled {
  background: linear-gradient(rgba(11, 11, 11, 0.85), rgba(11, 11, 11, 0.75));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fg);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--fg);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bg);
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 590;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  text-decoration: none;
  color: var(--fg-3);
  transition: color 0.16s var(--ease);
}

.main-nav a:hover { color: var(--fg); }
.main-nav .btn { margin-left: 12px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 11px 10px;
  border: 0;
  background: none;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  margin: 5px 0;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 96px) 0 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
}

.hero-glow {
  position: absolute;
  top: -320px;
  left: 50%;
  width: 1100px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(113, 112, 255, 0.14), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 64px;
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 32rem;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--fg-3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 3rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-proof li { display: flex; flex-direction: column; }
.hero-proof strong {
  font-size: 1.5rem;
  font-weight: 510;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
}
.hero-proof span { margin-top: 0.3rem; font-size: 0.8125rem; color: var(--fg-4); }

/* Tableau de bord décoratif */
.hero-visual { position: relative; }

.dash-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow-lg);
}

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.8125rem;
}

.dash-title { color: var(--fg-2); font-weight: 510; }

.dash-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green);
}

.dash-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(76, 183, 130, 0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(76, 183, 130, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 183, 130, 0); }
}

.dash-chart {
  width: 100%;
  height: 210px;
  color: var(--accent);
  overflow: visible;
}

.grid-lines line { stroke: rgba(255, 255, 255, 0.05); stroke-width: 1; }

.line-ads {
  fill: none;
  stroke: var(--fg-4);
  stroke-width: 1.25;
  stroke-dasharray: 3 4;
}

.area-email { fill: url(#gradEmail); opacity: 0; animation: fadeIn 1s 1.3s var(--ease) forwards; }

.line-email {
  fill: none;
  stroke: var(--accent-hover);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 2s 0.4s var(--ease) forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.dash-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--fg-3);
}

.dash-legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-ads { border: 1px dashed var(--fg-3); }
.dot-email { background: var(--accent-hover); }

.float-card {
  position: absolute;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(20, 21, 22, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 510;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
}

.float-label { font-size: 0.7rem; color: var(--fg-3); }

.float-card--a { left: -28px; bottom: -24px; }
.float-card--b { right: -16px; top: -24px; animation-delay: -3.5s; }
.float-card--b strong { font-size: 0.875rem; color: var(--green); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ---------- Réassurance : logos cliquables dans le hero ---------- */
.clients {
  position: relative;
  margin-top: 96px;
  padding-bottom: 72px;
}

.clients-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.clients-title,
.clients-hint {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-4);
}

.clients-title { color: var(--fg-3); }

.clients-logos {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-1);
}

.client-logo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 16px 12px;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--fg-3);
  white-space: nowrap;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.client-logo:last-child { border-right: 0; }

.client-logo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fg-4);
  transform: translateX(-50%);
  transition: background-color 0.16s var(--ease), width 0.2s var(--ease);
}

.client-logo:hover { color: var(--fg); background: var(--bg-translucent); }
.client-logo:hover::after { background: var(--fg-3); }

.client-logo[aria-expanded="true"] { color: var(--fg); background: var(--bg-3); }
.client-logo[aria-expanded="true"]::after { width: 18px; border-radius: 2px; background: var(--accent); }

.client-logo:focus-visible { outline-offset: -2px; border-radius: 0; }

/* Typographie propre à chaque marque (logos texte) */
.brand--chibi    { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }
.brand--pvdf     { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.1em; }
.brand--voeux    { font-size: 1.1rem; font-weight: 500; font-style: italic; letter-spacing: -0.02em; }
.brand--onepoint { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.04em; }
.brand--bnp      { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.02em; }
.brand--thales   { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.28em; }
.brand--rocher   { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }

/* Panneau de détail (ouverture animée en hauteur) */
.client-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.client-details.is-open { grid-template-rows: 1fr; }

.client-details-inner { overflow: hidden; }

.client-panel {
  max-width: 760px;
  margin-top: 16px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: panelIn 0.35s var(--ease);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.client-tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--fg-3);
}

.client-panel h3 { margin-bottom: 0.75rem; font-size: 1.25rem; letter-spacing: -0.015em; }
.client-panel p { font-size: 0.95rem; color: var(--fg-3); }

.client-points {
  display: grid;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
  padding: 1.1rem 0 0;
  list-style: none;
  border-top: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--fg-2);
}

.client-points li { display: flex; align-items: baseline; gap: 0.65rem; }
.client-points li::before { content: "→"; flex-shrink: 0; font-size: 0.8rem; color: var(--accent-hover); }

/* ---------- Sections génériques ---------- */
.section { padding: 128px 0; border-bottom: 1px solid var(--border-soft); }

.section--dark { background: var(--bg); }
.section--paper { background: var(--bg-1); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.028em; }

/* ---------- Objections ---------- */
.objection {
  padding: 120px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
}

.objection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.objection-head { position: sticky; top: calc(var(--header-h) + 40px); }

.objection-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-4);
}

.objection-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--error);
}

.objection-quote {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  letter-spacing: -0.028em;
  color: var(--fg);
}

.objection-body { color: var(--fg-3); }

.lead {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--fg-2);
}

.lead strong { color: var(--fg); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 2rem;
}

.stat {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: border-color 0.2s var(--ease);
}

.stat:hover { border-color: var(--border-strong); }

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 510;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}

.stat-label { display: block; margin-top: 0.6rem; font-size: 0.8125rem; color: var(--fg-3); }

.check-list {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23828fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

.check-list--compact { gap: 0.6rem; }

/* ---------- Méthodologie ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-1);
}

.step {
  position: relative;
  padding: 36px 32px 40px;
  border-right: 1px solid var(--border);
  transition: background-color 0.2s var(--ease);
}

.step:last-child { border-right: 0; }
.step:hover { background: var(--bg-2); }

.step-num {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-hover);
}

.step h3 { margin-bottom: 0.75rem; font-size: 1.3rem; letter-spacing: -0.018em; }
.step p { font-size: 0.95rem; color: var(--fg-3); }

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.principle {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-1);
}

.principle svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--fg-2);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principle p { font-size: 1rem; color: var(--fg-3); }
.principle strong { color: var(--fg); }

/* ---------- Livrables ---------- */
.deliverables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.deliverable {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s var(--ease);
}

.deliverable:hover { border-color: var(--border-strong); }

.deliverable-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-3);
}

.deliverable-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--fg-2);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deliverable h3 { margin-bottom: 0.75rem; font-size: 1.5rem; }
.deliverable p { color: var(--fg-3); }

.mini-list {
  display: grid;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  list-style: none;
  border-top: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--fg-2);
}

.mini-list li { display: flex; align-items: center; gap: 0.65rem; }
.mini-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-hover); }

/* ---------- Témoignages ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  transition: border-color 0.2s var(--ease);
}

.testimonial:hover { border-color: var(--border-strong); }

.testimonial blockquote {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg-2);
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--fg-3);
}

.testimonial figcaption strong { color: var(--fg); }

.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg-3);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--fg-2);
}

/* ---------- Garantie ---------- */
.guarantee {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border-soft);
}

.guarantee::before {
  content: "";
  position: absolute;
  inset: auto 0 -280px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(113, 112, 255, 0.1), transparent);
  pointer-events: none;
}

.guarantee-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}

.seal { width: 168px; height: 168px; }
.seal svg { width: 100%; height: 100%; animation: spin 50s linear infinite; }

.seal-ring { fill: var(--bg-2); stroke: var(--border-strong); stroke-width: 1; }
.seal-text { font-family: var(--font-mono); font-size: 7.6px; letter-spacing: 1.6px; fill: var(--fg-3); }
.seal-num { font-family: var(--font); font-size: 26px; font-weight: 600; letter-spacing: -1px; fill: var(--fg); }

@keyframes spin { to { transform: rotate(360deg); } }

.guarantee h2 { margin-bottom: 1.1rem; font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -0.028em; }
.guarantee h2 em { color: var(--accent-hover); }
.guarantee-note { max-width: 40rem; color: var(--fg-3); }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  background: var(--bg);
  text-align: center;
}

.cta-final::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(113, 112, 255, 0.12), transparent);
  pointer-events: none;
}

.cta-inner { position: relative; max-width: 720px; }
.cta-inner h2 { margin-bottom: 1rem; font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
.cta-inner > p { margin-bottom: 2.25rem; font-size: 1.1rem; color: var(--fg-3); }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-actions .btn:hover svg { transform: none; }

/* ---------- Pied de page ---------- */
.site-footer {
  padding: 28px 0;
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  font-size: 0.8125rem;
  color: var(--fg-4);
}

.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo--light .logo-text { font-size: 0.95rem; }
.logo--light .logo-mark { width: 22px; height: 22px; font-size: 0.6rem; border-radius: 6px; }

/* ==========================================================================
   Modale simulateur (formulaire Brevo restylé)
   ========================================================================== */
.modal {
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--fg-3);
  overflow: visible;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal[open] { animation: modalIn 0.3s var(--ease); }
.modal[open]::backdrop { animation: fadeIn 0.25s var(--ease) forwards; opacity: 0; }

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.modal-card {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 36px 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow-lg);
  overscroll-behavior: contain;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--fg-3);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.modal-close:hover { color: var(--fg); border-color: var(--border-strong); }
.modal-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.form-intro { margin-bottom: 24px; padding-right: 32px; }
.form-intro .eyebrow { margin-bottom: 0.75rem; }
.form-intro h2 { margin-bottom: 0.4rem; font-size: clamp(1.5rem, 3.6vw, 1.9rem); letter-spacing: -0.025em; }
.form-intro p { color: var(--fg-3); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 14px;
}

.form__entry { display: flex; flex-direction: column; min-width: 0; }
.form__entry--full { grid-column: 1 / -1; }

.entry__label {
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 510;
  color: var(--fg-2);
}

.entry__label::after { content: " *"; color: var(--fg-4); }

.input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--fg);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
  -webkit-appearance: none;
          appearance: none;
}

.input::placeholder { color: var(--fg-4); }
.input:hover { border-color: var(--border-strong); }

.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

select.input {
  padding-right: 40px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
  cursor: pointer;
}

select.input:has(option[value=""]:checked) { color: var(--fg-4); }
select.input option { color: var(--fg); background: var(--bg-1); }

.entry__specification {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--fg-4);
}

.entry__error {
  display: none;
  margin: 0.45rem 0 0;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(235, 87, 87, 0.3);
  border-radius: var(--radius-sm);
  background: var(--error-tint);
  font-size: 0.78rem;
  line-height: 1.4;
  color: #f08d8d;
}

.form__entry.has-error .entry__error { display: block; animation: fadeIn 0.2s var(--ease); }
.form__entry.has-error .input { border-color: rgba(235, 87, 87, 0.6); }
.form__entry.has-error .input:focus { box-shadow: 0 0 0 3px var(--error-tint); }

.form-note {
  margin: 20px 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--fg-3);
}

.form-global-error {
  margin: 0 0 16px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(235, 87, 87, 0.3);
  border-radius: var(--radius-sm);
  background: var(--error-tint);
  font-size: 0.85rem;
  color: #f08d8d;
}

.input--hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.sib-form-block__button { position: relative; }

.btn-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(8, 9, 10, 0.2);
  border-top-color: var(--btn-fg);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.sib-form-block__button.is-loading { pointer-events: none; opacity: 0.8; }
.sib-form-block__button.is-loading .btn-loader { display: inline-block; }

.form-success {
  padding: 20px 0 4px;
  text-align: center;
  animation: modalIn 0.4s var(--ease);
}

.success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border: 1px solid rgba(76, 183, 130, 0.35);
  border-radius: 50%;
  background: rgba(76, 183, 130, 0.12);
}

.success-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h2 { margin-bottom: 0.6rem; font-size: 1.6rem; }
.form-success p { margin-bottom: 1.5rem; color: var(--fg-3); }

/* ==========================================================================
   Animations au défilement
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(4px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; filter: none; }

.steps .reveal:nth-child(2),
.testimonials .reveal:nth-child(2),
.deliverables .reveal:nth-child(2) { transition-delay: 0.1s; }

.steps .reveal:nth-child(3),
.testimonials .reveal:nth-child(3) { transition-delay: 0.2s; }

/* Sans JavaScript, tout reste visible */
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero h1 { max-width: 18ch; }
  .hero-visual { max-width: 580px; width: 100%; }

  .clients-logos { grid-template-columns: repeat(4, 1fr); }
  .client-logo { border-bottom: 1px solid var(--border); }
  .client-logo:nth-child(4n) { border-right: 0; }
  .client-logo:nth-child(n + 5) { border-bottom: 0; }
  .client-logo:last-child { grid-column: span 2; }

  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: 0; }

  .testimonials { grid-template-columns: 1fr; max-width: 640px; }
  .objection-grid { grid-template-columns: 1fr; gap: 28px; }
  .objection-head { position: static; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: rgba(8, 9, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }

  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }

  .main-nav a {
    padding: 14px 4px;
    border-radius: 0;
    font-size: 1rem;
    color: var(--fg-2);
    border-bottom: 1px solid var(--border-soft);
  }

  .main-nav .btn { height: 44px; margin: 16px 0 0; font-size: 0.95rem; }

  .site-header:has(.main-nav.is-open) { background: rgba(8, 9, 10, 0.97); border-bottom-color: var(--border-soft); }

  .deliverables,
  .principles { grid-template-columns: 1fr; }

  .guarantee-inner { grid-template-columns: 1fr; gap: 32px; }
  .seal { width: 128px; height: 128px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }

  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero-actions .btn { width: 100%; white-space: normal; text-align: center; }
  .hero-proof { gap: 1rem; justify-content: space-between; }
  .hero-proof li { flex: 1 1 0; min-width: 0; }
  .hero-proof strong { font-size: 1.3rem; }

  .dash-card { padding: 16px; }
  .dash-chart { height: 150px; }
  .float-card { padding: 9px 12px; }
  .float-card strong { font-size: 1rem; }
  .float-card--a { left: 8px; bottom: -48px; }
  .float-card--b { right: -4px; top: -28px; }

  .clients { margin-top: 88px; padding-bottom: 56px; }
  .clients-head { flex-direction: column; gap: 4px; }
  .clients-logos { grid-template-columns: repeat(2, 1fr); }
  .client-logo { min-height: 76px; border-bottom: 1px solid var(--border); }
  .client-logo:nth-child(4n) { border-right: 1px solid var(--border); }
  .client-logo:nth-child(2n) { border-right: 0; }
  .client-logo:nth-child(n + 5) { border-bottom: 1px solid var(--border); }
  .client-logo:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; }
  .client-panel { padding: 22px 20px; }

  .section,
  .objection,
  .guarantee { padding: 88px 0; }
  .cta-final { padding: 96px 0; }

  .section-head { margin-bottom: 36px; }

  .stat { padding: 16px; }
  .stat-value { font-size: 2rem; }

  .step,
  .deliverable,
  .testimonial { padding: 24px 20px; }

  .cta-actions .btn { width: 100%; white-space: normal; }

  .footer-inner { flex-direction: column; text-align: center; }

  .modal-card { padding: 32px 18px 20px; }
  .form-grid { grid-template-columns: 1fr; }
}

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