/* =========================================================
   PIPO — Landing styles
   Palette dérivée du pitch deck : teal Hydra #0E8C82 sur beige chaud.
   Typo : Cabinet Grotesk (display) + Satoshi (body).
   ========================================================= */

:root {
  /* Colors */
  --bg: #f7f6f2;
  --surface: #fbfaf6;
  --surface-alt: #efece4;
  --border: #e3e0d6;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --text-faint: #9a9a9a;
  --accent: #0E8C82;
  --accent-hover: #0B7068;
  --accent-strong: #0E2927;
  --accent-soft: #E5F3F1;
  --dark: #0f1f21;
  --dark-soft: #13292b;
  --white: #ffffff;

  /* Type scale (informational landing) */
  --text-xs: clamp(12px, 0.78vw + 10px, 13px);
  --text-sm: clamp(14px, 0.45vw + 13px, 15px);
  --text-base: clamp(16px, 0.3vw + 15px, 17px);
  --text-lg: clamp(18px, 0.5vw + 17px, 20px);
  --text-xl: clamp(22px, 1.2vw + 19px, 28px);
  --text-2xl: clamp(30px, 2.4vw + 22px, 44px);
  --text-hero: clamp(40px, 5vw + 24px, 76px);

  /* Space */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 31, 33, 0.04), 0 2px 6px rgba(15, 31, 33, 0.04);
  --shadow-md: 0 6px 20px rgba(15, 31, 33, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 31, 33, 0.14);

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Shared heading */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}
h2 {
  font-size: var(--text-2xl);
  letter-spacing: -0.025em;
  color: var(--text);
}
h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-4);
}
.eyebrow-light {
  color: var(--accent-soft);
}

.accent-word {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, transform 0.15s ease, box-shadow 0.2s, border-color 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}
.btn-full {
  width: 100%;
}

/* ==================== Header ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--accent);
}
.brand .logo {
  width: 36px;
  height: 36px;
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text);
  font-size: 20px;
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav a:hover {
  color: var(--text);
}
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-weight: 700;
}
.nav-cta:hover {
  background: var(--accent-hover);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-5) var(--gutter) var(--s-6);
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav a {
  font-size: var(--text-base);
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 840px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .mobile-nav[data-open='true'] {
    display: flex;
  }
}

/* ==================== Hero ==================== */
.hero {
  padding: clamp(56px, 10vw, 120px) 0 clamp(64px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -40% 40% auto -20%;
  height: 520px;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: var(--s-5);
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 52ch;
  margin-bottom: var(--s-6);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border);
}
.hero-trust strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-trust span {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* Hero mock */
.hero-mock {
  position: relative;
  perspective: 1600px;
}
.mock-window {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1deg);
}
.mock-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}
.mock-chrome > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mock-chrome > span:nth-child(1) {
  background: #e07a5f;
}
.mock-chrome > span:nth-child(2) {
  background: #e9c46a;
}
.mock-chrome > span:nth-child(3) {
  background: #81b29a;
}
.mock-url {
  margin-left: var(--s-3);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.mock-body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.mock-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-2);
}
.mock-prompt p {
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.45;
  background: var(--bg);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  border-left: 3px solid var(--accent);
}
.mock-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.tag-accent {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
  font-weight: 700;
}
.mock-plan ol {
  margin: 0;
  padding-left: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--text-sm);
  color: var(--text);
}
.mock-plan li::marker {
  color: var(--accent);
  font-weight: 700;
}
.mock-meter {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: var(--surface-alt);
  border-radius: var(--r-md);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.mock-meter > span {
  grid-column: 1;
}
.mock-meter strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-size: var(--text-lg);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
}
.mock-meter .bar {
  grid-column: 1;
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.mock-meter .fill {
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-mock {
    order: 2;
  }
  .hero-trust {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .hero-trust {
    grid-template-columns: 1fr;
    gap: var(--s-3);
  }
}

/* ==================== Problème ==================== */
.problem {
  padding: clamp(48px, 8vw, 96px) 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-6);
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.stat-n {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: var(--s-3);
}
.stat p {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.45;
}
.problem-kicker {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
  letter-spacing: -0.015em;
}

@media (max-width: 760px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== Section head ==================== */
.section-head {
  max-width: 720px;
  margin: 0 auto var(--s-8);
  text-align: center;
}

/* ==================== Steps ==================== */
.steps {
  padding: clamp(64px, 10vw, 128px) 0;
}
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  counter-reset: step;
}
.steps-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-5);
  padding: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}
.steps-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step-n {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.steps-list h3 {
  margin-bottom: var(--s-2);
  color: var(--text);
}
.steps-list p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .steps-list {
    grid-template-columns: 1fr;
  }
}

/* ==================== Why ==================== */
.why {
  padding: clamp(64px, 10vw, 128px) 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.why-col {
  padding: var(--s-7);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.why-col h3 {
  margin-bottom: var(--s-5);
  font-size: var(--text-xl);
  letter-spacing: -0.02em;
}
.why-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.why-col li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  font-size: var(--text-base);
  line-height: 1.45;
}
.check,
.cross {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex: none;
  margin-top: 1px;
}
.why-col-muted {
  background: var(--surface);
  color: var(--text-muted);
}
.why-col-muted .cross {
  background: #f1dcd2;
  color: #a03d18;
}
.why-col-accent {
  background: var(--dark);
  color: var(--surface);
  border-color: var(--dark);
}
.why-col-accent h3 {
  color: var(--white);
}
.why-col-accent .check {
  background: var(--accent);
  color: var(--white);
}

@media (max-width: 760px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== Pricing ==================== */
.pricing {
  padding: clamp(64px, 10vw, 128px) 0;
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  max-width: 880px;
  margin: 0 auto;
}
.plans-3 {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1100px;
}
.plan {
  position: relative;
  padding: var(--s-7);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.plan header {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.plan-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.plan-tag {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--border);
}
.plan-price strong {
  font-family: var(--font-display);
  font-size: clamp(36px, 3vw + 20px, 52px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price span {
  color: var(--text-muted);
  font-size: var(--text-sm);
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.plan-features li {
  position: relative;
  padding-left: 26px;
  font-size: var(--text-sm);
  color: var(--text);
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan-featured {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--surface);
}
.plan-featured .plan-name {
  color: var(--accent-soft);
}
.plan-featured .plan-tag,
.plan-featured .plan-price span,
.plan-featured .plan-features li {
  color: #c9d6d7;
}
.plan-featured .plan-price strong {
  color: var(--white);
}
.plan-featured .plan-price {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.plan-featured .plan-features li::before {
  border-color: var(--accent-soft);
}
.plan-featured .btn-primary {
  background: var(--accent-soft);
  color: var(--dark);
}
.plan-featured .btn-primary:hover {
  background: #c2dadd;
}
.plan-badge {
  position: absolute;
  top: -14px;
  right: var(--s-6);
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-xs);
  margin-top: var(--s-5);
}

@media (max-width: 960px) {
  .plans-3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* ==================== FAQ ==================== */
.faq {
  padding: clamp(64px, 10vw, 128px) 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5) var(--s-6);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  color: var(--text);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin-top: var(--s-4);
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ==================== Waitlist ==================== */
.waitlist {
  padding: clamp(64px, 10vw, 128px) 0;
  background: var(--dark);
  color: var(--surface);
  position: relative;
  overflow: hidden;
}
.waitlist::before {
  content: '';
  position: absolute;
  inset: auto -20% -40% 30%;
  height: 520px;
  background: radial-gradient(closest-side, rgba(14, 140, 130, 0.35), transparent 70%);
  pointer-events: none;
}
.waitlist-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.waitlist h2 {
  color: var(--white);
  letter-spacing: -0.028em;
  margin-bottom: var(--s-5);
}
.waitlist-sub {
  color: #c9d6d7;
  font-size: var(--text-lg);
  line-height: 1.5;
  max-width: 52ch;
  margin-bottom: var(--s-6);
}
.waitlist-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.waitlist-perks li {
  position: relative;
  padding-left: 30px;
  color: #d7e0e1;
  font-size: var(--text-base);
  line-height: 1.5;
}
.waitlist-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 18px;
  height: 2px;
  background: var(--accent-soft);
  border-radius: 2px;
}

.waitlist-counter {
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-5);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  max-width: 480px;
}
.waitlist-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.waitlist-counter-text {
  color: var(--white);
  font-size: var(--text-base);
  line-height: 1.3;
}
.waitlist-counter-text strong {
  color: var(--white);
  font-size: var(--text-xl, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-right: 6px;
}
.waitlist-counter-goal {
  color: #c9d6d7;
  font-weight: 500;
}
.waitlist-counter-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.waitlist-progress {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.waitlist-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-soft, #E5F3F1), var(--accent, #0E8C82));
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.waitlist-form {
  background: var(--dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--s-7);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  box-shadow: var(--shadow-lg);
}
.waitlist-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.waitlist-form input,
.waitlist-form select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  letter-spacing: normal;
  text-transform: none;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}
.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.waitlist-form input:focus,
.waitlist-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(14, 140, 130, 0.12);
}
.waitlist-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'><path d='M1 1l6 6 6-6' stroke='%23D9E8E9' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.waitlist-form .btn-primary {
  background: var(--accent-soft);
  color: var(--dark);
  padding: 16px 20px;
  font-size: var(--text-base);
}
.waitlist-form .btn-primary:hover {
  background: #c2dadd;
}
.form-note {
  font-size: var(--text-xs);
  color: #9ab0b2;
  text-align: center;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 400;
}
.form-success {
  background: rgba(14, 140, 130, 0.22);
  border: 1px solid var(--accent);
  color: var(--accent-soft);
  padding: var(--s-4);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 500;
}
.form-success strong {
  color: var(--white);
  display: inline-block;
  margin-right: 6px;
}

@media (max-width: 900px) {
  .waitlist-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== Footer ==================== */
.site-footer {
  background: #0a1517;
  color: #b8c4c5;
  padding: var(--s-9) 0 var(--s-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .brand {
  color: var(--accent);
  margin-bottom: var(--s-4);
}
.footer-brand .brand-name {
  color: var(--white);
}
.footer-tagline {
  color: #8a9a9b;
  font-size: var(--text-sm);
  line-height: 1.55;
  max-width: 36ch;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--s-4);
  letter-spacing: 0.04em;
}
.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: #8a9a9b;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover {
  color: var(--accent-soft);
}
.footer-bottom {
  padding-top: var(--s-5);
  font-size: var(--text-xs);
  color: #667778;
  text-align: center;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   v26 — Polish UX : focus accessible, transitions cohérentes
   ========================================================= */

/* Focus visible — un anneau accent souple sur tous les éléments interactifs */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Boutons : transition uniforme + suppression du jump qui pouvait apparaître au focus */
.btn,
.btn-sm {
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:active,
.btn-sm:active {
  transform: translateY(0);
}

/* Liens texte : underline subtle au hover (hors header/footer/nav qui ont leurs propres règles) */
.prose a,
.text-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 30%, transparent);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.18s ease, color 0.18s ease;
}
.prose a:hover,
.text-link:hover {
  text-decoration-color: var(--accent);
}

/* Inputs : focus ring cohérent partout */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 140, 130, 0.12);
}

/* Cartes : élévation subtile au hover quand cliquable */
.card-hover,
a.card,
button.card {
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card-hover:hover,
a.card:hover,
button.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Sélection texte : couleur de marque */
::selection {
  background: var(--accent-soft);
  color: var(--accent-strong, var(--text));
}
