:root {
  --green-900: #0a3a22; --green-800: #0f4d2e; --green-700: #14653c; --green-100: #e3f0e7;
  --gold: #d4a72c; --gold-light: #f2d27a; --gold-dark: #9a7414; --gold-soft: #fbf1d6;
  --cream: #f6f2e7; --ink: #1c2a22; --muted: #6b756f; --line: #e4decf; --red: #c62828;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Cairo", system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.7; }
body.ltr { direction: ltr; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.3; }
h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--green-900); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row.center, .center { justify-content: center; text-align: center; }
.between { justify-content: space-between; }
.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: 18px; margin-top: -6px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 99px; padding: 12px 24px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.btn.small { padding: 6px 16px; font-size: 14px; }
.btn.gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); }
.btn.ghost { background: transparent; border: 1.5px solid currentColor; color: var(--green-800); }
.btn.ghost.light { color: #fff; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(10, 58, 34, .92); backdrop-filter: blur(10px); color: #fff; }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand b { display: block; font-size: 24px; color: var(--gold-light); line-height: 1; }
.brand small { font-size: 10px; letter-spacing: 3px; opacity: .8; }
.links { display: flex; gap: 22px; margin-inline-start: auto; }
.links a { text-decoration: none; opacity: .85; font-weight: 600; }
.links a:hover { opacity: 1; color: var(--gold-light); }
.nav-actions { display: flex; gap: 8px; }
.nav .btn.ghost { color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 90px;
  background: linear-gradient(180deg, var(--green-900) 0%, #1f5a37 45%, #b98a4d 82%, #d9a866 100%); }
.dunes { position: absolute; inset: auto 0 0 0; height: 220px;
  background:
    radial-gradient(120% 90px at 20% 100%, #c98a4b 60%, transparent 61%),
    radial-gradient(140% 120px at 80% 100%, #b4733a 60%, transparent 61%),
    radial-gradient(90% 70px at 50% 100%, #9c5f2c 60%, transparent 61%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.kicker { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 2px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--gold-light); }
.kicker.red { background: #fdecec; color: var(--red); border-color: #f5c2c2; }
.hero h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; margin-top: 14px; }
.hero p { font-size: 18px; opacity: .92; max-width: 640px; }
.hero-stats { display: flex; gap: 28px; list-style: none; padding: 0; margin: 28px 0 0; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 30px; color: var(--gold-light); line-height: 1; }
.hero-stats span { font-size: 13px; opacity: .85; }

/* Téléphone */
.phone { position: relative; border-radius: 38px; padding: 10px; background: #111; box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 0 0 2px #333; aspect-ratio: 1080 / 2340; max-width: 300px; margin-inline: auto; }
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; background: #0a3a22; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; background: #111; border-radius: 99px; z-index: 2; }
.hero-phone { transform: rotate(-3deg); }
.phone.small { max-width: 200px; }
.phone.small::before { width: 46px; height: 12px; top: 14px; }
figure { margin: 0; }
figcaption { text-align: center; margin-top: 10px; font-weight: 700; color: var(--green-800); }

/* Sections */
section { padding: 72px 0; }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid.five { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 10px 30px rgba(15,77,46,.05); }
.card h3 { font-size: 19px; color: var(--green-900); }
.card p { margin: 0; color: var(--muted); }
.pillars article { text-align: center; padding: 22px 14px; border-radius: 20px; background: linear-gradient(180deg, #fff, var(--gold-soft)); border: 1px solid var(--line); }
.pillars i { font-style: normal; font-size: 34px; }
.pillars h3 { font-size: 17px; color: var(--green-800); margin-top: 6px; }
.pillars p { margin: 0; color: var(--muted); font-size: 14px; }
.services { background: #fff; }
.emergency { background: linear-gradient(135deg, #2a0b0b, #6d1414); color: #fff; }
.emergency h2 { color: #fff; }
.split { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; font-size: 18px; }
.checks li { padding: 10px 36px 10px 0; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); }
body.ltr .checks li { padding: 10px 0 10px 36px; }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--gold-light); font-weight: 800; }
.demo-row { margin-top: 40px; }
.videos { display: flex; gap: 40px; justify-content: center; align-items: flex-end; flex-wrap: wrap; margin-top: 24px; }
.vid { max-width: 300px; width: 100%; }
.phone.video { max-width: 300px; }
.phone.teaser { aspect-ratio: 9 / 16; }
.lang-switch { display: inline-flex; border: 1.5px solid rgba(255,255,255,.45); border-radius: 99px; overflow: hidden; }
.lang-switch button { background: transparent; color: #fff; border: 0; padding: 6px 12px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.lang-switch button.on { background: var(--gold); color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 760px; margin-inline: auto; }
.tech { background: var(--green-900); color: #fff; }
.tech h2 { color: var(--gold-light); }
.tech .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.tech .card h3 { color: #fff; } .tech .card p { color: rgba(255,255,255,.75); }
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px 180px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-dark); font-weight: 800; }
.steps li.done::before { content: "✓"; background: var(--green-800); color: #fff; }
.steps b { color: var(--green-900); }
.download { background: radial-gradient(circle at 50% 0, #1b7a49, var(--green-900) 70%); color: #fff; }
.download h2 { color: var(--gold-light); }
.dl-logo { width: 90px; margin: 0 auto 12px; }
.foot { background: #06261a; color: rgba(255,255,255,.7); padding: 18px 0; font-size: 14px; }
.foot a { color: var(--gold-light); }

@media (max-width: 900px) {
  .links { display: none; }
  .hero-in, .split { grid-template-columns: 1fr; }
  .hero-phone { max-width: 240px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .steps li { grid-template-columns: 44px 1fr; } .steps li span { grid-column: 2; }
  section { padding: 52px 0; }
}
@media (max-width: 520px) { .nav-actions .btn.gold { display: none; } .gallery { grid-template-columns: 1fr 1fr; } }
