/* =========================================================
   OPENSAT — estilos compartilhados
   - OpenSat Fibra (index.html): identidade verde
   - OpenSat Rede (rede.html, body.theme-rede): identidade vinho
   Troque as cores nas variáveis abaixo.
   ========================================================= */
:root {
  --bg: #06131a;
  --bg-2: #0a1b24;
  --surface: #0e2330;
  --surface-2: #133040;
  --line: rgba(160, 220, 200, .13);
  --text: #eaf5f1;
  --muted: #9db5b0;

  --brand: #2fbf71;        /* verde OpenSat */
  --brand-hi: #5ee39a;     /* verde claro (destaques) */
  --accent: #2dd4bf;       /* toque de turquesa */
  --on-brand: #04170d;     /* texto sobre o verde */
  --grad: linear-gradient(110deg, #1fa862, #5ee39a);
  --glow: rgba(47, 191, 113, .35);

  --wine: #7f0000;         /* vinho da logo */
  --wine-hi: #b3202f;

  --radius: 18px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---- Tema OpenSat Rede (vinho) ---- */
.theme-rede {
  --bg: #12070a;
  --bg-2: #1a0b0f;
  --surface: #241016;
  --surface-2: #30151d;
  --line: rgba(240, 170, 180, .13);
  --text: #f6ecee;
  --muted: #c2a6ab;
  --brand: #c22a3c;
  --brand-hi: #ec6b7b;
  --accent: #e3b07a;
  --on-brand: #fff;
  --grad: linear-gradient(110deg, var(--wine), #c22a3c);
  --glow: rgba(194, 42, 60, .4);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hl { color: var(--brand-hi); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-hi); margin-bottom: .75rem;
}
.note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 2rem; }
.small { font-size: .8rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 12px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s;
  font-family: inherit; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-hi); }
.btn--ghost { border-color: var(--line); background: rgba(255,255,255,.03); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--outline { border-color: var(--brand); color: var(--brand-hi); background: transparent; }
.btn--outline:hover { background: rgba(255, 255, 255, .05); }
.btn--light { background: #fff; color: #111; }
.btn--ghost-light { border-color: currentColor; color: inherit; }
.btn--wine { background: var(--wine); color: #fff; }
.btn--wine:hover { background: var(--wine-hi); }
.btn--green { background: #2fbf71; color: #04170d; }
.btn--green:hover { background: #5ee39a; }
.btn--lg { padding: 1em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: rgba(0,0,0,.35); font-size: .82rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; justify-content: space-between; align-items: stretch; gap: 1rem; }
.topbar__brands { display: flex; }
.topbar__brands a { padding: .55rem 1rem; border-bottom: 2px solid transparent; display: flex; gap: .4rem; align-items: baseline; }
.topbar__brands a:first-child { padding-left: 0; }
.topbar__brands a.is-active { color: var(--text); font-weight: 600; border-color: var(--brand); }
.topbar__brands small { color: var(--muted); font-size: .75rem; }
.topbar__rede:hover { color: #ec6b7b; }
.topbar__fibra:hover { color: #5ee39a; }
.topbar__olho:hover { color: #E4393E; }
.topbar__links { display: flex; gap: 1.25rem; align-items: center; }
.topbar__links a:hover { color: var(--text); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.header.is-scrolled { border-color: var(--line); background: color-mix(in srgb, var(--bg) 95%, transparent); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: flex; align-items: center; gap: .7rem; }
.logo img { height: 46px; width: auto; }
.logo__tag {
  font-family: var(--font-display); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--brand-hi); padding-left: .7rem; border-left: 1px solid var(--line);
}

.nav { display: flex; align-items: center; gap: 1.8rem; font-weight: 500; font-size: .94rem; }
.nav a:not(.btn) { color: var(--muted); position: relative; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--brand); transition: width .25s;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav .nav__rede, .nav .nav__fibra, .nav .nav__olho { display: inline-flex; align-items: center; gap: .45rem; }
.nav__rede::before, .nav__fibra::before, .nav__olho::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.nav__olho::before { background: #E4393E; }
.nav__rede::before { background: #b3202f; }
.nav__fibra::before { background: #2fbf71; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; border-radius: 2px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 80px 0 100px;
  background:
    radial-gradient(55% 60% at 80% 35%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    var(--bg);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; font-weight: 500;
  padding: .4rem .85rem; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.03); margin-bottom: 1.5rem;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-hi); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 540px; }
.hero__lead strong { color: var(--text); }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2rem 0; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.6rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.hero__trust li { display: flex; align-items: center; gap: .4rem; }
.hero__trust .ic { color: var(--brand-hi); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.speedo {
  position: relative; width: min(340px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--surface) 95%, transparent) 55%, color-mix(in srgb, var(--surface) 40%, transparent) 100%);
  border: 1px solid var(--line); box-shadow: 0 0 100px -30px var(--glow);
  display: grid; place-items: center;
}
.speedo svg { position: absolute; inset: 0; transform: rotate(135deg); }
.speedo__track, .speedo__bar { fill: none; stroke-width: 12; stroke-linecap: round; }
.speedo__track { stroke: rgba(255,255,255,.06); stroke-dasharray: 433.5 578; }
.speedo__bar { stroke-dasharray: 0 578; transition: stroke-dasharray .1s linear; }
.speedo__value { text-align: center; font-family: var(--font-display); }
.speedo__value span { display: block; font-size: 4.5rem; font-weight: 800; line-height: 1; }
.speedo__value small { color: var(--muted); font-size: 1rem; text-transform: uppercase; letter-spacing: .2em; }
.speedo__label { position: absolute; bottom: 18%; font-size: .78rem; color: var(--brand-hi); letter-spacing: .2em; text-transform: uppercase; }

.float-card {
  position: absolute; padding: .65rem .95rem; border-radius: 12px; font-size: .88rem; font-weight: 500;
  background: color-mix(in srgb, var(--surface-2) 90%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,.3); animation: bob 6s ease-in-out infinite; display: flex; align-items: center; gap: .5rem;
}
.float-card .ic { color: var(--brand-hi); }
.float-card--a { top: 8%; left: 0; }
.float-card--b { bottom: 12%; left: -4%; animation-delay: -2s; }
.float-card--c { top: 32%; right: -4%; animation-delay: -4s; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-hi); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Monitor (OpenSat Rede) ---------- */
.hero--rede .float-card--a { top: auto; bottom: 10%; left: -2%; }
.hero--rede { background: radial-gradient(55% 60% at 80% 35%, rgba(194,42,60,.18), transparent 70%), var(--bg); }
.monitor {
  width: min(460px, 100%); border-radius: 16px; overflow: hidden; background: #0b0507;
  border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.monitor__bar { display: flex; justify-content: space-between; padding: .6rem .9rem; font: 600 .75rem var(--font-display); letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid var(--line); }
.monitor__bar span { display: flex; align-items: center; gap: .45rem; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.monitor__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; }
.cam {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background:
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,.6)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 30% 20%, #3a2a2e, #140a0d);
}
.cam:nth-child(2) { background-color: #000; filter: hue-rotate(10deg) brightness(.9); }
.cam:nth-child(3) { filter: brightness(1.1); }
.cam::before { /* silhuetas simples de cena */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 45%;
  background: linear-gradient(90deg, rgba(255,255,255,.06) 0 22%, transparent 22% 30%, rgba(255,255,255,.04) 30% 62%, transparent 62% 70%, rgba(255,255,255,.07) 70%);
}
.cam::after { /* varredura */
  content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.05), transparent);
  animation: scan 4s linear infinite;
}
.cam:nth-child(2)::after { animation-delay: -1s; } .cam:nth-child(3)::after { animation-delay: -2s; } .cam:nth-child(4)::after { animation-delay: -3s; }
@keyframes scan { to { top: 100%; } }
.cam span { position: absolute; left: .55rem; bottom: .45rem; font: 600 .68rem var(--font-display); color: #e7d6d9; letter-spacing: .04em; z-index: 1; }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 2.2rem 1rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; }
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Seções ---------- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-2); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 3.5rem; }
.section h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 800; }
.section__head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 860px; margin-inline: auto; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 2.4rem 2rem;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s, border-color .3s;
}
.plan:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 60%, transparent); }
.plan--featured { border: 2px solid var(--brand); background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 12%, var(--surface)), var(--surface) 55%); }
.plan__badge {
  position: absolute; top: -13px; left: 2rem;
  background: var(--brand); color: var(--on-brand); font-size: .72rem; font-weight: 700; padding: .3rem .8rem; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .08em;
}
.plan__speed { font-size: 3.4rem; font-weight: 800; margin: 0; display: flex; align-items: baseline; gap: .4rem; }
.plan__speed small { font-size: 1rem; color: var(--brand-hi); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.plan__desc { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan__price { display: flex; align-items: flex-start; gap: .2rem; font-family: var(--font-display); margin: .5rem 0 1.6rem; min-height: 3.4rem; }
.plan__price span { font-size: 1.1rem; font-weight: 600; line-height: 1.2; padding-top: .35rem; }
.plan__price small { font-size: .75rem; color: var(--muted); font-weight: 400; }
.plan__price b { font-size: 3.2rem; line-height: 1; }
.plan__price--ask { align-items: center; }
.plan__price--ask b { font-size: 1.9rem; color: var(--text); }
.plan__feat { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; display: grid; gap: .75rem; font-size: .94rem; align-content: start; }
.plan__feat li, .checks li { display: flex; gap: .6rem; align-items: flex-start; }
.plan__feat li::before, .checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 22%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- Serviços extras ---------- */
.apps { padding: 0 0 20px; }
.apps__inner {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center;
  padding: 3rem; border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
}
.apps h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.apps p { color: var(--muted); margin: 0; }
.apps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.apps__list li { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-weight: 500; font-size: .93rem; }
.apps__list .ic { color: var(--brand-hi); }

/* ---------- Vantagens / soluções ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.features--2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  padding: 2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s;
}
.feature:hover { border-color: color-mix(in srgb, var(--brand) 50%, transparent); }
.feature__icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand-hi); margin-bottom: 1.2rem;
}
.feature__icon .ic { width: 24px; height: 24px; }
.feature h3 { font-size: 1.18rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.feature--big { padding: 2.4rem; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.checks--sm { margin: 1.3rem 0 0; gap: .55rem; font-size: .92rem; }

/* ---------- Conexão Verde ---------- */
.section--green {
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(47,191,113,.16), transparent 60%),
    linear-gradient(180deg, #071c17, #06131a);
  border-block: 1px solid var(--line);
  --muted: #c3d1ce; /* cinza-prata mais claro só nesta seção (legibilidade) */
}
.green { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.green__copy p { color: var(--muted); font-size: 1.05rem; }
.green__seal {
  display: inline-flex; align-items: center; gap: 1rem; margin-top: 1rem; padding: 1rem 1.3rem;
  border-radius: 14px; border: 1px solid rgba(94,227,154,.35); background: rgba(47,191,113,.08);
}
.green__seal > .ic { width: 38px; height: 38px; color: var(--brand-hi); }
.green__seal b { display: block; font-family: var(--font-display); }
.green__seal span { font-size: .88rem; color: var(--muted); }
.green__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.green__item { padding: 1.6rem; border-radius: var(--radius); background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.green__item > .ic { width: 28px; height: 28px; color: var(--brand-hi); margin-bottom: 1rem; }
.green__item h3 { font-size: 1.05rem; }
.green__item p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Cobertura ---------- */
.coverage {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center;
  padding: 3.5rem; border-radius: 24px; border: 1px solid var(--line); background: var(--surface);
}
.coverage__copy p { color: var(--muted); }
.steps { margin: 1.5rem 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: .8rem; }
.steps li { counter-increment: s; display: flex; gap: .8rem; align-items: center; font-size: .95rem; }
.steps li::before {
  content: counter(s); width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center;
  font: 700 .85rem var(--font-display); background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--brand-hi);
}
.coverage__form { display: grid; gap: 1rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.input { display: grid; gap: .35rem; font-size: .85rem; font-weight: 500; color: var(--muted); }
.input em { font-style: normal; opacity: .7; }
.input input {
  width: 100%; padding: .85rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg);
  color: var(--text); font: 500 1rem var(--font-body); outline: none; transition: border-color .2s;
}
.input input:focus { border-color: var(--brand); }
.input input.is-invalid { border-color: #f87171; }
.coverage__msg { margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--muted); }
.coverage__msg.err { color: #f87171; }

/* ---------- Empresas ---------- */
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.biz__copy p { color: var(--muted); font-size: 1.05rem; }
.net { position: relative; aspect-ratio: 1; max-width: 420px; margin-inline: auto; border-radius: 50%; border: 1px dashed var(--line); }
.net::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1px dashed var(--line); }
.net__node {
  position: absolute; padding: .6rem 1rem; border-radius: 10px; font-size: .85rem; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--line); transform: translate(-50%, -50%);
}
.net__node--core {
  left: 50%; top: 50%; padding: 1.3rem 1.1rem; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-family: var(--font-display);
  animation: pulse 2.6s infinite;
}
.n1 { left: 50%; top: 0; } .n2 { left: 100%; top: 50%; } .n3 { left: 50%; top: 100%; } .n4 { left: 0; top: 50%; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--glow); } 70%, 100% { box-shadow: 0 0 0 36px transparent; } }

/* ---------- Depoimentos / Para quem ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testi, .who { margin: 0; padding: 2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.testi blockquote { margin: 0 0 1.5rem; font-size: 1.02rem; flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: .8rem; font-weight: 600; }
.testi figcaption small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 25%, var(--surface)); color: var(--text); font-weight: 700; }
.who > .ic { width: 32px; height: 32px; color: var(--brand-hi); margin-bottom: 1rem; }
.who p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Timeline (Rede) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: t; }
.timeline li { padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); position: relative; }
.timeline b { display: block; font: 800 1rem var(--font-display); color: var(--brand-hi); margin-bottom: .8rem; }
.timeline h3 { font-size: 1.1rem; }
.timeline p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 780px; margin-inline: auto; display: grid; gap: .7rem; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.5rem; font-weight: 600; font-size: 1.03rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand-hi); transition: transform .3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.3rem; margin: 0; color: var(--muted); }
.faq__body { padding: 0 1.5rem 1.3rem; color: var(--muted); }
.faq__body p { padding: 0; margin: 0 0 .8rem; }
.faq__body p:last-child { margin: 0; }
.faq__body ol { margin: 0 0 .8rem; padding-left: 1.3rem; display: grid; gap: .45rem; }
.faq__body b { color: var(--text); font-weight: 600; }
.faq__body a { color: var(--brand-hi); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }

/* ---------- CTA ---------- */
.cta { padding: 110px 0 60px; }
.cta__inner {
  text-align: center; padding: 4.5rem 2rem; border-radius: 28px; background: var(--grad); color: var(--on-brand);
}
.cta h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
.cta p { font-size: 1.1rem; opacity: .85; }
.cta .hero__actions { justify-content: center; margin-bottom: 0; }

/* ---------- Banner cruzado Fibra <-> Rede ---------- */
.crosssell { padding: 0 0 90px; }
.crosssell__inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
  padding: 2rem 2.4rem; border-radius: 20px; color: #fff;
  background: linear-gradient(110deg, #4d0008, #7f0000 60%, #9c1424);
}
.crosssell--fibra .crosssell__inner { background: linear-gradient(110deg, #0b3a24, #127a45 60%, #1fa862); }
.crosssell__logo { height: 54px; width: auto; }
.crosssell .eyebrow { color: rgba(255,255,255,.75); margin-bottom: .3rem; }
.crosssell h3 { margin: 0; font-size: 1.15rem; font-weight: 600; }
.crosssell--fibra .btn--green { background: #fff; color: #0b3a24; }

/* ---------- Footer ---------- */
.footer { background: rgba(0,0,0,.35); border-top: 1px solid var(--line); padding-top: 4rem; color: var(--muted); font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer__logo { height: 52px; width: auto; margin-bottom: 1rem; }
.footer h4 { color: var(--text); font-size: 1rem; margin-bottom: 1rem; }
.footer__grid a { display: block; margin-bottom: .55rem; transition: color .2s; }
.footer__grid a:hover { color: var(--brand-hi); }
.footer__bottom { border-top: 1px solid var(--line); margin-top: 3rem; padding: 1.5rem 0; font-size: .82rem; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }


/* ---------- Fotos ---------- */
.section--tight { padding-top: 40px; }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.use { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--line); }
.use img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.use:hover img { transform: scale(1.04); }
.use::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4, 14, 18, .92)); }
.use figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; z-index: 1; }
.use figcaption b { display: block; font: 700 1.25rem var(--font-display); margin-bottom: .25rem; }
.use figcaption span { color: #c9d8d4; font-size: .93rem; }

.green__photo { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.8rem; border: 1px solid var(--line); }

.biz__visual { position: relative; }
.biz__visual img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); }
.biz__badge {
  position: absolute; display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-radius: 12px; font-size: .88rem; font-weight: 500;
  background: color-mix(in srgb, var(--surface-2) 92%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.biz__badge b { color: var(--brand-hi); font-family: var(--font-display); }
.biz__badge--a { top: 8%; left: -5%; }
.biz__badge--b { bottom: 8%; right: -4%; }

.cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.15) brightness(.8); }
.cam::before { display: none; }
.cam::after { z-index: 1; }

.feature--photo { padding-top: 0; overflow: hidden; }
.feature__img { width: calc(100% + 4.8rem); max-width: none; margin: 0 -2.4rem 1.6rem; aspect-ratio: 16/8; object-fit: cover; border-bottom: 1px solid var(--line); }
.feature--photo .feature__icon { margin-top: -3.6rem; position: relative; background: var(--surface-2); border: 1px solid var(--line); width: 56px; height: 56px; }

.who--photo { padding: 0; overflow: hidden; }
.who__img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.who--photo h3, .who--photo p { padding-inline: 1.8rem; }
.who--photo h3 { margin-top: 1.5rem; }
.who--photo p { padding-bottom: 1.8rem; }

@media (max-width: 960px) {
  .uses { grid-template-columns: 1fr 1fr 1fr; gap: .8rem; }
  .use { aspect-ratio: 3/4; }
  .biz__badge--a { left: 4%; } .biz__badge--b { right: 4%; }
}
@media (max-width: 640px) {
  .uses { grid-template-columns: 1fr; }
  .use { aspect-ratio: 16/11; }
}


/* Banner de fibra e CTA com foto */
.fiber-banner { position: relative; margin: 0 0 1.25rem; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 5/2; }
.fiber-banner img { width: 100%; height: 100%; object-fit: cover; }
.fiber-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 16, 14, .9) 0%, rgba(4, 16, 14, .55) 45%, transparent 75%); }
.fiber-banner figcaption { position: absolute; left: 0; top: 50%; transform: translateY(-50%); padding: 0 3rem; max-width: 460px; z-index: 1; }
.fiber-banner b { display: block; font: 800 clamp(1.5rem, 3vw, 2.2rem) var(--font-display); color: var(--brand-hi); margin-bottom: .4rem; }
.fiber-banner span { color: #d4e4df; }

.cta--photo .cta__inner {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(4, 30, 18, .55), rgba(4, 30, 18, .8)),
    linear-gradient(110deg, rgba(31, 168, 98, .55), rgba(31, 168, 98, .15)),
    url("../img/fotos/fibra-luz.jpg") center/cover;
}
.cta--photo .btn--light { background: var(--brand); color: var(--on-brand); }
.cta--photo .btn--light:hover { background: var(--brand-hi); }

@media (max-width: 640px) {
  .fiber-banner { aspect-ratio: 4/3; }
  .fiber-banner::after { background: linear-gradient(0deg, rgba(4, 16, 14, .95) 10%, transparent 80%); }
  .fiber-banner figcaption { top: auto; bottom: 0; transform: none; padding: 1.5rem; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 1.3rem; }
}
@media (max-width: 960px) {
  .topbar__links { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem 16px 1.5rem;
    transform: translateY(-130%); transition: transform .35s ease; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1rem; }
  .hero { padding: 50px 0 70px; }
  .hero__inner, .biz, .coverage, .apps__inner, .green { grid-template-columns: 1fr; }
  .hero__visual { min-height: 360px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .testis { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .coverage, .apps__inner { padding: 2rem; }
  .biz, .green { gap: 2.5rem; }
  .crosssell__inner { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 640px) {
  .topbar__brands a { padding: .55rem .7rem; }
  .topbar__brands small { display: none; }
  .logo img { height: 38px; }
  .plans, .features, .features--2, .timeline, .green__grid, .grid2 { grid-template-columns: 1fr; }
  .apps__list { grid-template-columns: 1fr 1fr; }
  .float-card { font-size: .76rem; padding: .5rem .7rem; }
  .float-card--b { left: 0; } .float-card--c { right: 0; }
  .speedo__value span { font-size: 3.4rem; }
  .stat b { font-size: 1.8rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .coverage, .apps__inner { padding: 1.4rem; }
  .net__node { font-size: .72rem; padding: .45rem .7rem; }
  .crosssell__inner { padding: 1.6rem; }
}

/* olho-vivo topbar: 3 marcas em telas estreitas */
@media (max-width: 400px) {
  .topbar__brands a { padding: .55rem .45rem; font-size: .76rem; }
}
