@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0B2E59; --navy-2: #164A8A; --accent: #2F80ED; --soft: #E8F1FD; --ink: #0F1B2D; --muted: #5B6B82;
  --bg: #F5F8FC; --card: #FFFFFF; --border: #DFE7F1; --success: #1E9E62; --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.container { width: min(1140px, 100% - 40px); margin: 0 auto; }

/* Language: show only the active one */
html[data-lang="fr"] .en, html[data-lang="en"] .fr { display: none !important; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header .container { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 20px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--accent); }
.lang { display: flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: transparent; padding: 8px 12px; font: 600 13px "Poppins", Arial, sans-serif; color: var(--muted); cursor: pointer; min-height: 40px; }
.lang button.active { background: var(--navy); color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 14px;
  background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; border: 2px solid var(--navy); }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.header .btn { min-height: 42px; padding: 8px 16px; font-size: 14px; }

/* Hero */
.hero { background: radial-gradient(circle at 10% 10%, #1D5BA6 0, transparent 45%), linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; padding: 64px 0 0; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.12; margin: 0 0 18px; }
.hero p.lead { font-size: 19px; color: #DCEBFF; margin: 0 0 28px; max-width: 560px; }
.badge-play img { height: 64px; width: auto; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 72px; padding: 0; list-style: none; color: #DCEBFF; font-size: 15px; }
.trust li::before { content: "✓"; color: #7EE2B0; font-weight: 700; margin-right: 8px; }
.hero-phones { position: relative; height: 560px; }
.hero-phones .phone { position: absolute; bottom: -40px; }
.hero-phones .phone:first-child { left: 0; width: 250px; transform: rotate(-5deg); opacity: 0.95; }
.hero-phones .phone:last-child { right: 10px; width: 280px; bottom: -20px; }

/* Phone frame */
.phone { background: #0F1B2D; padding: 9px; border-radius: 36px; box-shadow: 0 24px 60px rgba(4, 18, 40, 0.35); }
.phone img { border-radius: 28px; width: 100%; }

/* Sections */
section { padding: 84px 0; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; margin: 0 0 8px; }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; margin: 0 0 14px; color: var(--navy); }
.section-lead { color: var(--muted); font-size: 17px; max-width: 680px; margin: 0 0 40px; }
.center { text-align: center; } .center .section-lead { margin-left: auto; margin-right: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--soft); color: var(--navy); font-weight: 700; margin-bottom: 14px; }
.step h3, .card h3 { margin: 0 0 6px; font-size: 19px; color: var(--ink); }
.step p, .card p { margin: 0; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checks li { padding-left: 34px; position: relative; color: var(--ink); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 8px; background: #E7F7EE; color: var(--success);
  display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.checks strong { display: block; }
.checks span.sub { color: var(--muted); }
.pro { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pro-phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.pro-phones .phone { width: 240px; }
.pro-phones .phone:last-child { margin-top: 60px; }

.gallery { display: flex; gap: 22px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; flex: 0 0 230px; scroll-snap-align: start; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; font-weight: 600; }

.cta { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #DCEBFF; font-size: 17px; margin: 0 0 26px; }
.cta .badge-play { display: inline-block; }

/* Footer */
.footer { background: var(--ink); color: #B9C6D8; padding: 48px 0 32px; font-size: 14px; }
.footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer a { color: #E6EEF8; text-decoration: none; display: block; margin: 6px 0; }
.footer a:hover { text-decoration: underline; }
.footer h4 { color: #fff; margin: 0 0 10px; font-size: 15px; }
.footer .brand { color: #fff; margin-bottom: 10px; }
.footer .copy { grid-column: 1 / -1; border-top: 1px solid #22324A; padding-top: 20px; margin-top: 10px; }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 860px; }
.legal h1 { color: var(--navy); font-size: clamp(30px, 4vw, 40px); margin: 0 0 6px; line-height: 1.2; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: #2B3A50; }
.legal .box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; }

@media (max-width: 920px) {
  .nav { display: none; }
  .hero .container, .split { grid-template-columns: 1fr; }
  .hero .container { padding-top: 48px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .badge-play img { margin: 0 auto; }
  .trust { justify-content: center; margin-bottom: 40px; }
  .hero-phones { height: 430px; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-phones .phone:first-child { width: 190px; left: 8px; }
  .hero-phones .phone:last-child { width: 215px; right: 8px; }
  .steps, .grid { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .pro-phones .phone { width: 44%; }
}
@media (max-width: 520px) {
  .header .btn { display: none; }
  .cta { padding: 40px 22px; }
}
