/* ========== 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&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:           #05070C;
  --bg-deep:      #0C1422;
  --accent:       #8FB0DC;
  --accent-deep:  #6789B8;
  --amber:        #D8B57A;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --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;
  --accent-dis:    #6789B8;
  --accent-sct:    #A855F7;

  --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(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-deep);
}

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

/* ========== LD01 · Hero (direction « téléphone trouvé ») ========== */

.ld-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(120% 90% at 75% 40%, #101a2b 0%, #070a12 55%, #04060b 100%);
  display: flex;
  flex-direction: column;
}

/* Top nav */

.ld-nav {
  position: relative;
  padding: 34px 64px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.logo b {
  font-weight: inherit;
  color: var(--amber);
  text-shadow: 0 0 18px rgba(216, 181, 122, 0.45);
}

.ld-nav .logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  color: #EDE5D3;
  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(--text);
  border: none;
  border-radius: 100px;
  color: var(--bg) !important;
  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); }

/* Texte à gauche, téléphone à droite */

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 60px;
  padding: 40px 150px 90px 80px;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}

.ld-hero .hero-content { max-width: 640px; }

.ld-hero .hero-content .eyebrow { margin-bottom: 24px; display: flex; align-items: center; }
.ld-hero .rec {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #E0524A;
  box-shadow: 0 0 10px #E0524A;
  margin-right: 10px;
  animation: rec 1.6s ease-in-out infinite;
}
@keyframes rec { 50% { opacity: 0.25; } }

.ld-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
  text-wrap: balance;
}
.ld-hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.ld-hero .lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 1.9vw, 23px);
  color: var(--text-soft);
  line-height: 1.4;
  margin-bottom: 34px;
  max-width: 520px;
  text-wrap: pretty;
}

.ld-hero .actions {
  display: flex;
  gap: 12px;
  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(143, 176, 220, 0.14);
}
.btn-store:hover { transform: translateY(-1px); box-shadow: 0 18px 40px rgba(143, 176, 220, 0.22); }
.btn-store svg { fill: var(--bg); flex-shrink: 0; }

/* Téléphone verrouillé */

.phone {
  position: relative;
  display: block;
  width: 330px;
  height: 680px;
  border-radius: 52px;
  background: #000;
  border: 2px solid #2a3140;
  box-shadow: 0 0 0 9px #0c0f16, 0 0 0 10px #262c3a, 0 50px 120px rgba(0,0,0,0.8), 0 0 140px rgba(103,137,184,0.18);
  overflow: hidden;
  transform: rotate(3deg);
  color: #fff;
}
.phone > span { display: block; }
.phone .wall {
  position: absolute; inset: 0;
  background: url(assets/cover_disparue.webp) center / cover;
  filter: brightness(0.8);
}
.phone .wall::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(4,6,11,0.5), rgba(4,6,11,0.15) 40%, rgba(4,6,11,0.75));
}
.phone .island {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 104px; height: 30px;
  border-radius: 20px;
  background: #000;
  z-index: 3;
}
.phone .lk {
  position: absolute;
  top: 74px; left: 0; right: 0;
  text-align: center;
  z-index: 2;
}
.phone .lk > span { display: block; }
.phone .date {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.phone .time {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 86px;
  line-height: 1;
  letter-spacing: -2px;
  margin-top: 6px;
}
.phone .lk .count {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(143,176,220,0.5);
  border-radius: 6px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #b9cdea;
  background: rgba(7,10,18,0.5);
  font-variant-numeric: tabular-nums;
}
.phone .notifs {
  position: absolute;
  left: 14px; right: 14px; bottom: 84px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 2;
}
.phone .n {
  display: block;
  background: rgba(28,36,52,0.78);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 12px 14px;
  animation: notif 0.5s cubic-bezier(.2,.8,.2,1) both;
}
.phone .n1 { animation-delay: 0.6s; }
.phone .n2 { animation-delay: 1.8s; }
.phone .n3 {
  animation-delay: 3.2s;
  border-color: rgba(143,176,220,0.55);
  box-shadow: 0 0 30px rgba(103,137,184,0.35);
}
@keyframes notif { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
.phone .n .h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 3px;
}
.phone .n .h small { font-weight: 400; font-size: 11px; color: rgba(255,255,255,0.5); }
.phone .n .p { display: block; font-size: 13px; color: rgba(255,255,255,0.82); line-height: 1.3; }
.phone .sw {
  position: absolute;
  bottom: 30px; left: 0; right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  z-index: 2;
}
.phone .bar {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.7);
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .phone .n, .ld-hero .rec { animation: none; }
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 80px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(244,237,226,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); font-weight: 500; }
.ld-stories .head .sub {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
  color: var(--text-soft);
  max-width: 620px;
  text-wrap: pretty;
}
.ld-stories .head .sub em { color: var(--accent); }

.stories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1480px;
}

.story-card {
  position: relative;
  display: block;
  color: var(--text);
  height: 520px;
  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: 22px;
}

.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.dis .genre { color: var(--accent-dis); }
.story-card.sct .genre { color: var(--accent-sct); }

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

.story-card .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  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(103,137,184,0.20) 0%, rgba(30,48,84,0.20) 100%);
  border: 1px solid rgba(143,176,220,0.35);
  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); 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);
  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);
  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);
  text-decoration: underline;
  text-decoration-color: rgba(143,176,220,0.4);
  transition: text-decoration-color 0.2s;
}
.legal a:hover { text-decoration-color: var(--accent); }

.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; }
  .ld-game { padding-left: 28px; padding-right: 28px; }
  .proof-grid { gap: 48px; }
}

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

  .scroll-cue { display: none; }

  .ld-stories, .ld-proof, .ld-footer { padding: 64px 20px; }
  .stories-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 0 20px 14px;
    scrollbar-width: none;
  }
  .stories-grid::-webkit-scrollbar { display: none; }
  .story-card { flex: 0 0 76%; max-width: 320px; height: 460px; scroll-snap-align: center; }

  .ld-game { padding: 64px 20px; }
  .game-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    align-items: flex-end;
    margin: 0 -20px;
    padding: 0 20px 14px;
    scrollbar-width: none;
  }
  .game-grid::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 62%; max-width: 260px; scroll-snap-align: center; }

  .ld-hero .free-note { margin-top: 14px; }

  .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; }
}

/* ========== Ajouts novembre 2026 ========== */

/* Un seul bouton de store sur téléphone : celui de l'appareil */
.is-ios .store-android,
.is-android .store-ios { display: none; }

.ld-hero .free-note {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* Grille des histoires : 5 colonnes sur grand écran, 3 sur écran moyen */
@media (min-width: 721px) and (max-width: 1180px) {
  .stories-grid { grid-template-columns: repeat(3, 1fr); }
  .story-card { height: 460px; }
}

/* Section « Dans le jeu » */
.ld-game {
  background: linear-gradient(200deg, var(--bg-deep) 0%, var(--bg) 70%);
  padding: 100px 80px;
}
.ld-game .head { margin-bottom: 48px; }
.ld-game .head .eyebrow { margin-bottom: 16px; }
.ld-game .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-game .head h2 em { font-style: italic; color: var(--accent); font-weight: 500; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1080px;
  align-items: end;
}
.shot .frame img { width: 100%; height: auto; }
/* Téléphones coupés par le bas de la capture : fondu au lieu d'une coupe nette */
.shot .frame img {
  -webkit-mask-image: linear-gradient(to right, transparent 2%, #000 9%, #000 91%, transparent 98%), linear-gradient(to bottom, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 2%, #000 9%, #000 91%, transparent 98%), linear-gradient(to bottom, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.shot.cut .frame img {
  -webkit-mask-image: linear-gradient(to right, transparent 2%, #000 9%, #000 91%, transparent 98%), linear-gradient(to bottom, #000 80%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 2%, #000 9%, #000 91%, transparent 98%), linear-gradient(to bottom, #000 80%, transparent 100%);
}
.shot figcaption {
  margin-top: 14px;
  min-height: 2.6em;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text-soft);
  text-wrap: pretty;
}
@media (min-width: 721px) and (max-width: 1024px) {
  .game-grid { gap: 16px; }
  .shot figcaption { font-size: 16px; }
}

/* Avis : note du store */
.proof-left .rating {
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-muted);
}
.proof-left .rating strong { color: var(--text); font-weight: 700; }
.proof-left .rating .stars { color: var(--accent); letter-spacing: 2px; margin-right: 6px; }
.proof-grid.solo { grid-template-columns: 1fr; max-width: 820px; }

/* Choix de langue */
.lang-switch { margin-top: 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.lang-switch button {
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  padding: 6px 12px;
  min-height: 32px;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.on { color: var(--bg); background: var(--text); border-color: var(--text); }

/* En-tête des pages légales */
.nav {
  position: absolute;
  top: 28px; left: 28px; right: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav .logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.5px;
}
.cta-mini {
  padding: 9px 20px;
  background: var(--text);
  border-radius: 100px;
  color: var(--bg);
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .ld-game { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 720px) {
  .ld-game { padding: 64px 20px; }
  .ld-game .head { margin-bottom: 32px; }
  .game-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    align-items: flex-end;
    margin: 0 -20px;
    padding: 0 20px 14px;
    scrollbar-width: none;
  }
  .game-grid::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 62%; max-width: 260px; scroll-snap-align: center; }
  .nav { top: 20px; left: 20px; right: 20px; }
}

/* Héros : écrans moyens et téléphones */
@media (max-width: 1180px) {
  .hero-grid { padding: 40px 70px 90px 40px; gap: 40px; }
  .phone { width: 290px; height: 600px; }
  .phone .time { font-size: 74px; }
  .phone .lk { top: 64px; }
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 44px;
    padding: 44px 24px 0;
  }
  .ld-hero .hero-content .eyebrow { margin-bottom: 16px; font-size: 11px; }
  .ld-hero h1 { margin-bottom: 16px; }
  .ld-hero .lead { margin-bottom: 24px; }
  /* Le téléphone dépasse du bas de l'écran : on en voit l'heure et la première notification */
  .phone {
    justify-self: center;
    transform: none;
    width: 300px;
    height: 400px;
    border-radius: 48px 48px 0 0;
    border-bottom: none;
  }
  .phone .notifs { bottom: auto; top: 232px; }
  .phone .sw, .phone .bar { display: none; }
}

/* Zones de toucher : liens du pied de page et retour des pages légales */
.footer-col li { margin-bottom: 0; }
.footer-col a, .legal .back a { display: inline-block; padding: 9px 0; }
.footer-col li:not(:has(a)) { padding: 9px 0; }
