/* ===========================
   JAMAIS DORMI — styles
   Dark theme · Inter + JetBrains Mono
   =========================== */

:root {
  --bg: #0d0d0d;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --border: #222;
  --accent: #38bdf8;
  --accent-dim: rgba(56, 189, 248, 0.12);
  --text: #e8e8e8;
  --text-muted: #666;
  --text-mid: #999;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ---- LANG TOGGLE ---- */
body.lang-fr [data-en] { display: none; }
body.lang-en [data-fr] { display: none; }

/* ---- NAV ---- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.dot { color: var(--accent); }

.lang-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- CONTAINER ---- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- HERO ---- */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.author-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  border: 1px solid rgba(56,189,248,0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 540px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.hero-claim {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ---- WHY ---- */
.why {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.why h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.why-text {
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
  line-height: 1.7;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.profile-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
}

.profile-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.6rem;
  color: var(--accent);
}

.profile-icon svg {
  width: 28px;
  height: 28px;
}

.profile-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.profile-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---- STATS ---- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 160px;
  max-width: 220px;
}

.stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.testimonials h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.testimonial-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

/* ---- PREVIEW / MOCKUPS ---- */
.preview {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.preview h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-align: center;
}

.preview-intro {
  color: var(--text-mid);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-size: 0.95rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.preview-card { text-align: center; }

.preview-mockup {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.8rem;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.mockup-body {
  padding: 1rem;
  text-align: left;
  min-height: 180px;
}

.mockup-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.mockup-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.mockup-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.mockup-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  margin-bottom: 0.3rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--text-mid);
}

.mockup-radio {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  flex-shrink: 0;
}

.mockup-radio.selected {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 2px var(--bg2);
}

.mockup-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-mid);
  margin-bottom: 0.3rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.6rem;
  font-weight: 600;
  flex-shrink: 0;
}

.mockup-protocol { display: flex; flex-direction: column; gap: 0.3rem; }

.proto-night {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.proto-night.done {
  border-color: rgba(56,189,248,0.2);
  background: rgba(56,189,248,0.05);
}

.proto-night.active {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--text);
}

.proto-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--accent);
  min-width: 22px;
}

.proto-label { font-size: 0.7rem; }

.preview-label {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ---- OFFERS ---- */
.offers {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.offers h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.offers-grid.single {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

.offer-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  position: relative;
}

.offer-card.featured {
  border-color: var(--accent);
  background: var(--bg3);
  transform: scale(1.03);
}

.offer-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.offer-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.offer-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.offer-features {
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-mid);
}

.offer-features li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.offer-features li:last-child { border-bottom: none; }

.offer-features li::before {
  content: '✓ ';
  color: var(--accent);
  font-weight: 600;
}

.btn-offer {
  display: block;
  text-align: center;
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-offer:hover {
  background: var(--accent);
  color: #000;
}

.offer-card.featured .btn-offer {
  background: var(--accent);
  color: #000;
}

.offer-card.featured .btn-offer:hover {
  opacity: 0.85;
}

.guarantee {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.offer-price-note {
  font-size: 0.78rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 1.2rem;
}

.guarantee-box {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--accent-dim);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  max-width: 500px;
  margin: 1.5rem auto;
}

.guarantee-box svg { flex-shrink: 0; margin-top: 2px; }

.guarantee-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.guarantee-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.offer-geo-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.offer-geo-note a {
  color: var(--accent);
}

/* ---- DISCLAIMER ---- */
.disclaimer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.disclaimer p {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- FOOTER ---- */
footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- RESPONSIVE ---- */
/* ---- MENTIONS ---- */
.mentions {
  padding: 4rem 0 2rem;
}

.mentions h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.mentions h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.mentions p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.mentions a {
  color: var(--accent);
  text-decoration: none;
}

.mentions a:hover { text-decoration: underline; }

/* ---- FOOTER LINK ---- */
footer a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
footer a:hover { color: var(--accent); }

@media (max-width: 700px) {
  .profiles-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: 1fr; }
  .offers-grid.single { max-width: 100%; }
  .offer-card.featured { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .stats-row { flex-direction: column; align-items: center; }
  nav { padding: 1rem; }
}
