/* Potini landing — BRAND.md tokens */
:root {
  --primary: #14b8a6;
  --primary-deep: #0d9488;
  --accent: #f97316;
  --bg-dark: #111827;
  --bg-surface: #1f2937;
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --border: #374151;
  --success: #22c55e;
  --radius: 16px;
  --radius-btn: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.logo {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

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

a:hover {
  color: var(--primary-deep);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Coming soon — visible pendant le déploiement infra */
.coming-soon-banner {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.18) 0%, rgba(249, 115, 22, 0.12) 100%);
  border-bottom: 1px solid rgba(20, 184, 166, 0.35);
  padding: 10px 0;
}

.coming-soon-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 0.9rem;
  color: var(--text);
}

.coming-soon-inner p {
  margin: 0;
  color: var(--text-muted);
}

.coming-soon-inner a {
  color: var(--primary);
  font-weight: 600;
}

.coming-soon-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: #042f2e;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(17, 24, 39, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-btn);
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 16px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 34ch;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 16px;
  max-width: 420px;
}

.hero-cta .waitlist-ok {
  margin: 0;
  text-align: left;
}

.btn-hero {
  font-size: 1.1rem;
  padding: 16px 28px;
  min-width: 200px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.35);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text-muted);
  font-size: 0.8rem;
  min-width: 0;
  cursor: default;
  user-select: none;
}

.store-badge strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.store-badge.soon {
  opacity: 0.65;
}

.store-badge svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.hero-note {
  font-size: 0.85rem;
  margin: 0;
}

.hero-visual {
  position: relative;
}

.phone-shot {
  margin: 0;
  max-width: 280px;
  margin-inline: auto;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 0 1px rgba(20, 184, 166, 0.15);
  background: var(--bg-surface);
}

.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-mock {
  background: var(--bg-surface);
  border-radius: 28px;
  border: 1px solid var(--border);
  padding: 12px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(20, 184, 166, 0.15);
  max-width: 300px;
  margin-inline: auto;
}

.waitlist-pill-hero {
  margin: 0 0 4px;
  max-width: 420px;
}

.mock-app-name {
  margin: 0 0 14px;
  text-align: center;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.mock-task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
}

.mock-task-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.mock-task-label {
  margin: 0;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-task-title {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.mock-task-cta {
  margin-left: auto;
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #042f2e;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: "Nunito", system-ui, sans-serif;
  white-space: nowrap;
}

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

.waitlist-block {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-block h2 {
  margin: 0 0 12px;
}

.waitlist-lead {
  margin: 0 0 28px !important;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Pill : champ + bouton dans un seul cadre teal */
.waitlist-pill {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 480px;
  margin: 0 auto 14px;
  padding: 6px;
  gap: 6px;
  background: #0b1220;
  border: 1px solid rgba(20, 184, 166, 0.45);
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(20, 184, 166, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 48px rgba(20, 184, 166, 0.12);
}

.waitlist-honey {
  display: none !important;
}

.waitlist-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent !important;
  color: var(--text) !important;
  font-size: 1rem;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none !important;
}

.waitlist-input::placeholder {
  color: #6b7280;
}

.waitlist-input:focus {
  outline: none;
}

/* Chrome / Safari autofill = fond blanc → forcer dark */
.waitlist-input:-webkit-autofill,
.waitlist-input:-webkit-autofill:hover,
.waitlist-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f9fafb !important;
  -webkit-box-shadow: 0 0 0 1000px #0b1220 inset !important;
  transition: background-color 99999s ease-in-out 0s;
  caret-color: #f9fafb;
}

.waitlist-submit {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: #042f2e;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.waitlist-submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.waitlist-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.waitlist-ok {
  color: var(--success);
  font-weight: 600;
  margin: 0 0 10px;
}

.waitlist-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 560px) {
  .waitlist-pill {
    flex-direction: column;
    border-radius: 20px;
    padding: 10px;
  }

  .waitlist-input,
  .waitlist-submit {
    width: 100%;
    height: 52px;
    border-radius: 14px;
  }
}

.phone-screen {
  background: var(--bg-dark);
  border-radius: 18px;
  padding: 20px 16px;
  min-height: 380px;
}

.mock-balance {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(13, 148, 136, 0.08));
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}

.mock-balance p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mock-balance .amount {
  font-family: "Nunito", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.mock-row:last-child {
  border-bottom: none;
}

.mock-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Sections */
section {
  padding: 72px 0;
}

.section-label {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
}

.section-lead {
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 0 40px;
}

/* Diff cards */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.diff-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s ease;
}

.diff-card:hover {
  border-color: rgba(20, 184, 166, 0.4);
}

.diff-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.diff-card h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  font-weight: 700;
}

.diff-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: rgba(31, 41, 55, 0.5);
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
}

.feature-item:hover {
  border-color: var(--border);
}

.feature-item span {
  font-size: 1.4rem;
  line-height: 1;
}

.feature-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.feature-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Compare */
.compare {
  background: var(--bg-surface);
  border-block: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.compare-table td:first-child {
  font-weight: 500;
}

.check {
  color: var(--success);
}

.muted {
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 64px 0;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(17, 24, 39, 0) 60%);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 12px;
}

.cta-band p {
  color: var(--text-muted);
  margin: 0 0 28px;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

/* Steps */
.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.aussi-band {
  padding: 64px 0;
  background: rgba(20, 184, 166, 0.04);
  border-block: 1px solid rgba(20, 184, 166, 0.12);
}

.aussi-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  max-width: 36rem;
}

.aussi-list li {
  position: relative;
  padding: 12px 0 12px 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border);
}

.aussi-list li:last-child {
  border-bottom: 0;
}

.aussi-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.aussi-list strong {
  color: var(--text);
  font-weight: 600;
}

.aussi-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.mock-row-owe {
  background: rgba(20, 184, 166, 0.1);
  margin: 0 -4px 4px;
  padding: 12px 12px;
  border-radius: 10px;
  border-bottom: none;
}

.mock-row-owe strong {
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #042f2e;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Guides */
.guides-band {
  padding: 72px 0;
}

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

.guide-card {
  display: block;
  padding: 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.guide-card:hover {
  border-color: var(--primary);
  color: var(--text);
  transform: translateY(-2px);
}

.guide-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--primary);
}

.guide-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 4px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

/* Article / guide pages */
.article-page {
  padding: 48px 0 80px;
}

.article-page .breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-page .breadcrumb a {
  color: var(--text-muted);
}

.article-page .breadcrumb a:hover {
  color: var(--primary);
}

.article-page h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin: 0 0 16px;
}

.article-page .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 32px;
}

.article-page h2 {
  font-size: 1.35rem;
  margin: 36px 0 12px;
}

.article-page h3 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

.article-page p,
.article-page li {
  color: var(--text-muted);
}

.article-page ul,
.article-page ol {
  padding-left: 1.25rem;
}

.article-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-related h2 {
  margin-top: 0;
}

/* Privacy page */
.legal-page {
  padding: 48px 0 80px;
}

.legal-page h1 {
  font-size: 2rem;
  margin: 0 0 8px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
  font-weight: 700;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page a {
  word-break: break-all;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-cta {
    align-items: center;
    max-width: none;
    margin-inline: auto;
  }

  .hero-cta .waitlist-pill-hero {
    max-width: 480px;
    width: 100%;
  }

  .hero-cta .waitlist-ok {
    text-align: center;
  }

  .hero-cta,
  .store-badges {
    justify-content: center;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .guides-grid {
    grid-template-columns: 1fr;
  }
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 48px;
  }
}

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

  .btn:hover {
    transform: none;
  }
}
