/* ============================================================
   IconFlow — Opt-in / VSL page (ads traffic)
   Conversion-focused, single column, IconFlow brand tokens.
   ============================================================ */

:root {
  --paper: #F3F1E7;
  --paper-2: #ECE9DB;
  --card: #FBFAF4;
  --ink: #0C0C0A;
  --ink-soft: #2A2A26;
  --muted: #6A685E;
  --accent: #12C95E;
  --accent-ink: #06140B;
  --btn: #E23636;
  --btn-ink: #FFFFFF;
  --btn-glow: 226, 54, 54;
  --line: rgba(12, 12, 10, 0.16);
  --line-2: rgba(12, 12, 10, 0.30);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-sans: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --maxw: 940px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;

  /* animated background pattern (tweakable) */
  --ptn-size: 46px;
  --ptn-opacity: 0.3;
  --ptn-color: #12C95E;
  --ptn-speed: 24s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(72% 46% at 50% -6%, rgba(18,201,94,0.13) 0%, transparent 60%),
    radial-gradient(38% 30% at 93% 6%, rgba(18,201,94,0.07) 0%, transparent 60%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* fine film grain for depth */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxODAiIGhlaWdodD0iMTgwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC44NSIgbnVtT2N0YXZlcz0iMiIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIvPjwvc3ZnPg==");
}
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Scarcity bar (sticky) ---------- */
.bar {
  position: sticky; top: 0; z-index: 200;
  background: linear-gradient(90deg, #0fb050 0%, #12C95E 52%, #1ad268 100%);
  color: var(--accent-ink);
  box-shadow: 0 6px 22px -7px rgba(12,12,10,0.32), inset 0 -1px 0 rgba(6,20,11,0.12);
}
.bar-inner {
  width: 100%; max-width: 1180px; margin-inline: auto; padding: 9px var(--gutter);
  min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.bar-live { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-sans); font-weight: 600; font-size: clamp(13px, 1.55vw, 15.5px); line-height: 1.3; color: var(--accent-ink); }
.bar-live b { font-weight: 800; }
.bar-live .clock { width: 32px; height: 32px; border-radius: 50%; background: rgba(6,20,11,0.13); display: grid; place-items: center; flex-shrink: 0; }
.bar-live .clock svg { width: 17px; height: 17px; }
.bar-cta {
  display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; white-space: nowrap;
  background: var(--btn); color: var(--btn-ink);
  font-family: var(--font-sans); font-weight: 800; font-size: clamp(13px, 1.5vw, 15px); letter-spacing: 0.01em;
  padding: 12px 22px; border-radius: 999px;
  box-shadow: 0 10px 20px -9px rgba(var(--btn-glow),0.6);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.bar-cta:hover { transform: translateY(-1px); background: var(--ink); color: var(--paper); }
.bar-cta svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.bar-cta:hover .btn-arrow svg { transform: translate(3px, -3px); }
@media (max-width: 600px) {
  .bar-inner { min-height: 50px; gap: 12px; }
  .bar-live .clock { display: none; }
  .bar-live { font-size: 12.5px; }
  .bar-cta { padding: 10px 15px; font-size: 12.5px; }
  .bar-cta .btn-arrow { display: none; }
}

/* ---------- Header ---------- */
.head { position: relative; z-index: 2; padding: 22px var(--gutter) 6px; display: flex; justify-content: center; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; font-size: 24px; text-transform: uppercase; }
.brand .mark { width: 38px; height: 38px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; overflow: hidden; }
.brand .mark img { width: 84%; object-fit: contain; }
.brand i { color: var(--accent); font-style: normal; }

/* ---------- Hero video (green animated border) ---------- */
.hero-video { margin: clamp(26px, 3.4vw, 40px) auto clamp(14px, 2vw, 22px); max-width: 760px; width: 100%; }
.hero-video-frame {
  position: relative; border-radius: 24px; padding: 7px;
  background: conic-gradient(from var(--ang, 0deg), var(--accent), #B6FFD2, #6FF0A8, #0B7D43, var(--accent), #B6FFD2, var(--accent));
  animation: heroBorderSpin 3.2s linear infinite;
  box-shadow: 0 0 0 1px rgba(18,201,94,0.4), 0 0 26px rgba(18,201,94,0.45), 0 0 60px rgba(18,201,94,0.28), 0 30px 64px -28px rgba(11,125,67,0.6);
}
.hero-video-frame::before {
  content: ""; position: absolute; inset: -3px; border-radius: 27px; z-index: -1;
  background: conic-gradient(from var(--ang, 0deg), var(--accent), #6FF0A8, #0B7D43, var(--accent));
  filter: blur(16px); opacity: 0.7;
  animation: heroBorderSpin 3.2s linear infinite, heroGlowBreath 2.4s var(--ease) infinite;
}
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes heroBorderSpin { to { --ang: 360deg; } }
@keyframes heroGlowBreath { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.92; } }
.hero-video-inner { display: block; position: relative; border-radius: 17px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); cursor: pointer; }
.hero-video-inner img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.hero-video-inner:hover img { transform: scale(1.03); }
.hero-video-play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #06140B;
  box-shadow: 0 14px 30px -10px rgba(11,125,67,0.7), 0 0 0 0 rgba(18,201,94,0.55);
  animation: heroPlayPulse 2.2s var(--ease) infinite; transition: transform .25s var(--ease);
}
.hero-video-inner:hover .hero-video-play { transform: scale(1.08); }
.hero-video-play svg { width: 25px; height: 25px; margin-left: 3px; }
@media (max-width: 640px) { .hero-video-play { display: none; } }
@keyframes heroPlayPulse {
  0%, 100% { box-shadow: 0 14px 30px -10px rgba(11,125,67,0.7), 0 0 0 0 rgba(18,201,94,0.55); }
  50% { box-shadow: 0 14px 30px -10px rgba(11,125,67,0.7), 0 0 0 18px rgba(18,201,94,0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 20px 34px; border-radius: 999px;
  font-family: var(--font-sans); font-weight: 800; font-size: clamp(16px, 2vw, 20px); letter-spacing: -0.01em;
  cursor: pointer; border: 2px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: normal; text-align: center; line-height: 1.15;
}
.btn-cta { background: var(--btn); color: var(--btn-ink); box-shadow: 0 14px 30px -12px rgba(var(--btn-glow),0.7), inset 0 1px 0 rgba(255,255,255,0.25); position: relative; overflow: hidden; }
.btn-cta:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(12,12,10,0.5); }
.btn-cta::before { content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent); transform: skewX(-18deg); pointer-events: none; }
.btn-cta:hover::before { animation: sheen 0.85s var(--ease); }
@keyframes sheen { from { left: -130%; } to { left: 170%; } }
@media (prefers-reduced-motion: reduce) { .btn-cta:hover::before { animation: none; } }
.btn-arrow svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); flex-shrink: 0; }
.btn:hover .btn-arrow svg { transform: translate(3px, -3px); }
.btn-cta.pulse { animation: ctaPulse 2.4s var(--ease) infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 14px 30px -12px rgba(var(--btn-glow),0.7), 0 0 0 0 rgba(var(--btn-glow),0.5); }
  50% { box-shadow: 0 14px 30px -12px rgba(var(--btn-glow),0.7), 0 0 0 14px rgba(var(--btn-glow),0); }
}
@media (prefers-reduced-motion: reduce) { .btn-cta.pulse { animation: none; } }
/* yellow high-visibility variant */
.btn-cta.btn-yellow { background: var(--btn); color: var(--btn-ink) !important; box-shadow: 0 14px 30px -12px rgba(var(--btn-glow),0.75), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-cta.btn-yellow:hover { background: var(--ink); color: var(--paper) !important; transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(12,12,10,0.5); }
.btn-cta.btn-yellow.pulse { animation: ctaPulseYellow 2.2s var(--ease) infinite; }
@keyframes ctaPulseYellow {
  0%, 100% { box-shadow: 0 14px 30px -12px rgba(var(--btn-glow),0.75), 0 0 0 0 rgba(var(--btn-glow),0.6); }
  50% { box-shadow: 0 14px 30px -12px rgba(var(--btn-glow),0.75), 0 0 0 16px rgba(var(--btn-glow),0); }
}
@media (prefers-reduced-motion: reduce) { .btn-cta.btn-yellow.pulse { animation: none; } }

/* ---------- Hero / opt-in ---------- */
.topfield { position: relative; overflow: hidden; }
.optin { position: relative; padding: clamp(20px, 4vw, 40px) 0 clamp(48px, 7vw, 88px); text-align: center; }
.optin > .wrap { position: relative; z-index: 2; }
/* animated tile pattern behind the headline */
.optin-bg {
  position: absolute; inset: 0 -90px -90px; z-index: 0; pointer-events: none;
  opacity: var(--ptn-opacity);
  background-size: var(--ptn-size) var(--ptn-size);
  -webkit-mask-image: radial-gradient(128% 86% at 50% 1%, #000 30%, transparent 80%);
          mask-image: radial-gradient(128% 86% at 50% 1%, #000 30%, transparent 80%);
  animation: ptnFloat var(--ptn-speed) ease-in-out infinite;
  will-change: transform;
}
.optin-bg[data-ptn="grid"] {
  background-image:
    linear-gradient(var(--ptn-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--ptn-color) 1px, transparent 1px);
}
.optin-bg[data-ptn="checker"] {
  background-image: repeating-conic-gradient(var(--ptn-color) 0% 25%, transparent 0% 50%);
  background-size: calc(var(--ptn-size) * 2) calc(var(--ptn-size) * 2);
}
.optin-bg[data-ptn="dots"] {
  background-image: radial-gradient(var(--ptn-color) 1.6px, transparent 1.8px);
}
.optin-bg[data-ptn="none"] { display: none; }
@keyframes ptnFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-7px, 5px, 0); }
  50% { transform: translate3d(-11px, -7px, 0); }
  75% { transform: translate3d(5px, -9px, 0); }
}
@media (prefers-reduced-motion: reduce) { .optin-bg { animation: none; } }
.eyebrow {
  font-family: var(--font-mono); font-size: clamp(11px, 1.5vw, 13px); letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
  padding: 9px 17px; border-radius: 999px; display: inline-flex; align-items: center; gap: 9px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), 0 8px 22px -10px rgba(18,201,94,0.65);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); }

h1.headline {
  font-family: "Montserrat", var(--font-display); font-weight: 800;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.14; letter-spacing: -0.025em;
  text-wrap: balance;
  margin: clamp(20px, 3vw, 30px) auto clamp(16px, 2.4vw, 24px); max-width: 1000px;
}
h1.headline em { font-style: normal; color: var(--accent); position: relative; }

/* Playfair italic green-marker highlight — matches the main site */
.hl-marker {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic; font-weight: 600;
  text-transform: none; letter-spacing: -0.005em;
  white-space: nowrap; color: var(--ink);
  padding: 0 0.12em;
  background: linear-gradient(120deg, var(--accent), var(--accent)) no-repeat;
  background-size: 100% 30%; background-position: 0 85%;
  border-radius: 5px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.sub { color: var(--ink-soft); font-size: clamp(17px, 2vw, 22px); line-height: 1.45; max-width: 60ch; margin: 0 auto; text-wrap: pretty; }

.sub-nos {
  list-style: none; margin: clamp(16px, 2.2vw, 22px) auto 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px clamp(14px, 2vw, 26px);
  max-width: 760px;
}
.sub-nos li {
  display: flex; align-items: center; gap: 8px;
  font-size: clamp(14px, 1.5vw, 16px); font-weight: 600;
  color: var(--ink-soft); letter-spacing: -0.01em;
}
.sub-nos li::before {
  content: "✕"; flex: none;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700;
  background: rgba(0,0,0,0.06); color: var(--ink);
}
.theme-green .sub-nos li { color: rgba(255,255,255,0.86); }
.theme-green .sub-nos li::before { background: rgba(255,255,255,0.16); color: #fff; }
.sub b { color: var(--ink); font-weight: 800; }

.scroll-cue {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin: clamp(22px, 3vw, 30px) 0 0;
  display: inline-flex; align-items: center; gap: 8px;
}
.scroll-cue .arr { display: inline-block; animation: bob 1.6s var(--ease) infinite; color: var(--accent); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue .arr { animation: none; } }

/* ---------- VSL ---------- */
.vsl-wrap { position: relative; margin: clamp(28px, 3.6vw, 42px) auto 0; max-width: 824px; }
.vsl-wrap::before {
  content: ""; position: absolute; inset: -16px -16px -22px; z-index: 0; border-radius: 40px;
  background: radial-gradient(58% 62% at 50% 32%, rgba(18,201,94,0.30), transparent 72%);
  filter: blur(18px);
}
.vsl {
  position: relative; z-index: 1; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% 0%, #1d1d1a 0%, #0C0C0A 62%);
  border: 1px solid #000;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5), 0 44px 88px -36px rgba(12,12,10,0.72);
  display: grid; place-items: center; cursor: pointer;
}
.vsl::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), inset 0 0 60px rgba(0,0,0,0.45); }

/* ---------- Opt-in gate (CTA card that opens the popup) ---------- */
.gate { position: relative; margin: clamp(28px, 3.6vw, 42px) auto 0; max-width: 620px; text-align: center; }
.gate-head { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.05; margin: 0 0 12px; color: var(--ink); }
.gate-head em { font-style: normal; color: var(--accent); }
.gate-note { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: clamp(11px, 1.5vw, 13px); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 0 0 20px; }
.gate-note svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* ---------- Opt-in popup modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(8, 10, 8, 0.62); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); animation: modalFade 0.25s var(--ease) both; }
.modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 460px;
  background: var(--paper); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px); text-align: center;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 44px 100px -32px rgba(8,10,8,0.7);
  border: 1px solid var(--line);
  animation: modalPop 0.32s var(--ease) both;
  max-height: calc(100dvh - 40px); overflow-y: auto;
}
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal-overlay, .modal-card { animation: none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--muted);
  background: rgba(12,12,10,0.05); border: 1px solid var(--line);
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.modal-close:hover { background: var(--ink); color: var(--paper); transform: rotate(90deg); }
.modal-close svg { width: 17px; height: 17px; }
.modal-card .eyebrow { margin-bottom: 16px; }
.modal-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(23px, 4vw, 31px); line-height: 1.04; margin: 0 0 10px; color: var(--ink); }
.modal-title em { font-style: normal; color: var(--accent); }
.modal-sub { font-size: clamp(14px, 1.8vw, 16px); color: var(--ink-soft); line-height: 1.5; margin: 0 0 22px; text-wrap: pretty; }

.optin-form { display: flex; flex-direction: column; gap: 13px; text-align: left; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.optin-form input[type="text"], .optin-form input[type="email"], .optin-form input[type="tel"] {
  width: 100%; box-sizing: border-box; font-family: var(--font-sans); font-size: 16px; font-weight: 500; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.optin-form input::placeholder { color: var(--muted); }
.optin-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(18,201,94,0.16); }
.form-error { margin: 2px 0 0; font-size: 13.5px; font-weight: 600; color: var(--btn); }
/* phone field: collapsed until prénom + email are both filled in */
.field-phone {
  max-height: 0; opacity: 0; gap: 0; margin-top: -13px; overflow: hidden; pointer-events: none;
  transition: max-height 0.45s var(--ease), opacity 0.3s var(--ease), margin-top 0.45s var(--ease), gap 0.3s var(--ease);
}
.field-phone.show { max-height: 160px; opacity: 1; gap: 6px; margin-top: 0; pointer-events: auto; }
.phone-row { display: flex; gap: 8px; align-items: stretch; }
.phone-row select, .phone-row input[name="indicatif"] {
  flex: 0 0 auto; width: 92px; box-sizing: border-box; font-family: var(--font-sans); font-size: 16px; font-weight: 600; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 14px 12px; cursor: text;
  appearance: none; -webkit-appearance: none; text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-flag {
  flex: 0 0 auto; width: 50px; box-sizing: border-box; display: grid; place-items: center; font-size: 21px; line-height: 1;
  background: var(--card); border: 1.5px solid var(--line-2); border-radius: 12px; user-select: none;
}
.phone-row input[name="indicatif"].is-invalid { border-color: #e0342b; box-shadow: 0 0 0 4px rgba(224,52,43,0.14); }
.phone-row input[name="indicatif"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(18,201,94,0.16); }
.phone-row select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(18,201,94,0.16); }
.phone-row input[type="tel"] { flex: 1 1 auto; min-width: 0; }
.field-hint { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.optin-form .btn-cta { width: 100%; margin-top: 6px; justify-content: center; }
.optin-form .btn-cta:disabled { opacity: 0.7; cursor: progress; transform: none; }
.modal-fine { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 14px 0 0; }
.modal-fine svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
/* real embedded video fills the premium frame */
.vsl.has-video { background: #000; cursor: default; aspect-ratio: auto; display: block; }
.vsl.has-video::before { display: none; }
.vsl.has-video::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.vsl.has-video wistia-player { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; }
.vsl::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 72%);
}
.vsl-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 24px; }
.vsl .play {
  position: relative;
  width: clamp(64px, 9vw, 90px); height: clamp(64px, 9vw, 90px); border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(18,201,94,0.6), 0 0 0 0 rgba(18,201,94,0.55); animation: playPulse 2.4s var(--ease) infinite;
}
.vsl .play::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(18,201,94,0.35); }
.vsl .play svg { width: 36%; height: 36%; margin-left: 4px; }
@keyframes playPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(18,201,94,0.5); } 50% { box-shadow: 0 0 0 18px rgba(18,201,94,0); } }
@media (prefers-reduced-motion: reduce) { .vsl .play { animation: none; } }
.vsl .ph-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; color: var(--paper); font-size: clamp(15px, 2.4vw, 21px); }
.vsl .ph-note { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(243,241,231,0.5); }
.vsl-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  background: rgba(243,241,231,0.12); color: var(--paper); border: 1px solid rgba(243,241,231,0.22);
  padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px);
}
.vsl-sound {
  position: absolute; bottom: 16px; right: 16px; z-index: 2; white-space: nowrap;
  font-family: var(--font-sans); font-size: 12px; font-weight: 700; color: var(--paper);
  background: rgba(243,241,231,0.12); border: 1px solid rgba(243,241,231,0.22);
  padding: 7px 13px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; backdrop-filter: blur(4px);
}
.vsl-sound svg { width: 14px; height: 14px; }

/* ---------- CTA block ---------- */
.cta-block { margin: clamp(28px, 4vw, 44px) auto 0; max-width: 680px; }
.cta-instruction { font-size: clamp(16px, 1.9vw, 19px); color: var(--ink-soft); margin: 0 0 20px; text-wrap: pretty; }
.cta-eyebrow { display: flex; justify-content: center; margin: 0 0 22px; }
.cta-instruction b { color: var(--ink); font-weight: 800; }
.cta-instruction .hl { background: linear-gradient(transparent 62%, rgba(18,201,94,0.4) 0); padding: 0 2px; font-weight: 800; color: var(--ink); }
.reassure { font-family: var(--font-mono); font-size: clamp(11px, 1.5vw, 13px); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 16px 0 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.reassure svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
/* flipbook embed (Heyzine) */
.flipbook-wrap { position: relative; margin: clamp(22px, 3vw, 32px) auto 0; max-width: 1060px; width: 100%; aspect-ratio: 16 / 11; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,0.5), 0 44px 88px -36px rgba(12,12,10,0.55); }
.flipbook { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* premium trust chips */
.trust-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px auto 0; }
.trust-chips span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-weight: 700; font-size: clamp(12.5px, 1.5vw, 14px); color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); padding: 9px 15px; border-radius: 999px; box-shadow: 0 2px 6px -3px rgba(12,12,10,0.12); }
.trust-chips svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.ps {
  margin: clamp(26px, 4vw, 40px) auto 0; max-width: 620px;
  font-size: clamp(14px, 1.7vw, 16px); color: var(--ink-soft); line-height: 1.5;
  border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; text-align: left;
}
.ps b { color: var(--ink); font-weight: 800; }

/* ---------- Trust strip (avatars + rating) ---------- */
.trust-row { display: flex; align-items: center; justify-content: center; gap: 16px; margin: clamp(24px, 3.4vw, 34px) auto 0; flex-wrap: wrap; }
.avatars { display: inline-flex; }
.avatars span { width: 42px; height: 42px; border-radius: 50%; background-size: cover; background-position: center; border: 3px solid var(--paper); margin-left: -12px; box-shadow: 0 2px 6px rgba(0,0,0,0.14); }
.avatars span:first-child { margin-left: 0; }
.rate { text-align: left; line-height: 1.25; }
.rate .stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.rate b { font-weight: 800; font-size: 15px; }
.rate small { display: block; color: var(--muted); font-size: 12.5px; }

/* ---------- Stats ---------- */
.stats { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(30px, 4vw, 50px) clamp(14px, 2vw, 28px); text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 4.6vw, 54px); line-height: 1; letter-spacing: -0.045em; color: var(--ink); }
.stat .num em { font-style: normal; color: var(--accent); }
.stat .lbl { font-size: clamp(12px, 1.4vw, 14px); color: var(--muted); margin-top: 14px; line-height: 1.4; text-wrap: pretty; max-width: 22ch; margin-inline: auto; }
.stat .lbl::before { content: ""; display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--accent); margin: 0 auto 14px; }
@media (max-width: 680px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: none; } .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); } }
/* Variante bandeau vert plein */
.stats.stats-green { background: var(--accent); border-top: none; border-bottom: none; }
.stats.stats-green .stat { text-align: left; border-right: 1.5px solid var(--ink); padding: clamp(36px,5vw,64px) clamp(20px,3.2vw,44px); }
.stats.stats-green .stat:last-child { border-right: none; }
.stats.stats-green .stat .num { color: var(--ink); font-size: clamp(42px,6.4vw,80px); }
.stats.stats-green .stat .num em { color: var(--ink); }
.stats.stats-green .stat .lbl { color: var(--ink); font-weight: 600; font-size: clamp(13px,1.5vw,15.5px); margin-inline: 0; max-width: 24ch; }
.stats.stats-green .stat .lbl::before { display: none; }
@media (max-width: 680px) { .stats.stats-green .stat:nth-child(2) { border-right: none; } .stats.stats-green .stat:nth-child(1), .stats.stats-green .stat:nth-child(2) { border-bottom: 1.5px solid var(--ink); } }

/* ---------- Discover ---------- */
.discover { padding: clamp(48px, 7vw, 84px) 0 clamp(8px, 2vw, 16px); text-align: center; }
.discover-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); margin: clamp(32px, 4.5vw, 50px) 0 0; text-align: left; }
.disc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 30px 60px -38px rgba(12,12,10,0.4); display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.disc-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 40px 72px -36px rgba(12,12,10,0.5); }
.disc-media { position: relative; overflow: hidden; background: var(--ink); }
.disc-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.5s var(--ease); }
.disc-card:hover .disc-media img { transform: scale(1.04); }
.disc-media--cover { aspect-ratio: 16 / 11; }
.disc-media--cover img { object-fit: contain; background: linear-gradient(160deg, #0e2a1a, #07140d); padding: 14px 0; }
.disc-media--video { aspect-ratio: 16 / 11; }
.disc-badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; background: var(--accent); color: var(--accent-ink); padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(18,201,94,0.7); }
.disc-play { position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 30px -10px rgba(11,125,67,0.7), 0 0 0 0 rgba(18,201,94,0.5); animation: heroPlayPulse 2.4s var(--ease) infinite; }
.disc-play svg { width: 28px; height: 28px; margin-left: 3px; }
.disc-body { padding: clamp(20px, 2.6vw, 28px); }
.disc-body h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.025em; font-size: clamp(20px, 2.5vw, 26px); margin: 0 0 10px; line-height: 1.02; }
.disc-body p { color: var(--ink-soft); font-size: clamp(14.5px, 1.6vw, 16.5px); line-height: 1.5; margin: 0; text-wrap: pretty; }
.disc-body b { color: var(--ink); font-weight: 800; }
@media (max-width: 720px) { .discover-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testi-sec { padding: clamp(48px, 7vw, 84px) 0; text-align: center; }
.sec-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); font-weight: 700; padding: 7px 13px; border-radius: 999px; display: inline-block; }
.sec-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4.8vw, 52px); line-height: 0.96; letter-spacing: -0.035em; text-transform: uppercase; margin: 20px auto 14px; max-width: 18ch; text-wrap: balance; }
.sec-title em { font-style: normal; color: var(--accent); }
.sec-sub { color: var(--ink-soft); font-size: clamp(15px, 1.7vw, 19px); max-width: 52ch; margin: 0 auto; text-wrap: pretty; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: clamp(30px, 4vw, 46px) auto 0; max-width: 700px; }
.testi { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #111 center/cover no-repeat; border: 2px solid var(--ink); }
.testi .ov { position: absolute; inset: 0; background: linear-gradient(transparent 38%, rgba(8,8,6,0.82)); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.testi .tag2 { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; background: var(--accent); color: var(--accent-ink); padding: 4px 9px; border-radius: 999px; }
.testi .pbig { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(243,241,231,0.92); color: var(--ink); display: grid; place-items: center; transition: transform 0.2s var(--ease), background 0.2s; }
.testi .pbig svg { width: 38%; height: 38%; margin-left: 3px; }
.testi:hover .pbig { transform: translate(-50%, -50%) scale(1.08); background: var(--accent); color: var(--accent-ink); }
.testi .who { color: var(--paper); text-align: left; position: relative; z-index: 1; }
.testi-quote {
  position: relative; z-index: 1; margin: 0 0 10px;
  color: #fff; text-align: left;
  font-size: clamp(12.5px, 1.35vw, 14px); line-height: 1.4;
  font-weight: 600; text-wrap: pretty;
}
.testi .who b { font-weight: 800; font-size: 15px; display: block; }
.testi .who span { font-size: 12.5px; color: rgba(243,241,231,0.7); }
@media (max-width: 860px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }

/* video lightbox (YouTube shorts) */
.yt-lb { position: fixed; inset: 0; z-index: 999; display: none; align-items: center; justify-content: center; background: rgba(8,8,6,0.86); backdrop-filter: blur(8px); padding: 20px; }
.yt-lb.open { display: flex; }
.yt-lb-box { position: relative; width: min(420px, 92vw); aspect-ratio: 9 / 16; max-height: 88vh; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8); }
.yt-lb-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-lb-close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,0.5); }
.yt-lb-close svg { width: 22px; height: 22px; }
@media (max-width: 520px) { .yt-lb-close { top: 10px; right: 10px; } }

/* Trustpilot marquee (aligné sur la home) */
.tp-strip { margin-top: clamp(34px, 5vw, 54px); padding: clamp(10px,2vw,20px) 0 clamp(8px,2vw,20px); }
.tp-cap { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 34px); }
.tp-cap .tp-stars { display: inline-flex; gap: 3px; background: none; padding: 0; border-radius: 0; }
.tp-cap .tp-stars > span, .tp-cap .tp-stars > svg { width: 22px; height: 22px; background: #00b67a; display: grid; place-items: center; }
.tp-cap .tp-stars > svg { padding: 3.5px; box-sizing: border-box; color: #fff; }
.tp-cap .tp-stars span svg { width: 15px; height: 15px; color: #fff; }
.tp-cap b { font-weight: 800; font-size: 16px; }
.tp-cap small { color: var(--muted); font-size: 14px; }
.tp-viewport { position: relative; overflow: hidden; width: 100vw; margin-left: calc(50% - 50vw); }
.tp-viewport::before, .tp-viewport::after { content: none; }
.tp-viewport::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.tp-viewport::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }
.tp-marquee { display: flex; align-items: center; gap: 22px; width: max-content; animation: tpSlide 70s linear infinite; }
.tp-strip:hover .tp-marquee { animation-play-state: paused; }
@keyframes tpSlide { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.tp-card { flex: 0 0 auto; width: 372px; align-self: center; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tp-card img { width: 100%; height: auto; display: block; }
.tp-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 22px 48px rgba(12,12,10,.22); }
@media (prefers-reduced-motion: reduce) { .tp-marquee { animation: none; } }
@media (max-width: 560px) { .tp-card { width: min(80vw, 340px); } }

/* Trustpilot text review cards (scattered) */
.tp-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); align-items: start; text-align: left; margin-top: 6px; }
.tp-rev { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: clamp(20px, 2.3vw, 26px); box-shadow: 0 18px 40px -28px rgba(12,12,10,0.45); transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease); }
.tp-rev:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(12,12,10,0.5); }
.tp-rev:nth-child(1) { margin-top: clamp(20px, 4vw, 56px); }
.tp-rev:nth-child(3) { margin-top: clamp(34px, 6vw, 92px); }
.tp-rev-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tp-rev-stars { display: inline-flex; gap: 2px; background: var(--accent); padding: 4px 6px; border-radius: 5px; }
.tp-rev-stars svg { width: 16px; height: 16px; color: var(--accent-ink); }
.tp-rev time { font-size: 13px; color: var(--muted); white-space: nowrap; }
.tp-rev h4 { font-family: var(--font-sans); font-weight: 800; font-size: clamp(16px, 1.8vw, 18px); color: var(--ink); margin: 0 0 10px; line-height: 1.25; }
.tp-rev p { font-size: clamp(14px, 1.55vw, 15.5px); color: var(--ink-soft); line-height: 1.55; margin: 0 0 12px; text-wrap: pretty; }
.tp-rev p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .tp-reviews { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
  .tp-rev:nth-child(1), .tp-rev:nth-child(3) { margin-top: 0; }
}

/* ---------- Booking (LeadConnector) ---------- */
.booking { padding: clamp(48px, 7vw, 84px) 0 clamp(8px, 2vw, 20px); text-align: center; }
.cal-embed { margin: clamp(28px, 4vw, 44px) auto 0; max-width: 940px; width: 100%; min-height: 640px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 44px 88px -40px rgba(12,12,10,0.5); }
.cal-embed iframe { display: block; width: 100%; min-height: 700px; height: 700px; border: 0; }
@media (max-width: 640px) { .cal-embed iframe { min-height: 860px; height: 860px; } }

/* ---------- Final CTA ---------- */
.final { background: var(--ink); color: var(--paper); text-align: center; padding: clamp(54px, 8vw, 96px) 0; }
.final .sec-title { color: var(--paper); }
.final .sec-title em { color: var(--accent); }
.final .final-sub { color: rgba(243,241,231,0.72); font-size: clamp(16px, 1.9vw, 20px); max-width: 54ch; margin: 0 auto clamp(28px, 4vw, 40px); text-wrap: pretty; }
.final .final-sub b { color: var(--paper); font-weight: 800; }
.final .reassure { color: rgba(243,241,231,0.55); }
.final .trust-chips span { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); color: rgba(243,241,231,0.82); box-shadow: none; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: rgba(243,241,231,0.5); padding: 0 var(--gutter) clamp(40px, 6vw, 64px); text-align: center; }
.foot .line { height: 1px; background: rgba(243,241,231,0.14); max-width: var(--maxw); margin: 0 auto clamp(28px, 4vw, 40px); }
.foot p { font-size: 12.5px; line-height: 1.6; max-width: 70ch; margin: 0 auto; }
.foot a { color: var(--accent); }
.foot .legal { margin-top: 16px; color: rgba(243,241,231,0.32); font-size: 11.5px; }

/* ============================================================
   THEME: green gradient background variant (body.theme-green)
   ============================================================ */
body.theme-green { background: #04160C; }
.theme-green .head .brand { color: #fff; }
.theme-green .topfield {
  background:
    radial-gradient(120% 92% at 84% -6%, rgba(18,201,94,0.50) 0%, transparent 52%),
    linear-gradient(165deg, #0a3220 0%, #04160C 100%);
  color: #fff;
}
.theme-green h1.headline { color: #fff; }
.theme-green .sub { color: rgba(255,255,255,0.82); }
.theme-green .sub b { color: #fff; }
.theme-green .scroll-cue { color: rgba(255,255,255,0.62); }
.theme-green .cta-instruction { color: rgba(255,255,255,0.86); }
.theme-green .cta-instruction b { color: #fff; }
.theme-green .cta-instruction .hl { color: #fff; background: linear-gradient(transparent 62%, rgba(18,201,94,0.5) 0); }
.theme-green .reassure { color: rgba(255,255,255,0.6); }
.theme-green .rate b { color: #fff; }
.theme-green .rate small { color: rgba(255,255,255,0.62); }
.theme-green .avatars span { border-color: #04160C; }
.theme-green .ps { color: rgba(255,255,255,0.84); }
.theme-green .ps b { color: #fff; }
.theme-green .trust-chips span { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); color: rgba(255,255,255,0.86); box-shadow: none; }
.theme-green .stats { background: #082a18; border-color: rgba(255,255,255,0.16); }
.theme-green .stat { border-right-color: rgba(255,255,255,0.12); }
.theme-green .stat .num { color: #fff; }
.theme-green .stat .lbl { color: rgba(255,255,255,0.62); }
.theme-green .optin-bg { --ptn-color: rgba(255,255,255,0.85); }
@media (max-width: 680px) { .theme-green .stat:nth-child(1), .theme-green .stat:nth-child(2) { border-bottom-color: rgba(255,255,255,0.12); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Pain points → styled cards ---------- */
.hero-video-cta { display: flex; justify-content: center; margin: clamp(24px, 3.4vw, 36px) 0 0; }
.pain-points { list-style: none; margin: clamp(26px, 4vw, 40px) auto clamp(6px, 1.5vw, 12px); padding: 0; max-width: 940px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 16px); text-align: left; }
.pc { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 2.2vw, 24px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 18px 40px -30px rgba(12,12,10,0.4); transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease); overflow: hidden; }
.pc::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; }
.pc:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 28px 56px -30px rgba(12,12,10,0.5); }
.pc-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.pc-ic svg { width: 22px; height: 22px; }
.pc-tx { font-size: clamp(15px, 1.75vw, 17.5px); color: var(--ink-soft); line-height: 1.4; text-wrap: pretty; }
.pc-tx b { color: var(--ink); font-weight: 800; }
.pc-no::before { background: #E5484D; }
.pc-no .pc-ic { background: rgba(229,72,77,0.12); color: #E5484D; }
.pc-yes { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; background: linear-gradient(120deg, #0e2a1a, #07140d); border-color: transparent; box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 24px 54px -28px rgba(11,125,67,0.75), 0 0 0 1px rgba(18,201,94,0.25) inset; }
.pc-yes::before { background: var(--accent); height: 4px; }
.pc-yes .pc-ic { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -6px rgba(18,201,94,0.7); }
.pc-yes .pc-tx { color: rgba(255,255,255,0.85); font-size: clamp(17px, 2.1vw, 22px); font-weight: 600; }
.pc-yes .pc-tx b { color: #fff; }
.theme-green .pc { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.theme-green .pc-no .pc-tx { color: rgba(255,255,255,0.82); }
.theme-green .pc-no .pc-tx b { color: #fff; }
@media (max-width: 720px) { .pain-points { grid-template-columns: 1fr; } .pc-yes { flex-direction: row; } }

/* blueprint CTA below testimonials */
.blueprint-cta { display: flex; justify-content: center; margin: clamp(34px, 5vw, 54px) auto 0; }
/* ---------- Opt-in gateway (page 1) ---------- */
.gate-points { list-style: none; margin: clamp(22px, 3vw, 30px) auto clamp(4px, 1vw, 8px); padding: 0; max-width: 540px; display: grid; gap: 13px; text-align: left; }
.gate-points li { display: flex; gap: 13px; align-items: flex-start; font-size: clamp(15px, 1.7vw, 17px); color: var(--ink-soft); line-height: 1.42; text-wrap: pretty; }
.gate-points li svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.gate-points li b { color: var(--ink); font-weight: 800; }
.form-head { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(21px, 2.4vw, 27px); margin: clamp(30px, 4vw, 44px) 0 8px; }
.form-head em { font-style: normal; color: var(--accent); }
.form-note { font-family: var(--font-mono); font-size: clamp(11px, 1.5vw, 12.5px); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; }
.form-note svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.theme-green .gate-points li { color: rgba(255,255,255,0.82); }
.theme-green .gate-points li b { color: #fff; }
.theme-green .form-head { color: #fff; }
.theme-green .form-note { color: rgba(255,255,255,0.6); }

/* custom poster over the Wistia player */
.vsl.has-video { position: relative; }
.vsl-poster {
  position: absolute; inset: 0; z-index: 3; padding: 0; margin: 0; border: 0; background: #000;
  cursor: pointer; display: grid; place-items: center; overflow: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.vsl-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vsl-poster.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.vsl-poster-play {
  position: relative; z-index: 1;
  width: clamp(62px, 8.4vw, 88px); height: clamp(62px, 8.4vw, 88px); border-radius: 50%;
  background: var(--accent); color: #04170c; display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(0,0,0,0.55), 0 0 0 0 rgba(18,201,94,0.55);
  animation: playPulse 2.4s var(--ease) infinite;
  transition: transform 0.25s var(--ease);
}
.vsl-poster-play svg { width: 40%; height: 40%; margin-left: 4px; }
.vsl-poster:hover .vsl-poster-play { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) { .vsl-poster-play { animation: none; } }

/* mobile: no horizontal scroll, and long strings/URLs wrap instead of widening the page */
html { overflow-x: hidden; max-width: 100%; }
body { overflow-x: clip; max-width: 100%; }
@media (max-width: 720px) {
  .wrap, section, footer { max-width: 100%; }
  p, li, a, span, small, h1, h2, h3, h4 { overflow-wrap: anywhere; }
}

/* ---------- Mobile hero refinements ---------- */
@media (max-width: 720px) {
  .optin .wrap { padding-left: 18px; padding-right: 18px; }
  .eyebrow { letter-spacing: 0.1em; line-height: 1.4; text-align: center; }
  h1.headline {
    font-size: clamp(27px, 7.4vw, 34px); line-height: 1.16;
    letter-spacing: -0.02em; max-width: 22ch;
    margin-top: 18px; margin-bottom: 14px;
  }
  .hl-marker { white-space: normal; }
  .sub { font-size: 16.5px; max-width: 34ch; }
  .sub-nos {
    flex-direction: column; align-items: flex-start;
    gap: 10px; width: fit-content; max-width: 100%;
    margin-top: 18px; text-align: left;
  }
  .sub-nos li { font-size: 15px; align-items: flex-start; }
  .sub-nos li::before { margin-top: 1px; }
  .hero-video { margin-top: 22px; }
  .hero-video-cta .btn { width: 100%; justify-content: center; font-size: 16px; padding: 16px 20px; }
  .trust-row { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 420px) {
  h1.headline { font-size: 25px; }
  .eyebrow { font-size: 10.5px; }
}

/* ---------- Piliers créas IA ---------- */
.pillar-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  margin: clamp(28px, 4vw, 44px) auto 0; max-width: var(--maxw); text-align: left;
}
@media (max-width: 720px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(18px, 2.2vw, 24px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pillar:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 18px 40px -26px rgba(12,12,10,0.4); }
.pillar-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.pillar h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 2vw, 22px); line-height: 1.1; margin: 0; text-transform: uppercase; }
.pillar p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.pillar-kpi {
  margin-top: auto; align-self: flex-start; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-ink);
  background: rgba(18,201,94,0.16); border: 1px solid rgba(18,201,94,0.4);
  border-radius: 999px; padding: 6px 12px;
}

/* ---------- Nos créations (scroller) ---------- */
.creations { padding: clamp(48px, 7vw, 84px) 0 clamp(28px, 4vw, 44px); text-align: center; overflow: hidden; }
.crea-scroller {
  margin: clamp(24px, 3.4vw, 36px) 0 0; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 4px var(--gutter) 14px;
}
.crea-scroller::-webkit-scrollbar { display: none; }
.crea-track { display: flex; gap: 14px; width: max-content; margin-inline: auto; }
.crea-item {
  position: relative; flex: 0 0 auto; cursor: pointer;
  background-size: cover; background-position: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); width: clamp(168px, 22vw, 220px); aspect-ratio: 9 / 16;
  scroll-snap-align: center; border-radius: 14px; overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line);
  box-shadow: 0 16px 34px -26px rgba(12,12,10,0.5);
}
.crea-hint { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }

.crea-item:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(12,12,10,0.55); }
.crea-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,12,10,0.42), transparent 55%); }
.crea-play {
  position: absolute; inset: 0; margin: auto; z-index: 1; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,0.5);
  transition: transform 0.25s var(--ease);
}
.crea-play svg { width: 20px; height: 20px; margin-left: 2px; }
.crea-item:hover .crea-play { transform: scale(1.1); }

/* ---------- Form pop-up (LeadConnector) ---------- */
.form-lb {
  position: fixed; inset: 0; z-index: 9999; display: none; place-items: center;
  background: rgba(12,12,10,0.72); backdrop-filter: blur(6px); padding: clamp(12px, 3vw, 32px);
}
.form-lb.open { display: grid; animation: lbIn 0.25s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.form-lb-box {
  position: relative; width: 100%; max-width: 620px; height: min(86vh, 900px);
  background: var(--card); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
}
.form-lb-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.form-lb-close {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.form-lb-close svg { width: 18px; height: 18px; }
.form-lb-close:hover { background: var(--paper-2); }
