:root {
  --bg: #121212;
  --indigo: #4a56e2;
  --indigo-dark: #3a42b8;
  --cyan: #00f0ff;
  --white: #ffffff;
  --muted: #999999;
  --soft: #e2e8f0;
  --body: #d4d4d8;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --measure: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.page { position: relative; z-index: 1; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(var(--measure), calc(100% - 40px));
  margin: 0 auto;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 28px 0 22px;
  border-bottom: 1px solid rgba(74, 86, 226, 0.45);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  max-width: 280px;
}

.brand-eyebrow,
.brand-sub {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-sub { align-self: stretch; justify-content: flex-end; margin-top: 3px; }

.brand-eyebrow span,
.brand-sub span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.6px;
  line-height: 1;
}

.brand-line {
  display: inline-block;
  height: 1px;
  width: 52px;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--indigo-dark) 40%, transparent 100%);
}

.brand-line.right {
  background: linear-gradient(270deg, var(--indigo) 0%, var(--indigo-dark) 40%, transparent 100%);
}

.brand-title {
  margin: 2px 0 0;
  color: var(--white);
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.4px;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.brand-title .light {
  font-weight: 300;
  color: var(--soft);
  margin-right: 4px;
}

.slogan {
  margin: 0;
  color: var(--muted);
  font-size: 12.6px;
  font-weight: 400;
  letter-spacing: 0.4px;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 56px;
  align-items: center;
  padding: 64px 0 28px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -1.2px;
  line-height: 0.98;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.lede {
  margin: 0 0 28px;
  max-width: 38rem;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.45;
}

.signup-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: none;
}

.signup-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.signup {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 598px;
}

.signup input,
.signup button {
  min-height: 52px;
  height: 52px;
  box-sizing: border-box;
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
}

.signup input {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  -webkit-appearance: none;
  appearance: none;
}

.signup input::placeholder { color: #71717a; }

.signup input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.22);
}

.signup button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  background: var(--indigo);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.signup button:hover { background: #5b66ea; }

.signup button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.45);
}

.signup button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.signup button:disabled:hover { background: var(--indigo); }

.turnstile-field {
  width: 240px;
  height: 52px;
  margin: 0;
  overflow: hidden;
}

.turnstile-field .cf-turnstile {
  transform: scale(0.8);
  transform-origin: left top;
}

.trust {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.read {
  color: var(--white);
  font-size: 15px;
  white-space: nowrap;
  text-underline-offset: 4px;
  text-decoration-color: var(--indigo);
}

.read:hover { color: var(--cyan); }

.phone {
  justify-self: end;
  width: min(280px, 100%);
  margin: 0;
  padding: 0;
  background: none;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.5));
}

.scroll-cue {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 18px auto 0;
  padding: 6px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  animation: scroll-cue-bob 1.6s ease-in-out infinite;
}

.scroll-cue:hover { color: var(--white); }

.scroll-cue:focus-visible {
  outline: none;
  color: var(--cyan);
}

.scroll-cue-chevron {
  display: block;
  width: 12px;
  height: 12px;
  margin-top: -3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

@keyframes scroll-cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 28px 0 4px;
}

.pillar {
  padding: 22px 18px 8px;
  border-top: 2px solid var(--indigo);
  background: rgba(255, 255, 255, 0.03);
}

.pillar h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
}

.pillar p {
  margin: 0;
  color: var(--body);
  font-size: 15px;
}

.block {
  padding: 64px 0 8px;
  scroll-margin-top: 24px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.block h2 {
  margin: 0 0 22px;
  font-size: clamp(28px, 3vw, 36px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.page-title {
  margin: 0 0 22px;
  font-size: clamp(28px, 3vw, 36px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}

.carousel-head h2 { margin: 0; font-style: normal; }

.carousel-nav { display: flex; gap: 8px; }

.carousel-nav button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--indigo);
  border-radius: 4px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.carousel-nav button:hover { background: var(--indigo); }

.carousel-nav button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.35);
}

.carousel-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-nav button:disabled:hover { background: transparent; }

.pros {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
}

.pros::-webkit-scrollbar { display: none; }

.pro {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  display: block;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.pro:hover,
.pro:focus-visible {
  background: rgba(74, 86, 226, 0.1);
  box-shadow: 0 0 0 1px var(--indigo);
  outline: none;
}

.pro img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 28%;
  border-bottom: 2px solid var(--indigo);
}

.pro div { padding: 14px 14px 16px; }

.pro strong {
  display: block;
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
}

.pro em {
  display: block;
  margin-top: 2px;
  color: var(--soft);
  font-style: normal;
  font-size: 14px;
}

.pro small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 72px;
  padding: 22px 0 32px;
  border-top: 1px solid rgba(74, 86, 226, 0.45);
  color: var(--muted);
  font-size: 13px;
}

.site-footer nav { display: flex; gap: 18px; }

.site-footer button,
.site-footer a {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--indigo);
  text-underline-offset: 3px;
  cursor: pointer;
}

.site-footer a:hover,
.site-footer button:hover { color: var(--white); }

.issues { list-style: none; margin: 0; padding: 12px 0 24px; }

.issues a {
  display: grid;
  grid-template-columns: 64px 180px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid rgba(74, 86, 226, 0.35);
  text-decoration: none;
}

.issues li:last-child a { border-bottom: 1px solid rgba(74, 86, 226, 0.35); }

.issues .num {
  color: var(--indigo);
  font-weight: 700;
}

.issues .when { color: var(--muted); font-size: 14px; }

.issues .go {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--indigo);
  text-underline-offset: 3px;
}

.intro {
  max-width: 36rem;
  margin: -8px 0 8px;
  color: var(--soft);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  background: rgba(0, 0, 0, 0.72);
}

.modal.open { display: flex; }

.modal article {
  width: min(560px, 100%);
  max-height: min(80vh, 640px);
  overflow: auto;
  padding: 22px 22px 8px;
  border: 1px solid rgba(74, 86, 226, 0.6);
  background: #161616;
}

.modal header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.modal h2 { margin: 0; font-size: 22px; font-style: italic; }

.modal header button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal h3 {
  margin: 18px 0 6px;
  font-size: 14px;
  letter-spacing: 0.4px;
}

.modal p { margin: 0 0 8px; color: var(--body); font-size: 14px; }

.modal a { color: var(--white); }

/* Tablette étroite : hero en 2 colonnes plus compact */
@media (max-width: 960px) and (min-width: 801px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 0.55fr);
    gap: 32px;
    padding-top: 48px;
  }

  .phone { width: min(240px, 100%); }
}

@media (max-width: 800px) {
  .wrap { width: min(var(--measure), calc(100% - 32px)); }

  .block { padding: 48px 0 8px; }

  h1 {
    font-size: clamp(32px, 9.2vw, 40px);
  }

  .lede { font-size: 17px; max-width: none; }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-width: 0;
    padding-top: 32px;
  }

  .phone {
    justify-self: center;
    width: min(260px, 72vw);
    max-width: 100%;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 28px;
  }

  .pillar { padding-bottom: 14px; }

  .top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .slogan {
    align-self: stretch;
    max-width: 100%;
    overflow-x: auto;
    text-align: left;
    font-size: 10.5px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .slogan::-webkit-scrollbar { display: none; }

  .signup-form {
    display: flex;
    flex-direction: column;
    max-width: none;
  }

  .signup {
    display: contents;
  }

  .signup input { order: 1; width: 100%; }

  .trust { order: 2; }

  .turnstile-field { order: 3; }

  .signup button {
    order: 4;
    width: 100%;
  }

  .trust { font-size: 13px; line-height: 1.5; }

  .carousel-head {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
  }

  .carousel-head h2 { font-size: clamp(24px, 6.4vw, 32px); }

  .pro { flex: 0 0 min(82%, 300px); }

  .pro img { height: 200px; }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 56px;
    gap: 12px;
  }

  .issues a { grid-template-columns: 52px 1fr; }
  .issues .when { grid-column: 2; }
  .issues .go { grid-column: 2; }
}

@media (max-width: 380px) {
  .wrap { width: min(var(--measure), calc(100% - 24px)); }

  h1 { letter-spacing: -0.6px; }

  .brand-title { font-size: 24px; }

  .carousel-nav { flex-shrink: 0; }
}

@media (min-width: 801px) {
  .hero { padding: 48px 0 4px; }

  .phone img {
    width: auto;
    max-width: 100%;
    max-height: 470px;
    height: auto;
    margin-left: auto;
  }

  .scroll-cue { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .pros { scroll-behavior: auto; }

  .pro { transition: none; }

  .scroll-cue { animation: none; }
}
