:root {
  --brand: #6a3dff;
  --brand-600: #5a2ff0;
  --brand-100: #ece6ff;
  --brand-50: #f5f2ff;
  --ink: #15111f;
  --ink-2: #4b4560;
  --muted: #7a7490;
  --line: #e7e3f0;
  --bg: #ffffff;
  --bg-soft: #f4f6fd;
  --dark: #13101c;
  --dark-2: #1e1830;
  --radius: 20px;
  --shadow: 0 20px 50px -20px rgba(58, 30, 160, .28);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, color .2s;
  font-family: inherit;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(106, 61, 255, .7); }
.btn--primary:hover { background: var(--brand-600); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: .55em 1.1em; font-size: .88rem; }
.btn--lg { padding: 1em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--brand); }
.brand__mark { width: 46px; height: 25px; fill: currentColor; }
.brand__name { font-family: var(--font-head); font-weight: 800; letter-spacing: .18em; color: var(--ink); font-size: 1.05rem; }
.brand--light, .brand--light .brand__name { color: #fff; }
.brand--light .brand__mark { fill: #a58aff; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; font-weight: 500; font-size: .95rem; margin-inline-start: auto; }
.lang-toggle {
  margin-inline-start: 16px; min-width: 42px; height: 42px; padding: 0 .7em; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font: 700 1rem/1 "Cairo", var(--font-body);
  transition: border-color .2s, color .2s;
}
.lang-toggle:hover { border-color: var(--brand); color: var(--brand); }

/* Arabe (RTL) */
html[lang="ar"] { --font-head: "Cairo", "Sora", system-ui, sans-serif; --font-body: "Cairo", "Inter", system-ui, sans-serif; }
html[lang="ar"] :not(.brand__name) { letter-spacing: 0 !important; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.45; }
html[lang="ar"] .brand, html[lang="ar"] .marquee__track, html[lang="ar"] .logos__track { direction: ltr; }
html[lang="ar"] .hl::after { bottom: .15em; }
.nav__links a:not(.btn):hover { color: var(--brand); }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: transform .3s; }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 130px 0 80px; background: var(--bg-soft); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 30%, rgba(106, 61, 255, .22), transparent 70%),
    radial-gradient(500px 300px at 10% 90%, rgba(165, 138, 255, .18), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .5em; padding: .45em 1em; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 1.4rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hl { color: var(--brand); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .18em; background: var(--brand-100); z-index: -1; border-radius: 4px; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 560px; }
.checks { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-weight: 600; font-size: .95rem; }
.checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-inline-end: .5em; border-radius: 50%; background: var(--brand); color: #fff; font-size: .75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__phones { position: relative; height: 560px; }
.phone {
  position: absolute; width: 230px; aspect-ratio: 9 / 19; border-radius: 34px; padding: 8px;
  background: #0f0c17; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .06) inset; overflow: hidden;
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; background: #1d1630; }
.phone--front { left: 50%; top: 20px; transform: translateX(-50%); z-index: 2; width: 250px; }
.phone--back-l { left: 2%; top: 80px; transform: rotate(-8deg); opacity: .9; }
.phone--back-r { right: 2%; top: 80px; transform: rotate(8deg); opacity: .9; }
.float-card {
  position: absolute; z-index: 3; background: #fff; border-radius: 16px; padding: .8rem 1rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); animation: float 5s ease-in-out infinite;
}
.float-card strong { color: var(--ink); font-size: .95rem; }
.float-card--a { left: 0; bottom: 60px; }
.float-card--b { right: 0; top: 30px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Logos clients */
.logos { background: #fff; padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.logos[hidden] { display: none; }
.logos__title { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.logos__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos__track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 35s linear infinite; padding-right: 72px; }
.logos__viewport:hover .logos__track { animation-play-state: paused; }
.logos__track img { height: 46px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.logos__track img:hover { filter: none; opacity: 1; }
@media (max-width: 600px) {
  .logos__track { gap: 44px; padding-right: 44px; }
  .logos__track img { height: 34px; }
}

/* Marquee */
.marquee { background: var(--brand); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 28s linear infinite; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.marquee__track span::before { content: "✦"; margin-right: 3rem; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 100px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: linear-gradient(160deg, var(--dark), var(--dark-2)); color: #fff; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__head p { color: var(--ink-2); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); background: var(--brand-50); padding: .4em 1em; border-radius: 999px; margin-bottom: 1rem; }
.eyebrow--light { background: rgba(165, 138, 255, .14); color: #c4afff; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 28px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.stat strong, .stat > span { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--brand); }
.stat p { margin: .3rem 0 0; color: var(--ink-2); font-weight: 500; }

/* Portfolio */
.reel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.reel { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #1d1630; box-shadow: var(--shadow); cursor: pointer; }
.reel video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.reel:hover video { transform: scale(1.04); }
.reel figcaption {
  position: absolute; inset-inline-start: 12px; bottom: 12px; padding: .35em .9em; border-radius: 999px;
  background: rgba(255, 255, 255, .92); font-size: .8rem; font-weight: 600;
}
.reel__sound { position: absolute; top: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .5); color: #fff; cursor: pointer; font-size: 1rem; }

/* Compare */
.compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.compare__card { position: relative; padding: 28px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.compare__card--win { background: var(--brand); border-color: var(--brand); box-shadow: 0 30px 60px -20px rgba(106, 61, 255, .6); transform: translateY(-10px); }
.compare__price { font-weight: 600; color: #b9b2cc; font-size: .9rem; }
.compare__card--win .compare__price { color: #e6ddff; }
.xlist, .vlist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; font-size: .93rem; }
.xlist li::before, .vlist li::before { font-weight: 700; margin-inline-end: .6em; }
.xlist li { color: #cfc9dd; }
.xlist li::before { content: "✕"; color: #ff6b8a; }
.vlist li::before { content: "✓"; color: var(--brand); }
.compare__card--win .vlist li::before { color: #fff; }
.tag { position: absolute; top: -12px; inset-inline-start: 24px; background: #fff; color: var(--brand); font-size: .75rem; font-weight: 700; padding: .3em .9em; border-radius: 999px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--brand-50); font-size: 1.5rem; margin-bottom: 1.2rem; }
.service p { color: var(--ink-2); margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 26px; position: relative; border: 1px solid var(--line); }
.step > span { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--brand-100); position: absolute; top: 14px; inset-inline-end: 20px; }
.step p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; padding: 30px 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.plan:hover { box-shadow: var(--shadow); }
.plan--featured { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: translateY(-12px); }
.plan--featured .tag { background: var(--brand); color: #fff; }
.plan--dark { background: linear-gradient(160deg, var(--dark), var(--dark-2)); border-color: var(--dark); color: #fff; }
.plan--dark .plan__desc, .plan--dark .plan__unit, .plan--dark .plan__qty { color: #b9b2cc; }
.plan--dark .plan__price, .plan--dark .plan__price strong { color: #fff; }
.plan--dark .vlist li::before { color: #a58aff; }
.plan__qty { display: inline-flex; align-items: baseline; gap: .35em; margin: 0 0 .6rem; font-weight: 600; color: var(--muted); font-size: .9rem; }
.plan__qty strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--brand); }
.plan--dark .plan__qty strong { color: #a58aff; }
.plan h3 { margin-bottom: .3em; }
.plan__desc { color: var(--muted); font-size: .92rem; min-height: 2.9em; }
.plan__price { font-family: var(--font-head); color: var(--ink-2); margin: .4rem 0 0; display: flex; align-items: baseline; gap: .4em; flex-wrap: wrap; font-weight: 700; }
.plan__price strong { font-size: 2.4rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.plan__price s { font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--muted); }
.plan__unit { font-size: .85rem; font-weight: 600; color: var(--brand); margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px dashed var(--line); }
.plan--dark .plan__unit { border-color: rgba(255, 255, 255, .12); }
.plan .vlist { margin-bottom: 1.6rem; flex: 1; align-content: start; }
.save { position: absolute; top: 20px; inset-inline-end: 20px; background: #dcfce7; color: #15803d; font-size: .78rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; }
.save--light { background: rgba(34, 197, 94, .18); color: #4ade80; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brand-100); transform: translateY(-2px); }
.pricing__note { text-align: center; margin: 40px 0 0; color: var(--ink-2); }
.pricing__note a { color: var(--brand); font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: var(--brand); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact__copy p { color: var(--ink-2); }
.contact__info { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .9rem; font-weight: 500; }
.contact__info span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); margin-inline-end: .7rem; }
.contact__info a:hover { color: var(--brand); }
.how { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1rem; }
.how li { display: flex; gap: .9rem; align-items: flex-start; }
.how li > span { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; }
.how strong { display: block; font-size: .98rem; }
.how p { margin: .1rem 0 0; font-size: .9rem; }

/* Formulaire */
.form { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 32px; border-radius: 24px; display: grid; gap: 22px; }
.form__head h3 { font-size: 1.35rem; margin-bottom: .2em; }
.form__head p { margin: 0; color: var(--muted); font-size: .9rem; }
.form__step { border: 0; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; min-width: 0; }
.form__step legend { display: flex; align-items: center; gap: .6rem; padding: 0; margin-bottom: 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.form__num { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-100); color: var(--brand); font-size: .85rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: .4rem; }
.field label, .form__label { font-size: .9rem; font-weight: 600; color: var(--ink); margin: 0; }
.req { color: #e11d48; }
.opt { color: var(--muted); font-weight: 400; }
.form input:not([type="radio"]), .form textarea {
  font: inherit; font-weight: 400; color: var(--ink); padding: .85em 1em; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg-soft); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.form input::placeholder, .form textarea::placeholder { color: #a39db5; }
.form input:not([type="radio"]):focus, .form textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
html[lang="ar"] .form input[type="tel"] { text-align: right; }
.field__error { display: none; margin: 0; font-size: .82rem; color: #e11d48; font-weight: 500; }
.field.is-invalid input { border-color: #e11d48; background: #fff5f7; }
.field.is-invalid .field__error { display: block; }
.field__hint { margin: 0; font-size: .82rem; color: var(--muted); }

/* Cartes pack + puces de choix */
.pack input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.packs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pack { position: relative; cursor: pointer; }
.pack__box {
  position: relative; height: 100%; display: grid; gap: .15rem; justify-items: center; text-align: center; padding: 16px 6px 12px;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg-soft); transition: border-color .2s, background .2s, box-shadow .2s;
}
.pack__box strong { font-size: .92rem; }
.pack__box em { font-style: normal; font-size: .82rem; font-weight: 600; color: var(--brand); }
.pack__badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--brand); color: #fff; font-size: .65rem; font-weight: 700; padding: .15em .6em; border-radius: 999px; }
.pack:hover .pack__box, .chip:hover span { border-color: var(--brand); }
.pack input:checked + .pack__box { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-100); }
.pack input:checked + .pack__box::after { content: "✓"; position: absolute; top: 6px; inset-inline-end: 8px; font-size: .75rem; font-weight: 700; color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -4px; }
.chip { position: relative; cursor: pointer; }
.chip span { display: inline-block; padding: .55em 1.05em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg-soft); font-size: .88rem; font-weight: 500; transition: all .2s; }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pack input:focus-visible + .pack__box, .chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.form__note { margin: -8px 0 0; text-align: center; font-size: .84rem; color: var(--muted); }
.form__success { margin: 0; padding: 14px 16px; border-radius: 12px; background: #dcfce7; color: #166534; font-weight: 600; font-size: .92rem; text-align: center; }
.form__success[hidden] { display: none; }

/* Nav active */
.nav__links a.is-active:not(.btn) { color: var(--brand); }

/* Page hero (pages internes) */
.page-hero { position: relative; padding: 150px 0 80px; background: var(--bg-soft); overflow: hidden; text-align: center; }
.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero .lead { margin-inline: auto; }
.page-hero .hero__ctas { justify-content: center; margin-top: 2rem; }

/* Filtres portfolio */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 40px; }
.filter {
  font: inherit; font-weight: 600; font-size: .95rem; padding: .65em 1.4em; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); transition: all .2s;
}
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.reel.is-hidden { display: none; }
.reel.pop { animation: pop .45s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.center-cta { display: flex; justify-content: center; margin-top: 44px; }
.center-cta [hidden] { display: none; }

/* Bandeau CTA */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 48px; border-radius: 28px; color: #fff;
  background: radial-gradient(500px 300px at 90% 0%, rgba(255, 255, 255, .18), transparent 70%), var(--brand);
  box-shadow: 0 30px 60px -24px rgba(106, 61, 255, .7);
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; color: #e6ddff; max-width: 560px; }

/* Pages légales */
.legal { padding: 130px 0 90px; }
.legal__back { display: inline-block; font-weight: 600; color: var(--brand); margin-bottom: 1.5rem; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal__date { color: var(--muted); font-size: .9rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.legal__body h2 { font-size: 1.25rem; margin-top: 2.2rem; }
.legal__body p, .legal__body li { color: var(--ink-2); }
.legal__body ul { padding-inline-start: 1.2rem; display: grid; gap: .4rem; }
.legal__body a { color: var(--brand); font-weight: 500; }

/* Footer */
.footer { background: var(--dark); color: #cfc9dd; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: .7rem; font-size: .93rem; }
.footer__col h4 { font-family: var(--font-head); color: #fff; font-size: 1rem; margin: 0 0 .4rem; }
.footer__col a:hover, .footer__social a:hover { color: #fff; }
.footer__tag { margin: .9rem 0 1.4rem; font-size: .9rem; color: #8f88a6; max-width: 320px; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: .8rem; font-weight: 700; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 22px; font-size: .85rem; color: #8f88a6; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.compare__card--win.reveal.is-visible { transform: translateY(-10px); }
.plan--featured.reveal.is-visible { transform: translateY(-12px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .float-card, .logos__track { animation: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .compare { grid-template-columns: repeat(2, 1fr); }
  .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .plan--featured, .plan--featured.reveal.is-visible { transform: none; }
}
@media (max-width: 880px) {
  .nav__toggle { display: block; }
  .lang-toggle { margin-inline: auto 8px; }
  .nav__links {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 16px 24px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .2);
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 16px; }
  .nav { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); }
  .hero { padding-top: 110px; }
  .hero__inner, .contact { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .lead { margin-inline: auto; }
  .checks, .hero__ctas { justify-content: center; }
  .hero__phones { height: 470px; max-width: 420px; margin-inline: auto; width: 100%; }
  .phone { width: 180px; }
  .phone--front { width: 205px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pricing { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .compare, .services, .steps { grid-template-columns: 1fr; }
  .compare__card--win, .compare__card--win.reveal.is-visible { transform: none; }
  .reel-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .reel figcaption { font-size: .7rem; inset-inline-start: 8px; bottom: 8px; }
  .page-hero { padding: 120px 0 60px; }
  .cta-band { padding: 32px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .packs { grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
  .phone { width: 140px; }
  .phone--front { width: 175px; }
  .phone--back-l { left: -4%; }
  .phone--back-r { right: -4%; }
  .float-card { display: none; }
  .hero__phones { height: 400px; }
}
