/* ============================================================
   Mais Fibra — Design tokens
   Cores extraídas da logo oficial (navy #05204B, azul #00B2EB)
   ============================================================ */
:root {
  --navy: #05204B;
  --navy-600: #0B2A57;
  --navy-700: #041638;
  --navy-100: #D7E0EE;
  --navy-50: #EEF2F8;
  --fiber: #00B2EB;
  --fiber-600: #0090C2;
  --fiber-100: #CCF2FE;
  --canvas: #F5F7FA;
  --ink-secondary: #5B6478;
  --green: #1FAE6B;
  --amber: #F5A623;
  --red: #E1483D;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: 'Sora', 'Inter', system-ui, sans-serif; }
.mono { font-family: 'IBM Plex Mono', monospace; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fiber); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
@media (max-width: 640px) { section { padding: 40px 0; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--navy-100);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.site-header .brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.site-header .brand img { height: 28px; width: 28px; }
.site-header .brand span { font-weight: 700; font-size: 17px; color: var(--navy); font-family: 'Sora', sans-serif; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink-secondary); transition: color .15s; }
.site-nav a:hover, .site-nav a.active { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  background: var(--navy); color: #fff !important; padding: 9px 18px; border-radius: 999px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-600); }
.nav-cta-short { display: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--navy); position: relative; transition: .2s;
}
.nav-toggle span::before { position: absolute; top: -7px; width: 22px; height: 2px; background: var(--navy); }
.nav-toggle span::after { position: absolute; top: 7px; width: 22px; height: 2px; background: var(--navy); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 62px 0 0 0; background: #fff; flex-direction: column;
    align-items: flex-start; padding: 24px; gap: 18px; transform: translateX(100%);
    transition: transform .25s ease; overflow-y: auto;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: 17px; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 420px) {
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
}

/* ---------- Fiber line signature ---------- */
.fiber-line { position: relative; height: 3px; overflow: hidden; background: var(--navy-100); border-radius: 999px; }
.fiber-line::after {
  content: ""; position: absolute; inset: 0; width: 34%;
  background: linear-gradient(90deg, transparent, var(--fiber), transparent);
  animation: fiber-sweep 2.6s ease-in-out infinite;
}
@keyframes fiber-sweep { 0% { transform: translateX(-140%);} 100% { transform: translateX(340%);} }
@media (prefers-reduced-motion: reduce) {
  .fiber-line::after { animation: none; width: 100%; opacity: .55; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer; transition: all .15s;
}
.btn-primary { background: var(--fiber); color: #fff; }
.btn-primary:hover { background: var(--fiber-600); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy-100); }
.btn-outline:hover { border-color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 15% 20%, #0B2A57 0%, var(--navy) 55%, var(--navy-700) 100%);
  color: #fff; padding: 96px 0 88px;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: var(--fiber-100); background: rgba(0,178,235,0.14); border: 1px solid rgba(0,178,235,0.35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 0 0 20px; max-width: 15ch; font-weight: 800; }
.hero p.lead { font-size: 18px; color: #C9D4E8; max-width: 46ch; margin: 0 0 32px; line-height: 1.6; }
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero .hero-fiber { max-width: 420px; margin-bottom: 8px; }

.fiber-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
}
.fiber-bg svg { width: 100%; height: 100%; }
.fiber-bg .strand { stroke: var(--fiber); stroke-width: 1; fill: none; opacity: .35; }
.fiber-bg .pulse { fill: var(--fiber); }

/* ---------- Speed strip ---------- */
.speed-strip { background: var(--navy-700); color: #fff; padding: 0; }
.speed-strip .wrap { display: flex; flex-wrap: wrap; gap: 0; }
.speed-item { flex: 1 1 120px; text-align: center; padding: 22px 12px; border-left: 1px solid rgba(255,255,255,0.08); }
.speed-item:first-child { border-left: none; }
.speed-item .num { font-family: 'IBM Plex Mono', monospace; font-size: 22px; font-weight: 600; color: var(--fiber-100); }
.speed-item .label { font-size: 11px; color: #93A2C2; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

/* ---------- Section headings ---------- */
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head .kicker {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--fiber-600); margin: 0 0 10px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; font-weight: 800; }
.section-head p { color: var(--ink-secondary); font-size: 16px; line-height: 1.6; margin: 0; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--navy-100); border-radius: var(--radius); padding: 24px; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Plan cards ---------- */
.plan-toggle { display: inline-flex; background: var(--navy-50); border-radius: 999px; padding: 4px; margin-bottom: 32px; }
.plan-toggle button {
  border: none; background: none; padding: 9px 20px; border-radius: 999px; font-weight: 700;
  font-size: 14px; color: var(--ink-secondary); cursor: pointer; transition: .15s;
}
.plan-toggle button.active { background: var(--navy); color: #fff; }

.plan-card {
  border: 1px solid var(--navy-100); border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column; position: relative; background: #fff;
}
.plan-card.featured { border-color: var(--fiber); box-shadow: 0 10px 30px rgba(0,178,235,0.15); }
.plan-card .badge {
  position: absolute; top: -12px; left: 24px; background: var(--fiber); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em;
}
.plan-card .speed { font-family: 'IBM Plex Mono', monospace; font-size: 15px; color: var(--fiber-600); font-weight: 600; }
.plan-card h3 { font-size: 30px; margin: 6px 0 4px; font-weight: 800; }
.plan-card .price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 18px; }
.plan-card .price .val { font-size: 30px; font-weight: 800; color: var(--navy); }
.plan-card .price .per { font-size: 13px; color: var(--ink-secondary); }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan-card li { font-size: 14px; color: var(--navy); padding: 7px 0; border-top: 1px solid var(--navy-50); display:flex; gap:8px; }
.plan-card li:first-child { border-top: none; }
.plan-note {
  margin-top: 28px; font-size: 12.5px; color: var(--ink-secondary); background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.3); border-radius: 10px; padding: 12px 16px;
}

/* ---------- Coverage ---------- */
.coverage-map { position: relative; }
.coverage-map svg { width: 100%; height: auto; }
.bairro-card { display: flex; align-items: center; gap: 14px; }
.bairro-card .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.availability-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; }
.availability-box select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: none; font-size: 15px;
  font-family: inherit; margin-bottom: 14px; color: var(--navy);
}
#disponibilidade-resultado { font-size: 14px; min-height: 22px; margin-top: 4px; }

/* ---------- Value props / icons ---------- */
.value-card { text-align: left; }
.value-card .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--fiber-100); color: var(--fiber-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.value-card h3 { font-size: 17px; margin: 0 0 8px; }
.value-card p { font-size: 14px; color: var(--ink-secondary); line-height: 1.6; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-600) 100%);
  color: #fff; border-radius: 24px; padding: 48px 40px; text-align: center;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 12px; }
.cta-band p { color: #C9D4E8; margin: 0 0 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-700); color: #93A2C2; padding: 48px 0 28px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 640px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer .brand { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.site-footer .brand img { height: 24px; }
.site-footer .brand span { color: #fff; font-weight: 700; font-family: 'Sora', sans-serif; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; font-size: 14px; }
.site-footer a { text-decoration: none; color: #93A2C2; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; font-size: 12.5px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ---------- About page ---------- */
.about-hero { background: var(--canvas); padding: 64px 0; }
.pill-list { display:flex; flex-wrap:wrap; gap:10px; }
.pill { background: var(--navy-50); color: var(--navy); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px; }

/* ---------- Botao flutuante WhatsApp ---------- */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); text-decoration: none;
}
.whatsapp-float::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid #25D366; opacity: .5; animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(.85); opacity: .5; } 100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float::before { animation: none; display: none; } }
@media (max-width: 640px) { .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-method { display:flex; gap:14px; align-items:flex-start; padding: 16px 0; border-top: 1px solid var(--navy-100); }
.contact-method:first-child { border-top: none; }
.contact-method .ic {
  width: 40px; height: 40px; border-radius: 10px; background: var(--fiber-100); color: var(--fiber-600);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.form-field { margin-bottom: 16px; }
.form-field label { display:block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; border: 1px solid var(--navy-100); border-radius: var(--radius-sm); padding: 11px 13px;
  font-size: 14px; font-family: inherit; color: var(--navy);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--fiber); box-shadow: 0 0 0 3px var(--fiber-100); outline:none; }
