/* ===== VARIÁVEIS ===== */
:root {
  --primary: #5b0078;
  --primary-dark: #42005a;
  --primary-light: #7a0fa0;
  --secondary: #ff6b00;
  --secondary-dark: #e05e00;
  --white: #ffffff;
  --gray-50: #f8f5fa;
  --gray-100: #f0eaf3;
  --gray-600: #5a4a63;
  --gray-900: #241428;
  --green: #25d366;
  --blue: #0ea5e9;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 40px rgba(91, 0, 120, 0.12);
  --shadow-lg: 0 20px 60px rgba(91, 0, 120, 0.25);
  --font-heading: 'Zilla Slab', serif;
  --font-body: 'Nunito Sans', sans-serif;
  --ease-in: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-hover: cubic-bezier(0.85, 0, 0.15, 1);
}

/* ===== RESET / BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0%, #1ea851 50%, #0dbf4a 100%);
  z-index: 200;
  width: 0%;
  border-radius: 0 3px 0 0;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.5);
  transition: width 0.15s linear;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ===== TIPOGRAFIA ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.section-title span {
  color: var(--secondary);
}

.section-title--light {
  color: var(--white);
}

.section-title--light span {
  color: var(--secondary);
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.9rem 1.75rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.35s var(--ease-hover), box-shadow 0.35s var(--ease-hover), background 0.35s var(--ease-hover);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.35s var(--ease-hover), box-shadow 0.35s var(--ease-hover), background 0.35s var(--ease-hover), filter 0.35s ease;
}

.btn--primary:hover {
  background: #1ea851;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5);
  filter: brightness(1.08);
}

.btn--featured {
  background: linear-gradient(135deg, var(--green) 0%, #1ea851 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.35s var(--ease-hover), box-shadow 0.35s var(--ease-hover), background 0.35s var(--ease-hover), filter 0.35s ease;
  position: relative;
  overflow: hidden;
}

.btn--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn--featured:hover::after {
  transform: translateX(100%);
}

.btn--featured:hover {
  background: linear-gradient(135deg, #1ea851 0%, var(--green) 100%);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55);
  filter: brightness(1.08);
}

.btn--whatsapp {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  text-transform: none;
}

.btn--whatsapp:hover {
  background: #1fb957;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.btn--lg {
  font-size: 1.15rem;
  padding: 1.1rem 3rem;
}

.btn--full {
  width: 100%;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
  padding: 0.75rem 0;
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(91, 0, 120, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__logo img {
  height: 42px;
  width: auto;
}

.header__cta {
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
}

/* ===== HERO ===== */
.hero {
  margin-top: 66px;
}

.hero__link {
  display: block;
}

.hero__link {
  overflow: hidden;
  display: block;
}

.hero__link img {
  width: 100%;
  object-fit: cover;
  transition: transform 8s ease-out;
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* ===== PLANOS ===== */
.plans {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
  align-items: start;
}

/* Staggered fade-in para cada card */
.plans__grid .plan:nth-child(1) { transition-delay: 0s; }
.plans__grid .plan:nth-child(2) { transition-delay: 0.12s; }
.plans__grid .plan:nth-child(3) { transition-delay: 0.24s; }
.plans__grid .plan:nth-child(4) { transition-delay: 0.36s; }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease-hover), box-shadow 0.5s var(--ease-hover), border-color 0.5s var(--ease-hover);
}

.plan:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 56px rgba(91, 0, 120, 0.18);
  border-color: var(--green);
}

/* Plano em destaque (650) */
.plan--featured {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: 3px solid var(--green);
  color: var(--white);
  transform: scale(1.03);
  z-index: 2;
}

.plan--featured:hover {
  transform: scale(1.03) translateY(-10px);
  border-color: var(--green);
}

.plan__seal {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, var(--secondary) 0%, #ff8c33 100%);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.45);
  white-space: nowrap;
  animation: pulse-seal 2.4s ease-in-out infinite;
}

@keyframes pulse-seal {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.06); }
}

.plan__speed {
  margin-bottom: 0.5rem;
}

.plan__speed strong {
  font-family: var(--font-heading);
  font-size: clamp(3.8rem, 14vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--primary);
}

.plan--featured .plan__speed strong {
  color: var(--secondary);
}

.plan__speed span {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--gray-600);
}

.plan--featured .plan__speed span {
  color: rgba(255, 255, 255, 0.85);
}

.plan__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.plan__currency {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-600);
}

.plan__price strong {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}

.plan--featured .plan__price strong,
.plan--featured .plan__currency {
  color: var(--white);
}

.plan__period {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-600);
}

.plan--featured .plan__period {
  color: rgba(255, 255, 255, 0.85);
}

.plan__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0;
  align-items: center;
}

.plan__features li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
}

.plan--featured .plan__features li {
  color: var(--white);
}

.plan__features li svg {
  flex-shrink: 0;
  color: var(--secondary);
}

.plan__digilivro {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
}

.plan--featured .plan__digilivro {
  /* sem fundo — clean */
}

.plan__digilivro img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

/* Destaques do plano 650 */
.plan__highlight-wifi {
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-size: 1.2rem !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--secondary) !important;
}

.plan__highlight-wifi svg {
  color: var(--secondary) !important;
}

.plan__highlight-router {
  background: var(--white);
  border: 2px solid var(--secondary);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  color: var(--primary) !important;
}

.plan__desc {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.plan--featured .plan__desc {
  color: rgba(255, 255, 255, 0.85);
}

.plan__btn {
  width: 100%;
}

.plan--featured .plan__btn {
  font-size: 1.1rem;
  line-height: 1.15;
  animation: btn-pulse 3s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 16px 40px rgba(37, 211, 102, 0.65); }
}

/* Textura tecnológica (circuito) para fundos roxos */
:root {
  --circuit-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.056'%3E%3Cpath d='M20 20h60v40h40v60h60'/%3E%3Cpath d='M180 180h-50v-50h-70v-60'/%3E%3Cpath d='M20 180v-60h50'/%3E%3Cpath d='M180 20v50h-40'/%3E%3Ccircle cx='20' cy='20' r='3' fill='%23ffffff' fill-opacity='0.08'/%3E%3Ccircle cx='180' cy='20' r='3' fill='%23ffffff' fill-opacity='0.08'/%3E%3Ccircle cx='20' cy='180' r='3' fill='%23ffffff' fill-opacity='0.08'/%3E%3Ccircle cx='180' cy='180' r='3' fill='%23ffffff' fill-opacity='0.08'/%3E%3Ccircle cx='120' cy='60' r='2.5' fill='%23ffffff' fill-opacity='0.072'/%3E%3Ccircle cx='60' cy='130' r='2.5' fill='%23ffffff' fill-opacity='0.072'/%3E%3Ccircle cx='70' cy='120' r='2.5' fill='%23ffffff' fill-opacity='0.072'/%3E%3Ccircle cx='140' cy='70' r='2.5' fill='%23ffffff' fill-opacity='0.072'/%3E%3C/g%3E%3C/svg%3E");
}

/* ===== SEÇÃO WI-FI 7 ===== */
.wifi7 {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: url('images/50b96574-d86f-45f5-8a38-ddf40d7c0c17.webp') center/cover no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.wifi7::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(66, 0, 90, 0.82) 0%, rgba(66, 0, 90, 0.55) 50%, rgba(66, 0, 90, 0.2) 100%);
  pointer-events: none;
  z-index: 0;
}

.wifi7__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.wifi7 .section-title {
  text-align: center;
  font-size: clamp(2.8rem, 7vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .wifi7 .section-title {
    font-size: clamp(2.5rem, 9vw, 3rem);
  }
}

.wifi7__text {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.92);
  padding-bottom: 1.25rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.wifi7__text strong {
  color: var(--secondary);
  font-weight: 800;
}

.wifi7__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wifi7__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 2px solid rgba(91, 0, 120, 0.06);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s var(--ease-hover), border-color 0.4s var(--ease-hover), box-shadow 0.4s var(--ease-hover);
}

.wifi7__list li:hover {
  transform: translateX(6px);
  border-color: var(--secondary);
  box-shadow: 0 10px 28px rgba(91, 0, 120, 0.12);
}

.wifi7__list strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
  color: var(--primary);
}

.wifi7__list p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.45;
  margin: 0;
}

.wifi7__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  transition: transform 0.5s var(--ease-hover), box-shadow 0.5s var(--ease-hover);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.wifi7__list li:hover .wifi7__icon {
  transform: rotate(-8deg) scale(1.12);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  animation-play-state: paused;
}

.wifi7__icon--orange { background: linear-gradient(135deg, var(--secondary) 0%, #ff8c33 100%); color: var(--white); }
.wifi7__icon--purple { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: var(--white); }
.wifi7__icon--green { background: linear-gradient(135deg, var(--green) 0%, #1ea851 100%); color: var(--white); }

/* Animação flutuante contínua nos ícones */
@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.wifi7__list li:nth-child(1) .wifi7__icon { animation: icon-float 3s ease-in-out infinite; }
.wifi7__list li:nth-child(2) .wifi7__icon { animation: icon-float 3s ease-in-out 0.5s infinite; }
.wifi7__list li:nth-child(3) .wifi7__icon { animation: icon-float 3s ease-in-out 1s infinite; }



/* ===== SEÇÃO DIGILIVRO ===== */
.digilivro {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, #ede8f2 100%);
  position: relative;
  overflow: hidden;
}

.digilivro::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 0, 120, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.digilivro__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.digilivro .section-title {
  text-align: center;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.digilivro__content {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 20px 60px rgba(91, 0, 120, 0.12);
  border: 1px solid rgba(91, 0, 120, 0.08);
  text-align: center;
}

.digilivro__content p {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}

.digilivro__content p strong {
  color: var(--primary);
  font-weight: 800;
}

.digilivro__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--secondary) 0%, #ff8c33 100%);
  border: none;
  color: var(--white);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
}

.digilivro__logo {
  display: block;
  margin: 1.5rem auto;
  filter: drop-shadow(0 4px 12px rgba(91, 0, 120, 0.15));
}

.digilivro__image img {
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(91, 0, 120, 0.18);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.digilivro__image:hover img {
  transform: scale(1.04);
  box-shadow: 0 32px 72px rgba(91, 0, 120, 0.28);
}

/* Animação de fade-in suave na seção DigiLivro */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.digilivro__badge[data-animate].visible,
.digilivro__logo[data-animate].visible {
  animation: fade-in-up 0.7s var(--ease-in) forwards;
}

/* ===== SEÇÃO SOBRE ===== */
.about {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  background-image: var(--circuit-pattern), linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Glow decorativo laranja no fundo */
.about::before {
  content: '';
  position: absolute;
  top: 12%;
  right: -6%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.about .section-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
}

/* ===== Lead — full width ===== */
.about__lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.5rem;
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

.about__lead strong {
  color: var(--secondary);
  font-weight: 800;
}

/* ===== Layout principal — 2 colunas mesma altura ===== */
.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: stretch;
}

/* ===== Coluna direita — Cards ===== */
.about__right {
  display: flex;
  flex-direction: column;
}

/* ===== Imagem com moldura 3D (coluna esquerda, preenche altura) ===== */
.about__visual {
  position: relative;
  perspective: 900px;
  height: 100%;
  min-height: 320px;
}

.about__frame {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 6px solid rgba(255, 255, 255, 0.92);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  transform: rotateY(-4deg) rotateX(2deg);
  height: 100%;
}

.about__frame:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-8px);
  box-shadow: 0 38px 76px rgba(0, 0, 0, 0.55);
}

.about__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Forma laranja atrás da imagem */
.about__frame-accent {
  position: absolute;
  inset: -18px -18px -18px 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, rgba(255, 107, 0, 0.4) 100%);
  border-radius: 24px;
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}

/* ===== Cards horizontais ===== */
.about__grid {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.about__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16);
  transition: transform 0.4s var(--ease-hover), box-shadow 0.4s var(--ease-hover);
  position: relative;
  overflow: hidden;
}

/* Barra colorida na borda esquerda */
.about__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 5px;
  border-radius: 0 3px 3px 0;
}

.about__card:nth-child(1)::before { background: var(--secondary); }
.about__card:nth-child(2)::before { background: var(--blue); }
.about__card:nth-child(3)::before { background: var(--green); }

.about__card:hover {
  transform: translateX(8px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

.about__card .about__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--white);
  transition: transform 0.4s var(--ease-hover), box-shadow 0.4s var(--ease-hover);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.about__card:hover .about__icon {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

/* Float nos ícones da seção Sobre */
@keyframes about-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.about__card:nth-child(1) .about__icon { animation: about-icon-float 3.5s ease-in-out infinite; }
.about__card:nth-child(2) .about__icon { animation: about-icon-float 3.5s ease-in-out 0.6s infinite; }
.about__card:nth-child(3) .about__icon { animation: about-icon-float 3.5s ease-in-out 1.2s infinite; }

.about__card:hover .about__icon {
  animation-play-state: paused;
}

.about__icon--orange { background: linear-gradient(135deg, var(--secondary) 0%, #ff8c33 100%); }
.about__icon--blue   { background: linear-gradient(135deg, var(--blue) 0%, #38bdf8 100%); }
.about__icon--green  { background: linear-gradient(135deg, var(--green) 0%, #1ea851 100%); }

.about__card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.about__card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ===== CTA ===== */
.about__cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ===== RODAPÉ ===== */
.footer {
  padding: 3rem 0 2rem;
  background: var(--gray-900);
  color: var(--white);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
}

.footer__logo {
  justify-self: start;
}

.footer__logo img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__social {
  display: flex;
  gap: 1rem;
  justify-self: end;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background 0.35s var(--ease-hover), transform 0.35s var(--ease-hover), color 0.35s var(--ease-hover);
}

.footer__social a:hover {
  background: var(--secondary);
  transform: translateY(-4px) scale(1.08);
}

.footer__copy {
  grid-column: 1 / -1;
  justify-self: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== BOTÃO FLUTUANTE WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
  transition: transform 0.35s var(--ease-hover), box-shadow 0.35s var(--ease-hover);
  animation: float-pulse 2.6s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.65);
}

@keyframes float-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ===== POPUP EXIT INTENT ===== */
.popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup.active {
  visibility: visible;
  opacity: 1;
}

.popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 20, 40, 0.75);
  backdrop-filter: blur(6px);
}

.popup__box {
  position: relative;
  width: min(440px, 100%);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--secondary);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.45s var(--ease-in);
}

.popup.active .popup__box {
  transform: translateY(0) scale(1);
}

.popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.popup__close:hover {
  background: var(--secondary);
  color: var(--white);
  transform: rotate(90deg);
}

.popup__title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.popup__subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.popup__text {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.popup__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popup__field {
  text-align: left;
}

.popup__field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.popup__field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--gray-100);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.popup__field input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.15);
}

/* ===== ANIMAÇÕES ON-SCROLL ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-in), transform 0.8s var(--ease-in);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .wifi7__inner,
  .digilivro__inner,
  .about__layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .digilivro__image {
    order: 2;
  }

  .about .section-title {
    text-align: center;
  }

  .about__cta {
    text-align: center;
  }

  .about__visual {
    height: auto;
    min-height: unset;
  }

  .about__frame {
    transform: none;
    height: auto;
  }

  .about__frame img {
    height: auto;
  }

  .about__frame:hover {
    transform: translateY(-6px);
  }

  .plans__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer__logo {
    justify-self: center;
  }

  .footer__social {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .header__logo img {
    height: 34px;
  }

  .header__cta {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .hero {
    margin-top: 58px;
  }

  /* ===== PLANOS — OTIMIZAÇÕES MOBILE ===== */
  .plans {
    padding: 2.5rem 0 3rem;
  }

  .plans .section-title {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    margin-bottom: 0.5rem;
  }

  .plans__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
  }

  .plan {
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
  }

  .plan--featured {
    transform: none;
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .plan--featured:hover {
    transform: translateY(-8px);
  }

  .plan__speed strong {
    font-size: clamp(4.5rem, 20vw, 7rem);
    line-height: 0.85;
  }

  .plan__speed span {
    font-size: 1.45rem;
    letter-spacing: 0.28em;
  }

  .plan__desc {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
  }

  .plan__price {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
  }

  .plan__price strong {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .plan__currency {
    font-size: 1.5rem;
  }

  .plan__period {
    font-size: 1.2rem;
  }

  .plan__features li {
    font-size: 1.08rem;
    gap: 0.7rem;
  }

  .plan__features li svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .plan__highlight-wifi {
    font-size: 1.3rem !important;
    padding: 0.8rem 1rem;
  }

  .plan__highlight-router {
    font-size: 1.2rem !important;
    padding: 0.8rem 1rem;
  }

  .plan__digilivro {
    margin-top: 1.15rem;
    padding: 0.5rem 0.6rem;
  }

  .plan__digilivro img {
    max-height: 54px;
  }

  .plan__btn {
    font-size: 1.1rem;
    padding: 1.05rem 1.5rem;
  }

  .plan--featured .plan__btn {
    font-size: 1.2rem;
    padding: 1.1rem 1.5rem;
  }

  .plan__seal {
    font-size: 0.82rem;
    padding: 0.5rem 1.3rem;
    top: -18px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
  }
}

/* ===== ACESSIBILIDADE ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

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