@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700;800&display=swap');

:root {
  --bg:      #090a10;
  --bg2:     #0c0d16;
  --panel:   rgba(14, 15, 22, 0.65);
  --border:  rgba(136, 153, 187, 0.20);
  --border2: rgba(136, 153, 187, 0.10);
  --green:   #4de3c8;
  --greenD:  #33b39c;
  --text1:   #e8edf8;
  --text2:   #9aa5bb;
  --text3:   #5a6a82;
  --amber:   #f59e0b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  background: var(--bg);
  color: var(--text1);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 10, 16, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--text1);
}
.logo img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: block;
}
.nav-cta {
  padding: 8px 16px;
  background: rgba(77, 227, 200, 0.10);
  border: 1px solid rgba(77, 227, 200, 0.35);
  border-radius: 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  white-space: nowrap;
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  padding: 88px 0 64px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(77,227,200,0.08) 0%, transparent 60%),
    var(--bg);
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
  color: var(--text1);
  max-width: 780px;
  margin: 0 auto 18px;
}
.hero h1 .accent { color: var(--green); }
.hero p.lead {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 34px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--greenD));
  color: #04200f;
  box-shadow: 0 0 24px rgba(77, 227, 200, 0.25);
}
.btn-ghost {
  background: rgba(136, 153, 187, 0.08);
  border-color: var(--border);
  color: var(--text2);
}

/* ── Sections generic ────────────────────────────── */
section {
  padding: 72px 0;
  border-top: 1px solid var(--border2);
}
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800;
  color: var(--text1);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.section-head p {
  color: var(--text2);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ── Feature detail (image + copy alterné) ────────── */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-detail + .feature-detail {
  margin-top: 72px;
}
.feature-detail.reverse .feature-detail-copy { order: 2; }
.feature-detail.reverse .feature-detail-shot { order: 1; }
.feature-detail-copy .eyebrow { margin-bottom: 16px; }
.ai-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.ai-badge-row .eyebrow { margin-bottom: 0; }
.ai-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}
.feature-detail-copy h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  color: var(--text1);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.feature-detail-copy p {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 18px;
}
.trait-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.trait-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text2);
  background: rgba(136, 153, 187, 0.06);
}
.feature-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-detail-list li {
  font-size: 12.5px;
  color: var(--text2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.feature-detail-list li::before {
  content: "→";
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}
.feature-detail-shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #11131c, #0a0b12);
}
.feature-detail-shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Feature compact (mini-capture large + phrase, en ligne) ── */
.feature-compact {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-compact-shot {
  aspect-ratio: 1.9 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #11131c, #0a0b12);
  border-right: 1px solid var(--border2);
}
.feature-compact img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.feature-compact-body { padding: 20px 26px; }
.feature-compact-body h3 {
  font-size: 15px;
  color: var(--text1);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}
.feature-compact-body p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

/* ── Features (empilement des feature-compact) ───── */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Fondateur ───────────────────────────────────── */
.founder-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-size: 14.5px;
  color: var(--text2);
  line-height: 1.8;
}

/* ── Pricing ─────────────────────────────────────── */
.pricing-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}
.price-card {
  width: 100%;
  max-width: 340px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: center;
}
.price-card.highlight {
  border-color: rgba(77, 227, 200, 0.45);
  box-shadow: 0 0 32px rgba(77, 227, 200, 0.10);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #04200f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-name {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text3);
  margin-bottom: 14px;
}
.price-amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--text1);
  margin-bottom: 2px;
}
.price-amount .per {
  font-size: 13px;
  font-weight: 600;
  color: var(--text3);
}
.price-note {
  font-size: 11.5px;
  color: var(--text3);
  margin-bottom: 22px;
}
.price-old {
  font-size: 15px;
  color: var(--text3);
  text-decoration: line-through;
  margin-right: 8px;
}
.price-list {
  list-style: none;
  text-align: left;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-list li {
  font-size: 12.5px;
  color: var(--text2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.price-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border2);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text3);
  font-size: 12px;
  text-decoration: none;
}
.footer-links a:hover { color: var(--text2); }
.footer-note {
  font-size: 11px;
  color: var(--text3);
}

/* ── Legal pages (privacy.html) ──────────────────── */
.legal {
  padding: 64px 0 80px;
}
.legal h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}
.legal .updated {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 16px;
  color: var(--text1);
  margin: 36px 0 12px;
  letter-spacing: 0.2px;
}
.legal p, .legal li {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.75;
}
.legal ul {
  padding-left: 20px;
  margin: 8px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal a.back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 12px;
  color: var(--text3);
  text-decoration: none;
}
.legal a.back:hover { color: var(--text2); }

/* ── Screenshots agrandissables (lightbox) ────────── */
img.zoomable {
  cursor: zoom-in;
  transition: opacity 0.15s ease;
}
img.zoomable:hover {
  opacity: 0.88;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(5, 6, 10, 0.92);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text1);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { color: var(--green); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 860px) {
  .feature-detail { grid-template-columns: 1fr; gap: 24px; }
  .feature-detail.reverse .feature-detail-copy,
  .feature-detail.reverse .feature-detail-shot { order: initial; }
  .feature-detail + .feature-detail { margin-top: 48px; }
  .feature-compact { grid-template-columns: 1fr; }
  .feature-compact-shot { border-right: none; border-bottom: 1px solid var(--border2); }
}
@media (max-width: 640px) {
  .nav-inner { padding: 14px 20px; }
  .hero { padding: 64px 0 48px; }
  section { padding: 56px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
