/* ==========================================================================
   UTRANET TELECOM — Design System Editorial Limpo (Inspirado em Nio Internet)
   Superfícies claras (#F4F6F9 / #FFFFFF) + Institucional Utranet (#001229)
   ========================================================================== */

:root {
  --navy: #001229;
  --navy-mid: #082347;
  --navy-soft: #0f3161;
  --yellow: #fdf400;
  --yellow-dark: #e5dd00;
  --red: #d90d0d;
  --red-hover: #b80b0b;
  --cyan-brand: #0097b2;
  --cyan-light: #e6f7fa;
  --whatsapp: #1fa855;
  --whatsapp-hover: #188c46;

  --bg-page: #f4f6f9;
  --bg-white: #ffffff;
  --bg-subtle: #edf1f6;

  --text-primary: #0b192c;
  --text-secondary: #4a5b73;
  --text-muted: #6e7f96;

  --border-light: #dce3ec;
  --border-strong: #c3cfde;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-xs: 0 2px 8px rgba(0, 18, 41, 0.04);
  --shadow-sm: 0 8px 24px rgba(0, 18, 41, 0.06);
  --shadow-md: 0 16px 40px rgba(0, 18, 41, 0.10);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   BARRA INSTITUCIONAL SUPERIOR (Estilo Operadora: Para você | Empresas | Ajuda)
   ========================================================================== */
.util-bar {
  background-color: #000b1a;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.util-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 16px;
}

.util-bar__segments {
  display: flex;
  align-items: center;
  gap: 20px;
}

.util-bar__segments a {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.util-bar__segments a.is-active,
.util-bar__segments a:hover {
  color: #ffffff;
  border-bottom-color: var(--yellow);
}

.util-bar__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.util-bar__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.util-bar__contacts a:hover {
  color: var(--yellow);
}

/* ==========================================================================
   HEADER PRINCIPAL (#001229 para contraste nítido com a logo oficial Utranet)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 18, 41, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--yellow);
}

.nav-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  background-color: var(--yellow);
  color: var(--navy);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   BOTÕES LIMPOS E DIRETOS (Sem brilho artificial)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-align: center;
}

.btn:active {
  transform: scale(0.99);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-primary {
  background-color: var(--navy);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--navy-soft);
}

.btn-yellow {
  background-color: var(--yellow);
  color: var(--navy);
}

.btn-yellow:hover {
  background-color: var(--yellow-dark);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
}

.btn-outline-dark {
  background-color: transparent;
  border-color: var(--border-strong);
  color: var(--navy);
}

.btn-outline-dark:hover {
  border-color: var(--navy);
  background-color: rgba(0, 18, 41, 0.04);
}

.btn-outline-light {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-outline-light:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO COM CONSULTA DE CEP (Inspirado diretamente na jornada da Nio)
   ========================================================================== */
.hero {
  background-color: var(--navy);
  color: #ffffff;
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Grafismo geométrico sutil e limpo no fundo, sem blur neon */
.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -35%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 64px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 32px;
  font-weight: 400;
}

/* Barra de Consulta de Disponibilidade por CEP (Estilo Nio) */
.cep-box {
  background-color: #ffffff;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  max-width: 560px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.cep-box__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.cep-form {
  display: flex;
  gap: 10px;
}

.cep-input {
  flex: 1;
  height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease;
}

.cep-input:focus {
  border-color: var(--navy);
}

.cep-result {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.875rem;
}

.cep-result.is-visible {
  display: block;
}

.cep-result__address {
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.cep-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Card de Oferta Principal à direita do Hero */
.hero-offer-card {
  background-color: #ffffff;
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
}

.hero-offer-card__tag {
  display: inline-block;
  background-color: var(--bg-subtle);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.hero-offer-card__speed {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--navy);
}

.hero-offer-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 10px 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.hero-offer-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 22px;
}

.hero-offer-card__price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.price-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.price-integer {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
}

.price-cents {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   FAIXA RÁPIDA DE AUTOATENDIMENTO (Cards horizontais limpos em fundo branco)
   ========================================================================== */
.quick-strip {
  margin-top: -34px;
  position: relative;
  z-index: 10;
  padding-bottom: 24px;
}

.quick-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.quick-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-item:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.quick-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: var(--bg-subtle);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-item--highlight .quick-item__icon {
  background-color: var(--navy);
  color: var(--yellow);
}

.quick-item__text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.quick-item__text span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SEÇÃO DE PLANOS RESIDENCIAIS (Cards brancos limpos estilo Nio)
   ========================================================================== */
.section {
  padding: 76px 0;
}

.section--white {
  background-color: var(--bg-white);
}

.section--navy {
  background-color: var(--navy);
  color: #ffffff;
}

.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.section--navy .section-head p {
  color: rgba(255, 255, 255, 0.76);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.plan-card--featured {
  border: 2px solid var(--navy);
  box-shadow: var(--shadow-md);
}

.plan-card__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background-color: var(--navy);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.plan-card__badge--complete {
  background-color: var(--red);
  color: #ffffff;
}

.plan-card__category {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.plan-card__speed {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 14px;
}

.plan-card__tv-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--cyan-light);
  color: #005f73;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}

.plan-card__specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  margin-bottom: 28px;
  flex: 1;
}

.plan-card__specs li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.plan-card__specs svg {
  width: 18px;
  height: 18px;
  color: var(--whatsapp);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-card__price {
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.plan-card__price-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.plan-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-card__actions .btn {
  width: 100%;
}

.plans-footnote {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   SEÇÃO UTRATV (Bloco institucional escuro e limpo)
   ========================================================================== */
.tv-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tv-filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.tv-filter-btn:hover,
.tv-filter-btn.active {
  background-color: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.channel-tile {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.channel-tile strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.channel-tile span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
}

.tv-bottom-banner {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.tv-bottom-banner h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.tv-bottom-banner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  max-width: 580px;
}

/* ==========================================================================
   SEÇÃO DE APLICATIVOS (Cards brancos limpos + Botões Google Play e App Store)
   ========================================================================== */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.app-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-xs);
}

.app-card__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan-brand);
  margin-bottom: 8px;
}

.app-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 10px;
}

.app-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.app-card__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.app-card__list li {
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--navy);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
}

.store-badge-btn:hover {
  background-color: var(--navy-soft);
}

.store-badge-btn small {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.1;
}

.store-badge-btn strong {
  font-size: 0.92rem;
  font-weight: 700;
}

/* ==========================================================================
   SEÇÃO EMPRESAS (LINK DEDICADO)
   ========================================================================== */
.corp-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.corp-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.corp-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.corp-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 26px 0 30px;
}

.corp-point {
  background-color: var(--bg-page);
  padding: 16px;
  border-radius: var(--radius-md);
}

.corp-point strong {
  display: block;
  font-size: 0.94rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.corp-point span {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ (Acordeão Limpo Estilo Nio)
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border-light);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-btn {
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background-color: var(--navy);
  color: #ffffff;
}

.faq-panel {
  display: none;
  padding: 0 4px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 740px;
}

.faq-item.open .faq-panel {
  display: block;
}

/* ==========================================================================
   RODAPÉ INSTITUCIONAL
   ========================================================================== */
.site-footer {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 48px;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--yellow);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-pill {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}

.social-pill:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.footer-legal {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.58);
}

/* ==========================================================================
   WEBCHAT OPA! SUITE + WIDGET FLUTUANTE LIMPO
   ========================================================================== */
.opa_ico {
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  position: fixed !important;
  bottom: 0 !important;
  right: 0 !important;
}

.opa_chat {
  bottom: 20px !important;
  right: 20px !important;
  width: 365px !important;
  height: 500px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid var(--border-strong) !important;
  box-shadow: 0 20px 50px rgba(0, 18, 41, 0.28) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  z-index: 100000 !important;
}

.opa_cabecalho {
  background: var(--navy) !important;
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  padding-left: 16px !important;
}

.opa_cabecalho::before {
  content: "Atendimento Utranet";
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
}

.opa_close,
.opa_minimize {
  top: 8px !important;
}

.opa_corpo {
  background: #f4f6f9 !important;
}

.opa_rodape {
  background: #ffffff !important;
  border-top: 1px solid #dce3ec !important;
}

.sem-login {
  display: inline-block !important;
  background: var(--navy) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 11px 22px !important;
  border-radius: 999px !important;
  margin-top: 12px !important;
  text-align: center !important;
}

/* Botão flutuante sóbrio estilo operadora */
.floating-support {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.floating-support.is-hidden {
  display: none;
}

.support-popover {
  width: 310px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0, 18, 41, 0.18);
  display: none;
  flex-direction: column;
  gap: 8px;
}

.support-popover.is-open {
  display: flex;
}

.support-popover__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 4px;
}

.support-popover__head strong {
  font-size: 0.95rem;
  color: var(--navy);
}

.support-popover__close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.support-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.support-link:hover {
  border-color: var(--navy);
  background-color: #ffffff;
}

.support-link strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
}

.support-link small {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.support-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--navy);
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 18, 41, 0.25);
}

.support-trigger:hover {
  background-color: var(--navy-soft);
}

.support-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #25d366;
}

.chat-status-toast {
  position: fixed;
  bottom: 84px;
  right: 24px;
  background-color: var(--navy);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 100001;
  display: none;
}

.chat-status-toast.is-visible {
  display: block;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1040px) {
  .quick-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .channels-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-layout,
  .apps-grid,
  .corp-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .util-bar {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background-color: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    padding: 20px 24px;
    gap: 14px;
    display: none;
  }
  .main-nav.open {
    display: flex;
  }
  .header-actions .btn-outline-light {
    display: none;
  }
  .quick-strip {
    margin-top: 24px;
  }
  .quick-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .cep-form {
    flex-direction: column;
  }
  .quick-strip__grid,
  .app-card__list,
  .corp-points,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .opa_chat {
    width: calc(100vw - 20px) !important;
    right: 10px !important;
    bottom: 10px !important;
    height: 78vh !important;
  }
}
