/* Marketing landing page — reuses css/styles.css for palette/fonts/reset,
   this file only adds landing-specific layout. */

body.landing {
  overflow-x: hidden;
}

.landing a {
  text-decoration: none;
}

.landing section h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-align: center;
  margin: 0 0 32px;
}

/* ---------- Header ---------- */

.l-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 244, 236, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--silver-200);
}

.l-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.l-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.l-brand-mark {
  width: 26px;
  height: 26px;
  color: var(--brand-600);
}

.l-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
}

.l-nav {
  display: none;
  gap: 22px;
  flex: 1;
}

.l-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.l-nav a:hover {
  color: var(--brand-600);
}

.l-header-cta {
  margin-left: auto;
  width: auto;
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* ---------- Hero ---------- */

.l-hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.l-hero-text {
  text-align: center;
}

.l-badge {
  display: inline-block;
  background: var(--brand-bg);
  color: var(--brand-700);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.l-hero-text h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 18px;
}

.l-gradient-text {
  background: var(--gradient-stats);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.l-hero-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto 26px;
}

.l-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  margin: 0 auto;
}

.l-trust-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.l-trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
}

.l-trust-list svg {
  width: 18px;
  height: 18px;
  color: var(--green-500);
  flex-shrink: 0;
}

/* ---------- Hero phone mockup ---------- */

.l-hero-visual {
  display: flex;
  justify-content: center;
}

.l-phone {
  width: 260px;
  border-radius: 34px;
  background: #10131a;
  padding: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.l-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 16px;
  background: #10131a;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.l-phone-screen {
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
  padding-bottom: 14px;
}

.l-mock-topbar {
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 14px 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.l-mock-topbar-icon {
  width: 18px;
  height: 18px;
}

.l-mock-stats {
  background: var(--gradient-stats);
  margin: 12px 12px 0;
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  color: #fff;
}

.l-mock-stats > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.l-mock-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.l-mock-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.l-mock-quick {
  display: flex;
  gap: 10px;
  padding: 12px;
}

.l-mock-quick-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.l-mock-quick-icon svg {
  width: 16px;
  height: 16px;
}

.l-mock-card {
  margin: 0 12px 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.l-mock-card svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.l-mock-card-win {
  background: var(--gold-bg);
  color: var(--gold-700);
}

.l-mock-card-lose {
  background: var(--silver-100);
  color: var(--muted);
}

/* ---------- Steps ---------- */

.l-steps {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px;
}

.l-steps-grid {
  display: grid;
  gap: 20px;
}

.l-step {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 20px;
  text-align: center;
  position: relative;
}

.l-step-num {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--brand-600);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--brand-bg);
  color: var(--brand-600);
  margin: 8px auto 14px;
}

.l-step-icon svg {
  width: 22px;
  height: 22px;
}

.l-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 8px;
}

.l-step p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Features ---------- */

.l-features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.l-features-grid {
  display: grid;
  gap: 16px;
}

.l-feature {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.l-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #fff;
  margin-bottom: 14px;
}

.l-feature-icon svg {
  width: 19px;
  height: 19px;
}

.l-feature h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin: 0 0 6px;
}

.l-feature p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Games ---------- */

.l-games {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 50px;
  text-align: center;
}

.l-games-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.l-games-list li {
  background: var(--brand-bg);
  color: var(--brand-700);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 8px 16px;
  border-radius: 999px;
}

.l-games-note {
  color: var(--muted);
  font-size: 0.86rem;
  max-width: 480px;
  margin: 0 auto;
}

.l-steps .l-games-note {
  margin: -16px auto 24px;
}

/* ---------- TRJ table ---------- */

.l-trj {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 50px;
  text-align: center;
}

.l-trj-table-wrap {
  overflow-x: auto;
  margin: 24px 0 16px;
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.l-trj-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 0.86rem;
  text-align: left;
  white-space: nowrap;
}

.l-trj-table th,
.l-trj-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--silver-200);
  font-variant-numeric: tabular-nums;
}

.l-trj-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: var(--brand-bg);
  position: sticky;
  top: 0;
}

.l-trj-table td:first-child {
  font-weight: 600;
  color: var(--ink, inherit);
}

.l-trj-table td strong {
  color: var(--brand-700);
}

.l-trj-table tbody tr:last-child td {
  border-bottom: none;
}

.l-trj-table tbody tr:hover {
  background: var(--brand-bg);
}

/* ---------- Quiz ---------- */

.l-quiz {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 20px 50px;
  text-align: center;
}

.l-quiz-card {
  background: var(--card);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  margin-top: 24px;
}

.l-quiz-question {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 20px;
}

.l-quiz-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.l-quiz-option {
  border: 1.5px solid var(--silver-200);
  background: var(--brand-bg);
  color: var(--brand-700);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.l-quiz-option:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.l-quiz-result {
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-brand);
  padding: 32px 24px;
  margin-top: 24px;
  color: #fff;
}

.l-quiz-result-label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  opacity: 0.85;
  margin: 0 0 4px;
}

.l-quiz-result h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0 0 20px;
}

.l-quiz-result-stats {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
}

.l-quiz-result-stats span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}

.l-quiz-result-stats small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.85;
  margin-top: 2px;
}

.l-quiz-result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.l-quiz-result-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: transparent;
}

/* ---------- Simulateur ---------- */

.l-simulator {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 20px 50px;
  text-align: center;
}

.l-sim-field {
  text-align: left;
  margin-bottom: 16px;
}

.l-sim-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.l-sim-field label strong {
  color: var(--brand-700);
}

#sim-game,
#sim-duration {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--silver-200);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--card);
}

.l-sim-range {
  width: 100%;
  accent-color: var(--brand-600);
}

.l-sim-result {
  background: var(--card);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-top: 20px;
}

.l-sim-result-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.l-sim-result-grid span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.l-sim-result-grid span.negative {
  color: #b3261e;
}

.l-sim-result-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 2px;
}

.l-sim-result-loss {
  flex-basis: 100%;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid var(--silver-200);
}

.l-sim-disclaimer {
  margin-top: 24px;
  padding: 14px 18px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: var(--radius-sm);
  color: #7c2d12;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: left;
}

/* ---------- Blog ---------- */

.l-blog-index {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: center;
}

.l-blog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
  text-align: left;
}

.l-blog-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.l-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 12, 34, 0.1);
}

.l-blog-card-date {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.l-blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.l-blog-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 10px;
}

.l-blog-card-link {
  color: var(--brand-600);
  font-weight: 600;
  font-size: 0.88rem;
}

.l-blog-post {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.l-blog-back {
  color: var(--brand-600);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.l-blog-post h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  margin: 10px 0 4px;
  text-wrap: balance;
}

.l-blog-content {
  margin-top: 24px;
  line-height: 1.7;
  font-size: 1rem;
}

.l-blog-content h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 32px 0 12px;
}

.l-blog-content p {
  margin: 0 0 16px;
  color: var(--ink, inherit);
}

.l-blog-content ul,
.l-blog-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.l-blog-content li {
  margin-bottom: 6px;
}

.l-blog-content strong {
  color: var(--brand-700);
}

.l-blog-content em {
  color: var(--muted);
}

.l-blog-content a {
  color: var(--brand-600);
}

/* ---------- FAQ ---------- */

.l-faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 20px 60px;
  text-align: center;
}

.l-faq-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.l-faq-item {
  background: var(--card);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.l-faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.l-faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brand-600);
  flex-shrink: 0;
}

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

.l-faq-item p {
  margin: 12px 0 2px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.l-faq-item p a {
  color: var(--brand-600);
}

.l-legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.l-legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 6px;
}

.l-legal .l-legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.l-legal h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 36px 0 10px;
}

.l-legal p,
.l-legal li {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.l-legal p {
  margin: 0 0 12px;
}

.l-legal ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.l-legal a {
  color: var(--brand-600);
}

.l-legal strong {
  color: var(--ink);
}

/* ---------- CTA banner ---------- */

.l-cta-banner {
  background: var(--gradient-stats);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.l-cta-banner h2 {
  color: #fff;
  margin-bottom: 8px;
}

.l-cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 26px;
}

.l-cta-banner-btn {
  max-width: 280px;
  margin: 0 auto;
  background: #fff;
  color: var(--brand-700);
  box-shadow: none;
}

/* ---------- Footer ---------- */

.l-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px 50px;
  text-align: center;
}

.l-footer .l-brand {
  justify-content: center;
  margin-bottom: 10px;
}

.l-footer p {
  color: var(--muted);
  font-size: 0.84rem;
  margin: 0 0 6px;
}

.l-footer-copy {
  font-size: 0.76rem;
  color: var(--silver-400);
}

.l-footer-copy a {
  color: inherit;
  text-decoration: underline;
}

/* ---------- Responsive ---------- */

@media (min-width: 720px) {
  .l-nav {
    display: flex;
  }

  .l-hero {
    flex-direction: row;
    text-align: left;
    padding-top: 70px;
  }

  .l-hero-text {
    text-align: left;
    flex: 1;
  }

  .l-hero-text p {
    margin: 0 0 26px;
  }

  .l-hero-actions {
    flex-direction: row;
    margin: 0;
  }

  .l-trust-list {
    align-items: flex-start;
  }

  .l-hero-visual {
    flex: 1;
  }

  .l-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .l-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 600px) {
  .l-hero-actions {
    flex-direction: row;
  }
}
