/* ===========================
   Petit Lecteur — Feuille de style
   =========================== */

:root {
  --creme:    #FFFDF9;
  --creme-2:  #FFF8EE;
  --ambre:    #F5A623;
  --ambre-2:  #E8941A;
  --vert:     #4CAF50;
  --vert-2:   #43A047;
  --texte:    #2D2D2D;
  --texte-2:  #555555;
  --gris:     #F0EDE8;
  --gris-2:   #D8D3CC;
  --blanc:    #FFFFFF;
  --ombre:    0 4px 20px rgba(0,0,0,0.08);
  --ombre-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius:   16px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--texte);
  background: var(--creme);
  line-height: 1.6;
  font-size: 16px;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p  { color: var(--texte-2); }

a { color: inherit; text-decoration: none; }

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

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ── Boutons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--ombre-lg); }
.btn-primary { background: var(--vert); color: white; }
.btn-primary:hover { background: var(--vert-2); }
.btn-secondary { background: var(--ambre); color: white; }
.btn-secondary:hover { background: var(--ambre-2); }
.btn-outline { background: transparent; color: var(--texte); border: 2px solid var(--gris-2); }
.btn-outline:hover { border-color: var(--ambre); color: var(--ambre); }

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,253,249,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gris);
  padding: 16px 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--texte);
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--ambre);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
nav { display: flex; align-items: center; gap: 32px; }
nav a {
  color: var(--texte-2);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}
nav a:hover { color: var(--ambre); }
nav .nav-cta {
  background: var(--ambre);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
}
nav .nav-cta:hover { background: var(--ambre-2); color: white; }

/* ── Hero ── */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg, var(--creme) 0%, var(--creme-2) 100%);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-label {
  display: inline-block;
  background: var(--ambre);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; }
.hero p {
  font-size: 1.15rem;
  color: var(--texte-2);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Badge App Store SVG */
.app-store-badge {
  display: inline-block;
  transition: transform 0.15s, opacity 0.15s;
}
.app-store-badge:hover { transform: translateY(-2px); opacity: 0.9; }

.hero-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--texte-2);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* iPhone frame */
.iphone-frame {
  position: relative;
  width: 280px;
  margin: 0 auto;
}
.iphone-outer {
  background: #1a1a1a;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.1);
}
.iphone-inner {
  background: #000;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}
.iphone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 20px 20px;
  z-index: 2;
}
.iphone-inner img {
  width: 100%;
  display: block;
  border-radius: 34px;
}

/* ── Steps (Comment ça marche) ── */
.steps { background: var(--blanc); }
.steps .section-header { text-align: center; margin-bottom: 60px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ambre) 0, var(--ambre) 8px, transparent 8px, transparent 16px);
}
.step { text-align: center; position: relative; }
.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--ambre);
  color: white;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(245,166,35,0.4);
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }

/* ── Features ── */
.features { background: var(--creme-2); }
.features .section-header { text-align: center; margin-bottom: 60px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--ombre);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--ombre-lg); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--gris);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }

/* ── Trust banner ── */
.trust {
  background: var(--ambre);
  color: white;
  padding: 32px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
}
.trust-item p { color: white; }

/* ── Pricing ── */
.pricing { background: var(--blanc); }
.pricing .section-header { text-align: center; margin-bottom: 60px; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}
.pricing-card {
  border: 2px solid var(--gris);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--ambre);
  box-shadow: 0 4px 24px rgba(245,166,35,0.2);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--ambre);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-price {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  font-weight: bold;
  color: var(--texte);
  margin: 16px 0 4px;
}
.pricing-price span { font-size: 1rem; font-weight: normal; color: var(--texte-2); }
.pricing-desc { font-size: 0.95rem; margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--texte-2);
  border-bottom: 1px solid var(--gris);
}
.pricing-features li:last-child { border-bottom: none; }
.check { color: var(--vert); font-size: 1rem; flex-shrink: 0; }

/* ── Footer ── */
footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: white;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--ambre); }
.footer-copy { font-size: 0.85rem; }

/* ── Section header helper ── */
.section-header .eyebrow {
  display: inline-block;
  background: var(--gris);
  color: var(--ambre);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ── Support page ── */
.support-hero {
  background: linear-gradient(160deg, var(--creme) 0%, var(--creme-2) 100%);
  padding: 60px 0;
  text-align: center;
}
.support-hero h1 { margin-bottom: 12px; }
.support-hero p { font-size: 1.1rem; max-width: 500px; margin: 0 auto; }

.faq { background: var(--blanc); }
.faq .section-header { text-align: center; margin-bottom: 48px; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details {
  border: 1.5px solid var(--gris);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
details[open] { border-color: var(--ambre); }
summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--blanc);
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--ambre);
  font-weight: 300;
  transition: transform 0.2s;
}
details[open] summary::after { content: '−'; }
.faq-answer {
  padding: 0 24px 18px;
  color: var(--texte-2);
  font-size: 0.95rem;
  line-height: 1.7;
  background: var(--blanc);
}

.privacy { background: var(--creme-2); }
.privacy .section-header { margin-bottom: 40px; }
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.privacy-item {
  background: var(--blanc);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}
.privacy-item .icon { font-size: 2rem; margin-bottom: 12px; }
.privacy-item h3 { font-size: 1rem; margin-bottom: 6px; }

.contact-section { background: var(--blanc); text-align: center; }
.contact-section .section-header { margin-bottom: 24px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ambre);
  border: 2px solid var(--ambre);
  padding: 14px 32px;
  border-radius: 50px;
  transition: background 0.15s, color 0.15s;
}
.contact-email:hover { background: var(--ambre); color: white; }

/* ── Legal pages ── */
.legal-page { max-width: 720px; margin: 0 auto; }
.legal-page h2 { margin-top: 48px; margin-bottom: 16px; }
.legal-page h3 { margin-top: 24px; margin-bottom: 8px; font-family: Georgia, serif; }
.legal-page p { margin-bottom: 12px; line-height: 1.8; }
.legal-page ul { list-style: disc; padding-left: 24px; margin: 12px 0; }
.legal-page li { margin-bottom: 8px; line-height: 1.7; color: var(--texte-2); }
.legal-page strong { color: var(--texte); }
.legal-date { font-weight: 600; margin-top: 32px; }
.legal-accept { border-top: 1px solid var(--gris); margin-top: 24px; padding-top: 24px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  section { padding: 56px 0; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero p { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-note { justify-content: center; }
  .iphone-frame { width: 220px; }

  nav { gap: 16px; }
  nav a:not(.nav-cta) { display: none; }

  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }

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

  .trust-items { gap: 24px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

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