:root {
  --ocean-top: #3E91FF;
  --ocean-mid: #3577D9;
  --ocean-base: #325EB2;
  --ocean-deep: #163A65;
  --lime: #B0E069;
  --lime-deep: #7FAF1F;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --text: #0E1B2E;
  --muted: #55657A;
  --line: #E2E8F0;
  --phone: #0B1220;
  --shadow: 0 30px 60px -20px rgba(22, 58, 101, .35);
  --radius: 28px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1C3A;
    --surface: #112D59;
    --text: #F5F7F9;
    --muted: #A9B8CF;
    --line: #1E3D6E;
    --ocean-top: #17407A;
    --ocean-mid: #112D59;
    --ocean-base: #0B1C3A;
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* MARK: - Topo */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(170deg, var(--ocean-top) 0%, var(--ocean-mid) 45%, var(--ocean-base) 100%);
  overflow: hidden;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav a.small-cta {
  font-weight: 600; font-size: 14px; text-decoration: none;
  padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding: 40px 0 120px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(176, 224, 105, .18); color: var(--lime); border: 1px solid rgba(176,224,105,.35);
}
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.05; letter-spacing: -.03em; margin: 18px 0 18px; font-weight: 800; }
h1 em { font-style: normal; color: var(--lime); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.88); max-width: 520px; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0B1220; color: #fff; text-decoration: none;
  padding: 12px 22px 12px 18px; border-radius: 16px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
  transition: transform .2s ease;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 11px; opacity: .8; line-height: 1.1; }
.store-btn strong { display: block; font-size: 19px; line-height: 1.15; font-weight: 700; }
.note { font-size: 14px; color: rgba(255,255,255,.75); }

.phones { position: relative; height: 600px; }
.phone {
  position: absolute; width: 270px; aspect-ratio: 1320 / 2868;
  border-radius: 44px; padding: 9px; background: var(--phone);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.phones .p1 { left: 50%; top: 0; transform: translateX(-62%) rotate(-4deg); z-index: 2; }
.phones .p2 { left: 50%; top: 60px; transform: translateX(8%) rotate(5deg); width: 240px; opacity: .97; }

.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; }
.waves svg { width: 200%; height: 100%; display: block; animation: drift 14s linear infinite; }
.waves .back { position: absolute; inset: 0; opacity: .35; animation-duration: 22s; animation-direction: reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* MARK: - Seções */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ocean-mid); }
@media (prefers-color-scheme: dark) { .kicker { color: var(--lime); } }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.025em; margin: 10px 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  margin: 0 auto 110px; max-width: 980px;
}
.feature:last-child { margin-bottom: 0; }
.feature.reverse .feature-media { order: 2; }
.feature-media { display: flex; justify-content: center; position: relative; }
.feature-media::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(62,145,255,.22), transparent 70%);
}
.feature-media .phone { position: relative; width: 280px; }
.feature h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 14px; font-weight: 800; }
.feature p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1B2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.card .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, #3E91FF, #325EB2); color: #fff; margin-bottom: 16px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h4 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.gallery {
  display: flex; gap: 20px; overflow-x: auto; padding: 10px 20px 30px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: none; scroll-snap-align: center; text-align: center; }
.gallery .phone { position: relative; width: 220px; border-radius: 36px; padding: 7px; }
.gallery .phone img { border-radius: 30px; }
.gallery figcaption { margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--muted); }

.final {
  text-align: center; color: #fff; border-radius: 36px; padding: 70px 24px;
  background: linear-gradient(160deg, #3E91FF, #325EB2);
  position: relative; overflow: hidden;
}
.final img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.45); }
.final h2 { color: #fff; }
.final p { color: rgba(255,255,255,.85); font-size: 18px; margin: 0 auto 30px; max-width: 520px; }
.final .cta-row { justify-content: center; }

footer { padding: 50px 0 60px; color: var(--muted); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding: 20px 0 110px; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .phones { height: 470px; }
  .phone { width: 210px; }
  .phones .p2 { width: 190px; top: 50px; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 36px; text-align: left; margin-bottom: 80px; }
  .feature.reverse .feature-media { order: 0; }
  .feature-media .phone { width: 240px; }
  .grid { grid-template-columns: 1fr 1fr; }
  section { padding: 70px 0; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .nav a.small-cta { display: none; }
  .phones { height: 400px; }
  .phone { width: 180px; border-radius: 34px; padding: 7px; }
  .phone img { border-radius: 28px; }
  .phones .p2 { width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waves svg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* MARK: - Idiomas */
.nav-right { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.langs a { font-size: 13px; font-weight: 700; text-decoration: none; padding: 5px 10px; border-radius: 999px; color: rgba(255,255,255,.8); }
.langs a[aria-current="true"] { background: #fff; color: #163A65; }
