/* LyraLex — pages secondaires (modules, pages légales) au style de la refonte.
   Chargée après pages.css : mêmes contenus et illustrations, nouvelle typographie (SevenSans / Inter Tight),
   or #a18348, cartes aux fonds de la timeline, capture dans le portable de la page d'accueil.
   La nav et le pied de page gardent leur style actuel (Inter), comme sur l'accueil. */
@font-face { font-family: SevenSans; src: url('fonts/7sans.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: InterTight; src: url('fonts/InterTight-variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --paper: #f5f1e8; --surface: #faf6ed; --bone: #efe8d8; --ink: #1a1611; --muted: #655a4b; --gold-ink: #806338; --gold-title: #a18348; --line: #d9cdb1; }

body { font-family: InterTight, Arial, sans-serif; background: var(--paper); color: var(--ink); }
.site-nav, .nav-drawer, footer { font-family: 'Inter', system-ui, sans-serif; }
em { color: var(--gold-title); }

/* En-tête de page */
.fm-hero { max-width: 980px; padding-bottom: 40px; }
.fm-hero h1 { font: 400 15px/1.4 InterTight, Arial, sans-serif; letter-spacing: 0; text-transform: none; color: var(--gold-ink); margin-bottom: 16px; }
.fm-display { font-family: SevenSans, InterTight, Arial, sans-serif; font-weight: 500; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.045em; color: var(--ink); }
.fm-lead { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 720px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs [aria-current], .crumbs a:hover { color: var(--ink); }

/* Capture dans le portable de la refonte */
.fm-shot { max-width: 1060px; margin-bottom: clamp(64px, 7vw, 96px); }
.fm-shot .shared-laptop { position: relative; width: 100%; margin: 0 auto 30px; border: 9px solid #282622; border-bottom-width: 16px; border-radius: 14px 14px 6px 6px; box-shadow: 0 14px 30px #66522f13; background: #282622; box-sizing: border-box; }
.fm-shot .shared-laptop img { display: block; width: 100%; height: auto; aspect-ratio: 1.6; border: 0; border-radius: 5px 5px 0 0; box-shadow: none; }
.fm-shot .shared-laptop::before { content: ''; position: absolute; top: -6px; left: calc(50% - 2px); width: 4px; height: 4px; background: #797873; border-radius: 50%; }
.fm-shot .shared-laptop::after { content: ''; position: absolute; left: -7%; right: -7%; height: 15px; bottom: -29px; border-radius: 1px 1px 45% 45% / 1px 1px 65% 65%; background: linear-gradient(#d4d1ca 0%, #b3afa6 45%, #88857f 100%); box-shadow: 0 11px 16px -8px #5d4c3833; }

/* Cartes : fonds des cartes timeline (dégradé ivoire/champagne), liseré doré, illustrations conservées */
.fm-cell { border-radius: 22px; border: 1px solid #e3d7be; background: radial-gradient(ellipse at 85% 18%, #fffdf8 0%, #faf5e9 44%, #ede3cf 100%); box-shadow: 0 18px 40px -30px #46341866; }
.fm-cell:nth-child(even) { background: radial-gradient(ellipse at 12% 15%, #fffdf6 0%, #f1e7d1 65%, #e4d6b8 100%); }
.fm-cell:hover { box-shadow: 0 26px 52px -30px #46341880; }
.fm-cell-scrim { background: linear-gradient(to top, #faf6edf2 0%, #faf6edd6 24%, #faf6ed40 50%, #faf6ed00 70%); }
.fm-cell-body { padding: 22px 24px; }
.fm-cell-icon, .fm-more-ic { background: var(--bone); color: var(--gold-ink); }
.fm-cell-label { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--gold-ink); margin-bottom: 4px; }
.fm-cell h3 { font-family: SevenSans, InterTight, Arial, sans-serif; font-size: 20px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px; }
.fm-cell p { font-size: 13.5px; color: var(--muted); }
.fm-conn-copy h2 { font-family: SevenSans, InterTight, Arial, sans-serif; font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.08; letter-spacing: -.035em; }
.fm-mailbox { border: 1px solid #e3d7be; border-radius: 12px; font-family: InterTight, Arial, sans-serif; }
.fm-conn-target { border-radius: 16px; }

/* « Et aussi » */
.fm-more { border-top-color: var(--line); }
.fm-more-head h2 { font-family: SevenSans, InterTight, Arial, sans-serif; font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
.fm-more-item h3 { font-family: InterTight, Arial, sans-serif; font-size: 15px; font-weight: 500; color: var(--ink); }
.fm-more-item p { font-size: 13.5px; color: var(--muted); }

/* Appel final et autres modules */
.fm-foot p { font-family: SevenSans, InterTight, Arial, sans-serif; font-weight: 500; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -.035em; }
.fm-others { background: transparent; border-top: 1px solid var(--line); }
.fm-others h2 { font-family: SevenSans, InterTight, Arial, sans-serif; font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
/* Quatre modules : grille 2 × 2 (une colonne sous 860 px, règle de pages.css) */
@media (min-width: 861px) { .fm-others ul:has(> li:nth-child(4)) { grid-template-columns: repeat(2, 1fr); } }
.fm-others a { position: relative; isolation: isolate; overflow: hidden; padding: 26px 26px 24px; border-radius: 22px; border: 1px solid #e3d7be; background: radial-gradient(ellipse at 85% 18%, #fffdf8 0%, #faf5e9 44%, #ede3cf 100%); }
.fm-others li:nth-child(2) a { background: radial-gradient(ellipse at 12% 15%, #fffdf6 0%, #f1e7d1 65%, #e4d6b8 100%); }
.fm-others a::before { content: ''; position: absolute; width: 180px; height: 180px; right: -80px; top: 20px; border: 22px solid #b8975a0c; border-radius: 50%; z-index: -1; pointer-events: none; }
.fm-others a:hover { border-color: #c9a45e; }
.fm-others-tag { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--gold-ink); }
.fm-others-title { font-family: SevenSans, InterTight, Arial, sans-serif; font-weight: 500; font-size: 22px; line-height: 1.15; letter-spacing: -.025em; color: var(--ink); }
.fm-others-arrow { color: var(--gold-ink); }

/* Pages légales */
.legal-prose h1 { font-family: SevenSans, InterTight, Arial, sans-serif; font-weight: 500; font-size: clamp(38px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.04em; }
.legal-prose h2 { font-family: SevenSans, InterTight, Arial, sans-serif; font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -.025em; margin-top: 44px; }
.legal-prose p, .legal-prose ul { font-size: 15.5px; line-height: 1.75; color: #3a342b; }
.legal-prose .legal-updated { color: var(--muted); }
.legal-prose a { color: var(--gold-ink); }

@media (max-width: 760px) {
  .fm-shot .shared-laptop { border-width: 6px; border-bottom-width: 10px; }
  .fm-shot .shared-laptop::before { top: -4px; width: 3px; height: 3px; }
  .fm-shot .shared-laptop::after { height: 10px; bottom: -19px; }
  .fm-display { font-size: 40px; }
}

/* Boutons à rond : rond centré verticalement (4 px du bord de tous les côtés), flèche au centre exact du rond. */
.btn-circle { top: 50%; left: 3.5px; transform: translateY(-50%); }
.btn-circle-icon { left: 25.5px; }
.cta-btn-primary:hover .btn-circle, .cta-btn-outline:hover .btn-circle, .waitlist-submit:hover .btn-circle { width: calc(100% - 7px); }
@media (max-width: 520px) {
  .btn-circle-icon { left: 22.5px; }
}

/* Pages modules : la phrase avant le bouton tient sur une ligne sur ordinateur. */
.fm-foot { max-width: 900px; }

/* ═══ Nav mobile : logo, logotype, bouton « Rejoindre la liste d’attente » et menu, dans une barre fine ═══
   Sous 768 px et dès que la nav est compacte (classe posée par nav-compact.js). Le bouton garde son libellé
   complet ; si la place manque (petits écrans, < 356 px environ), nav-compact.js pose .nav-cta-tight
   et le bouton affiche « Liste d’attente ». */
.site-nav .nav-cta-short { display: none; }
.site-nav.nav-cta-tight .nav-cta .nav-cta-long { display: none; }
.site-nav.nav-cta-tight .nav-cta .nav-cta-short { display: inline; }
@media (max-width: 768px) {
  nav.site-nav { max-width: calc(100% - 16px); }
  .site-nav .nav-inner { gap: 8px; padding: 0 5px 0 12px; }
  .site-nav .nav-inner .nav-actions { display: flex; margin-left: auto; }
  .site-nav .nav-logo-img { height: 30px; }
  .site-nav .nav-logo-name { height: 20px; margin-left: 6px; }
  .site-nav .nav-cta { padding: 8px 12px; font-size: 12.5px; }
  .site-nav .nav-hamburger { width: 32px; height: 32px; }
}
.site-nav.nav-compact .nav-inner { gap: 8px; padding: 0 5px 0 12px; }
.site-nav.nav-compact .nav-inner .nav-actions { display: flex; margin-left: auto; }
.site-nav.nav-compact .nav-logo-img { height: 30px; }
.site-nav.nav-compact .nav-logo-name { height: 20px; margin-left: 6px; }
.site-nav.nav-compact .nav-cta { padding: 8px 12px; font-size: 12.5px; }
