/* =========================================================
   KNET — LANDING PAGE
   Paleta: amarelo #e9be3c | escuro #1d1d1d
   ========================================================= */

:root {
  /* Cores da marca */
  --yellow: #e9be3c;
  --yellow-hover: #f2c94c;
  --yellow-dark: #b78f1c;
  --yellow-soft: rgba(233, 190, 60, 0.16);

  /* Preto base — fonte única. Seções, cards, botões e textos escuros
     derivam todos deste token. Não use outro preto no projeto. */
  --dark: #1d1d1d;
  --dark-deep: var(--dark);
  --dark-soft: var(--dark);

  --bg-light: #f7f6f2;
  --white: #ffffff;

  --ink: var(--dark);
  --muted: #6e6e6e;
  --line: rgba(29, 29, 29, 0.1);
  --line-light: rgba(255, 255, 255, 0.1);

  /* Tipografia */
  --font-head: "Outfit", system-ui, -apple-system, sans-serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;

  /* Seção de planos */
  --plans-bg: #f8f7f3;
  --plans-accent: #f0c43d;
  --plans-ink: var(--dark);

  /* Cards de plano — mesmo preto da seção escura */
  --plan-bg: var(--dark);
  --plan-accent: #ffc629;
  --plan-accent-hover: #f0b90f;
  --plan-white: #ffffff;
  --plan-muted: #b9b9bd;

  /* Layout */
  --container: 1180px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 14px 34px -24px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 26px 50px -30px rgba(0, 0, 0, 0.45);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  /* Compensa a barra fixa: sem isso, ao clicar no menu o título da seção
     pararia escondido atrás do header. */
  scroll-padding-top: clamp(66px, 8vw, 100px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* `hidden` no body pode criar um contêiner de rolagem e travar o
   `position: sticky` da barra. `clip` recorta igual, sem esse efeito. */
@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; flex-shrink: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

/* ============================ BOTÕES ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out),
              background-color 0.25s ease,
              box-shadow 0.3s ease,
              color 0.25s ease;
  will-change: transform;
}

.btn--primary {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 14px 30px -16px rgba(233, 190, 60, 0.95);
}
.btn--primary:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -16px rgba(233, 190, 60, 1);
}

.btn--dark {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.65);
}
.btn--dark:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.75);
}

.btn--lg { padding: 19px 40px; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0); }

/* ---------------- Animated Border Trail (cometa na borda) ----------------
   Um arco luminoso percorre o perímetro do botão. O truque é um
   conic-gradient rotacionado por uma custom property registrada
   (@property) + máscara que mantém só o anel de 3px da borda. */
@property --trail-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.btn--trail {
  --trail-angle: 0deg; /* fallback: browsers sem @property veem o arco parado */
  position: relative;
  isolation: isolate;
}

.btn--trail::before {
  content: "";
  position: absolute;
  inset: -3px;              /* cresce 3px além do botão */
  padding: 3px;             /* ...que é a espessura do anel */
  border-radius: inherit;
  background: conic-gradient(
    from var(--trail-angle),
    rgba(255, 255, 255, 0)     0deg,
    rgba(255, 255, 255, 0)   188deg,
    rgba(255, 255, 255, 0.08) 226deg,
    rgba(255, 255, 255, 0.42) 300deg,
    #ffffff                   348deg,
    var(--yellow-hover)       358deg,
    rgba(255, 255, 255, 0)   360deg
  );
  /* Só o anel: camada de máscara do content-box XOR ao padding-box */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: btn-trail-spin 3.4s linear infinite;
  pointer-events: none;
}

@keyframes btn-trail-spin {
  to { --trail-angle: 360deg; }
}

/* No hover o cometa acelera sem reiniciar o ciclo */
.btn--trail:hover::before,
.btn--trail:focus-visible::before { animation-duration: 1.7s; }

@media (prefers-reduced-motion: reduce) {
  .btn--trail::before { display: none; }
}

/* ============================ ANIMAÇÕES ============================ */
[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

.plans > *:nth-child(2),
.benefit-grid > *:nth-child(2),
.apps-grid > *:nth-child(2),
.why__grid > *:nth-child(2) { transition-delay: 0.1s; }

.plans > *:nth-child(3),
.benefit-grid > *:nth-child(3),
.apps-grid > *:nth-child(3),
.why__grid > *:nth-child(3) { transition-delay: 0.2s; }

.benefit-grid > *:nth-child(4),
.apps-grid > *:nth-child(4),
.why__grid > *:nth-child(4) { transition-delay: 0.3s; }

.why__grid > *:nth-child(5) { transition-delay: 0.38s; }
.why__grid > *:nth-child(6) { transition-delay: 0.46s; }

/* ======================= BARRA SUPERIOR (FIXA AO ROLAR) =======================
   `sticky` em vez de `fixed`: a barra permanece no topo durante o scroll e
   continua ocupando espaço no fluxo, então o hero não precisa de
   compensação de altura — que mudaria junto com o clamp do logo. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.35s ease, background-color 0.35s ease,
              border-color 0.35s ease, backdrop-filter 0.35s ease;
}

/* Estado compacto: disparado pelo JS depois de 12px de rolagem */
.topbar.is-scrolled {
  background: rgba(29, 29, 29, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: rgba(233, 190, 60, 0.22);
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.9);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding-block: clamp(12px, 1.6vw, 18px);
  transition: padding-block 0.35s var(--ease-out);
}
.topbar.is-scrolled .topbar__inner { padding-block: clamp(8px, 1vw, 12px); }

.topbar__brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: opacity 0.25s ease;
}
.topbar__brand:hover { opacity: 0.85; }
.topbar__brand img {
  width: auto;
  height: clamp(34px, 4vw, 46px);
  object-fit: contain;
  transition: height 0.35s var(--ease-out);
}
.topbar.is-scrolled .topbar__brand img { height: clamp(28px, 3.2vw, 38px); }

/* ------------------------------ MENU ------------------------------ */
.topbar__nav { margin-left: auto; }

.topbar__list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
}

.topbar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-block: 6px;
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.74);
  white-space: nowrap;
  transition: color 0.25s ease;
}

/* Traço amarelo que nasce do centro — mesmo vocabulário do sublinhado
   de "plano ideal", em escala de menu. */
.topbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease-out);
}

.topbar__link:hover,
.topbar__link:focus-visible { color: var(--white); }
.topbar__link:hover::after,
.topbar__link:focus-visible::after,
.topbar__link.is-active::after { transform: scaleX(1); }
.topbar__link.is-active { color: var(--white); }

/* ------------------------- CTA + BOTÃO MOBILE ------------------------- */
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: clamp(4px, 1vw, 12px);
}

.topbar__cta {
  padding: 13px 28px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.topbar__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 42px;
  height: 38px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.topbar__burger:hover { border-color: rgba(233, 190, 60, 0.6); }
.topbar__burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.32s var(--ease-out), opacity 0.18s ease;
}
/* Vira "X" quando o menu está aberto */
.topbar__burger[aria-expanded="true"] { border-color: rgba(233, 190, 60, 0.6); }
.topbar__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.topbar__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.topbar__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- Até 900px o menu vira painel suspenso sob a barra ---- */
@media (max-width: 900px) {
  .topbar__burger { display: flex; }

  /* Com o menu fora do fluxo, o CTA precisa assumir o empurrão à direita */
  .topbar__actions { margin-left: auto; }

  .topbar__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 44px -28px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.32s var(--ease-out),
                visibility 0.28s ease;
  }
  .topbar__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .topbar__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px clamp(20px, 4vw, 32px) 16px;
  }
  .topbar__link {
    padding-block: 14px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .topbar__link::after { display: none; }
  .topbar__link.is-active,
  .topbar__link:hover { color: var(--yellow); }
  .topbar__list li:last-child .topbar__link { border-bottom: 0; }

  .topbar__cta { padding: 12px 22px; font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .topbar__inner { gap: 12px; }
  .topbar__brand img { height: 30px; }
  .topbar__cta { padding: 11px 18px; font-size: 0.72rem; }
  .topbar__burger { width: 40px; height: 36px; }
  /* Barras ficam 2px mais próximas: o "X" precisa de ±6px aqui */
  .topbar__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .topbar__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ======================= SEÇÃO 1 — HERO ======================= */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 50% 0%, #2b2416 0%, rgba(29, 29, 29, 0) 68%),
    var(--dark);
  overflow: hidden;
}

.hero__banner {
  line-height: 0;
  background: var(--dark);
}
.hero__banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 671;
  object-fit: cover;
}

/* Banner mobile (600x700) — proporção vertical própria */
@media (max-width: 767px) {
  .hero__banner img { aspect-ratio: 600 / 700; }
}

.hero__content {
  position: relative;
  max-width: 940px;
  padding-block: clamp(18px, 2.4vw, 28px) clamp(22px, 2.8vw, 34px);
  text-align: center;
}

.hero__title {
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
}
.hero__title span { color: var(--yellow); }

.hero__subtitle {
  max-width: 720px;
  margin: clamp(16px, 2vw, 22px) auto 0;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  color: rgba(255, 255, 255, 0.78);
}

.hero__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(24px, 3vw, 32px);
}

.hero__list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.hero__list li:hover {
  border-color: rgba(233, 190, 60, 0.55);
  background: rgba(233, 190, 60, 0.1);
}
.hero__list svg {
  width: 16px;
  height: 16px;
  color: var(--yellow);
}

.hero__content .btn { margin-top: 0; }

/* ==================== PADRÃO DE SEÇÕES ==================== */
.section { padding-block: clamp(58px, 8vw, 106px); }
.section--light { background: var(--bg-light); }
.section--dark {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(233, 190, 60, 0.08) 0%, rgba(29, 29, 29, 0) 65%),
    var(--dark);
  color: var(--white);
}

.section__head {
  max-width: 800px;
  margin: 0 auto clamp(34px, 5vw, 56px);
  text-align: center;
}

.section__title {
  font-size: clamp(1.5rem, 3.3vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--dark);
}
.section--dark .section__title { color: var(--white); }
.section__title-accent { color: var(--yellow); }

.section__sub {
  margin-top: 16px;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--muted);
  text-wrap: pretty;
}
.section--dark .section__sub { color: rgba(255, 255, 255, 0.72); }

.section__desc {
  margin-top: 10px;
  font-size: clamp(0.92rem, 1.15vw, 1rem);
  color: var(--muted);
  text-wrap: pretty;
}
.section--dark .section__desc { color: rgba(255, 255, 255, 0.6); }

/* ==================== SEÇÃO 2 — PLANOS ==================== */
.plans-section {
  position: relative;
  background: var(--plans-bg);
  overflow: hidden;
}

/* WiFi decorativo flutuante — lado direito, com margem de respiro */
.plans-wifi {
  position: absolute;
  top: clamp(34px, 5vw, 74px);
  right: clamp(20px, 4vw, 68px);
  width: clamp(96px, 11vw, 176px);
  height: auto;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 18px 28px rgba(29, 29, 29, 0.14));
  animation: wifi-float 6.5s var(--ease-out) infinite;
  will-change: transform;
}

.plans-section > .container {
  position: relative;
  z-index: 1;
}

/* WiFi decorativo flutuante — lado esquerdo, inferior, versão menor */
.plans-wifi--sm {
  top: auto;
  right: auto;
  bottom: clamp(24px, 4vw, 56px);
  left: clamp(18px, 3.5vw, 56px);
  width: clamp(74px, 7vw, 118px);
  filter: drop-shadow(0 14px 22px rgba(29, 29, 29, 0.12));
  animation-name: wifi-float-sm;
  animation-duration: 7.8s;
  animation-delay: -2.4s;
}

@keyframes wifi-float-sm {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(0, -10px, 0); }
}

@keyframes wifi-float {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(0, -14px, 0); }
}

/* Cabeçalho da seção */
.plans-head {
  max-width: 780px;
  margin: 0 auto clamp(38px, 5vw, 58px);
  text-align: center;
}

.plans-head__title {
  font-family: var(--font-body);
  font-size: clamp(1.55rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--plans-ink);
  text-wrap: balance;
}

/* Destaque do "plano ideal": traço amarelo que nasce pequeno e expande
   do centro. O ::after ocupa exatamente o lugar do antigo box-shadow
   inset (mesma altura, mesma borda inferior), mas agora em um elemento
   próprio — box-shadow não pode ser escalado sem arrastar o texto. */
.plans-head__hl {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.plans-head__hl::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 0.18em;
  background: var(--plans-accent);
  z-index: -1;
  transform-origin: center center;
  will-change: transform;
  animation: hl-trail 3.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes hl-trail {
  0%,
  8%  { transform: scaleX(0.16); }
  46% { transform: scaleX(1); }
  62% { transform: scaleX(1); }
  100% { transform: scaleX(0.16); }
}

.plans-head__sub {
  margin-top: clamp(14px, 1.6vw, 18px);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  color: #6c6c70;
  text-wrap: pretty;
}

/* Grid de cards */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
  align-items: stretch;
  max-width: 1080px;
  margin-inline: auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: clamp(30px, 3.2vw, 42px) clamp(22px, 2.6vw, 34px) clamp(26px, 2.8vw, 34px);
  background: var(--plan-bg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: clamp(28px, 3vw, 38px) clamp(28px, 3vw, 38px) 18px 18px;
  text-align: center;
  transition: transform 0.32s var(--ease-out),
              border-color 0.32s ease;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 198, 41, 0.42);
}

.plan--featured {
  border-color: rgba(255, 198, 41, 0.85);
}
.plan--featured:hover {
  border-color: var(--plan-accent);
}

/* Etiqueta + velocidade */
.plan__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 1.9vw, 22px);
  width: 100%;
}

.plan__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 20px 6px;
  border-radius: 999px;
  background: var(--plan-accent);
  color: var(--plan-bg);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plan__speed {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1;
  color: var(--plan-white);
}
.plan__num {
  font-size: clamp(4.8rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.055em;
}
.plan__speed em {
  margin-top: 0.06em;
  font-style: normal;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--plan-accent);
}

.plan__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  margin-top: clamp(18px, 2.2vw, 26px);
  color: var(--plan-white);
  line-height: 1;
}
.plan__currency {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--plan-muted);
}
.plan__amount {
  font-size: clamp(2.4rem, 4.4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan__period {
  align-self: flex-end;
  padding-bottom: 0.32em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--plan-accent);
}

.plan__features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.5vw, 16px);
  width: 100%;
  margin-top: clamp(20px, 2.4vw, 28px);
  flex: 1;
}
.plan__features li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--plan-muted);
}
.plan__features svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  color: var(--plan-accent);
}

/* Botão CTA */
.plan__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: clamp(22px, 2.4vw, 28px);
  padding: 16px 22px;
  border-radius: 999px;
  background: var(--plan-accent);
  color: var(--plan-bg);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.22s ease,
              transform 0.22s ease;
}
.plan__cta svg {
  width: 17px;
  height: 17px;
  transition: transform 0.22s ease;
}
.plan__cta:hover {
  background: var(--plan-accent-hover);
  transform: translateY(-2px);
}
.plan__cta:hover svg { transform: translateX(4px); }
.plan__cta:active { transform: translateY(0); }
.plan__cta:focus-visible {
  outline: 2px solid var(--plan-white);
  outline-offset: 3px;
}

.plan__note {
  margin-top: 12px;
  font-size: 0.72rem;
  text-align: center;
  color: rgba(185, 185, 189, 0.7);
}

/* ==================== SEÇÃO 3 — BENEFÍCIOS ==================== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

.benefit {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 30px) clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(0) scale(1);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.55s ease;
  will-change: transform;
}
.benefit:hover {
  z-index: 2;
  transform: translateY(-6px) scale(1.045);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(233, 190, 60, 0.5);
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.85),
              0 0 0 1px rgba(233, 190, 60, 0.16);
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 12px 24px -16px rgba(233, 190, 60, 0.9);
}
.benefit__icon svg { width: 24px; height: 24px; }

/* ---- Ícones animados (movimento sutil, contínuo, só transform/opacity) ---- */
.benefit__svg { overflow: visible; }

/* 01 — WiFi: ondas se propagando do ponto central para fora */
.benefit__svg--wifi .bw {
  transform-box: view-box;
  transform-origin: 12px 20px;
  animation: bw-wave 2.4s ease-in-out infinite;
}
.benefit__svg--wifi .bw--2 { animation-delay: 0s; }
.benefit__svg--wifi .bw--3 { animation-delay: 0.28s; }
.benefit__svg--wifi .bw--4 { animation-delay: 0.56s; }
.benefit__svg--wifi .bw-dot {
  transform-box: view-box;
  transform-origin: 12px 20px;
  animation: bw-dot 1.2s ease-in-out infinite;
}
@keyframes bw-wave {
  0%, 100% { opacity: 0.3; }
  22% { opacity: 1; }
  60% { opacity: 0.45; }
}
@keyframes bw-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* 02 — Instalação: seta descendo na direção da "bandeja" */
.benefit__svg--install .bi-arrow {
  transform-box: view-box;
  transform-origin: 12px 12px;
  animation: bi-drop 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes bi-drop {
  0% { transform: translateY(-2px); opacity: 0.35; }
  40% { transform: translateY(2.4px); opacity: 1; }
  100% { transform: translateY(-2px); opacity: 0.35; }
}

/* 03 — Benefícios extras: caixa de presente com um "chacoalhar" breve */
.benefit__svg--gift .bg-box {
  transform-box: view-box;
  transform-origin: 12px 21px;
  animation: bg-shake 4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes bg-shake {
  0%, 62%, 100% { transform: rotate(0deg); }
  8% { transform: rotate(-6deg); }
  18% { transform: rotate(5deg); }
  28% { transform: rotate(-3.5deg); }
  38% { transform: rotate(2deg); }
  48% { transform: rotate(0deg); }
}

/* 04 — Atendimento: respiração suave com as conchas do headset pulsando */
.benefit__svg--support .bs-wrap {
  transform-box: view-box;
  transform-origin: 12px 12px;
  animation: bs-breathe 2.8s ease-in-out infinite;
}
.benefit__svg--support .bs-cup {
  transform-box: view-box;
  transform-origin: 12px 12px;
  animation: bs-cup 2.8s ease-in-out infinite;
}
@keyframes bs-breathe {
  0%, 45%, 100% { transform: scale(1); }
  22% { transform: scale(1.06); }
}
@keyframes bs-cup {
  0%, 45%, 100% { opacity: 1; }
  22% { opacity: 0.7; }
}

/* Hover do card: o ícone ganha presença sem exagerar */
.benefit__icon {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s ease,
              background-color 0.3s ease;
}
.benefit:hover .benefit__icon {
  transform: scale(1.06);
  box-shadow: 0 16px 30px -14px rgba(233, 190, 60, 1);
}

.benefit__title {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
}

.benefit__text {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.benefit__note {
  margin-top: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ==================== SEÇÃO 4 — APPS ==================== */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

.app-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 2.8vw, 32px);
  background: var(--plan-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 20px 44px -34px rgba(0, 0, 0, 0.75);
  transition: transform 0.4s var(--ease-out),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
}
.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--yellow);
  box-shadow: 0 32px 60px -34px rgba(0, 0, 0, 0.8);
}

.app-card--wide { grid-column: 1 / -1; }

.app-card--wide .app-card__title {
  text-align: center;
  font-size: clamp(1.6rem, 3.4vw, 2rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* ---------- Arte de fundo translúcida dos cards de benefícios ---------- */
/* A imagem entra como camada separada, atrás do conteúdo, com opacidade
   baixa e véu em gradiente para não competir com o texto. */
.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-repeat: no-repeat;
  background-position: right -12% bottom -16%;
  background-size: 86% auto;
  opacity: 0.24;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(115% 115% at 92% 98%,
            #000 0%, rgba(0, 0, 0, 0.72) 42%, transparent 82%);
  mask-image: radial-gradient(115% 115% at 92% 98%,
            #000 0%, rgba(0, 0, 0, 0.72) 42%, transparent 82%);
  transition: opacity 0.5s ease, transform 0.7s var(--ease-out);
}
.app-card__icon,
.app-card__title,
.app-card__text {
  position: relative;
  z-index: 1;
}
.app-card--conectividade::after {
  background-image: url("images/1ceac7c2-e58e-4a0f-9a15-c8a2ac743f7e.webp");
}
.app-card--seguranca::after {
  background-image: url("images/cd44ae57-2c22-49ef-9ee4-829333bca94f.webp");
}
.app-card--saude::after {
  background-image: url("images/42a0fcb4-ec4c-4a5c-aa5f-8405bf7c64c8.webp");
}
.app-card--conectividade:hover::after,
.app-card--seguranca:hover::after,
.app-card--saude:hover::after {
  opacity: 0.36;
  transform: scale(1.05);
}

.app-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--yellow);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s ease,
              background-color 0.3s ease;
}
.app-card:hover .app-card__icon {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 26px -14px rgba(233, 190, 60, 0.9);
}
.app-card__icon svg { width: 23px; height: 23px; overflow: visible; }

/* ---------- Ícone 1 · MAIS CONECTIVIDADE — ondas de sinal ---------- */
.app-ico--wifi .aw {
  transform-box: view-box;
  transform-origin: 12px 20px;
  opacity: 0.3;
  animation: aw-wave 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.app-ico--wifi .aw--2 { animation-delay: 0s; }
.app-ico--wifi .aw--3 { animation-delay: 0.38s; }
.app-ico--wifi .aw--4 { animation-delay: 0.76s; }

@keyframes aw-wave {
  0% {
    opacity: 0.3;
    transform: scale(0.9);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
  62%,
  100% {
    opacity: 0.3;
    transform: scale(0.9);
  }
}

.app-ico--wifi .aw-dot {
  transform-box: view-box;
  transform-origin: 12px 20px;
  animation: aw-dot 2.4s ease-in-out infinite;
}

@keyframes aw-dot {
  0%,
  100% { transform: scale(1); }
  50% { transform: scale(1.55); }
}

/* ---------- Ícone 2 · SEGURANÇA — escudo respira e o check se desenha ---------- */
.app-ico--shield .as-shield {
  transform-box: view-box;
  transform-origin: 12px 12px;
  animation: as-shield 3.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes as-shield {
  0%,
  100% { transform: scale(1); }
  38% { transform: scale(1.07); }
}

.app-ico--shield .as-check {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: as-check 3.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes as-check {
  0%,
  18% {
    stroke-dashoffset: 1;
    opacity: 0;
  }
  20% { opacity: 1; }
  45% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  82% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  92%,
  100% {
    stroke-dashoffset: 1;
    opacity: 1;
  }
}

/* ---------- Ícone 3 · SAÚDE — batida dupla e traçado do eletro ---------- */
.app-ico--heart .ah-heart {
  transform-box: view-box;
  transform-origin: 12px 12px;
  animation: ah-beat 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* Lub-dub: dois toques rápidos e o resto do ciclo em repouso */
@keyframes ah-beat {
  0%,
  100% { transform: scale(1); }
  9% { transform: scale(1.1); }
  19% { transform: scale(1); }
  28% { transform: scale(1.07); }
  42% { transform: scale(1); }
}

.app-ico--heart .ah-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: ah-line 2.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes ah-line {
  0%,
  26% {
    stroke-dashoffset: 1;
    opacity: 0;
  }
  28% { opacity: 1; }
  56% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  84% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  94%,
  100% {
    stroke-dashoffset: 1;
    opacity: 1;
  }
}

.app-card__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: var(--white);
}

.app-card__text {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.app-card__tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px);
  margin-top: clamp(22px, 2.6vw, 32px);
}
.app-card__tags li {
  display: grid;
  place-items: center;
  gap: clamp(6px, 0.85vw, 10px);
  padding: clamp(10px, 1.4vw, 16px) clamp(6px, 0.9vw, 12px);
  border: 1px solid rgba(29, 29, 29, 0.08);
  border-radius: 14px;
  background: var(--bg-light);
  transition: border-color 0.25s ease,
              background-color 0.25s ease,
              transform 0.25s ease;
}
.app-card__tags li:hover {
  border-color: rgba(29, 29, 29, 0.22);
  background: #e4e3df;
  transform: translateY(-2px);
}
.app-card__tags img {
  display: block;
  width: auto;
  height: clamp(48px, 5.6vw, 72px);
  max-width: 100%;
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
  animation: logo-breathe 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

/* Respiração suave — aumenta e diminui sem parar */
@keyframes logo-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

/* Escalonamento: as logos pulsam em ondas, nunca todas no mesmo instante */
.app-card__tags li:nth-child(1) img { animation-delay: 0s; }
.app-card__tags li:nth-child(2) img { animation-delay: 0.34s; }
.app-card__tags li:nth-child(3) img { animation-delay: 0.68s; }
.app-card__tags li:nth-child(4) img { animation-delay: 1.02s; }
.app-card__tags li:nth-child(5) img { animation-delay: 1.36s; }
.app-card__tags li:nth-child(6) img { animation-delay: 1.7s; }

/* No hover do chip a logo descansa, deixando o destaque para a elevação do card */
.app-card__tags li:hover img {
  animation-play-state: paused;
}
.app-card__tag-name {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 2.3em;
  font-size: clamp(0.6rem, 0.82vw, 0.76rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--dark);
  transition: color 0.25s ease;
}

/* ==================== SEÇÃO 5 — POR QUE A KNET ==================== */
.why {
  padding-block: clamp(48px, 6.5vw, 82px);
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.why__inner {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.why__title {
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
}

.why__sub {
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--yellow);
  text-wrap: balance;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
  margin-top: clamp(32px, 4.5vw, 52px);
}

.why-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 30px) clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.4s var(--ease-out),
              background-color 0.3s ease,
              border-color 0.3s ease;
}
.why-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(233, 190, 60, 0.45);
}

.why-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 12px 24px -16px rgba(233, 190, 60, 0.9);
  animation: why-icon-pulse 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  transform-origin: center center;
  will-change: transform;
}
.why-card__icon svg { width: 22px; height: 22px; overflow: visible; }

/* Glyphs animados — cada ícone tem um movimento próprio, todos no
   mesmo compasso do pulso (3.6s) para não desalinharem entre si */
.why-ico { transform-box: view-box; }

/* 1. Relógio — ponteiros oscilam como um tique-taque */
.wc-hands {
  transform-origin: 12px 12px;
  animation: why-clock-tick 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes why-clock-tick {
  0% { transform: rotate(0deg); }
  22% { transform: rotate(32deg); }
  50% { transform: rotate(0deg); }
  74% { transform: rotate(-28deg); }
  100% { transform: rotate(0deg); }
}

/* 2. Pessoas — a segunda figura se acende em sequência (comunidade) */
.wu-follow {
  animation: why-users-glow 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.wu-follow--late { animation-delay: 0.28s; }
@keyframes why-users-glow {
  0%,
  100% { opacity: 0.32; }
  50% { opacity: 1; }
}

/* 3. Sinal — as ondas se acendem do centro para fora */
.ww-wave {
  animation: why-wifi-wave 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.ww-wave--in { animation-delay: 0s; }
.ww-wave--mid { animation-delay: 0.18s; }
.ww-wave--out { animation-delay: 0.36s; }
@keyframes why-wifi-wave {
  0%,
  100% { opacity: 0.24; }
  30% { opacity: 1; }
  62% { opacity: 0.45; }
}
.ww-dot {
  transform-origin: 12px 20px;
  animation: why-wifi-dot 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes why-wifi-dot {
  0%,
  100% { transform: scale(1); opacity: 0.55; }
  30% { transform: scale(1.9); opacity: 1; }
  62% { transform: scale(1); opacity: 0.55; }
}

/* 4. Headset — balança suave, apoiado na base */
.why-ico--headset {
  transform-origin: 12px 21px;
  animation: why-headset-sway 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes why-headset-sway {
  0%,
  100% { transform: rotate(0deg); }
  28% { transform: rotate(-7deg); }
  64% { transform: rotate(7deg); }
}

/* 5. Soluções — sobe e inclina levemente, como se fosse carregada */
.why-ico--gift {
  transform-origin: 12px 22px;
  animation: why-gift-bob 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes why-gift-bob {
  0%,
  100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-1.6px) rotate(-4deg); }
  62% { transform: translateY(0) rotate(0deg); }
}

/* Pulso suave do bloco amarelo: cresce e volta ao tamanho original */
@keyframes why-icon-pulse {
  0%,
  100% { transform: scale(1); }
  50% { transform: scale(1.09); }
}

/* Onda escalonada — evita que os cinco ícones pulsem no mesmo instante */
.why__grid > .why-card:nth-child(1) .why-card__icon { animation-delay: 0s; }
.why__grid > .why-card:nth-child(2) .why-card__icon { animation-delay: 0.22s; }
.why__grid > .why-card:nth-child(3) .why-card__icon { animation-delay: 0.44s; }
.why__grid > .why-card:nth-child(4) .why-card__icon { animation-delay: 0.66s; }
.why__grid > .why-card:nth-child(5) .why-card__icon { animation-delay: 0.88s; }

/* No hover do card o ícone intensifica a pulsação sem interromper o ciclo */
.why-card:hover .why-card__icon {
  animation-duration: 2.4s;
}

.why-card__title {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--white);
}
.why-card__mark { color: var(--yellow); }

.why-card__text {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.why-card--cta {
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  background:
    radial-gradient(420px 200px at 100% 0%, #f6d478 0%, rgba(233, 190, 60, 0) 72%),
    var(--yellow);
  border-color: rgba(233, 190, 60, 0.9);
}
.why-card--cta:hover {
  background:
    radial-gradient(420px 200px at 100% 0%, #fbe0a0 0%, rgba(233, 190, 60, 0) 72%),
    var(--yellow-hover);
  border-color: var(--yellow-hover);
}

.why-card__claim {
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dark);
  text-wrap: balance;
}

.why-card--cta .btn {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.55);
  padding-inline: 26px;
}
.why-card--cta .btn:hover {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.65);
}

/* ==================== SEÇÃO 6 — CTA FINAL ==================== */
.cta-final {
  position: relative;
  padding-block: clamp(58px, 8vw, 100px);
  background:
    radial-gradient(700px 340px at 50% 0%, #f6d478 0%, rgba(233, 190, 60, 0) 70%),
    var(--yellow);
  overflow: hidden;
}

.cta-final__inner {
  max-width: 820px;
  text-align: center;
}

.cta-final__title {
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark);
  text-wrap: balance;
}

.cta-final__text {
  margin-top: 16px;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  color: rgba(29, 29, 29, 0.78);
  text-wrap: pretty;
}

.cta-final .btn { margin-top: clamp(24px, 3vw, 34px); }

/* ============================ RODAPÉ ============================ */
.footer {
  padding-block: clamp(40px, 5vw, 60px);
  background: var(--dark-deep);
  color: rgba(255, 255, 255, 0.75);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 60px);
  flex-wrap: wrap;
}

.footer__brand { flex: 0 0 auto; }
.footer__logo {
  width: clamp(140px, 16vw, 180px);
  height: auto;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 460px;
}

.footer__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.55;
}
.footer__item--address { align-items: flex-start; }

.footer__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--yellow);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.footer__icon svg { width: 16px; height: 16px; }

.footer__item a {
  transition: color 0.25s ease;
}
.footer__item a:hover { color: var(--yellow); }
.footer__item:hover .footer__icon {
  border-color: rgba(233, 190, 60, 0.5);
  background: rgba(233, 190, 60, 0.1);
}

/* ==================== WHATSAPP FLUTUANTE ==================== */
.wa-float {
  position: fixed;
  right: clamp(16px, 2.5vw, 26px);
  bottom: clamp(16px, 2.5vw, 26px);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.65);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, background-color 0.25s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover {
  transform: scale(1.07);
  background: #1ebe5a;
  box-shadow: 0 18px 36px -10px rgba(37, 211, 102, 0.8);
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.8s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: 0.9; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ============================ RESPONSIVO ============================ */
@media (max-width: 1024px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans > .plan:last-child { grid-column: 1 / -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .plans-wifi { width: clamp(84px, 10vw, 120px); top: clamp(24px, 4vw, 44px); right: clamp(16px, 3vw, 32px); }
  .plans-wifi--sm { width: clamp(64px, 7vw, 92px); bottom: clamp(18px, 3vw, 36px); left: clamp(14px, 2.5vw, 28px); }

  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-card__tags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .footer__list { max-width: 100%; }
}

@media (max-width: 700px) {
  .plans { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .plans > .plan:last-child { max-width: none; }
  .plan { padding: 30px 22px 26px; border-radius: 30px 30px 18px 18px; }
  .plan__num { font-size: 5rem; }
  .plan__speed em { font-size: 1.95rem; }
  .plan__amount { font-size: 2.5rem; }
  .plan__features li { font-size: 1.05rem; gap: 9px; }
  .plan__features svg { width: 18px; height: 18px; }
  .plan__cta { padding: 15px 20px; font-size: 0.82rem; }
  .plans-head { margin-bottom: 32px; }
  .plans-wifi { display: none; }
  .plans-wifi--sm { display: none; }
  .hero__list li { width: 100%; justify-content: center; }
  .hero__content { padding-block: 16px 22px; }
  .section__head { margin-bottom: 30px; }
}

@media (max-width: 560px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .app-card__tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-card__tags img { height: 48px; }
  .why__grid { grid-template-columns: 1fr; }
  .why-card--cta { align-items: stretch; text-align: center; }
  .why-card--cta .btn { width: 100%; }
  .hero__content .btn--lg,
  .cta-final .btn--lg {
    width: 100%;
    padding-inline: 22px;
    font-size: 0.86rem;
  }
  .benefit__icon { width: 46px; height: 46px; margin-bottom: 16px; }
  .wa-float { width: 54px; height: 54px; }
  .wa-float svg { width: 27px; height: 27px; }
}

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

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .wa-float::after { animation: none; }

  /* Sem o loop, o traço ficaria congelado no primeiro keyframe (16% da
     largura) — aqui ele volta a cobrir a palavra inteira, como antes. */
  .plans-head__hl::after {
    animation: none;
    transform: scaleX(1);
  }

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