/* Page d'accueil. S'appuie sur site.css. */

/* Haut de page */
.hero { position: relative; background: var(--navy); color: #f5f7fb; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -10% -45% 35%; height: 120%; background: radial-gradient(closest-side, rgba(45, 124, 253, .38), rgba(45, 124, 253, 0)); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-block: 64px 0; }
.brand { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 64px; height: 64px; }
.tagline { margin: 0; color: #fff; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.tagline em { font-style: normal; color: var(--blue-bright); white-space: nowrap; }
.intro { margin: 22px 0 0; color: #b7bfcf; font-size: 18px; line-height: 1.65; max-width: 540px; }
.answers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero .stores { margin-top: 32px; padding-bottom: 64px; }
.hero-phone { align-self: end; justify-self: center; width: min(100%, 340px); margin-bottom: -170px; }

/* Téléphone */
.phone { background: #0b1020; padding: 9px; border-radius: 36px; box-shadow: 0 30px 70px rgba(11, 16, 32, .30); }
.phone img { width: 100%; border-radius: 28px; }

/* Sections */
.block { padding-block: 96px; }
.block.tight-top { padding-top: 0; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.block h2 { margin: 0; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.035em; line-height: 1.08; }
.lead { margin: 16px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 680px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Avant / après */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; text-align: left; }
.compare article { border-radius: 24px; padding: 30px; }
.compare .before { background: var(--card); border: 1px solid var(--line); }
.compare .after { background: var(--blue); color: #fff; }
.compare h3 { margin: 0 0 16px; font-size: 19px; }
.compare ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.compare li { display: flex; gap: 11px; line-height: 1.5; }
.compare .before li { color: var(--text); }
.compare li::before { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 1px; }
.compare .before li::before { content: "×"; background: var(--red-soft); color: var(--red); }
.compare .after li::before { content: "✓"; background: rgba(255, 255, 255, .2); color: #fff; }

/* Étapes */
.steps { display: grid; gap: 40px; margin-top: 56px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.step.flip .step-text { order: 2; }
.step-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 18px; }
.step h3 { margin: 0; font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -.025em; line-height: 1.15; }
.step p { margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.step .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.shot { display: grid; place-items: center; padding: 44px 32px 0; border-radius: 32px; background: linear-gradient(160deg, var(--blue-50), var(--blue-100)); overflow: hidden; max-height: 620px; }
.shot .phone { width: min(100%, 330px); border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
.shot .phone img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.shot.pair { grid-template-columns: 1fr 1fr; gap: 18px; padding-inline: 28px; }
.shot.pair .phone { width: 100%; }
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.rules div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.45; color: var(--text); }
.rules strong { display: block; color: var(--ink); }

/* Statuts */
.statuses { background: var(--card); border-block: 1px solid var(--line); }
.status-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin: 48px auto 0; max-width: 960px; }
.status { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: baseline; padding-block: 20px; border-top: 1px solid var(--line); }
.status .chip { justify-self: start; }
.status p { margin: 0; color: var(--text); line-height: 1.6; }

/* Exemples */
.examples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.example { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.example h3 { margin: 0; font-size: 18px; }
.example .rule { margin: 4px 0 16px; color: var(--muted); font-size: 15px; }
.dots { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; min-height: 13px; }
.dot { width: 13px; height: 13px; border-radius: 50%; }
.dot.y { background: var(--green); }
.dot.m { background: #9aa3b1; }
.dot.u { box-shadow: inset 0 0 0 2px #b8c0cc; }
.example .chip { align-self: flex-start; }
.example p { margin: 12px 0 0; line-height: 1.55; font-size: 15px; color: var(--text); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }

/* Autres fonctions */
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.more article { padding-top: 4px; }
.more .icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); color: var(--blue); margin-bottom: 16px; }
.more .icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.more h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.more p { margin: 0; color: var(--text); line-height: 1.6; }

/* Appel final */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(36px, 6vw, 64px); text-align: center; color: #fff; background: linear-gradient(135deg, var(--blue-deep), var(--blue) 55%, var(--blue-bright)); }
.cta h2 { color: #fff; }
.cta .lead { color: #dce7fd; margin-inline: auto; }
.cta .stores { justify-content: center; margin-top: 30px; }
.cta .store { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); }
.cta .store small { color: #dce7fd; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; padding-top: 48px; }
  .hero .stores { padding-bottom: 40px; }
  .hero-phone { width: min(80%, 310px); }
  .step, .step.flip { grid-template-columns: 1fr; gap: 28px; }
  .step.flip .step-text { order: 0; }
  .shot { max-height: 520px; }
  .status-list { grid-template-columns: 1fr; }
  .examples { grid-template-columns: 1fr 1fr; }
  .more { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .block { padding-block: 64px; }
  .compare, .examples, .rules { grid-template-columns: 1fr; }
  .status { grid-template-columns: 1fr; gap: 10px; }
  .shot { padding: 32px 20px 0; max-height: 440px; }
  .shot.pair { padding-inline: 16px; gap: 10px; }
}
