/* MIGX Fibra — estilos do site. Cores da marca: laranja #F75A06 e grafite #151515. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #F75A06;
  --orange-dark: #C94400;
  --orange-soft: #FFF1E8;
  --graphite: #151515;
  --graphite-2: #232323;
  --text: #1d1d1f;
  --muted: #5d636d;
  --line: #e4e6ea;
  --soft: #f6f6f7;
  --white: #fff;
  --green: #128C4A;
  --radius: 14px;
  --shadow: 0 18px 44px rgba(21, 21, 21, .10);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
a { color: var(--orange-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1140px, 100% - 2.500rem); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.250em; height: 1.250em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--graphite); color: var(--white); padding: .75rem 1rem; }
.skip-link:focus { left: .5rem; top: .5rem; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.400rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--graphite); }
.btn-primary:hover { background: #ff7424; }
.btn-dark { background: var(--graphite); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-sm { min-height: 42px; padding: .5rem 1.100rem; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: .9rem 1.700rem; font-size: 1.050rem; }
.btn-block { display: flex; width: 100%; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: .75rem; }
.eyebrow-light { color: #ff9a5c; }

/* Faixa de localização */
.topbar { background: var(--graphite); color: #d9d9dc; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar-place, .topbar-link { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-place .ico { color: var(--orange); }
.topbar strong { color: var(--white); }
.topbar-link { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar-link:hover { text-decoration: underline; }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.500rem; min-height: 72px; }
.brand img { width: 158px; }
.nav { display: flex; align-items: center; gap: 1.600rem; }
.nav a:not(.btn) { color: var(--text); font-weight: 600; font-size: .95rem; text-decoration: none; padding: .5rem 0; }
.nav a:not(.btn):hover { color: var(--orange-dark); }
.nav .nav-central { color: var(--orange-dark); }
.menu-btn { display: none; width: 48px; height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; border-radius: 2px; background: var(--graphite); }

/* Banner */
.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(900px 500px at 85% 0%, rgba(247, 90, 6, .38), transparent 62%), linear-gradient(160deg, #1b1b1b, var(--graphite) 60%); }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--orange); stroke-width: 1.500; opacity: .28; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.250fr .75fr; gap: 3rem; align-items: center; padding-block: 4.500rem 5rem; }
.hero h1 { font-size: clamp(2.100rem, 5vw, 3.500rem); font-weight: 800; }
.hero-lead { margin-top: 1.200rem; max-width: 34rem; font-size: 1.120rem; color: #dcdce0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.500rem; margin-top: 2rem; font-size: .93rem; color: #dcdce0; }
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-points .ico { color: var(--orange); }

.hero-card { position: relative; background: var(--white); color: var(--text); border-radius: 22px; padding: 2.200rem 1.800rem 1.600rem; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); text-align: center; }
.hero-card-speed { font-size: 2.600rem; font-weight: 800; line-height: 1.1; margin-top: .9rem; letter-spacing: -.03em; }
.hero-card-price { margin-top: .4rem; color: var(--orange-dark); }
.hero-card-price strong { font-size: 1.700rem; font-weight: 800; }
.hero-card-price span { font-weight: 600; color: var(--muted); }
.hero-card-note { margin: .8rem 0 1.300rem; font-size: .93rem; color: var(--muted); }
.hero-card-link { display: inline-block; margin-top: .9rem; padding: .4rem; font-size: .9rem; font-weight: 600; }

.plan-badge { display: inline-block; background: var(--graphite); color: var(--white); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }

/* Atalhos */
.shortcuts { background: var(--white); border-bottom: 1px solid var(--line); }
.shortcuts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; padding-block: 1.300rem; }
.shortcut { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; min-height: 68px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.shortcut:hover { border-color: var(--orange); box-shadow: 0 8px 22px rgba(247, 90, 6, .12); }
.shortcut .ico { width: 1.700rem; height: 1.700rem; color: var(--orange-dark); }
.shortcut strong { display: block; font-size: .96rem; line-height: 1.25; }
.shortcut small { color: var(--muted); font-size: .82rem; }

/* Seções */
.section { padding-block: 4.500rem; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--graphite); color: var(--white); }
.section-head { max-width: 44rem; margin: 0 auto 2.600rem; text-align: center; }
.section-head h2, .coverage-copy h2 { font-size: clamp(1.700rem, 3.400vw, 2.400rem); font-weight: 800; }
.section-head p:not(.eyebrow) { margin-top: .9rem; color: var(--muted); }
.section-head-light p:not(.eyebrow) { color: #c9c9ce; }
.section-head-left { text-align: left; margin-inline: 0; }

/* Planos */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.400rem; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 2rem 1.600rem 1.600rem; }
.plan-card.is-featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.plan-card .plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--graphite); white-space: nowrap; }
.plan-profile { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan-speed { font-size: 2.300rem; font-weight: 800; margin-top: .3rem; }
.plan-summary { margin-top: .5rem; color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan-price { display: flex; align-items: baseline; gap: .3rem; margin-top: 1.100rem; padding-top: 1.100rem; border-top: 1px solid var(--line); }
.plan-price strong { font-size: 2.500rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.plan-currency, .plan-period { font-weight: 600; color: var(--muted); }
.plan-list { display: grid; gap: .6rem; margin: 1.300rem 0 1.600rem; font-size: .95rem; flex: 1; align-content: start; }
.plan-list li { display: flex; gap: .55rem; align-items: flex-start; }
.plan-list .ico { color: var(--orange-dark); margin-top: .15em; }
.plans-note { margin-top: 1.400rem; text-align: center; font-size: .88rem; color: var(--muted); }
.noscript-box { grid-column: 1 / -1; padding: 1.200rem; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }

/* Recomendador */
.advisor { display: grid; grid-template-columns: 1fr 1.200fr .8fr; gap: 1.800rem; align-items: center; margin-top: 3rem; padding: 2rem; border-radius: 20px; background: var(--orange-soft); }
.advisor h3 { font-size: 1.350rem; font-weight: 800; }
.advisor-copy p:last-child { margin-top: .6rem; font-size: .93rem; color: var(--muted); }
.advisor-fields { display: grid; gap: .8rem; }
.advisor-result { display: grid; gap: .15rem; justify-items: center; text-align: center; background: var(--white); border-radius: 16px; padding: 1.300rem 1rem; }
.advisor-result span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.advisor-result strong { font-size: 1.800rem; font-weight: 800; line-height: 1.15; }
.advisor-result small { color: var(--orange-dark); font-weight: 700; font-size: 1rem; margin-bottom: .8rem; }

/* Campos */
label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; }
input, select {
  width: 100%; min-height: 48px; padding: .6rem .85rem;
  border: 1px solid #c9ccd2; border-radius: 10px; background: var(--white);
  font: inherit; font-size: 1rem; font-weight: 500; color: var(--text);
}
input:focus-visible, select:focus-visible { outline: 3px solid rgba(247, 90, 6, .35); outline-offset: 0; border-color: var(--orange); }
.optional { font-weight: 500; color: var(--muted); }

/* Diferenciais */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.200rem; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.500rem; }
.feature .ico { width: 2rem; height: 2rem; color: var(--orange-dark); }
.feature h3 { margin-top: .8rem; font-size: 1.080rem; font-weight: 700; }
.feature p { margin-top: .4rem; font-size: .93rem; color: var(--muted); }

/* Cobertura */
.coverage { display: grid; grid-template-columns: .9fr 1.100fr; gap: 3rem; align-items: start; }
.coverage-copy > p:not(.eyebrow) { margin-top: .9rem; color: var(--muted); }
.steps { counter-reset: passo; display: grid; gap: .9rem; margin-top: 1.600rem; }
.steps li { counter-increment: passo; display: flex; gap: .8rem; align-items: baseline; }
.steps li::before { content: counter(passo); flex: none; display: grid; place-items: center; width: 1.900rem; height: 1.900rem; border-radius: 50%; background: var(--orange); color: var(--graphite); font-weight: 800; font-size: .9rem; }
.coverage-alt { font-weight: 600; }
.form { display: grid; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.800rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .92rem; font-weight: 600; }
.form-note:empty { display: none; }
.form-note.is-ok { padding: .8rem 1rem; border-radius: 10px; background: #e9f7ef; color: #0c5c31; }
.form-fallback { font-size: .92rem; font-weight: 700; }
.form-privacy { font-size: .82rem; color: var(--muted); }
[hidden] { display: none !important; }

/* Atendimento */
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.200rem; }
.support-card { display: flex; flex-direction: column; background: var(--graphite-2); border: 1px solid #343434; border-radius: var(--radius); padding: 1.500rem; color: var(--white); text-decoration: none; transition: border-color .15s, transform .15s; }
.support-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.support-card .ico { width: 2rem; height: 2rem; color: var(--orange); }
.support-card h3 { margin-top: .8rem; font-size: 1.080rem; font-weight: 700; }
.support-card p { margin-top: .4rem; font-size: .93rem; color: #c9c9ce; flex: 1; }
.support-go { margin-top: 1rem; font-size: .9rem; font-weight: 700; color: #ff9a5c; }
.support-go::after { content: " →"; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.200fr; gap: 3rem; align-items: start; }
.faq-list { display: grid; gap: .7rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq-item[open] { border-color: var(--orange); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .9rem 1.200rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { color: var(--orange-dark); transition: transform .2s; }
.faq-item[open] summary .ico { transform: rotate(180deg); }
.faq-item p { padding: 0 1.200rem 1.200rem; color: var(--muted); }

/* Chamada final */
.cta { background: var(--orange); color: var(--graphite); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 3rem; }
.cta h2 { font-size: clamp(1.500rem, 3vw, 2.100rem); font-weight: 800; }
.cta p { margin-top: .4rem; font-weight: 500; }
.cta .btn { flex: none; }

/* Rodapé */
.footer { background: var(--soft); border-top: 1px solid var(--line); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.500fr 1fr 1.200fr; gap: 2.500rem; padding-block: 3rem; }
.footer-brand img { width: 170px; }
.footer-brand p { margin-top: 1rem; color: var(--muted); max-width: 22rem; }
.footer h3 { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.footer-grid a { display: block; padding: .38rem 0; color: var(--text); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--orange-dark); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.100rem; color: var(--muted); font-size: .85rem; }
.footer-bottom .container { padding-right: 4.500rem; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: var(--white); box-shadow: 0 10px 26px rgba(0, 0, 0, .28); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ico { width: 34px; height: 34px; }

/* Páginas de texto (privacidade, 404) */
.page { padding-block: 3.500rem 4.500rem; }
.page .container { max-width: 800px; }
.page h1 { font-size: clamp(1.800rem, 4vw, 2.500rem); font-weight: 800; }
.page h2 { font-size: 1.250rem; font-weight: 800; margin-top: 2.200rem; }
.page p, .page li { margin-top: .8rem; color: #33363b; }
.page ul { list-style: disc; padding-left: 1.300rem; }
.page .page-meta { color: var(--muted); font-size: .9rem; }
.page-center { text-align: center; padding-block: 5rem; }
.page-center .btn { margin-top: 1.800rem; }
.page-code { font-size: 4.500rem; font-weight: 800; color: var(--orange); line-height: 1; }

/* Telas médias */
@media (max-width: 980px) {
  .menu-btn { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.250rem 1.250rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0, 0, 0, .08); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-cta { margin-top: 1rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.500rem; padding-block: 3rem 3.500rem; }
  .hero-card { max-width: 420px; }
  .shortcuts-grid, .features, .support-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 1.800rem; }
  .plan-summary { min-height: 0; }
  .advisor { grid-template-columns: 1fr; }
  .coverage, .faq { grid-template-columns: 1fr; gap: 2rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Celular */
@media (max-width: 560px) {
  .container { width: calc(100% - 2rem); }
  .topbar-inner { justify-content: center; }
  .topbar-link { display: none; }
  .header-inner { min-height: 64px; }
  .brand img { width: 136px; }
  .section { padding-block: 3.200rem; }
  .hero-actions .btn { width: 100%; }
  .hero-points { flex-direction: column; }
  .shortcuts-grid { gap: .6rem; }
  .shortcut { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .85rem; }
  .features, .support-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .form { padding: 1.250rem; }
  .advisor { padding: 1.300rem; }
  .cta .btn { width: 100%; }
  .footer-grid a { padding: .65rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
