/* ============================================================
   LT Fiber — styles.css
   Paleta: #0F224A (navy) · #31BC33 (verde) · #F8FAF4 (creme)
   ============================================================ */

:root {
  --navy: #0F224A;
  --navy-700: #16306a;
  --navy-500: #24468f;
  --green: #31BC33;
  --green-600: #28a02a;
  --green-700: #1f8421;
  --cream: #F8FAF4;
  --white: #ffffff;
  --ink: #1a2238;
  --muted: #5b647a;
  --line: #e6eae2;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(15, 34, 74, .06);
  --shadow: 0 14px 40px rgba(15, 34, 74, .12);
  --shadow-green: 0 14px 30px rgba(49, 188, 51, .28);

  --container: 1180px;
  --gutter: 22px;
  --header-h: 76px;

  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); }
input, select, textarea, button { font: inherit; }

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

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--alt { background: var(--white); }
.section--dark { background: var(--navy); }

.section__head { max-width: 680px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.section__title--light { color: var(--white); }
.section__sub { margin-top: 14px; color: var(--muted); font-size: 1.06rem; }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 12px;
}
.eyebrow--light { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--green { background: var(--green); color: #06320a; box-shadow: var(--shadow-green); }
.btn--green:hover { background: var(--green-600); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--green); color: var(--green-700); transform: translateY(-2px); }
.btn--lg { padding: 15px 30px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.ico { flex: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 244, .85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 18px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark svg { border-radius: 12px; }
.logo__text { font-family: var(--font-head); font-weight: 600; font-size: 1.32rem; color: var(--navy); letter-spacing: -.01em; }
.logo__text strong { color: var(--green-700); font-weight: 800; }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text strong { color: var(--green); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 26px; }
.nav__link { font-weight: 500; color: var(--navy); position: relative; padding: 6px 0; font-size: .98rem; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--green); transition: width .2s ease;
}
.nav__link:hover::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(49,188,51,.30), transparent 60%),
    radial-gradient(700px 500px at 5% 110%, rgba(49,188,51,.14), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, #0c1c3e 55%, var(--navy-700) 100%);
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: clamp(48px, 8vw, 92px) 0 clamp(72px, 9vw, 110px);
}
.hero__content { max-width: 600px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  padding: 7px 15px; border-radius: 999px; font-size: .86rem; font-weight: 500;
  color: #eaf3ea; margin-bottom: 22px;
}
.badge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(49,188,51,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(49,188,51,.6); } 70% { box-shadow: 0 0 0 10px rgba(49,188,51,0); } 100% { box-shadow: 0 0 0 0 rgba(49,188,51,0); } }

.hero__title { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; letter-spacing: -.025em; }
.grad { background: linear-gradient(100deg, var(--green) 10%, #8ef08f 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { margin-top: 20px; font-size: 1.12rem; color: #d4dcec; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: #fff; }
.hero__stats span { font-size: .86rem; color: #aebbd4; }

/* speed card */
.hero__card { display: flex; justify-content: center; }
.speed-card {
  width: 100%; max-width: 380px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 28px;
  backdrop-filter: blur(6px); box-shadow: 0 30px 60px rgba(0,0,0,.30);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.speed-card__label { color: #aebbd4; font-size: .85rem; font-weight: 500; }
.speed-card__gauge { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 22px; }
.speed-card__num { font-family: var(--font-head); font-size: 3.6rem; font-weight: 800; color: var(--green); line-height: 1; }
.speed-card__unit { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1.2rem; }
.speed-card__bars { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 12px; font-size: .82rem; color: #cdd6e8; }
.bar i {
  display: block; height: 8px; border-radius: 999px; background: rgba(255,255,255,.14); position: relative; overflow: hidden;
}
.bar i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, var(--green), #8ef08f); border-radius: 999px; animation: fill 1.4s ease both; }
@keyframes fill { from { width: 0; } }
.speed-card__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #aebbd4; }

/* trustbar */
.trustbar { background: rgba(0,0,0,.18); border-top: 1px solid rgba(255,255,255,.08); }
.trustbar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 16px 0; color: #c3cde0; font-size: .9rem; font-weight: 500; }
.trustbar span:nth-child(even) { color: var(--green); }

/* ---------- Vantagens ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(49,188,51,.4); }
.feature__ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(49,188,51,.16), rgba(49,188,51,.06));
  color: var(--green-700); margin-bottom: 18px;
}
.feature h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--featured {
  border: 2px solid var(--green); box-shadow: var(--shadow-green);
  background: linear-gradient(180deg, #ffffff, #f4fcf4);
}
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #06320a; font-family: var(--font-head); font-weight: 700;
  font-size: .76rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-green);
}
.plan__head { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 18px; }
.plan__name { font-size: 1.1rem; font-weight: 700; color: var(--green-700); }
.plan__speed { font-family: var(--font-head); color: var(--navy); font-size: 1.35rem; font-weight: 600; margin-top: 4px; }
.plan__speed strong { font-size: 3.4rem; font-weight: 800; }
.plan__price { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--navy); display: flex; align-items: flex-start; gap: 3px; margin-bottom: 20px; }
.plan__cur { font-size: 1rem; font-weight: 600; margin-top: 8px; }
.plan__cents { font-size: 1.1rem; font-weight: 700; margin-top: 6px; }
.plan__mo { font-size: .9rem; font-weight: 500; color: var(--muted); align-self: flex-end; margin-bottom: 7px; margin-left: 2px; }
.plan__features { display: grid; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan__features li { position: relative; padding-left: 26px; font-size: .94rem; color: var(--ink); }
.plan__features li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(49,188,51,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231f8421'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.plans__note { text-align: center; margin-top: 26px; color: var(--muted); font-size: .85rem; }

/* ---------- Cobertura ---------- */
.cobertura { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cep { display: flex; gap: 10px; margin-top: 26px; max-width: 440px; }
.cep input {
  flex: 1; padding: 14px 18px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--white); font-size: 1rem; transition: border-color .2s ease;
}
.cep input:focus { outline: none; border-color: var(--green); }
.cep__result { margin-top: 14px; font-weight: 600; font-size: .96rem; min-height: 1.2em; }
.cep__result.is-ok { color: var(--green-700); }
.cep__result.is-bad { color: #c0392b; }

.cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cities li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 500; color: var(--navy); }

.cobertura__art { display: flex; justify-content: center; }
.map {
  position: relative; width: 100%; max-width: 420px; aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, var(--navy), var(--navy-700)); border-radius: 26px;
  box-shadow: var(--shadow); overflow: hidden;
}
.map svg { position: absolute; inset: 0; opacity: .6; }
.map__pin { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(49,188,51,.6); animation: pulse 2.4s infinite; }
.map__pin::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.map__pin--1 { top: 28%; left: 24%; }
.map__pin--2 { top: 52%; left: 60%; animation-delay: .5s; }
.map__pin--3 { top: 70%; left: 32%; animation-delay: 1s; }
.map__pin--4 { top: 38%; left: 74%; animation-delay: 1.5s; }

/* ---------- Depoimentos ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 28px 26px; color: #e7ecf6;
}
.stars { color: var(--green); letter-spacing: 3px; margin-bottom: 14px; }
.testimonial blockquote { font-size: 1.02rem; line-height: 1.65; color: #eef2fa; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #06320a; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.testimonial figcaption strong { display: block; color: #fff; font-weight: 600; }
.testimonial figcaption small { color: #a9b6cf; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  padding: 20px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__icon { position: relative; flex: none; width: 20px; height: 20px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--green-700); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__icon::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Contato ---------- */
.contato { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(49,188,51,.14); color: var(--green-700); }
.contact-list strong { display: block; font-family: var(--font-head); font-size: .92rem; color: var(--navy); margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--muted); }
.contact-list a:hover { color: var(--green-700); }

.socials { display: flex; gap: 12px; margin-top: 28px; }
.social { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; transition: background .2s ease, transform .2s ease; }
.social:hover { background: var(--green); color: #06320a; transform: translateY(-3px); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); font-size: .98rem; transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { resize: vertical; min-height: 96px; }
.field.is-invalid input, .field.is-invalid select { border-color: #e07a6e; }
.field__error { color: #c0392b; font-size: .8rem; min-height: 1em; }
.form__success { text-align: center; color: var(--green-700); font-weight: 600; min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #c3cde0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding: clamp(48px, 7vw, 80px) 0 44px; }
.footer__brand p { margin-top: 16px; color: #9fadc8; font-size: .95rem; max-width: 320px; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__col a, .footer__col span { display: block; color: #9fadc8; font-size: .94rem; padding: 5px 0; }
.footer__col a:hover { color: var(--green); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.10); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 22px 0; font-size: .84rem; color: #8493b0; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { justify-content: flex-start; }
  .hero__content { max-width: 640px; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 22px; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .3s ease; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 14px; width: 100%; }
  .hamburger { display: flex; }

  .cobertura, .contato { grid-template-columns: 1fr; gap: 36px; }
  .cobertura__art { order: -1; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero__stats { gap: 24px; }
}

@media (max-width: 520px) {
  .features, .testimonials, .plans { grid-template-columns: 1fr; }
  .footer__inner { text-align: center; }
  .cep { flex-direction: column; }
  .cep button { width: 100%; }
  .hero__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
