/* ========== Lovetale · landing CSS ==========
   Pixel-près à la référence React du handoff (LandHero / LandRomans / LandProof / LandFooter).
   Palette + typo alignées à l'app iOS (Cormorant Garamond + Inter).
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg:           #0A0604;
  --bg-deep:      #1A0E08;
  --text:         #F4EDE2;
  --text-soft:    rgba(244, 237, 226, 0.78);
  --text-muted:   rgba(244, 237, 226, 0.65);
  --text-dim:     rgba(244, 237, 226, 0.40);
  --hairline:     rgba(255, 255, 255, 0.08);

  --accent-ter:    #D4744A;
  --accent-tme:    #5A8FB8;
  --accent-fl:     #B8956A;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========== Helpers ========== */

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent-ter);
}

.text-italic-accent {
  font-style: italic;
  color: var(--accent-ter);
}

/* ========== LD01 · Hero ========== */

.ld-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.ld-hero .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
  z-index: 0;
}

.ld-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(10,6,4,0.95) 0%, rgba(10,6,4,0.6) 50%, rgba(10,6,4,0.85) 100%);
  z-index: 1;
}

.ld-hero .hero-sprite {
  position: absolute;
  bottom: -30px;
  right: -50px;
  height: 90%;
  filter: drop-shadow(-30px 0 60px rgba(0,0,0,0.5));
  z-index: 2;
  pointer-events: none;
}

/* Top nav */

.ld-nav {
  position: absolute;
  top: 36px; left: 64px; right: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.ld-nav .logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--text);
  letter-spacing: -0.5px;
}

.ld-nav .nav-items {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}
.ld-nav .nav-items a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.ld-nav .nav-items a:hover { color: var(--text); }

.btn-cta {
  padding: 10px 22px;
  background: var(--accent-ter);
  border: none;
  border-radius: 100px;
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-cta:hover { opacity: 0.92; transform: translateY(-1px); }

/* Hero content (left-aligned) */

.ld-hero .hero-content {
  position: absolute;
  top: 50%;
  left: 80px;
  right: 80px;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 720px;
}

.ld-hero .hero-content .eyebrow { margin-bottom: 22px; }

.ld-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(54px, 9vw, 96px);
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 22px;
  color: var(--text);
  text-wrap: pretty;
}
.ld-hero h1 em {
  font-style: italic;
  color: var(--accent-ter);
  font-weight: 500;
}

.ld-hero .lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.9vw, 22px);
  color: var(--text-soft);
  line-height: 1.45;
  margin-bottom: 36px;
  max-width: 580px;
  text-wrap: pretty;
}

.ld-hero .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-store {
  padding: 16px 28px;
  background: var(--text);
  border: none;
  border-radius: 100px;
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 12px 32px rgba(244, 237, 226, 0.18);
}
.btn-store:hover { transform: translateY(-1px); box-shadow: 0 18px 40px rgba(244, 237, 226, 0.25); }
.btn-store svg { fill: var(--bg); flex-shrink: 0; }

.btn-store-ghost {
  padding: 16px 28px;
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}
.btn-store-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-store-ghost svg { fill: var(--text); flex-shrink: 0; }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 80px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 10;
}

/* ========== LD02 · Stories ========== */

.ld-stories {
  background: var(--bg);
  padding: 100px 80px;
}

.ld-stories .head { margin-bottom: 48px; }
.ld-stories .head .eyebrow { margin-bottom: 16px; }
.ld-stories .head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1;
  letter-spacing: -2px;
  max-width: 800px;
  text-wrap: pretty;
}
.ld-stories .head h2 em { font-style: italic; color: var(--accent-ter); font-weight: 500; }

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1280px;
}

.story-card {
  position: relative;
  height: 540px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}
.story-card:hover { transform: translateY(-4px); }

.story-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.story-card:hover img { transform: scale(1.04); }

.story-card .grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 70%);
}

.story-card .info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
}

.story-card .genre {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.story-card.ter .genre { color: var(--accent-ter); }
.story-card.tme .genre { color: var(--accent-tme); }
.story-card.fl  .genre { color: var(--accent-fl); }

.story-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.8px;
}

.story-card .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.3;
}

/* ========== LD03 · Proof ========== */

.ld-proof {
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--bg) 100%);
  padding: 100px 80px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.proof-left .eyebrow { margin-bottom: 18px; }
.proof-left .featured-quote {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -1.5px;
  text-wrap: pretty;
  color: var(--text);
}
.proof-left .featured-by {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.proof-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tweet-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left-width: 3px;
  border-radius: 10px;
  padding: 16px 20px;
}
.tweet-card.ter { border-left-color: var(--accent-ter); border-color: rgba(212,116,74,0.20); }
.tweet-card.tme { border-left-color: var(--accent-tme); border-color: rgba(90,143,184,0.20); }
.tweet-card.fl  { border-left-color: var(--accent-fl);  border-color: rgba(184,149,106,0.20); }

.tweet-card .who {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tweet-card.ter .who { color: var(--accent-ter); }
.tweet-card.tme .who { color: var(--accent-tme); }
.tweet-card.fl  .who { color: var(--accent-fl); }

.tweet-card .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.4;
  color: rgba(255,255,255,0.92);
}

/* ========== LD04 · Footer + final CTA ========== */

.ld-footer {
  background: var(--bg);
  padding: 100px 80px 50px;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(212,116,74,0.18) 0%, rgba(122,58,31,0.18) 100%);
  border: 1px solid rgba(212,116,74,0.4);
  border-radius: 18px;
  padding: 60px 56px;
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.cta-banner .text { flex: 1; min-width: 280px; }
.cta-banner h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  text-wrap: pretty;
}
.cta-banner h2 em { font-style: italic; color: var(--accent-ter); font-weight: 500; }

.cta-banner .sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--text-soft);
  line-height: 1.4;
  max-width: 600px;
}

.cta-banner .ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Footer columns */

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--hairline);
}

.footer-brand .logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 14px;
}

.footer-brand .tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 320px;
}

.footer-col .col-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-ter);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.footer-col a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
  flex-wrap: wrap;
  gap: 14px;
}

/* ========== Legal pages ========== */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 28px 100px;
}

.legal h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(36px, 6vw, 52px);
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.legal .eyebrow { margin-bottom: 14px; }
.legal .updated {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 48px;
}
.legal h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-ter);
  margin-top: 40px;
  margin-bottom: 14px;
}
.legal p, .legal li {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.legal ul { padding-left: 22px; margin-bottom: 18px; }
.legal a {
  color: var(--accent-ter);
  text-decoration: underline;
  text-decoration-color: rgba(212,116,74,0.4);
  transition: text-decoration-color 0.2s;
}
.legal a:hover { text-decoration-color: var(--accent-ter); }

.legal .back {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  font-style: italic;
  font-family: var(--serif);
}

/* ========== Responsive ========== */

@media (max-width: 1024px) {
  .ld-stories, .ld-proof, .ld-footer { padding-left: 28px; padding-right: 28px; }
  .stories-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { gap: 48px; }
}

@media (max-width: 720px) {
  .ld-nav { top: 20px; left: 20px; right: 20px; }
  .ld-nav .logo { font-size: 20px; }
  .ld-nav .nav-items { gap: 18px; font-size: 12px; }
  .ld-nav .nav-items a:not(.btn-cta) { display: none; }

  .ld-hero .hero-content { left: 28px; right: 28px; max-width: 100%; transform: translateY(-40%); }
  .ld-hero .hero-sprite { right: -120px; opacity: 0.4; }
  .scroll-cue { left: 28px; bottom: 24px; }

  .ld-stories, .ld-proof, .ld-footer { padding: 64px 20px; }
  .stories-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .story-card { height: 480px; }

  .proof-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner { padding: 40px 28px; flex-direction: column; align-items: stretch; }
  .cta-banner .ctas { flex-direction: row; flex-wrap: wrap; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
