/* Landing, privacy and 404 pages. Builds on style.css. */

/* Bilingual text: both languages are in the page; the inactive one is hidden. */
html:not([lang="fr"]) .fr { display: none; }
html[lang="fr"] .en { display: none; }

body.landing { background: #fff; }
.lp-bar { display: flex; align-items: center; gap: 16px; padding: 14px 28px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); z-index: 10; }
.lp-brand { font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.lp-brand b { color: var(--brand); }
.lp-nav { display: flex; gap: 18px; margin-left: auto; }
.lp-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.lp-nav a:hover { color: var(--ink); }

.lp-hero { max-width: 1160px; margin: 0 auto; padding: 64px 28px 40px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.lp-kicker { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin: 0 0 12px; }
.lp-hero h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; margin: 0 0 16px; }
.lp-lede { font-size: 18px; color: #33424f; margin: 0 0 24px; max-width: 34em; }
.lp-cta { padding: 13px 20px; font-size: 15.5px; text-decoration: none; }
.lp-hero .hint { margin-top: 14px; }

.lp-hero-art { position: relative; }
.lp-shot-desktop { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(16,32,48,.14); }
.lp-shot-phone { position: absolute; right: 0; bottom: -40px; width: 34%; height: auto; border-radius: 22px; box-shadow: 0 18px 40px rgba(16,32,48,.25); }

.lp-section { max-width: 1160px; margin: 0 auto; padding: 56px 28px; }
.lp-section h2, .lp-final h2 { font-size: 28px; letter-spacing: -.01em; margin: 0 0 24px; }
.lp-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-steps li { counter-increment: step; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.lp-steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; margin-bottom: 12px; }
.lp-steps h3, .lp-grid h3 { margin: 0 0 6px; font-size: 17px; }
.lp-steps p, .lp-grid p { margin: 0; color: #33424f; }

.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-grid article { padding: 20px; border-top: 3px solid var(--brand); background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }

.lp-privacy { background: var(--bg); border-radius: 14px; max-width: 1104px; padding: 36px 28px; }
.lp-privacy p { font-size: 16.5px; margin: 0; max-width: 46em; }

.lp-final { text-align: center; padding: 64px 28px 72px; }
.lp-final .hint { margin-top: 16px; }

.lp-foot { display: flex; gap: 20px; justify-content: center; padding: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.lp-foot a { color: var(--muted); }

/* privacy page */
.doc-page { max-width: 760px; margin: 0 auto; padding: 40px 28px 80px; }
.doc-page h1 { font-size: 30px; margin-bottom: 4px; }
.doc-page h2 { font-size: 19px; margin-top: 30px; }
.doc-page p, .doc-page li { color: #2b3a47; }

@media (max-width: 900px) {
  .lp-hero { grid-template-columns: 1fr; padding-top: 36px; }
  .lp-shot-phone { display: none; }
  .lp-steps, .lp-grid { grid-template-columns: 1fr; }
  .lp-nav { display: none; }
  .lp-bar { padding: 12px 16px; }
  .lang-switch { margin-left: auto; }
}
