/* ============================================
   STARNET — PROVEDOR DE INTERNET
   style.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ---- TOKENS ---- */
:root {
  --gold: #f5a623;
  --gold-light: #ffd166;
  --gold-dark: #c47d0e;
  --navy: #0d1b3e;
  --navy-mid: #112255;
  --cyan: #00c8e0;
  --cyan-glow: rgba(0, 200, 224, 0.25);
  --white: #ffffff;
  --gray: #a0aec0;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --wpp-green: #25d366;
  --radius: 16px;
  --shadow: 0 8px 40px rgba(0,0,0,0.4);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---- CONTAINER ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(245,166,35,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245,166,35,0.6);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px var(--cyan-glow);
}
.btn-wpp {
  background: var(--wpp-green);
  color: #fff;
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-wpp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.5);
}
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(13, 27, 62, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-img { height: 44px; width: auto; object-fit: contain; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-btn-client {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: all 0.3s !important;
}
.nav-btn-client:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.5);
  color: var(--navy) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 40%, #1a3a6e 0%, #0d1b3e 50%, #06101f 100%);
  text-align: center;
  padding: 120px 24px 80px;
}
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: white;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  opacity: 0;
}
@keyframes twinkle {
  0%,100% { opacity: 0; transform: scale(1); }
  50% { opacity: var(--op, 0.8); transform: scale(1.2); }
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-logo {
  max-width: 420px;
  width: 90%;
  height: auto;
  margin: 0 auto 28px;
  border-radius: 12px;
  animation: floatLogo 4s ease-in-out infinite;
}
@keyframes floatLogo {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-title span {
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  z-index: 1;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: bounce 1.5s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ---- SECTION COMMON ---- */
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 56px;
}

/* ---- SOBRE INTRO ---- */
.sobre-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin-bottom: 16px;
  text-align: left;
}
.sobre-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 560px;
}
.sobre-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stat-item {
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 32px;
  min-width: 160px;
}
.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- FAQ ---- */
.faq {
  padding: 100px 0;
  background: linear-gradient(180deg, #06101f 0%, var(--navy) 100%);
  text-align: center;
}
.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.faq-item.open { border-bottom-color: rgba(245,166,35,0.35); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  line-height: 1;
  transition: transform 0.3s ease;
  user-select: none;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 8px 0 36px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 8px 20px 36px;
}
.faq-answer p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-answer a { color: var(--gold); text-decoration: underline; }
.faq-answer a:hover { color: var(--gold-light); }

@media (max-width: 700px) {
  .sobre-intro { grid-template-columns: 1fr; }
  .sobre-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .stat-item { min-width: 120px; padding: 16px 20px; }
}
/* ---- SOBRE ---- */
.sobre {
  padding: 100px 0;
  background: linear-gradient(180deg, #06101f 0%, var(--navy) 100%);
  text-align: center;
}
.sobre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.sobre-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.sobre-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}
.sobre-card:hover { transform: translateY(-8px); border-color: rgba(245,166,35,0.3); }
.sobre-card:hover::before { opacity: 1; }
.sobre-icon { font-size: 2.5rem; margin-bottom: 16px; }
.sobre-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.sobre-card p { color: var(--gray); font-size: 0.95rem; }

/* ---- PLANOS ---- */
.planos {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy) 0%, #06101f 100%);
  text-align: center;
}
.planos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}
.plano-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.plano-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.plano-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.5); border-color: rgba(245,166,35,0.3); }
.plano-card.featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(245,166,35,0.12) 0%, var(--card-bg) 60%);
  transform: scale(1.03);
  box-shadow: 0 0 0 2px var(--gold), 0 20px 60px rgba(245,166,35,0.2);
}
.plano-card.featured:hover { transform: scale(1.03) translateY(-10px); }
.plano-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  align-self: flex-start;
}
.plano-speed {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.plano-speed span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cyan);
  margin-left: 4px;
}
.plano-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}
.plano-price strong { font-size: 2rem; }
.plano-price small { font-size: 0.9rem; color: var(--gray); font-weight: 400; }
.plano-features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plano-features li { font-size: 0.92rem; color: rgba(255,255,255,0.75); text-align: left; }
.planos-note { color: var(--gray); font-size: 0.85rem; margin-top: 8px; }

/* ---- CTA CLIENTE ---- */
.cta-cliente {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy-mid) 0%, #06101f 100%);
}
.cta-box {
  background: linear-gradient(135deg, rgba(0,200,224,0.1) 0%, rgba(245,166,35,0.1) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 10px; }
.cta-text p { color: var(--gray); max-width: 480px; }

/* ---- FOOTER ---- */
.footer {
  background: #06101f;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo { height: 60px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--gray); font-size: 0.92rem; margin-bottom: 20px; max-width: 260px; }
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
}
.footer-wpp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wpp-green);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.footer-wpp:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
.footer-face {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1877f2;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.footer-face:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(24,119,242,0.4); }
.footer-insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.footer-insta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(220,39,102,0.4); }
.footer-links h4 { font-weight: 700; margin-bottom: 18px; color: var(--gold); }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--gray); font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.5;
}
.footer-contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: var(--gray); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
}

/* ---- FLOATING WHATSAPP ---- */
.wpp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: var(--wpp-green);
  color: #fff;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  transition: all 0.3s;
  animation: pulseWpp 2s ease-in-out infinite;
}
.wpp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 35px rgba(37,211,102,0.7);
}
@keyframes pulseWpp {
  0%,100% { box-shadow: 0 6px 25px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.8), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .plano-card.featured { transform: scale(1); }
  .plano-card.featured:hover { transform: translateY(-10px); }
}
@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(13,27,62,0.98); backdrop-filter: blur(12px); padding: 24px; gap: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .cta-box { flex-direction: column; text-align: center; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-logo { height: 110px; }
  .planos-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
}
