/* ==========================================================================
   Vipsnet — folha de estilos do site estático
   Cores, fontes e espaçamentos ficam nas variáveis abaixo: altere aqui.
   ========================================================================== */

:root {
  --verde-1: #00b74f;
  --verde-2: #44d62c;
  --gradiente: linear-gradient(90deg, var(--verde-1) 0%, var(--verde-2) 100%);
  --preto: #000;
  --card: #1c1c1c;
  --borda: rgba(255, 255, 255, 0.85);
  --texto: #fff;
  --texto-suave: #a7a7a7;
  --largura: 1080px;
  --raio: 10px;
  --fonte: "Roboto", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--preto);
  color: var(--texto);
  font-family: var(--fonte);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  background: var(--gradiente);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 10px 22px;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.btn-blue {
  background: #2b6fd6;
  font-size: 14px;
  padding: 8px 18px;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 22px 0;
  transition: background .25s ease, padding .25s ease;
}
.site-header.solid {
  background: rgba(0, 0, 0, 0.95);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img { width: 130px; filter: brightness(0) invert(1); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 22px;
}
.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--verde-2); }
.site-header:not(.solid) .nav ul a:hover { color: #000; }

.nav-phone { white-space: nowrap; }

.menu-toggle {
  display: none;
  background: none; border: 0; color: #fff;
  width: 44px; height: 44px; padding: 10px; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor;
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0,183,79,1) 0%, rgba(68,214,44,.4) 100%),
    url("../img/hero-fibra.webp") center / cover no-repeat;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 120px; }
.hero-kicker {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 66px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}
.wave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: 90px; z-index: 1;
}

/* Hero curto das páginas internas */
.page-hero {
  position: relative;
  padding: 170px 0 110px;
  background:
    linear-gradient(90deg, rgba(0,183,79,1) 0%, rgba(68,214,44,.4) 100%),
    url("../img/hero-fibra.webp") center / cover no-repeat;
  overflow: hidden;
  text-align: center;
}
.page-hero h1 { font-size: clamp(36px, 6vw, 56px); font-weight: 800; margin: 0; position: relative; z-index: 2; }

/* ---------- Seções ---------- */
.section { padding: 70px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  margin: 0 0 14px;
  line-height: 1.2;
}
.lead {
  color: var(--texto-suave);
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1.8;
  margin: 0;
}

/* ---------- Cartões de planos ---------- */
.plans {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  justify-content: center;
}
.plans.two { max-width: 580px; margin: 0 auto 30px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.plan {
  border: 2px solid var(--borda);
  border-radius: var(--raio);
  padding: 30px 26px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .2s ease, border-color .2s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--verde-2); }

.plan-name {
  color: var(--verde-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
}
.plan-speed {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 2px;
  margin: 4px 0 0;
  padding-bottom: 12px;
  width: 100%;
  background: var(--gradiente);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  border-bottom: 1px solid rgba(255,255,255,.7);
}
.plan-icons { width: 92px; margin: 16px auto 8px; }
.plan-rec {
  color: var(--texto-suave);
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1.5;
  margin: 0 0 18px;
  max-width: 170px;
}
.features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.9;
}
.features li { display: flex; align-items: center; gap: 10px; }
.features li::before {
  content: "";
  flex: 0 0 16px; height: 16px;
  background: var(--gradiente);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan-extra { width: 80px; margin: 0 auto 6px; opacity: .95; }
.price {
  font-size: 28px;
  font-weight: 700;
  margin: 6px 0 14px;
  margin-top: auto;
}

/* ---------- Lista de canais ---------- */
.channels picture img { margin: 0 auto; }
.link-list {
  display: block;
  margin: 30px auto 0;
  background: none; border: 0;
  color: var(--texto-suave);
  font: inherit; font-size: 13px; letter-spacing: 1px;
  text-decoration: underline; text-underline-offset: 4px;
  cursor: pointer;
}
.link-list:hover { color: var(--verde-2); }

/* ---------- Combo Premium (TV) ---------- */
.combo {
  background:
    linear-gradient(90deg, #000 0%, rgba(33,33,33,.5) 100%),
    url("../img/combo-tv.webp") center / cover no-repeat;
  padding: 90px 0;
}
.combo .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.combo .plan-name { text-align: left; }
.combo .plan-speed {
  font-size: 46px;
  text-align: left;
  border-bottom: 0;
  width: auto;
}
.combo .plan-icons { margin: 8px 0; }
.combo .plan-rec { margin: 0; text-align: left; }
.combo hr { border: 0; border-top: 1px solid rgba(255,255,255,.7); margin: 22px 0; max-width: 300px; }
.combo .price { margin: 0 0 14px; text-align: left; }
.combo-includes h3 {
  font-size: 12px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; margin: 0 0 12px;
}
.combo-includes .tv {
  font-size: 34px; font-weight: 700; line-height: 1.15; margin: 0 0 22px;
  background: var(--gradiente);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.combo-includes .hbo { width: 110px; margin-bottom: 8px; }

/* ---------- Qualidade ---------- */
.quality-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.quality-card {
  background: var(--card);
  border-radius: 4px;
  padding: 36px 30px;
  text-align: center;
}
.quality-card svg { width: 46px; height: 46px; fill: var(--verde-2); margin: 0 auto 12px; display: block; }
.quality-card h3 { color: var(--verde-2); font-size: 22px; font-weight: 700; margin: 0 0 22px; }
.quality-card p { font-size: 14px; font-weight: 500; line-height: 1.8; margin: 0; }

.benefits { margin: 60px auto 0; width: 100%; max-width: 520px; filter: invert(1); }

/* ---------- Páginas de texto (História) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose .intro { font-size: 18px; color: #ddd; text-align: center; margin: 0 0 40px; }
.prose p { color: #cfcfcf; font-size: 16px; line-height: 1.85; margin: 0 0 20px; }
.timeline { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 50px 0 0; }
.timeline div { border: 1px solid rgba(255,255,255,.2); border-radius: var(--raio); padding: 18px; text-align: center; }
.timeline strong { display: block; font-size: 22px; background: var(--gradiente); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline span { font-size: 13px; color: var(--texto-suave); }

/* ---------- Formulários ---------- */
.form-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--raio);
  padding: 34px;
}
.form-card .field { margin-bottom: 18px; }
.form-card label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid #333;
  border-radius: 6px;
  color: #fff;
  font: inherit;
  padding: 12px 14px;
}
.form-card textarea { min-height: 140px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: var(--verde-2); box-shadow: 0 0 0 3px rgba(68,214,44,.2);
}
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-note { color: var(--texto-suave); font-size: 13px; margin: 14px 0 0; }

/* ---------- Rodapé ---------- */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.3fr 1fr 1fr;
}
.footer-about img { width: 150px; margin-bottom: 18px; }
.footer-about p { color: var(--texto-suave); font-size: 13px; line-height: 1.8; margin: 0; }
.site-footer h4 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.site-footer h4 + * { margin-top: 0; }
.site-footer .col > * + h4 { margin-top: 26px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; color: var(--texto-suave); font-size: 14px; line-height: 1.8; }
.utils { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hours { color: var(--texto-suave); font-size: 14px; line-height: 1.7; margin: 0; }
.hours b { color: #ddd; font-weight: 500; }
.btn-whats { display: inline-flex; align-items: center; gap: 8px; }
.btn-whats svg { width: 18px; height: 18px; fill: currentColor; }
.copyright {
  text-align: center;
  color: #666;
  font-size: 12px;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ---------- Botão flutuante WhatsApp ---------- */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  transition: transform .2s ease;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: min(95vw, 1100px); max-height: 92vh;
}
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lightbox-close {
  position: fixed; top: 16px; right: 20px;
  background: rgba(0,0,0,.6); color: #fff; border: 1px solid rgba(255,255,255,.3);
  width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer;
}

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .combo .container { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 300px);
    background: #0a0a0a;
    flex-direction: column; align-items: flex-start;
    padding: 90px 28px 28px; gap: 24px;
    clip-path: inset(0 0 0 100%); visibility: hidden;
    transition: clip-path .25s ease, visibility 0s linear .25s;
    box-shadow: -10px 0 30px rgba(0,0,0,.5);
  }
  .menu-open .nav { clip-path: inset(0 0 0 -40px); visibility: visible; transition: clip-path .25s ease; }
  .nav ul { flex-direction: column; gap: 18px; }
  .nav ul a { font-size: 18px; }
  .site-header:not(.solid) .nav ul a:hover { color: var(--verde-2); }
  .menu-toggle { position: relative; z-index: 60; }
  .hero { min-height: 560px; }
  .section { padding: 54px 0; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
