/* ==========================================================================
   Só iPhone — Landing Page (Troca + Manutenção)
   Linguagem visual inspirada em apple.com/br · Paleta extraída do logotipo
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Marca (extraído de SOIPHONE_LOGO_*.svg) */
  --lime: #a6ce39;          /* verde-lima principal */
  --lime-hi: #b9dc55;       /* hover */
  --lime-soft: rgba(166, 206, 57, .14);
  --green: #46843d;         /* verde-escuro (base do gradiente "SÓ") */
  --green-ink: #3a7231;     /* verde para texto sobre fundo claro (AA) */
  --brand-grad: linear-gradient(180deg, #a6ce39 42%, #46843d 100%);

  /* Neutros Apple */
  --black: #000;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --gray: #86868b;
  --gray-2: #6e6e73;
  --gray-bg: #f5f5f7;
  --white: #fff;
  --dark-tile: #161617;
  --dark-card: #1c1c1e;
  --dark-card-2: #2c2c2e;
  --hair-dark: rgba(255, 255, 255, .12);
  --hair-light: #d2d2d7;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.28, .11, .32, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 18px;
  --r-sm: 12px;

  --nav-h: 52px;
  --wrap: min(980px, 87.5%);
  --wrap-wide: min(1180px, 87.5%);
  --section-y: clamp(76px, 9vw, 136px);
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  background: var(--black);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -.022em;
  color: var(--ink);
  background: var(--black);   /* a nav translúcida fica sobre preto, como no hero */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  overflow-x: clip;           /* nunca rolar lateralmente (sem quebrar position: sticky) */
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: #000; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--lime); color: #000; padding: 10px 16px; border-radius: 980px;
  text-decoration: none; font-size: 14px; transition: top .2s;
}
.skip-link:focus { top: 10px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout helpers ---------- */
.wrap { width: var(--wrap); margin-inline: auto; }
.wrap-wide { width: var(--wrap-wide); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.theme-dark { background: var(--black); color: #f5f5f7; }
.theme-light { background: var(--white); color: var(--ink); }
.theme-gray { background: var(--gray-bg); color: var(--ink); }

/* ---------- 4. Tipografia (escala Apple) ---------- */
.t-hero {
  font-size: clamp(2.25rem, 1.15rem + 5.7vw, 5rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.015em;
}
.t-section {
  font-size: clamp(2rem, 1.1rem + 3.6vw, 3.5rem);
  line-height: 1.07143;
  font-weight: 600;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.t-tile {
  font-size: clamp(1.75rem, 1.15rem + 2vw, 2.5rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.009em;
  text-wrap: balance;
}
.t-card {
  font-size: clamp(1.3125rem, 1.1rem + .6vw, 1.5rem);
  line-height: 1.16667;
  font-weight: 600;
  letter-spacing: .009em;
}
.t-sub {
  font-size: clamp(1.1875rem, 1.02rem + .6vw, 1.5rem);
  line-height: 1.33;
  font-weight: 400;
  letter-spacing: .004em;
  text-wrap: pretty;
}
.eyebrow {
  font-size: clamp(1.0625rem, .98rem + .35vw, 1.3125rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .011em;
  color: var(--lime);
  margin-bottom: .5em;
}
.theme-light .eyebrow, .theme-gray .eyebrow { color: var(--green-ink); }

/* Texto "Apple" cinza com destaques em branco/preto */
.muted { color: var(--gray); }
.theme-light .muted, .theme-gray .muted { color: var(--gray-2); }
.muted strong { font-weight: 600; color: #f5f5f7; }
.theme-light .muted strong, .theme-gray .muted strong { color: var(--ink); }

/* Gradiente de texto animado (efeito "Apple Intelligence") */
.grad-text {
  background: linear-gradient(90deg, #dff39a 0%, #a6ce39 28%, #5fae45 52%, #a6ce39 76%, #dff39a 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradShift 7s linear infinite;
  padding-bottom: .06em;
}
.grad-text--static {
  background: linear-gradient(180deg, #c7e46b 0%, #a6ce39 45%, #5e9f40 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
@keyframes gradShift { to { background-position: -200% 0; } }

.section-head { text-align: center; max-width: 860px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head .t-sub { margin-top: 18px; }
.section-head--left { text-align: left; margin-inline: 0; }

/* ---------- 5. Botões (padrão apple.com: pill 980px, 17px, 11×21) ---------- */
.btn {
  --btn-bg: var(--lime); --btn-fg: #000; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 44px; max-width: 100%;
  padding: 11px 21px;
  border-radius: 980px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 17px; line-height: 1.17648; font-weight: 400; letter-spacing: -.022em;
  text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease), box-shadow .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bg: var(--lime-hi); }
.btn:active { transform: scale(.975); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(166, 206, 57, .5); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--secondary { --btn-bg: transparent; --btn-fg: var(--lime); --btn-bd: var(--lime); }
.btn--secondary:hover { --btn-bg: var(--lime); --btn-fg: #000; }
.theme-light .btn--secondary, .theme-gray .btn--secondary, .on-light .btn--secondary { --btn-fg: var(--ink); --btn-bd: var(--ink); }
.theme-light .btn--secondary:hover, .theme-gray .btn--secondary:hover, .on-light .btn--secondary:hover { --btn-bg: var(--ink); --btn-fg: #fff; }

.btn--neutral { --btn-bg: #f5f5f7; --btn-fg: #000; }
.btn--neutral:hover { --btn-bg: #fff; }
.theme-light .btn--neutral, .theme-gray .btn--neutral { --btn-bg: var(--ink); --btn-fg: #fff; }
.theme-light .btn--neutral:hover, .theme-gray .btn--neutral:hover { --btn-bg: #000; }

.btn--lg { min-height: 50px; padding: 14px 28px; }
.btn--sm { min-height: 30px; padding: 5px 13px; font-size: 13px; line-height: 1.3; letter-spacing: -.01em; }
.btn--block { width: 100%; }

/* Link "Saiba mais ›" */
.link {
  display: inline-flex; align-items: center; gap: .18em;
  color: var(--lime); text-decoration: none; font-size: 17px;
  -webkit-tap-highlight-color: transparent;
}
.link::after {
  content: ""; width: .5em; height: .5em; flex: none;
  border-right: .1em solid currentColor; border-top: .1em solid currentColor;
  transform: translateY(.02em) rotate(45deg) scale(.85); margin-left: .12em;
}
.link:hover { text-decoration: underline; text-underline-offset: .18em; }
button.link { background: none; border: 0; padding: 0; cursor: pointer; }
.theme-light .link, .theme-gray .link, .on-light .link { color: var(--green-ink); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; }

/* ---------- 6. Animações de entrada ---------- */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--scale { transform: scale(.94); }
.js .reveal--scale.is-in { transform: none; }

/* ---------- 7. Navegação (globalnav) ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(22, 22, 23, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: #f5f5f7;
}
.nav::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px;
  background: rgba(255, 255, 255, .1); opacity: 0; transition: opacity .3s;
}
.nav.is-scrolled::after { opacity: 1; }
.nav__inner {
  height: 100%;
  width: min(1100px, 100% - 44px);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav__logo { display: flex; align-items: center; flex: none; padding: 6px 0; }
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  display: block; padding: 6px 10px;
  font-size: 12px; line-height: 1; letter-spacing: -.01em;
  color: rgba(255, 255, 255, .8); text-decoration: none;
  transition: color .25s;
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav__actions .btn svg { width: 14px; height: 14px; }

.nav__burger {
  display: none;
  width: 44px; height: 44px; margin-right: -12px;
  background: none; border: 0; padding: 0; position: relative;
  -webkit-tap-highlight-color: transparent;
}
.nav__burger span {
  position: absolute; left: 14px; width: 17px; height: 1.5px; border-radius: 2px;
  background: #f5f5f7;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Menu mobile em tela cheia */
.menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
  background: rgba(0, 0, 0, .97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 20px 0 calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.menu__list { width: var(--wrap); margin: 0 auto; }
.menu__list li {
  opacity: 0; transform: translateY(-10px);
  transition: opacity .4s var(--ease), transform .5s var(--ease-out);
  transition-delay: calc(var(--i) * 40ms + 60ms);
}
.menu.is-open .menu__list li { opacity: 1; transform: none; }
.menu__list a {
  display: block; padding: 10px 0;
  font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: .007em;
  color: #e8e8ed; text-decoration: none;
}
.menu__list a:hover { color: #fff; }
.menu__ctas {
  width: var(--wrap); margin: 28px auto 0;
  display: grid; gap: 12px;
  opacity: 0; transition: opacity .5s var(--ease) .3s;
}
.menu.is-open .menu__ctas { opacity: 1; }
.menu__meta { width: var(--wrap); margin: 28px auto 0; font-size: 14px; color: var(--gray); line-height: 1.5; }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--black); color: #f5f5f7;
  text-align: center;
  padding-top: clamp(44px, 6.5vw, 84px);
  overflow: clip;
}
.hero__flow {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  opacity: .55;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 62%, #000 20%, transparent 78%);
  mask-image: radial-gradient(75% 65% at 50% 62%, #000 20%, transparent 78%);
}
.hero__glow {
  position: absolute; z-index: -1; left: 50%; bottom: -8%;
  width: min(1100px, 130%); aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(166, 206, 57, .34), rgba(70, 132, 61, .16) 55%, transparent 100%);
  filter: blur(20px);
  opacity: calc(.75 + var(--p, 0) * .5);
  pointer-events: none;
}
.hero__eyebrow { margin-bottom: 14px; }
.hero__title { margin: 0 auto; text-wrap: balance; }
.hero__title .line { display: block; }
.hero__sub { max-width: 32em; margin: 22px auto 0; }
.hero__ctas { margin-top: 32px; }
.hero__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  margin-top: 26px; font-size: 14px; line-height: 1.43; letter-spacing: -.016em; color: var(--gray);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust svg { width: 14px; height: 14px; color: var(--lime); flex: none; }

.js .hero__title .line {
  opacity: 0; filter: blur(14px); transform: translate3d(0, 24px, 0);
  transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.2s var(--ease-out);
}
.js .hero__title .line:nth-child(2) { transition-delay: .16s; }
.is-loaded .hero__title .line { opacity: 1; filter: none; transform: none; }

.hero__stage {
  --pw: clamp(196px, 23vw, 318px);
  position: relative;
  height: calc(var(--pw) * 1.62);
  margin-top: clamp(44px, 6vw, 76px);
}
.hero__stage::after {
  content: ""; position: absolute; inset: auto 0 0; height: 34%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000 88%);
  pointer-events: none; z-index: 3;
}
.hero__phones {
  position: absolute; left: 50%; top: 0;
  width: calc(var(--pw) * 1.66);
  height: 100%;
  transform: translateX(-50%);
}
.hero__phones .iphone--back {
  position: absolute; left: 0; top: 7%;
  transform: translate3d(calc(var(--p, 0) * -26px), calc(var(--p, 0) * -30px), 0) rotate(calc(-5deg - var(--p, 0) * 3deg));
}
.hero__phones .iphone--front {
  position: absolute; right: 0; top: 0;
  transform: translate3d(calc(var(--p, 0) * 18px), calc(var(--p, 0) * -70px), 0);
}
.js .hero__phones .iphone { opacity: 0; translate: 0 70px; transition: opacity 1.4s var(--ease) .35s, translate 1.6s var(--ease-out) .35s; }
.js .hero__phones .iphone--front { transition-delay: .5s; }
.is-loaded .hero__phones .iphone { opacity: 1; translate: 0 0; }

/* ---------- 9. Mockups de iPhone (100% CSS, escalam por --w) ---------- */
.iphone {
  --w: var(--pw, 280px);
  position: relative;
  width: var(--w);
  aspect-ratio: 71.5 / 149.6;
  border-radius: 16.4% / 7.85%;
  container-type: inline-size;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55));
}
.iphone__frame {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, #9d9da3 0%, #3a3a3d 16%, #1b1b1d 38%, #5c5c61 58%, #1d1d1f 80%, #a4a4aa 100%);
  padding: 1.25cqw;
}
.iphone__glass {
  position: relative; width: 100%; height: 100%;
  border-radius: 15.2cqw;
  background: #030303;
  padding: 2.4cqw;
  box-shadow: inset 0 0 0 .35cqw rgba(255, 255, 255, .06);
}
.iphone__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 12.8cqw; overflow: hidden;
  background: #050605;
  color: #fff;
  letter-spacing: 0;
}
.iphone__island {
  position: absolute; z-index: 5; top: 3cqw; left: 50%;
  width: 28cqw; height: 8.2cqw; transform: translateX(-50%);
  background: #000; border-radius: 99px;
}
.iphone__notch {
  position: absolute; z-index: 5; top: 0; left: 50%;
  width: 46cqw; height: 7.4cqw; transform: translateX(-50%);
  background: #000; border-radius: 0 0 4.4cqw 4.4cqw;
}
.iphone__btn { position: absolute; width: .9cqw; background: linear-gradient(90deg, #2a2a2c, #75757a); border-radius: 1cqw; }
.iphone__btn--a { left: -.55cqw; top: 17%; height: 7%; }
.iphone__btn--b { left: -.55cqw; top: 27%; height: 11%; }
.iphone__btn--c { right: -.55cqw; top: 25%; height: 14%; }
.iphone__btn--d { right: -.55cqw; top: 55%; height: 9%; }

/* Tela de bloqueio com wallpaper da marca */
.ls {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  padding-top: 15cqw;
  background:
    radial-gradient(120% 60% at 50% 108%, rgba(166, 206, 57, .75), rgba(70, 132, 61, .25) 45%, transparent 70%),
    radial-gradient(90% 45% at 12% -4%, rgba(70, 132, 61, .55), transparent 70%),
    url("../img/lines.svg") center 62% / 240% auto no-repeat,
    #040504;
}
.ls__date { font-size: 5.1cqw; font-weight: 600; opacity: .85; }
.ls__time {
  font-size: 25.5cqw; line-height: 1; font-weight: 600; letter-spacing: -.02em;
  margin-top: .6cqw;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .78));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.ls__notifs { width: 100%; padding: 0 3.6cqw; margin-top: auto; margin-bottom: 30cqw; display: grid; gap: 2.4cqw; }
.notif {
  display: grid; grid-template-columns: auto 1fr; gap: 0 3cqw; align-items: center;
  padding: 3.4cqw 3.8cqw;
  border-radius: 7cqw;
  background: rgba(38, 40, 36, .55);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 0 0 .3cqw rgba(255, 255, 255, .08);
  text-align: left;
}
.notif__icon { grid-row: span 2; align-self: center; width: 9.4cqw; height: 9.4cqw; border-radius: 2.3cqw; background: #000 url("../img/favicon.svg") center / cover; }
.notif__head { display: flex; justify-content: space-between; gap: 2cqw; font-size: 3.9cqw; line-height: 1.25; }
.notif__head b { font-weight: 600; }
.notif__head span { opacity: .6; }
.notif__text { grid-column: 2; font-size: 3.9cqw; line-height: 1.3; opacity: .92; }
.ls__dock { position: absolute; left: 7cqw; right: 7cqw; bottom: 8cqw; display: flex; justify-content: space-between; }
.ls__dock i {
  width: 12.5cqw; height: 12.5cqw; border-radius: 50%;
  background: rgba(40, 40, 40, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: grid; place-items: center;
}
.ls__dock svg { width: 5.4cqw; height: 5.4cqw; color: #fff; }
.ls__home { position: absolute; bottom: 2.4cqw; left: 50%; width: 35cqw; height: 1.3cqw; transform: translateX(-50%); border-radius: 9px; background: #fff; opacity: .9; }

/* Traseira — iPhone Pro prateado com platô de câmeras */
.iphone--back { filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }
.iphone__body {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: linear-gradient(158deg, #f4f4f6 0%, #e1e2e5 38%, #cfd0d4 72%, #bdbec3 100%);
  box-shadow: inset 0 0 0 1.1cqw #c4c5c9, inset 0 0 0 1.6cqw #eeeff1, inset 0 -8cqw 16cqw rgba(0, 0, 0, .06);
}
.plateau {
  position: absolute; left: 0; right: 0; top: 0; height: 52cqw;
  border-radius: 16.4cqw 16.4cqw 5cqw 5cqw;
  background: linear-gradient(180deg, #f7f7f9, #e6e7ea 70%, #dcdde0);
  box-shadow: 0 .8cqw 1.8cqw rgba(0, 0, 0, .14), inset 0 -.4cqw 0 rgba(255, 255, 255, .7), inset 0 0 0 1.1cqw #c9cacd;
}
.lens {
  position: absolute; width: 20cqw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #07070b 0 30%, #1e2438 33%, #07070a 44%, #232326 55%, #0c0c0d 60%, #5d5d62 67%, #d9d9de 73%, #7c7c81 82%, #ececf0 90%, #a6a6ab 100%);
  box-shadow: 0 .9cqw 1.8cqw rgba(0, 0, 0, .35);
}
.lens::after {
  content: ""; position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, rgba(140, 150, 255, .6), transparent 28%), radial-gradient(circle at 64% 70%, rgba(166, 206, 57, .28), transparent 30%);
}
.lens--1 { left: 5.5cqw; top: 4.5cqw; }
.lens--2 { left: 5.5cqw; top: 27.5cqw; }
.lens--3 { left: 25.5cqw; top: 16cqw; }
.flash, .lidar, .mic { position: absolute; border-radius: 50%; }
.flash { left: 52cqw; top: 8cqw; width: 8cqw; height: 8cqw; background: radial-gradient(circle, #fff7e0 0 30%, #e6dcc0 45%, #b9b9bd 70%, #e8e8eb 100%); box-shadow: 0 .3cqw .8cqw rgba(0,0,0,.2); }
.lidar { left: 52cqw; top: 33cqw; width: 8cqw; height: 8cqw; background: radial-gradient(circle, #111 0 45%, #444 55%, #cfcfd3 75%, #9a9a9e 100%); }
.mic { left: 55cqw; top: 23.5cqw; width: 2.2cqw; height: 2.2cqw; background: #8e8e93; }

/* ---------- 10. Tiles de soluções (grid da home Apple: 12px de respiro) ---------- */
.tiles {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; padding: 12px;
  background: var(--white);
}
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 50vw, 660px);
  padding: clamp(44px, 5vw, 60px) 24px 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.tile--light { background: var(--gray-bg); color: var(--ink); }
.tile--dark { background: var(--dark-tile); color: #f5f5f7; }
.tile .eyebrow { margin-bottom: 8px; }
.tile .t-tile { max-width: 14ch; }
.tile__sub { margin-top: 12px; max-width: 25em; }
.tile .cta-row { margin-top: 22px; }
.tile__visual { position: relative; width: 100%; margin-top: auto; padding-top: 32px; }

.tile__photo {
  width: calc(100% + 48px); max-width: none; margin-inline: -24px; margin-bottom: 0;
  aspect-ratio: 16 / 10; max-height: 440px; object-fit: cover; object-position: 60% 50%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
}
.swap {
  --pw: clamp(128px, 14.5vw, 196px);
  position: relative; height: calc(var(--pw) * 1.5);
  display: flex; justify-content: center; align-items: flex-start; gap: clamp(18px, 3vw, 44px);
}
.swap::after {
  content: ""; position: absolute; inset: auto -24px 0; height: 38%;
  background: linear-gradient(180deg, rgba(22, 22, 23, 0), var(--dark-tile) 85%);
  z-index: 3;
}
.swap .iphone--old { --w: calc(var(--pw) * .88); margin-top: 8%; opacity: .92; }
.swap__badge {
  position: absolute; z-index: 4; left: 50%; top: 40%;
  width: clamp(48px, 5vw, 60px); aspect-ratio: 1; border-radius: 50%;
  transform: translateX(-50%);
  display: grid; place-items: center;
  background: var(--lime); color: #000;
  box-shadow: 0 0 0 8px rgba(166, 206, 57, .16), 0 12px 30px rgba(0, 0, 0, .45);
}
.swap__badge svg { width: 46%; height: 46%; }
.js .swap__badge { animation: spinIn 1.2s var(--ease-out) both paused; }
.js .is-in .swap__badge, .js .swap.is-in .swap__badge { animation-play-state: running; }
@keyframes spinIn { from { transform: translateX(-50%) rotate(-180deg) scale(.4); opacity: 0; } to { transform: translateX(-50%) rotate(0) scale(1); opacity: 1; } }

/* Tela do iPhone antigo (saúde de bateria) */
.old-screen {
  position: absolute; inset: 0; padding: 22cqw 9cqw 0;
  display: flex; flex-direction: column; align-items: center; gap: 4cqw;
  background: radial-gradient(90% 60% at 50% 0%, #2a2a2c, #0b0b0c 70%);
  text-align: center;
}
.old-screen__label { font-size: 5.4cqw; color: rgba(255, 255, 255, .6); }
.old-screen__value { font-size: 20cqw; font-weight: 600; line-height: 1; color: #ff9f0a; }
.old-screen__bar { width: 100%; height: 3cqw; border-radius: 9px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.old-screen__bar i { display: block; width: 76%; height: 100%; background: #ff9f0a; border-radius: inherit; }
.old-screen__hint { font-size: 4.6cqw; color: rgba(255, 255, 255, .5); line-height: 1.3; }

/* ---------- 11. Seção Troca ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  background: var(--gray-bg); border-radius: var(--r-xl);
  padding: clamp(28px, 3.2vw, 40px);
  display: flex; flex-direction: column; gap: 12px;
}
.step__num {
  font-size: clamp(3rem, 2.2rem + 2.4vw, 4.5rem); line-height: 1; font-weight: 600; letter-spacing: -.03em;
  margin-bottom: 8px;
}
.step p { color: var(--gray-2); font-size: 17px; }

.equation {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 20px;
  background: var(--black); color: #f5f5f7;
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 56px);
  text-align: center;
}
.equation::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45;
  background: url("../img/lines.svg") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 100%, #000, transparent 75%);
  mask-image: radial-gradient(70% 90% at 50% 100%, #000, transparent 75%);
}
.equation__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px clamp(14px, 2vw, 28px);
  font-size: clamp(1.625rem, 1.1rem + 2.2vw, 3rem); line-height: 1.1; font-weight: 600; letter-spacing: -.01em;
}
.equation__op { color: var(--gray); font-weight: 400; }
.equation__note { margin: 20px auto 0; max-width: 40em; font-size: 14px; color: var(--gray); }

.checks {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin-top: 20px;
}
.check {
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--hair-light); border-radius: var(--r-lg);
  padding: 22px;
  font-size: 15px; line-height: 1.4; color: var(--gray-2);
}
.check b { display: block; font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.icon-chip {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--lime-soft); color: var(--green-ink);
}
.theme-dark .icon-chip { color: var(--lime); }
.icon-chip svg { width: 24px; height: 24px; }
.section-cta { margin-top: clamp(36px, 5vw, 56px); }

/* ---------- 12. Seção Manutenção ---------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 26px 26px;
  background: var(--dark-card); border-radius: var(--r-lg);
  color: #f5f5f7; text-decoration: none;
  transition: background-color .35s var(--ease), transform .45s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.svc .icon-chip { margin-bottom: 8px; }
.svc h3 { font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: .011em; }
.svc p { font-size: 15px; line-height: 1.45; color: var(--gray); }
.svc .link { margin-top: auto; padding-top: 10px; font-size: 15px; }
.svc__chev { display: none; }
@media (hover: hover) {
  .svc:hover { background: #242426; transform: translateY(-4px); }
  .svc:hover .link { text-decoration: underline; text-underline-offset: .18em; }
}

.repair {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 20px; border-radius: var(--r-xl);
  background: var(--dark-card);
}
.repair img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 70% 50%; }
.repair::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, 0) 75%);
}
.repair figcaption {
  position: absolute; z-index: 2; left: clamp(24px, 4vw, 56px); top: 50%; transform: translateY(-50%);
  max-width: min(420px, 60%);
}
.repair figcaption .t-tile { color: #fff; }
.repair figcaption p:not(.t-tile) { margin-top: 12px; color: rgba(255, 255, 255, .78); font-size: 17px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 980px;
  font-size: 14px; line-height: 1.3; color: #e8e8ed;
  background: var(--dark-card); border: 1px solid var(--hair-dark);
}
.pill svg { width: 15px; height: 15px; color: var(--lime); flex: none; }

/* ---------- 13. Diferenciais ---------- */
.statement {
  font-size: clamp(1.75rem, 1rem + 3.4vw, 3.5rem);
  line-height: 1.14; font-weight: 600; letter-spacing: -.01em;
  max-width: 20ch; margin: 0 auto;
  text-align: center; text-wrap: balance;
}
.statement .w { transition: color .35s linear, opacity .35s linear; }
.js .statement .w { opacity: .2; }
.js .statement .w.is-lit { opacity: 1; }
.statement .hl.is-lit, .no-js .statement .hl { color: var(--lime); }

.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  margin-top: clamp(56px, 8vw, 110px);
}
.bento__card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--dark-card); border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 220px;
}
.bento__card p { color: var(--gray); font-size: 17px; line-height: 1.41; }
.bento__card p strong { color: #f5f5f7; font-weight: 600; }
.bento__card--hero { grid-row: span 2; justify-content: flex-end; min-height: 460px; }
.bento__card--hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, var(--dark-card) 22%, rgba(28, 28, 30, 0) 62%),
    radial-gradient(90% 60% at 30% 0%, rgba(166, 206, 57, .28), transparent 70%),
    url("../img/lines.svg") 30% 20% / 190% auto no-repeat;
  opacity: .85;
}
.bento__card .bento__big {
  font-size: clamp(4.5rem, 2.8rem + 6vw, 8.5rem); line-height: .95; font-weight: 700; letter-spacing: -.045em;
  color: #f5f5f7; margin-bottom: 6px;
}
.bento__big small { font-size: .34em; letter-spacing: -.02em; font-weight: 600; margin-left: .1em; color: var(--lime); }
.bento__card .bento__mid { font-size: clamp(2.75rem, 1.9rem + 2.6vw, 4rem); line-height: 1; font-weight: 700; letter-spacing: -.03em; margin-top: auto; }
.bento__card .icon-chip { margin-bottom: auto; }
.bento__title { font-size: 21px; line-height: 1.2; font-weight: 600; margin-top: 18px; }

/* ---------- 14. Conserto ou troca? ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.compare__card {
  background: var(--white); border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column;
}
.compare__card .icon-chip { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px; }
.compare__card .icon-chip svg { width: 28px; height: 28px; }
.compare__card .t-tile { font-size: clamp(1.5rem, 1.2rem + .9vw, 1.875rem); letter-spacing: -.005em; }
.compare__card--dark { background: var(--black); color: #f5f5f7; }
.compare__list { display: grid; gap: 14px; margin: 24px 0 32px; }
.compare__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 17px; line-height: 1.41; }
.compare__list svg { width: 22px; height: 22px; margin-top: 1px; color: var(--green-ink); }
.compare__card--dark .compare__list svg { color: var(--lime); }
.compare__card .btn { margin-top: auto; align-self: flex-start; }

.quiz {
  margin-top: 20px;
  background: var(--white); border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.quiz__intro .t-card { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); letter-spacing: -.005em; }
.quiz__intro p { margin-top: 10px; color: var(--gray-2); }
.quiz__progress { display: flex; gap: 6px; margin-top: 24px; }
.quiz__progress i { width: 28px; height: 4px; border-radius: 4px; background: var(--hair-light); transition: background-color .4s var(--ease); }
.quiz__progress i.is-done { background: var(--lime); }
.quiz__stage { position: relative; min-height: 250px; }
.quiz__q { display: none; }
.quiz__q.is-active { display: block; animation: qIn .6s var(--ease-out); }
@keyframes qIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.quiz__q legend, .quiz__q h3 { font-size: 21px; line-height: 1.24; font-weight: 600; margin-bottom: 18px; padding: 0; }
.quiz__q fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; text-align: left;
  padding: 16px 18px; border-radius: 14px;
  background: var(--gray-bg); border: 2px solid transparent;
  font-size: 17px; line-height: 1.3; color: var(--ink);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.quiz__opt:hover { border-color: var(--hair-light); background: #eeeef0; }
.quiz__opt::after {
  content: ""; width: .5em; height: .5em; flex: none;
  border-right: 2px solid var(--gray); border-top: 2px solid var(--gray); transform: rotate(45deg);
}
.quiz__back { margin-top: 16px; background: none; border: 0; padding: 6px 0; font-size: 15px; color: var(--green-ink); }
.quiz__back[hidden] { display: none; }
.quiz__result { display: none; }
.quiz__result.is-active { display: block; animation: qIn .6s var(--ease-out); }
.quiz__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 980px;
  background: var(--lime-soft); color: var(--green-ink);
  font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
}
.quiz__result h3 { margin: 16px 0 10px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); line-height: 1.12; font-weight: 600; }
.quiz__result p { color: var(--gray-2); }
.quiz__result .cta-row { justify-content: flex-start; margin-top: 24px; }

/* ---------- 15. Captação (formulários) ---------- */
.lead__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.lead__aside { position: sticky; top: calc(var(--nav-h) + 32px); }
.lead__aside .t-section { font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); }
.lead__aside .t-sub { margin-top: 16px; }
.lead__perks { display: grid; gap: 14px; margin: 28px 0; }
.lead__perks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 17px; line-height: 1.41; color: var(--ink-2); }
.lead__perks svg { width: 22px; height: 22px; color: var(--green-ink); margin-top: 1px; }
.lead__direct { padding-top: 24px; border-top: 1px solid var(--hair-light); font-size: 15px; color: var(--gray-2); }
.lead__direct .btn { margin-top: 12px; }

.form-card { background: var(--gray-bg); border-radius: var(--r-xl); padding: clamp(20px, 3.4vw, 44px); }

.segmented {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  padding: 4px; border-radius: 980px; background: #e3e3e8;
  margin-bottom: 28px;
}
.segmented__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 980px; background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 1px 1px rgba(0, 0, 0, .04);
  transition: transform .5s var(--ease-out);
}
.segmented[data-active="1"] .segmented__thumb { transform: translateX(100%); }
.segmented button {
  position: relative; z-index: 1; border: 0; background: none;
  min-height: 44px; padding: 8px 12px; border-radius: 980px;
  font-size: 15px; line-height: 1.2; font-weight: 600; color: var(--gray-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: color .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.segmented button svg { width: 18px; height: 18px; flex: none; }
.segmented button[aria-selected="true"] { color: var(--ink); }

.form { display: grid; gap: 22px; }
.form[hidden] { display: none; }
.form.is-entering { animation: qIn .55s var(--ease-out); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form__title { font-size: 21px; line-height: 1.24; font-weight: 600; }
.form__title + p { margin-top: 4px; font-size: 15px; color: var(--gray-2); }

.field { position: relative; }
.field input, .field select, .field textarea {
  display: block; width: 100%;
  height: 56px; padding: 22px 16px 6px;
  border: 1px solid #c7c7cc; border-radius: 12px;
  background: #fff; color: var(--ink);
  font-size: 17px; line-height: 1.24; letter-spacing: -.022em;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 104px; padding-top: 26px; resize: vertical; }
.field select { padding-right: 44px; text-overflow: ellipsis; cursor: pointer; }
.field--select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--gray-2); border-bottom: 2px solid var(--gray-2); transform: rotate(45deg);
  pointer-events: none;
}
.field label {
  position: absolute; left: 17px; top: 17px; right: 40px;
  font-size: 17px; line-height: 1.24; color: var(--gray-2);
  pointer-events: none; transform-origin: left top;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: transform .2s var(--ease), color .2s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-10px) scale(.706); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(166, 206, 57, .38);
}
.field.is-invalid input, .field.is-invalid select { border-color: #e30000; background: #fff5f5; }
.field__error, .group__error { display: none; margin-top: 6px; font-size: 12px; line-height: 1.33; color: #e30000; }
.is-invalid > .field__error, .is-invalid > .group__error { display: block; }

.group__label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 4px 10px; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.group__label small { font-size: 13px; font-weight: 400; color: var(--gray-2); }
.group__hint { margin-top: 8px; font-size: 13px; color: var(--gray-2); }
.group fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.group legend { padding: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 8px 16px; border-radius: 980px;
  border: 1px solid #c7c7cc; background: #fff;
  font-size: 15px; line-height: 1.2; color: var(--ink);
  cursor: pointer; user-select: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s;
}
.chip span:hover { border-color: var(--gray); }
.chip input:checked + span { background: var(--lime); border-color: var(--lime); color: #000; font-weight: 600; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(166, 206, 57, .45); }
.is-invalid .chip span { border-color: #f1a5a5; }

.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.option span {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 14px 16px 14px 46px; border-radius: 12px;
  border: 1px solid #c7c7cc; background: #fff;
  font-size: 15px; line-height: 1.3; color: var(--gray-2);
  cursor: pointer; position: relative;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.option span b { font-size: 17px; font-weight: 600; color: var(--ink); }
.option span::before {
  content: ""; position: absolute; left: 16px; top: 17px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid #aeaeb2; background: #fff;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.option input:checked + span { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #fbfdf5; }
.option input:checked + span::before { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 4px #fff; }
.option input:focus-visible + span { box-shadow: 0 0 0 4px rgba(166, 206, 57, .45); }

/* Aviso: fotos vão pela conversa do WhatsApp (não por upload) */
.form__hint {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start;
  padding: 14px 16px; border-radius: 12px;
  background: var(--lime-soft);
  font-size: 14px; line-height: 1.43; color: var(--ink-2);
}
.form__hint svg { width: 20px; height: 20px; color: var(--green-ink); margin-top: 1px; }
.form__hint strong { font-weight: 600; color: var(--ink); }

.form__submit { display: grid; gap: 12px; }
.form__submit .btn { width: 100%; }
.form__legal { font-size: 12px; line-height: 1.4; color: var(--gray-2); text-align: center; }

.success { text-align: center; padding: clamp(24px, 4vw, 48px) 8px; }
.success[hidden] { display: none; }
.success__icon { width: 76px; height: 76px; margin: 0 auto 22px; color: var(--green); }
.success__icon circle { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw .8s var(--ease-out) forwards; }
.success__icon path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s var(--ease-out) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.125rem); line-height: 1.12; font-weight: 600; }
.success p { margin: 12px auto 0; max-width: 30em; color: var(--gray-2); }
.success .cta-row { margin-top: 26px; }

/* ---------- 16. Prova social ---------- */
.ratings { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.rating {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 20px 12px 14px; border-radius: 980px;
  background: var(--white); text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.rating:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .08); transform: translateY(-1px); }
.rating__g { width: 32px; height: 32px; flex: none; }
.rating__score { font-size: 28px; line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.rating__meta { display: grid; gap: 2px; font-size: 13px; line-height: 1.2; color: var(--gray-2); text-align: left; }
.stars {
  display: inline-block; width: 76px; height: 14px; flex: none;
  background: linear-gradient(90deg, #fbbc04 var(--rate, 100%), #dadce0 var(--rate, 100%));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M12 1.2l3.2 6.6 7.2 1-5.2 5 1.3 7.2L12 17.6 5.5 21l1.3-7.2-5.2-5 7.2-1z'/%3E%3C/svg%3E") 0 0 / 15.2px 14px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M12 1.2l3.2 6.6 7.2 1-5.2 5 1.3 7.2L12 17.6 5.5 21l1.3-7.2-5.2-5 7.2-1z'/%3E%3C/svg%3E") 0 0 / 15.2px 14px repeat-x;
}

.gallery { position: relative; margin-top: clamp(36px, 5vw, 56px); }
.reviews {
  --edge: max(6.25vw, (100vw - 1180px) / 2);
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px var(--edge) 24px;
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 min(372px, 82vw);
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-size: 17px; font-weight: 600; color: #fff; background: var(--green);
}
.review__name { font-size: 17px; font-weight: 600; line-height: 1.2; }
.review__src { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-2); }
.review__src svg { width: 14px; height: 14px; }
.review blockquote { font-size: 17px; line-height: 1.47; color: var(--ink-2); }
.review__tag { margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 980px; background: var(--gray-bg); color: var(--gray-2); }
.paddles { width: var(--wrap-wide); margin: 4px auto 0; display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.paddles .link { margin-right: auto; font-size: 15px; }
.paddle {
  width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center;
  background: rgba(210, 210, 215, .64); color: rgba(0, 0, 0, .56);
  transition: background-color .2s, color .2s, opacity .2s;
}
.paddle:hover:not(:disabled) { background: rgba(223, 223, 227, .8); color: rgba(0, 0, 0, .64); }
.paddle:disabled { opacity: .42; cursor: default; }
.paddle svg { width: 16px; height: 16px; }

/* ---------- 17. Unidades ---------- */
.units { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.unit { display: flex; flex-direction: column; overflow: hidden; background: var(--gray-bg); border-radius: var(--r-xl); }
.unit__map { position: relative; aspect-ratio: 16 / 10; background: #e3e3e8 url("../img/lines.svg") center / 180% auto no-repeat; }
.unit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.unit__body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.unit__city { font-size: 14px; font-weight: 600; color: var(--green-ink); letter-spacing: .01em; }
.unit__name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; font-weight: 600; margin-top: -8px; }
.unit__info { display: grid; gap: 12px; }
.unit__info li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.unit__info svg { width: 20px; height: 20px; color: var(--gray-2); margin-top: 1px; }
.unit__info a { text-decoration: none; }
.unit__info a:hover { text-decoration: underline; }
.unit .cta-row { justify-content: flex-start; margin-top: auto; padding-top: 8px; gap: 12px; }

/* ---------- 18. FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.faq__tabs button {
  border: 1px solid transparent; background: none; border-radius: 980px;
  padding: 8px 16px; min-height: 40px; font-size: 15px; color: var(--gray-2);
  transition: background-color .25s, color .25s, border-color .25s;
}
.faq__tabs button:hover { color: var(--ink); }
.faq__tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); border-color: var(--hair-light); font-weight: 600; }
.faq__panel { background: var(--white); border-radius: var(--r-xl); padding: 8px clamp(20px, 3.4vw, 40px); }
.qa { border-bottom: 1px solid var(--hair-light); }
.qa:last-child { border-bottom: 0; }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.3; font-weight: 600; letter-spacing: -.01em;
  -webkit-tap-highlight-color: transparent;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline-offset: -2px; }
.qa__icon { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; transition: transform .4s var(--ease-out); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--ink); border-radius: 2px; }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(45deg); }
.qa__body { overflow: hidden; }
.qa__body > div { padding: 0 42px 24px 0; color: var(--gray-2); font-size: 17px; line-height: 1.47; }
.qa__body p + p { margin-top: 10px; }

/* ---------- 19. CTA final ---------- */
.final { position: relative; isolation: isolate; overflow: clip; text-align: center; padding-block: clamp(100px, 13vw, 190px); }
.final .hero__flow { opacity: .6; -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(80% 80% at 50% 50%, #000 10%, transparent 75%); }
.final__glow { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(900px, 120%); aspect-ratio: 1.6; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(166, 206, 57, .22), transparent); pointer-events: none; }
.final .t-hero { max-width: 15ch; margin-inline: auto; }
.final .t-sub { max-width: 30em; margin: 22px auto 0; }
.final .cta-row { margin-top: 36px; }
.final__symbol { width: 58px; margin: 0 auto 28px; }

/* ---------- 20. Rodapé ---------- */
.footer { background: var(--gray-bg); color: var(--gray-2); font-size: 12px; line-height: 1.5; letter-spacing: -.01em; padding: 44px 0 calc(96px + env(safe-area-inset-bottom)); }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--hair-light); }
.footer__brand img { height: 22px; width: auto; margin-bottom: 14px; }
.footer__brand p { max-width: 26em; }
.footer h4 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.footer li + li { margin-top: 8px; }
.footer__legal { padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__legal p { max-width: 72em; }

/* ---------- 21. WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 95;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 16px; border-radius: 980px;
  background: var(--lime); color: #000; text-decoration: none;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .32), 0 0 0 1px rgba(0, 0, 0, .08);
  transition: padding .45s var(--ease-out), gap .45s var(--ease-out), transform .3s var(--ease), background-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover { background: var(--lime-hi); transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float__label { display: block; max-width: 180px; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--ease-out), opacity .3s; }
.wa-float.is-compact { padding: 0 15px; gap: 0; }
.wa-float.is-compact .wa-float__label { max-width: 0; opacity: 0; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: var(--lime); animation: ping 2.8s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .4; } 60%, 100% { transform: scale(1.22, 1.4); opacity: 0; } }
html.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- 22. Responsivo ---------- */
@media (max-width: 1068px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__card--hero { grid-row: auto; grid-column: 1 / -1; min-height: 340px; }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz { grid-template-columns: 1fr; }
  .lead__grid { grid-template-columns: 1fr; }
  .lead__aside { position: static; text-align: center; }
  .lead__perks { display: none; }
  .lead__direct { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
}

@media (max-width: 834px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { flex-direction: row; align-items: flex-start; gap: 20px; }
  .step__num { font-size: 3rem; min-width: 1.4em; margin: -4px 0 0; }
  .compare { grid-template-columns: 1fr; }
  .units { grid-template-columns: 1fr; }
  .repair img { aspect-ratio: 16 / 10; }
}

@media (max-width: 734px) {
  :root { --nav-h: 48px; }
  .nav__logo img { height: 19px; }
  .hero__stage { --pw: clamp(172px, 50vw, 230px); height: calc(var(--pw) * 1.5); }
  .hero__phones { width: calc(var(--pw) * 1.58); }
  .tile { padding-inline: 20px; }
  .swap { --pw: clamp(136px, 38vw, 180px); }
  .tile__photo { width: calc(100% + 40px); margin-inline: -20px; }

  /* Serviços viram lista agrupada estilo Ajustes do iOS */
  .services { grid-template-columns: 1fr; gap: 0; background: var(--dark-card); border-radius: var(--r-md); overflow: hidden; }
  .svc {
    display: grid; grid-template-columns: 40px minmax(0, 1fr) 10px; align-items: center; gap: 2px 14px;
    padding: 14px 16px; border-radius: 0; background: transparent; position: relative;
  }
  .svc + .svc::before { content: ""; position: absolute; top: 0; left: 70px; right: 0; height: 1px; background: var(--hair-dark); }
  .svc .icon-chip { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; margin: 0; }
  .svc .icon-chip svg { width: 22px; height: 22px; }
  .svc h3 { font-size: 17px; line-height: 1.25; letter-spacing: -.022em; }
  .svc p { grid-column: 2; font-size: 14px; line-height: 1.35; }
  .svc .link { display: none; }
  .svc__chev { display: block; grid-column: 3; grid-row: 1 / span 2; width: 8px; height: 8px; border-right: 2px solid #5a5a5e; border-top: 2px solid #5a5a5e; transform: rotate(45deg); }
  .svc:active { background: #2a2a2c; }

  .repair img { aspect-ratio: 4 / 3; }
  .repair::after { background: linear-gradient(0deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, 0) 80%); }
  .repair figcaption { top: auto; bottom: 22px; left: 22px; right: 22px; transform: none; max-width: none; }
  .repair figcaption .t-tile { font-size: clamp(1.375rem, 1rem + 2vw, 1.75rem); }
  .repair figcaption p:not(.t-tile) { font-size: 15px; margin-top: 8px; }

  .bento { grid-template-columns: 1fr; gap: 12px; }
  .bento__card { min-height: 0; }
  .bento__card--hero { min-height: 300px; }
  .checks { gap: 10px; }
  .check { padding: 18px; }
  .equation__row { flex-direction: column; gap: 2px; }

  .form__row { grid-template-columns: 1fr; }
  .options { grid-template-columns: 1fr; }
  .segmented button { font-size: 15px; gap: 6px; padding-inline: 8px; }
  .segmented .seg-extra { display: none; }

  .quiz__opt { padding: 14px 16px; }
  .unit__map { aspect-ratio: 4 / 3; }
  .footer__top { grid-template-columns: 1fr; gap: 24px; }
  .wa-float { height: 54px; }
}

@media (max-width: 480px) {
  .hero__ctas .btn, .final .cta-row .btn { width: 100%; max-width: 340px; }
  .tile .cta-row { flex-direction: column; gap: 14px; }
  .step { flex-direction: column; gap: 4px; }
  .step__num { font-size: 2.75rem; margin: 0 0 6px; min-width: 0; }
  .checks { grid-template-columns: 1fr; }
  .check { flex-direction: row; align-items: flex-start; }
  .compare__card .btn { align-self: stretch; }
  .unit .cta-row .btn { flex: 1 1 auto; }
  .quiz__result .cta-row .btn { width: 100%; }
  .paddles { justify-content: space-between; }
}

@media (max-width: 360px) {
  .nav__actions .btn span { display: none; }
  .nav__actions .btn { padding-inline: 9px; }
  .chip span { padding-inline: 13px; font-size: 14px; }
  .form__submit .btn { padding-inline: 14px; }
}

/* ---------- 23. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .hero__title .line { opacity: 1; transform: none; filter: none; }
  .js .hero__phones .iphone { opacity: 1; translate: none; }
  .js .statement .w { opacity: 1; }
  .grad-text { animation: none; }
  .wa-float::before { display: none; }
}
