/* ==========================================================================
   Repelente Oficial — sistema visual inspirado nas páginas de produto da Apple
   ========================================================================== */

:root {
  /* tokens compartilhados com checkout.css e success.html */
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --mist: #f5f5f7;
  --blue: #0071e3;
  --blue-dark: #0058b9;
  --blue-glow: #2997ff;
  --radius: 18px;
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.08);

  --black: #000000;
  --graphite: #161617;
  --white: #ffffff;
  --paper: #fbfbfd;
  --text-dark-muted: #86868b;

  --container: 1024px;
  --gutter: clamp(20px, 5vw, 44px);
  --ease-out: cubic-bezier(0.22, 0.7, 0.18, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --font: "SF Pro Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 52px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  letter-spacing: -0.022em;
  line-height: 1.47;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  letter-spacing: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.container {
  margin: 0 auto;
  max-width: calc(var(--container) + var(--gutter) * 2);
  padding: 0 var(--gutter);
}

.container.narrow {
  max-width: calc(860px + var(--gutter) * 2);
}

.muted {
  color: var(--text-dark-muted);
}

.gradient-text {
  background: linear-gradient(90deg, #4fb4ff 0%, #2f7dff 45%, #a874ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */

.pill {
  align-items: center;
  border-radius: 980px;
  display: inline-flex;
  font-size: 17px;
  font-weight: 500;
  justify-content: center;
  line-height: 1.18;
  min-height: 44px;
  padding: 12px 22px;
  transition: background-color 0.25s ease, transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  white-space: nowrap;
}

.pill-blue {
  background: var(--blue);
  color: var(--white);
}

.pill-blue:hover {
  background: #0077ed;
}

.pill-blue:active {
  transform: scale(0.97);
}

.pill-sm {
  font-size: 12px;
  font-weight: 500;
  min-height: 28px;
  padding: 4px 12px;
}

.pill-lg {
  font-size: 18px;
  min-height: 56px;
  width: 100%;
}

.link-arrow {
  color: var(--blue-glow);
  font-size: 17px;
}

.link-arrow::after {
  content: " ›";
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}

.link-arrow:hover {
  text-decoration: underline;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* Compatibilidade com checkout.html e success.html */
.btn {
  align-items: center;
  border: 0;
  border-radius: 980px;
  cursor: pointer;
  display: inline-flex;
  font-size: 17px;
  font-weight: 500;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  transition: background-color 0.25s ease, transform 0.25s var(--ease-out);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: #0077ed;
}

.btn-wide {
  align-self: flex-start;
  min-height: 56px;
}

/* ---------- Logo ---------- */

.brand-mark svg {
  display: block;
  height: 22px;
  width: 22px;
}

.brand-mark circle {
  fill: var(--blue-glow);
  stroke: none;
}

/* ---------- Navegação local ---------- */

.localnav {
  --ln-bg: rgba(22, 22, 23, 0.72);
  --ln-fg: #f5f5f7;
  --ln-muted: rgba(255, 255, 255, 0.72);
  --ln-line: rgba(255, 255, 255, 0.16);
  height: 52px;
  margin-bottom: -52px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.localnav[data-theme="light"] {
  --ln-bg: rgba(251, 251, 253, 0.8);
  --ln-fg: #1d1d1f;
  --ln-muted: rgba(0, 0, 0, 0.62);
  --ln-line: rgba(0, 0, 0, 0.12);
}

.localnav::before {
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  background: var(--ln-bg);
  border-bottom: 1px solid var(--ln-line);
  content: "";
  inset: 0;
  position: absolute;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.localnav-inner {
  align-items: center;
  color: var(--ln-fg);
  display: flex;
  gap: 20px;
  height: 100%;
  margin: 0 auto;
  max-width: calc(var(--container) + var(--gutter) * 2);
  padding: 0 var(--gutter);
  position: relative;
  transition: color 0.5s ease;
}

.localnav-title {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.011em;
  margin-right: auto;
}

.localnav-menu {
  display: flex;
  gap: 24px;
}

.localnav-menu a {
  color: var(--ln-muted);
  font-size: 12px;
  position: relative;
  transition: color 0.25s ease;
}

.localnav-menu a:hover,
.localnav-menu a.is-current {
  color: var(--ln-fg);
}

.localnav-menu a.is-current::after {
  background: currentColor;
  border-radius: 2px;
  bottom: -17px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.localnav-toggle {
  background: none;
  border: 0;
  color: var(--ln-fg);
  cursor: pointer;
  display: none;
  height: 32px;
  padding: 4px;
  width: 32px;
}

.localnav-toggle svg {
  height: 20px;
  transition: transform 0.35s var(--ease-out);
  width: 20px;
}

.account-link {
  align-items: center;
  color: var(--ln-fg);
  display: inline-flex;
  font-size: 12px;
  gap: 6px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.account-link:hover {
  opacity: 1;
}

.account-link svg {
  height: 18px;
  width: 18px;
}

/* ---------- Seções ---------- */

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}

.dark {
  background: var(--black);
  color: #f5f5f7;
}

.light {
  background: var(--paper);
  color: var(--ink);
}

.offer {
  padding-bottom: clamp(60px, 8vw, 100px);
}

.section-headline {
  font-size: clamp(40px, 6.4vw, 80px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-sub {
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500;
  letter-spacing: 0.009em;
  margin: calc(clamp(36px, 5vw, 64px) * -0.6) 0 clamp(36px, 5vw, 64px);
  max-width: 640px;
}

.dark .section-sub {
  color: var(--text-dark-muted);
}

.eyebrow {
  color: var(--text-dark-muted);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ---------- Revelação ao rolar ---------- */

.js [data-reveal],
.js [data-reveal-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}

.js [data-reveal="scale"] {
  transform: scale(0.92);
}

.js [data-reveal].is-in,
.js [data-reveal-stagger].is-in > * {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  background: var(--black);
  height: 260vh;
  position: relative;
}

.hero-sticky {
  background: var(--black);
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  position: sticky;
  top: 0;
}

.hero-stage {
  aspect-ratio: 1717 / 916;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: 0 0;
  width: max(100vw, 187.4vh);
  will-change: transform;
}

.hero-stage.is-driven {
  left: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 var(--edge, 0%));
  mask-image: linear-gradient(90deg, transparent 0%, #000 var(--edge, 0%));
  top: 0;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.js .hero-image {
  filter: brightness(0.4) saturate(0.8);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s var(--ease-out), transform 2.6s var(--ease-out), filter 2.6s var(--ease-out);
}

.js body:not(.is-loading) .hero-image {
  filter: none;
  opacity: 1;
  transform: none;
}

.hero-waves {
  inset: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  position: absolute;
}

.hero-waves span {
  aspect-ratio: 1;
  border: 2px solid rgba(80, 170, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(41, 151, 255, 0.45), inset 0 0 24px rgba(41, 151, 255, 0.25);
  left: 26.5%;
  -webkit-mask-image: linear-gradient(90deg, transparent 42%, #000 58%);
  mask-image: linear-gradient(90deg, transparent 42%, #000 58%);
  opacity: 0;
  position: absolute;
  top: 47%;
  transform: translate(-50%, -50%) scale(0.04);
  width: 46%;
}

body:not(.is-loading) .hero-waves span {
  animation: wave 3.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}

.hero-waves span:nth-child(2) {
  animation-delay: 0.9s !important;
}

.hero-waves span:nth-child(3) {
  animation-delay: 1.8s !important;
}

.hero-waves span:nth-child(4) {
  animation-delay: 2.7s !important;
}

@keyframes wave {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.04);
  }
  12% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

.hero-led {
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(140, 200, 255, 0.95) 0%, rgba(41, 151, 255, 0.5) 35%, transparent 70%);
  border-radius: 50%;
  left: 24.9%;
  mix-blend-mode: screen;
  position: absolute;
  top: 60.2%;
  transform: translate(-50%, -50%);
  width: 4%;
}

body:not(.is-loading) .hero-led {
  animation: led 2.4s ease-in-out infinite;
}

@keyframes led {
  0%,
  100% {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.25);
  }
}

.hero-topshade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 65%);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 30%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 38%, rgba(0, 0, 0, 0) 65%);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-copy {
  bottom: clamp(48px, 9vh, 96px);
  left: 0;
  margin: 0 auto;
  max-width: calc(var(--container) + var(--gutter) * 2);
  padding: 0 var(--gutter);
  position: absolute;
  right: 0;
  transform: translateY(var(--lift, 0px));
  will-change: opacity, transform;
}

.hero-eyebrow {
  color: #f5f5f7;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-title {
  color: #f5f5f7;
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 11.5em;
}

@media (min-width: 761px) {
  .hero-copy-a {
    bottom: auto;
    top: 50%;
    transform: translateY(calc(-40% + var(--lift, 0px)));
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 38%, rgba(0, 0, 0, 0) 62%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 40%);
  }

  .hero-copy-a > * {
    max-width: 50%;
  }

  .hero-title {
    font-size: clamp(40px, 5.4vw, 80px);
  }
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero-title .line > span {
  display: inline-block;
}

.hero-price {
  color: #a1a1a6;
  font-size: clamp(15px, 1.6vw, 19px);
  margin-top: 18px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 26px;
}

/* entrada do hero */
.js .hero-eyebrow span,
.js .hero-price span,
.js .hero-actions {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.js .hero-actions {
  display: flex;
}

.js .hero-title .line > span {
  transform: translateY(110%);
  transition: transform 1.2s var(--ease-out);
}

.js body:not(.is-loading) .hero-eyebrow span {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}

.js body:not(.is-loading) .hero-title .line > span {
  transform: none;
}

.js body:not(.is-loading) .hero-title .line:nth-child(1) > span {
  transition-delay: 0.5s;
}

.js body:not(.is-loading) .hero-title .line:nth-child(2) > span {
  transition-delay: 0.65s;
}

.js body:not(.is-loading) .hero-price span {
  opacity: 1;
  transform: none;
  transition-delay: 0.95s;
}

.js body:not(.is-loading) .hero-actions {
  opacity: 1;
  transform: none;
  transition-delay: 1.1s;
}

.hero-copy-b {
  bottom: auto;
  color: #f5f5f7;
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
  top: 22%;
  transform: translateY(-50%);
}

.hero-copy-b .muted {
  color: #a1a1a6;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 0.7em;
}

.hero-scroll {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  bottom: 22px;
  height: 34px;
  left: 50%;
  margin-left: -11px;
  position: absolute;
  transition: opacity 0.5s ease;
  width: 22px;
}

.hero-scroll span {
  animation: scroll-dot 1.8s var(--ease-io) infinite;
  background: #fff;
  border-radius: 2px;
  height: 7px;
  left: 50%;
  margin-left: -1.5px;
  position: absolute;
  top: 6px;
  width: 3px;
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* ==========================================================================
   DESTAQUES (vídeo em formato reels)
   ========================================================================== */

.highlights-grid {
  align-items: center;
  display: grid;
  gap: clamp(40px, 7vw, 96px);
  grid-template-columns: minmax(0, 1fr) auto;
}

.highlights-list {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
}

.highlights-list li {
  border-left: 2px solid var(--blue-glow);
  color: var(--text-dark-muted);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.4;
  padding-left: 18px;
}

.highlights-list strong {
  color: #f5f5f7;
  display: block;
  font-weight: 600;
}

.reel {
  aspect-ratio: 9 / 16;
  background: var(--graphite);
  border-radius: 34px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 120px rgba(41, 151, 255, 0.18);
  height: min(80vh, 760px);
  overflow: hidden;
  position: relative;
}

.reel video {
  cursor: pointer;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.reel-sound,
.reel-toggle {
  align-items: center;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(30, 30, 32, 0.62);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  position: absolute;
  transition: background-color 0.25s ease, transform 0.25s var(--ease-out), opacity 0.4s ease;
  z-index: 2;
}

.reel-sound:hover,
.reel-toggle:hover {
  background: rgba(60, 60, 64, 0.8);
}

.reel-sound:active,
.reel-toggle:active {
  transform: scale(0.95);
}

.reel-sound {
  bottom: 22px;
  font-size: 15px;
  font-weight: 600;
  gap: 8px;
  height: 44px;
  padding: 0 18px 0 14px;
  right: 16px;
  white-space: nowrap;
}

.reel-sound svg,
.reel-toggle svg {
  height: 22px;
  stroke-width: 2;
  width: 22px;
}

.reel-sound .icon-sound,
.reel.is-unmuted .reel-sound .icon-muted,
.reel-toggle .icon-play,
.reel.is-paused .reel-toggle .icon-pause {
  display: none;
}

.reel.is-unmuted .reel-sound .icon-sound,
.reel.is-paused .reel-toggle .icon-play {
  display: block;
}

.reel-toggle .icon-play {
  fill: currentColor;
}

/* depois de ativar o som, o botão vira só o ícone */
.reel.is-unmuted .reel-sound {
  justify-content: center;
  padding: 0;
  width: 44px;
}

.reel.is-unmuted .reel-sound span {
  display: none;
}

.reel-sound:not(:hover) {
  animation: sound-pulse 2.4s ease-in-out infinite;
}

.reel.is-unmuted .reel-sound {
  animation: none;
}

@keyframes sound-pulse {
  50% {
    box-shadow: 0 0 0 10px rgba(41, 151, 255, 0.22);
  }
}

.reel-toggle {
  bottom: 22px;
  height: 44px;
  justify-content: center;
  left: 16px;
  width: 44px;
}

/* legendas do vídeo (desenhadas acima dos botões) */
.reel-captions {
  bottom: 84px;
  display: flex;
  justify-content: center;
  left: 14px;
  pointer-events: none;
  position: absolute;
  right: 14px;
  text-align: center;
  z-index: 2;
}

.reel-captions:empty,
.reel.captions-off .reel-captions {
  display: none;
}

.reel-captions span {
  background: rgba(0, 0, 0, 0.78);
  border-radius: 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: #fff;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  padding: 3px 9px;
}

.reel-cc {
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(30, 30, 32, 0.62);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  height: 32px;
  letter-spacing: 0.04em;
  position: absolute;
  right: 16px;
  top: 16px;
  transition: background-color 0.25s ease, color 0.25s ease;
  width: 44px;
  z-index: 2;
}

.reel-cc[aria-pressed="true"] {
  background: #fff;
  color: #000;
}

/* legendas nativas (vídeo dos depoimentos) */
.customer-video video::cue {
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-family: var(--font);
  font-size: 0.95em;
}

.reel-progress {
  background: rgba(255, 255, 255, 0.25);
  bottom: 0;
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 2;
}

.reel-progress span {
  background: #fff;
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
}

/* ==========================================================================
   FRASE PALAVRA POR PALAVRA
   ========================================================================== */

.statement {
  padding-top: clamp(80px, 14vw, 200px);
}

.statement-text {
  font-size: clamp(30px, 4.6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.statement-text .word {
  color: #f5f5f7;
  opacity: var(--o, 0.18);
  transition: opacity 0.15s linear;
}

/* ==========================================================================
   COMO FUNCIONA (pinned)
   ========================================================================== */

.howto {
  height: 420vh;
  position: relative;
}

.howto-sticky {
  align-items: center;
  display: flex;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  position: sticky;
  top: 0;
}

.howto-grid {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.howto-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.howto-day {
  align-items: baseline;
  color: var(--blue-glow);
  display: flex;
  gap: 10px;
  margin: 26px 0 18px;
}

.howto-day span {
  font-size: 21px;
  font-weight: 600;
}

.howto-day strong {
  font-size: clamp(56px, 7vw, 96px);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.howto-steps {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.howto-steps li {
  border-left: 2px solid rgba(255, 255, 255, 0.16);
  opacity: 0.32;
  padding-left: 18px;
  transition: opacity 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}

.howto-steps li.is-active {
  border-color: var(--blue-glow);
  opacity: 1;
}

.howto-steps span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.howto-steps li.is-active span {
  color: var(--blue-glow);
}

.howto-steps p {
  font-size: 17px;
  line-height: 1.4;
}

.howto-progress {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  height: 3px;
  margin-top: 26px;
  overflow: hidden;
}

.howto-progress span {
  background: linear-gradient(90deg, var(--blue-glow), #a874ff);
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
}

.howto-note {
  color: var(--text-dark-muted);
  font-size: 14px;
  margin-top: 14px;
}

.howto-visual {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
}

.radar {
  aspect-ratio: 1;
  position: relative;
  width: min(100%, 520px);
}

.radar::before {
  background: radial-gradient(circle, rgba(41, 151, 255, 0.22) 0%, rgba(41, 151, 255, 0) 62%);
  content: "";
  inset: -10%;
  opacity: var(--glow, 0.4);
  position: absolute;
}

.radar-rings span {
  aspect-ratio: 1;
  border: 1.5px solid rgba(41, 151, 255, 0.7);
  border-radius: 50%;
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.12);
  width: 100%;
}

.howto.is-visible .radar-rings span {
  animation: radar 4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}

.radar-rings span:nth-child(2) { animation-delay: 0.8s !important; }
.radar-rings span:nth-child(3) { animation-delay: 1.6s !important; }
.radar-rings span:nth-child(4) { animation-delay: 2.4s !important; }
.radar-rings span:nth-child(5) { animation-delay: 3.2s !important; }

@keyframes radar {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.12);
  }
  15% {
    opacity: var(--ring-o, 0.6);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

.device {
  height: 34%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 23%;
  z-index: 2;
}

.device-plug {
  background: linear-gradient(180deg, #2b2b2e, #111);
  border-radius: 18% / 12%;
  inset: 4% -6% 4% 6%;
  position: absolute;
}

.device-body {
  align-items: center;
  background: linear-gradient(160deg, #ffffff 0%, #ececee 60%, #d6d6da 100%);
  border-radius: 30% / 22%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 -6px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  position: absolute;
}

.device-logo {
  color: #c4161c;
  font-size: clamp(8px, 1.15vw, 13px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
}

.device-led {
  animation: led-small 2.4s ease-in-out infinite;
  background: #3aa0ff;
  border-radius: 50%;
  box-shadow: 0 0 10px 4px rgba(58, 160, 255, 0.8);
  height: 9%;
  margin-top: 26%;
  aspect-ratio: 1;
}

@keyframes led-small {
  50% {
    box-shadow: 0 0 22px 8px rgba(58, 160, 255, 0.95);
  }
}

.bugs {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.bug {
  height: 22px;
  left: 50%;
  margin: -11px 0 0 -11px;
  position: absolute;
  top: 50%;
  width: 22px;
  will-change: transform, opacity;
}

.bug svg {
  color: #a1a1a6;
  fill: #6e6e73;
  height: 100%;
  stroke-width: 1.2;
  width: 100%;
}

/* ==========================================================================
   FAMÍLIA (imagem que expande)
   ========================================================================== */

.family {
  background: var(--black);
  height: 220vh;
  position: relative;
}

.family-sticky {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  position: sticky;
  top: 0;
}

.family-frame {
  clip-path: inset(var(--inset-y, 14%) var(--inset-x, 12%) round var(--round, 32px));
  height: 100%;
  position: absolute;
  inset: 0;
  will-change: clip-path;
}

.family-frame img {
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
  transform: scale(var(--img-scale, 1.2));
  width: 100%;
  will-change: transform;
}

.family-frame::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 55%);
  content: "";
  inset: 0;
  opacity: var(--copy-o, 0);
  position: absolute;
}

.family-copy {
  bottom: clamp(48px, 10vh, 110px);
  color: #fff;
  left: 0;
  margin: 0 auto;
  max-width: calc(var(--container) + var(--gutter) * 2);
  opacity: var(--copy-o, 0);
  padding: 0 var(--gutter);
  position: absolute;
  right: 0;
  transform: translateY(calc((1 - var(--copy-o, 0)) * 40px));
}

.family-copy h2 {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.family-copy p {
  color: #d2d2d7;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 500;
  margin-top: 18px;
  max-width: 560px;
}

/* ==========================================================================
   BENEFÍCIOS
   ========================================================================== */

.benefits {
  background: var(--paper);
}

.benefit-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.tile {
  background: var(--mist);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 30px;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.tile:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px) !important;
}

.tile-wide {
  grid-column: span 2;
}

.tile-dark {
  background: var(--black);
  color: #f5f5f7;
}

.tile-blue {
  background: linear-gradient(135deg, #0a84ff 0%, #2753ff 55%, #7a4dff 100%);
  color: #fff;
}

.tile-icon {
  color: var(--blue);
  height: 44px;
  margin-bottom: auto;
  stroke-width: 2.2;
  width: 44px;
}

.tile-dark .tile-icon {
  color: var(--blue-glow);
}

.tile-big {
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: auto;
}

.tile h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.011em;
  margin-top: 26px;
}

.tile p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 6px;
}

.tile-dark p,
.tile-blue p {
  color: rgba(255, 255, 255, 0.76);
}

/* ==========================================================================
   DEPOIMENTOS
   ========================================================================== */

.testimonial-layout {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.customer-video {
  background: var(--graphite);
  border-radius: 28px;
  justify-self: center;
  max-width: 420px;
  overflow: hidden;
  width: 100%;
}

.customer-video video {
  max-height: 78vh;
  width: 100%;
}

.quotes {
  display: grid;
  gap: 34px;
}

.quotes blockquote {
  margin: 0;
}

.quotes p {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.quotes footer {
  color: var(--text-dark-muted);
  font-size: 15px;
  margin-top: 10px;
}

.quotes strong {
  color: #f5f5f7;
  font-weight: 600;
}

/* ==========================================================================
   OFERTA
   ========================================================================== */

.offer-layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: 1.1fr 1fr;
}

.offer-media {
  position: sticky;
  top: 80px;
}

.offer-media img {
  aspect-ratio: 4 / 3.4;
  border-radius: 28px;
  object-fit: cover;
  object-position: 18% 50%;
  width: 100%;
}

.offer-perks {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.offer-perks li {
  color: var(--muted);
  font-size: 15px;
  padding-left: 26px;
  position: relative;
}

.offer-perks li::before {
  color: var(--blue);
  content: "✓";
  font-weight: 700;
  left: 0;
  position: absolute;
}

.offer-buy {
  display: grid;
  gap: 14px;
}

.plan,
.custom-quantity {
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 20px 22px;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.4s var(--ease-out);
}

.plan:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

.plan:active {
  transform: scale(0.99) !important;
}

.plan-featured {
  border-color: var(--blue);
}

.plan-badge {
  background: var(--blue);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  left: 20px;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  position: absolute;
  text-transform: uppercase;
  top: -11px;
}

.plan-name {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

.plan small,
.custom-quantity small {
  color: var(--muted);
  display: block;
  font-size: 14px;
}

.plan-price {
  font-size: 21px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}

.custom-quantity {
  display: grid;
  gap: 14px 16px;
  grid-template-areas:
    "name price"
    "ctrl ctrl";
  grid-template-columns: 1fr auto;
}

.custom-quantity > div:first-child {
  grid-area: name;
}

.custom-quantity .quantity-control {
  grid-area: ctrl;
  justify-self: start;
}

.custom-quantity #customPrice {
  grid-area: price;
}

.quantity-control {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  overflow: hidden;
}

.quantity-btn {
  background: transparent;
  border: 0;
  color: var(--blue);
  cursor: pointer;
  font-size: 20px;
  height: 40px;
  width: 40px;
}

.quantity-btn:hover {
  background: var(--mist);
}

.quantity-control input {
  -moz-appearance: textfield;
  appearance: textfield;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  height: 40px;
  text-align: center;
  width: 46px;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#customPrice {
  min-width: 112px;
  text-align: right;
}

.offer-buy .pill-lg {
  margin-top: 8px;
}

.offer-note {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 600;
  gap: 20px;
  justify-content: space-between;
  list-style: none;
  padding: 26px 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--blue);
  content: "+";
  flex: 0 0 auto;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.4s var(--ease-out);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  color: var(--muted);
  font-size: 17px;
  max-width: 720px;
  padding-bottom: 26px;
}

.faq-list details[open] .faq-body {
  animation: faq-in 0.5s var(--ease-out);
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.offer-note a,
.link-blue {
  color: var(--blue);
}

.offer-note a:hover,
.link-blue:hover {
  text-decoration: underline;
}

/* ==========================================================================
   GARANTIA (7 dias)
   ========================================================================== */

.guarantee {
  background: var(--mist);
}

.guarantee-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.guarantee-card {
  background: #fff;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.guarantee-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px) !important;
}

.guarantee-big {
  background: linear-gradient(90deg, #0a84ff, #7a4dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.guarantee-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-top: 22px;
}

.guarantee-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 8px 0 22px;
}

.link-arrow-dark {
  color: var(--blue);
  font-size: 15px;
  margin-top: auto;
}

.link-arrow-dark::after {
  content: " ›";
}

/* ==========================================================================
   PÁGINA DE POLÍTICAS
   ========================================================================== */

.policy {
  padding: calc(52px + clamp(40px, 7vw, 80px)) 0 clamp(64px, 10vw, 120px);
}

.policy-back {
  color: var(--blue);
  display: inline-block;
  font-size: 15px;
  margin-bottom: 18px;
}

.policy h1 {
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.policy-highlight {
  background: var(--black);
  border-radius: 24px;
  color: #f5f5f7;
  margin: 34px 0 26px;
  padding: clamp(24px, 4vw, 36px);
}

.policy-highlight strong {
  color: var(--blue-glow);
  display: block;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
}

.policy .policy-highlight p {
  color: #d2d2d7;
  margin-top: 10px;
}

.policy-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.policy-toc a {
  background: var(--mist);
  border-radius: 999px;
  font-size: 14px;
  padding: 8px 14px;
  transition: background-color 0.2s ease;
}

.policy-toc a:hover {
  background: #e8e8ed;
}

.policy section {
  border-top: 1px solid var(--line);
  padding: 30px 0 26px;
  scroll-margin-top: 60px;
}

.policy h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  margin-bottom: 12px;
}

.policy p,
.policy li {
  color: #424245;
  font-size: 17px;
  line-height: 1.55;
}

.policy ul,
.policy ol {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.policy section a {
  color: var(--blue);
}

.policy-muted {
  color: var(--muted) !important;
  font-size: 15px !important;
  margin-top: 14px;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */

.footer {
  background: var(--mist);
  color: var(--muted);
  font-size: 12px;
  padding: 22px 0 30px;
}

.footer-note {
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
  padding-bottom: 16px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding-top: 16px;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 1068px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .localnav-toggle {
    display: block;
  }

  .localnav-menu {
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    background: var(--ln-bg);
    border-bottom: 1px solid var(--ln-line);
    display: grid;
    gap: 0;
    left: 0;
    opacity: 0;
    padding: 6px var(--gutter) 18px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 52px;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  }

  .localnav-menu a {
    border-top: 1px solid var(--ln-line);
    font-size: 17px;
    padding: 12px 0;
  }

  .localnav-menu a:first-child {
    border-top: 0;
  }

  .localnav-menu a.is-current::after {
    display: none;
  }

  .localnav.is-open .localnav-menu {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .localnav.is-open .localnav-toggle svg {
    transform: rotate(180deg);
  }

  .localnav-title {
    font-size: 19px;
  }

  .howto-grid {
    align-content: center;
    gap: 8px;
    grid-template-columns: 1fr;
    height: 100%;
    padding-top: 60px;
  }

  .howto-visual {
    aspect-ratio: auto;
    height: 34vh;
    order: -1;
  }

  .radar {
    height: 100%;
    width: auto;
  }

  .howto-title {
    font-size: 30px;
  }

  .howto-day {
    margin: 12px 0 8px;
  }

  .howto-day strong {
    font-size: 52px;
  }

  .howto-steps {
    display: block;
    min-height: 92px;
    position: relative;
  }

  .howto-steps li {
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(12px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  }

  .howto-steps li.is-active {
    opacity: 1;
    transform: none;
  }

  .eyebrow {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .testimonial-layout,
  .offer-layout,
  .highlights-grid,
  .guarantee-grid {
    grid-template-columns: 1fr;
  }

  .reel {
    height: auto;
    justify-self: center;
    max-height: 82svh;
    max-width: 100%;
    width: min(100%, 420px, calc(82svh * 9 / 16));
  }

  .offer-media {
    position: static;
  }

  .offer-media img {
    aspect-ratio: 16 / 11;
  }

  .customer-video {
    margin: 0 auto;
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .tile-wide {
    grid-column: auto;
  }

  .tile {
    min-height: 200px;
  }

  .hero-actions .pill {
    min-width: 140px;
  }

  .plan,
  .custom-quantity {
    padding: 18px;
  }

  #customPrice {
    min-width: 0;
  }
}

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal],
  .js [data-reveal-stagger] > * {
    opacity: 1;
    transform: none;
  }

  .hero,
  .howto,
  .family {
    height: auto;
  }

  .hero-sticky,
  .howto-sticky,
  .family-sticky {
    position: relative;
  }

  .howto-sticky {
    height: auto;
    padding: 100px 0;
  }

  .howto-steps li {
    opacity: 1;
  }

  .family-frame {
    clip-path: none;
  }

  .family-copy {
    opacity: 1;
    transform: none;
  }
}
