:root {
  --azul-escuro: #060a6e;
  --azul-profundo: #04114f;
  --ciano: #00a4b2;
  --ciano-claro: #5de6ef;
  --branco: #ffffff;
  --cinza: #ebefff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111428;
}

button,
a {
  font: inherit;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 20% 20%, rgba(93, 230, 239, 0.24), transparent 50%), linear-gradient(130deg, #060a6e 0%, #04114f 55%, #00a4b2 100%);
  color: #ffffff;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.page-loader-inner p {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-loader-spinner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  animation: page-loader-spin 0.9s linear infinite;
}

@keyframes page-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

.city-bar {
  background: var(--branco);
  display: flex;
  justify-content: flex-end;
  padding: 10px 20px;
}

.city-btn {
  border: 2px solid var(--azul-escuro);
  color: var(--azul-escuro);
  background: transparent;
  border-radius: 8px;
  padding: 8px 18px;
  font-weight: 700;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-radius: 0 0 0px 0px;
  background: linear-gradient(100deg, rgba(6, 10, 110, 1) 72%, rgba(0, 164, 178, 1) 100%);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 0;
  gap: 4px;
  flex-direction: column;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--branco);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-bar.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-bar.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-bar.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.brand img {
  width: 200px;
}

.nav-bar nav {
  font-size: 2.4vh;
  display: flex;
  gap: 14px;
}

.nav-bar nav button {
  background: none;
  border: 0;
  color: var(--branco);
  cursor: pointer;
  font-weight: 600;
}

.nav-bar nav a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 600;
}

.nav-bar nav button:hover {
  color: var(--ciano-claro);
}

.nav-bar nav a:hover {
  color: var(--ciano-claro);
}

.portal-btn {
  border: 2px solid var(--branco);
  color: var(--branco);
  background: transparent;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 800;
  cursor: pointer;
}

main {
  padding-top: 84px;
}

section[id] {
  scroll-margin-top: 110px;
}

.hero {
  width: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 2;
  max-height: 82vh;
  line-height: 0;
}

.hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-card {
  position: absolute;
  left: 5%;
  bottom: 9%;
  max-width: 540px;
  background: linear-gradient(135deg, rgba(1, 14, 59, 0.82), rgba(1, 36, 118, 0.45));
  color: #fff;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 26px;
}

.hero-card span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #70e6ff;
  font-weight: 800;
}

.hero-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.hero-card p {
  margin: 14px 0 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.plan-section {
  padding: 42px 20px 18px;
  background:
    radial-gradient(circle at 12% -6%, rgba(0, 164, 178, 0.2), transparent 40%),
    radial-gradient(circle at 88% 106%, rgba(6, 10, 110, 0.18), transparent 42%),
    #ffffff;
}

.plan-section h2,
.coverage h2,
.about h2 {
  text-align: center;
  color: var(--azul-escuro);
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan-card {
  background: linear-gradient(165deg, #09135f 0%, #1a2e98 55%, #121a72 100%);
  color: #fff;
  border-radius: 18px;
  min-height: 540px;
  position: relative;
  padding: 24px 22px 20px;
  box-shadow: 0 18px 34px rgba(4, 12, 64, 0.26);
  border: 1px solid rgba(99, 220, 255, 0.28);
  overflow: visible;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 9%, rgba(93, 230, 239, 0.24), transparent 34%),
    radial-gradient(circle at 12% 106%, rgba(110, 244, 255, 0.16), transparent 44%);
  pointer-events: none;
}

.plan-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 44px rgba(6, 15, 79, 0.34);
}

.plan-card-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: fit-content;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(120deg, #ffd56a 0%, #f7b745 100%);
  color: #16316d;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 18px rgba(255, 194, 71, 0.34);
  z-index: 3;
}

.price-tag {
  position: static;
  background: linear-gradient(120deg, #1db5ff 0%, #00b5cc 100%);
  padding: 8px 15px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  font-size: 2rem;
  margin: 0 auto 10px;
}

.plan-card h3 {
  text-align: center;
  margin: 8px 0 8px;
  font-size: clamp(3rem, 4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.plan-icon {
  width: 60px;
  height: 60px;
  position: static;
  margin: 2px auto 8px;
  border-radius: 50%;
  border: 1px solid rgba(109, 242, 255, 0.4);
  background: rgba(9, 38, 116, 0.45);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(102, 223, 255, 0.18);
  z-index: 1;
}

.plan-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.plan-card h3 span {
  display: inline-block;
  font-size: 2.1rem;
  color: #48efff;
  margin-left: 6px;
}

.plan-highlight {
  text-align: center;
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  color: #8ff8ff;
  text-transform: uppercase;
}

.plan-card-featured .plan-card-head {
  padding-top: 20px;
}

.plan-card ul {
  margin: 14px 0 14px;
  padding: 0 0 0 24px;
  list-style: none;
  flex: 1;
}

.plan-card li {
  position: relative;
  margin-bottom: 12px;
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  line-height: 1.2;
}

.plan-card li::before {
  content: "✔";
  position: absolute;
  left: -22px;
  top: 0;
  color: #86fcff;
  font-weight: 800;
}

.plan-btn {
  display: block;
  text-decoration: none;
  text-align: center;
  border: 1px solid rgba(79, 243, 255, 0.75);
  color: #dffcff;
  border-radius: 16px;
  padding: 13px 14px;
  width: 100%;
  margin-top: auto;
  font-size: 1.02rem;
  font-weight: 800;
  background: linear-gradient(120deg, rgba(6, 26, 96, 0.76), rgba(7, 32, 115, 0.48));
  transition: transform 0.2s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.plan-btn:hover {
  background: linear-gradient(110deg, rgba(16, 177, 255, 0.86), rgba(18, 217, 234, 0.86));
  color: #042058;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(17, 177, 245, 0.35);
}

.plan-card-featured {
  transform: translateY(-4px);
  border-color: rgba(72, 244, 255, 0.9);
  box-shadow: 0 24px 48px rgba(7, 130, 177, 0.36), 0 0 0 1px rgba(113, 255, 255, 0.42) inset;
}

.plan-card-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(116, 255, 255, 0.45);
  pointer-events: none;
}

.plan-card-featured .plan-btn {
  background: linear-gradient(120deg, #19c9f8 0%, #2a8dff 100%);
  color: #ffffff;
  border-color: rgba(127, 246, 255, 0.95);
  box-shadow: 0 10px 20px rgba(20, 165, 245, 0.34);
}

.plan-card-featured .price-tag {
  background: linear-gradient(120deg, #13d1ff 0%, #30a4ff 100%);
}

.plan-card-empty,
.plan-card-loading {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
}

.plan-card-loading p,
.plan-card-empty p {
  margin: 0;
  font-weight: 800;
}

.site-config-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 28px 0;
}

.plans-admin {
  display: grid;
  gap: 12px;
}
.plan-admin-toolbar {
  display: flex;
  justify-content: flex-end;
}
.plan-admin-toolbar button {
  border: 0;
  background: #00d2ea;
  color: #052172;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.plan-admin-form {
  display: grid;
  gap: 8px;
  max-width: 880px;
}

.plan-admin-form input,
.plan-admin-form select,
.plan-admin-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  font: inherit;
}

.plan-admin-form select {
  color: #ffffff;
}

.plan-admin-form select option {
  color: #0b1d4a;
  background: #ffffff;
}

.plan-admin-form select option:checked {
  color: #ffffff;
  background: #0a4ab9;
}

.plan-admin-form textarea {
  resize: vertical;
  min-height: 100px;
}

.plan-icon-admin {
  display: grid;
  gap: 10px;
}

.plan-icon-admin img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(135, 240, 255, 0.44);
  background: rgba(2, 23, 82, 0.55);
  padding: 10px;
}

.plan-icon-admin input[type="file"] {
  border: 1px dashed rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  line-height: 1.2;
}

.plan-icon-admin input[type="file"]::file-selector-button {
  border: 0;
  background: linear-gradient(120deg, #00d2ea 0%, #1f9dff 100%);
  color: #04286a;
  border-radius: 7px;
  padding: 8px 12px;
  margin-right: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-icon-admin input[type="file"]::file-selector-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(30, 162, 255, 0.35);
}

.plan-icon-admin input[type="file"]::-webkit-file-upload-button {
  border: 0;
  background: linear-gradient(120deg, #00d2ea 0%, #1f9dff 100%);
  color: #04286a;
  border-radius: 7px;
  padding: 8px 12px;
  margin-right: 10px;
  font-weight: 800;
  cursor: pointer;
}

.plan-icon-hint {
  color: rgba(220, 245, 255, 0.9);
  font-size: 0.9rem;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-weight: 700;
}

.plan-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plan-admin-actions button {
  border: 0;
  background: #00d2ea;
  color: #052172;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.plan-admin-actions .ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #fff;
}

.plan-admin-message {
  margin: 2px 0 0;
  font-weight: 700;
}

.plan-admin-message.error {
  color: #ffd4dc;
}

.plan-admin-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.plan-admin-item {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(7, 31, 97, 0.55);
  padding: 12px;
}

.plan-admin-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.plan-admin-status {
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 8px;
}

.plan-admin-status.active {
  background: rgba(36, 190, 117, 0.24);
  color: #9ffbd0;
}

.plan-admin-status.inactive {
  background: rgba(255, 168, 46, 0.25);
  color: #ffd6a0;
}

.plan-admin-price {
  margin: 8px 0;
  font-weight: 800;
  color: #9beaff;
}

.plan-admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-admin-item-actions button {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  font-weight: 700;
  cursor: pointer;
}

.plan-admin-item-actions .danger {
  border-color: rgba(255, 148, 148, 0.6);
  color: #ffd6d6;
}

.tv-offer {
  margin: 30px 20px 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(24, 210, 255, 0.2), transparent 48%),
    radial-gradient(circle at 85% 90%, rgba(149, 255, 37, 0.16), transparent 42%),
    var(--azul-escuro);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  padding: 52px 64px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(2, 8, 56, 0.35);
}

.tv-offer.tv-offer-only-banner {
  justify-content: center;
  margin: 24px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.tv-offer-copy {
  max-width: 760px;
}

.tv-offer-action {
  min-width: 220px;
  text-align: right;
}

.tv-offer-banner {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  filter: brightness(1.08) contrast(1.06) saturate(1.04);
  margin: 0;
  display: block;
}

.tv-offer.tv-offer-only-banner .tv-offer-banner {
  width: calc(100% - 40px);
  margin: 0 20px;
  border-radius: 16px;
}

.offer-price {
  font-size: clamp(2rem, 4vw, 4rem);
  margin: 0;
  font-weight: 900;
}

.offer-title {
  margin: 10px 0;
  font-size: clamp(1.5rem, 2.6vw, 3rem);
  font-weight: 900;
}

.offer-subtitle {
  font-size: clamp(1rem, 2vw, 2rem);
  opacity: 0.95;
}

.offer-green {
  color: #95ff25;
  font-weight: 900;
  font-size: clamp(1.2rem, 2.6vw, 2.5rem);
}

.offer-canais {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.03em;
}

.offer-btn {
  display: inline-block;
  text-decoration: none;
  background: var(--ciano);
  color: #042b73;
  font-weight: 900;
  padding: 18px 38px;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 210, 234, 0.35);
}

.about {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding: 42px 20px;
}

.contact-btn {
  text-decoration: none;
  display: inline-block;
  background: var(--ciano);
  color: #fff;
  font-weight: 800;
  padding: 16px 30px;
  border-radius: 8px;
}

.about-image {
  text-align: center;
}

.about-image img {
  max-width: min(1740px, 99vw);
  width: 100%;
}

.about-image img#aboutSectionImage {
  aspect-ratio: 2 / 3;
  object-fit: contain;
}

.coverage {
  text-align: center;
  padding: 10px 20px 34px;
}

.coverage > p {
  margin-top: -8px;
  color: var(--ciano);
  font-size: 1.2rem;
}

.coverage-card {
  max-width: 760px;
  margin: 0 auto;
  background: radial-gradient(circle at 30% 30%, rgba(93, 230, 239, 0.2), transparent 48%), #f4f9ff;
  border: 1px solid #d5e4ff;
  border-radius: 20px;
  padding: 18px;
}

.coverage-card svg {
  width: 100%;
}

.coverage-map-image {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.coverage-map-fallback {
  margin: 0;
  color: #20306f;
  font-weight: 700;
  text-align: center;
  padding: 40px 16px;
}

.coverage-card path {
  fill: #0da7b2;
  stroke: #ffffff;
  stroke-width: 8px;
}

.coverage-card text {
  font-size: 22px;
  font-weight: 800;
  fill: #101f84;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
}

.city-list {
  margin: 22px auto;
  max-width: 980px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.city-list button {
  border: 1px solid #0d2f98;
  background: #fff;
  color: #0d2f98;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.city-list button:hover {
  background: #0d2f98;
  color: #fff;
}

.city-list button.active {
  background: #0d2f98;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(13, 47, 152, 0.18);
}

.coverage-info {
  margin-top: 8px;
  color: #19245d;
  font-weight: 700;
}

.service-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 164, 178, 0.16), transparent 24%),
    radial-gradient(circle at 90% 16%, rgba(93, 230, 239, 0.1), transparent 20%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 28%, #f2f7ff 100%);
}

.service-page main {
  padding-bottom: 44px;
}

.service-header .nav-bar {
  gap: 14px;
}

.service-nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.service-nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  opacity: 0.95;
}

.service-nav-links a:hover {
  color: #9df7ff;
}

.service-back-btn {
  white-space: nowrap;
}

.services-page {
  padding: 32px 20px 44px;
}

.services-hero {
  margin-top: 7vh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: stretch;
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(93, 230, 239, 0.26), transparent 25%),
    radial-gradient(circle at 86% 16%, rgba(0, 164, 178, 0.28), transparent 24%),
    linear-gradient(140deg, #06116d 0%, #081d7e 50%, #0aa1b4 100%);
  color: #ffffff;
  box-shadow: 0 28px 48px rgba(3, 17, 79, 0.22);
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: auto -18% -30% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.services-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 420px;
}

.services-kicker,
.service-eyebrow {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 900;
}

.services-kicker {
  background: rgba(255, 255, 255, 0.12);
  color: #aaf8ff;
}

.services-hero-copy h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.services-hero-copy p {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.45vw, 1.3rem);
  line-height: 1.65;
  color: rgba(240, 252, 255, 0.94);
}

.services-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.services-hero-chips span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(4, 17, 79, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
}

.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.services-primary-btn,
.services-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 15px 20px;
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.services-primary-btn:hover,
.services-secondary-btn:hover {
  transform: translateY(-2px);
}

.services-primary-btn {
  color: #07226b;
  background: linear-gradient(120deg, #bffeff 0%, #73f4ff 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.services-secondary-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.services-hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-content: center;
}

.services-hero-panel article {
  border-radius: 20px;
  padding: 20px 20px 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(2, 14, 64, 0.32));
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.services-hero-panel span {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-weight: 900;
  color: #a7f3ff;
}

.services-hero-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.services-hero-panel p {
  margin: 0;
  line-height: 1.55;
  color: rgba(244, 253, 255, 0.92);
}

.services-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 22px 0 24px;
}

.services-subnav a {
  text-decoration: none;
  color: #0a1f7b;
  border: 1px solid rgba(10, 31, 123, 0.14);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(5, 17, 79, 0.08);
}

.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: stretch;
  margin: 18px 0 26px;
  padding: 32px;
  border-radius: 26px;
  overflow: visible;
}

.service-card--reverse {
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

.service-card--reverse .service-card-copy {
  order: 2;
}

.service-card--reverse .service-card-visual {
  order: 1;
}

.service-card--light {
  background: linear-gradient(140deg, #ffffff 0%, #edf6ff 100%);
  box-shadow: 0 18px 36px rgba(9, 22, 88, 0.08);
}

.service-card--dark {
  background: linear-gradient(140deg, #08126c 0%, #0a1f7f 48%, #04135a 100%);
  color: #ffffff;
  box-shadow: 0 24px 44px rgba(3, 14, 67, 0.2);
}

.service-card--accent {
  background: linear-gradient(140deg, #0ab1c3 0%, #098db0 44%, #05146a 100%);
  color: #ffffff;
  box-shadow: 0 24px 44px rgba(3, 14, 67, 0.2);
}

.service-card-copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.service-card--dark .service-eyebrow,
.service-card--accent .service-eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #b8fbff;
}

.service-card-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: inherit;
}

.service-card-copy p {
  margin: 0;
  max-width: 64ch;
  font-size: 1.08rem;
  line-height: 1.7;
  color: inherit;
  opacity: 0.94;
}

.service-card-copy ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-card-copy li {
  position: relative;
  padding-left: 24px;
  font-size: 1.02rem;
  line-height: 1.55;
}

.service-card-copy li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #11b9d1;
  font-size: 1.5rem;
  line-height: 1;
}

.service-card--dark .service-card-copy li::before,
.service-card--accent .service-card-copy li::before {
  color: #b7ffff;
}

.service-card-visual {
  position: relative;
  min-height: 340px;
  border-radius: 22px;
  padding: 30px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(93, 230, 239, 0.24), transparent 26%),
    radial-gradient(circle at 80% 80%, rgba(6, 17, 109, 0.22), transparent 32%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(234, 246, 255, 0.98));
  border: 1px solid rgba(12, 28, 112, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.service-card--dark .service-card-visual,
.service-card--accent .service-card-visual {
  background:
    radial-gradient(circle at 20% 20%, rgba(95, 241, 255, 0.22), transparent 26%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(160deg, rgba(7, 29, 119, 0.92), rgba(4, 17, 90, 0.96));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}

.service-orbit {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 177, 255, 0.18), transparent 64%);
  box-shadow: inset 0 0 0 1px rgba(16, 177, 255, 0.12);
}

.service-orbit::before,
.service-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(13, 47, 152, 0.18);
}

.service-orbit::after {
  inset: 30%;
}

.service-orbit span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: linear-gradient(140deg, #10b6cc 0%, #0f3ca7 100%);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(4, 17, 78, 0.22);
}

.service-orbit span:first-child {
  top: 10%;
  left: 12%;
}

.service-orbit span:last-child {
  bottom: 10%;
  right: 12%;
}

.service-card-visual > p {
  margin: 0;
  max-width: 22ch;
  font-size: 1rem;
  font-weight: 800;
  color: #103073;
  padding-bottom: 4px;
}

.service-card--dark .service-card-visual > p,
.service-card--accent .service-card-visual > p {
  color: rgba(240, 251, 255, 0.95);
}

.service-card-visual--stacked {
  gap: 16px;
  align-content: center;
}

.service-stack-panel {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-stack-panel strong {
  font-size: 1.6rem;
}

.service-stack-panel span {
  color: #9df7ff;
  font-weight: 900;
}

.service-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
  width: 100%;
}

.service-stack-grid article {
  border-radius: 16px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 800;
  min-height: 74px;
  display: grid;
  place-items: center;
}

.service-card-visual--links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.service-link-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(140deg, #bffeff 0%, #0f61e0 100%);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06);
}

.service-link-line {
  width: 18%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.32), rgba(191, 254, 255, 0.95));
}

.services-cta {
  margin: 22px 0 36px;
  padding: 26px 30px;
  border-radius: 24px 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(120deg, #07106e 0%, #0a1f7f 44%, #0aa1b4 100%);
  color: #ffffff;
}

.services-cta span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #9df7ff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.services-cta h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  line-height: 1.05;
}

.services-cta .services-primary-btn {
  flex-shrink: 0;
}

.site-footer {
  background: linear-gradient(180deg, rgba(6, 10, 110, 1) 32%, rgba(0, 164, 178, 1) 100%);
  color: #fff;
  padding-top: 16px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 20px;
  gap: 10px;
}

.footer-top img {
  width: 78px;
  opacity: 0.6;
}

.footer-top h3 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.footer-top p {
  margin: 6px 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-top a {
  color: #fff;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.footer-social-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.18s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-icon img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  display: block;
}

.footer-social-icon:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
}

.footer-contact {
  text-align: right;
}

.footer-bottom {
  text-align: center;
  padding: 8px 20px 14px;
}

.footer-bottom address {
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
}

.footer-bottom small {
  font-size: 1.6rem;
  font-weight: 700;
}

.whatsapp-floating {
  position: fixed;
  right: 16px;
  bottom: 18px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.22s ease;
  z-index: 30;
}

.whatsapp-floating img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}

.whatsapp-floating:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.34);
}

@media (max-width: 700px) {
  .whatsapp-floating {
    width: 56px;
    height: 56px;
    right: 12px;
    bottom: 14px;
  }
}

.portal-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 8, 33, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 16px;
}

.portal-modal.open {
  display: flex;
}

.portal-modal-content {
  width: min(620px, 95vw);
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  position: relative;
}

.portal-page .portal-modal-content {
  background: linear-gradient(160deg, rgba(6, 25, 92, 0.98), rgba(5, 43, 120, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 22px 40px rgba(1, 7, 50, 0.42);
  color: #ffffff;
}

.portal-modal-content h3 {
  margin-top: 0;
  color: #0b1e88;
}

.portal-page .portal-modal-content h3 {
  color: #ffffff;
}

.portal-page .user-permission-list .permission-row {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 28, 91, 0.45);
}

.portal-modal-content li {
  margin-bottom: 8px;
}

.portal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.portal-actions a {
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  color: #fff;
  background: var(--azul-escuro);
}

.portal-actions a:last-child {
  background: var(--ciano);
}

.close-modal {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  background: #ebefff;
  border-radius: 100%;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.portal-page {
  min-height: 100vh;
  background: linear-gradient(145deg, #03114c 0%, #052c87 42%, #00a4b2 100%);
  color: #fff;
  display: flex;
}

.portal-layout {
  width: min(99vw, 1960px);
  margin: 0 auto;
  padding: 12px 6px 12px;
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

.portal-hero {
  text-align: center;
  margin-bottom: 26px;
}

.portal-hero img {
  width: 180px;
}

.portal-hero h1 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.portal-hero p {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.back-btn {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 16px;
}

.portal-auth,
.portal-dashboard {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(8px);
}

.portal-auth {
  width: min(760px, 94vw);
  margin: 10vh auto 0;
  padding: 24px;
  background: linear-gradient(160deg, rgba(35, 61, 141, 0.78), rgba(24, 136, 178, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 44px rgba(1, 7, 50, 0.35);
}

.portal-auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.portal-auth-brand img {
  width: 185px;
}

.portal-auth-brand p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 0.88rem;
  opacity: 0.95;
}

.portal-dashboard {
  padding: 14px;
  overflow: hidden;
  min-height: calc(100vh - 24px);
  display: flex;
  flex-direction: column;
}

.portal-auth h2 {
  margin-top: 0;
}

.portal-auth-form {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.portal-auth-form input,
.permission-toolbar select {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
  padding: 10px;
}

.portal-auth-form input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.portal-auth-form button,
.portal-session-bar button,
.permission-toolbar button {
  border: 0;
  background: #00d2ea;
  color: #052172;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.auth-message,
#permissionMessage {
  margin: 8px 0 0;
  font-weight: 700;
}

.auth-message.error,
#permissionMessage.error {
  color: #ffd4dc;
}

.user-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.user-admin-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.user-admin-card-main h4,
.user-admin-card-main p {
  margin: 0 0 4px;
}

.user-admin-card-main span {
  display: inline-flex;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #00d2ea;
}

.user-admin-card-actions button {
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  background: #00d2ea;
  color: #052172;
  font-weight: 800;
}

.user-admin-card-actions button.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.user-admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.portal-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.user-permission-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.permission-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f4f7ff;
  color: #0c1f6b;
  font-weight: 700;
}

.empty-state {
  padding: 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
}

.portal-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 8px 12px;
  background: rgba(5, 24, 90, 0.55);
}

.portal-topbar-left img {
  width: 130px;
}

.portal-topbar-title {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.portal-topbar-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.portal-topbar-right span {
  font-weight: 700;
}

.portal-topbar-right button {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
}

.portal-shell {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.portal-sidebar-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(5, 24, 90, 0.55);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.portal-sidebar-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.portal-sidebar-toggle-icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.portal-sidebar-toggle-label {
  display: inline-block;
}

.portal-sidebar {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(5, 24, 90, 0.45);
}

.portal-nav-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: 12px;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.portal-nav-link {
  display: block;
  text-decoration: none;
}

.portal-nav-item.active {
  background: #00c6df;
  border-color: #00c6df;
  color: #03205f;
}

.portal-main-content {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 14px;
  background: rgba(5, 24, 90, 0.35);
  min-width: 0;
  min-height: 0;
}

.plans-standalone {
  min-height: auto;
}

.plans-standalone .portal-tab {
  border-top: 0;
  padding-top: 12px;
}

.portal-welcome h2 {
  margin: 0 0 8px;
}

.portal-welcome p {
  margin: 4px 0;
}

.portal-stats {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 10px;
}

.portal-stats article {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 10px;
  background: rgba(5, 24, 90, 0.52);
}

.portal-stats article h3 {
  margin: 0;
  font-size: 0.95rem;
}

.portal-stats article p {
  margin: 8px 0 4px;
  font-weight: 800;
}

.portal-tab {
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 14px;
}

.portal-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.portal-tab-header h3 {
  margin: 0;
}

.portal-tab-header button {
  border: 0;
  background: #00d2ea;
  color: #052172;
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
}

.speedtest-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.speedtest-header h3 {
  margin: 0;
}

.speedtest-header p {
  margin: 4px 0 0;
  opacity: 0.85;
}

.speedtest-header button {
  border: 0;
  background: #00d2ea;
  color: #052172;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
}

.speedtest-header button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.speedtest-status,
.speedtest-detail {
  margin: 12px 0 0;
  font-weight: 700;
}

.speedtest-launch {
  display: flex;
  justify-content: center;
  padding: 44px 0 8px;
}

.speedtest-launch-btn {
  width: 148px;
  height: 148px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #67f2ff 0%, #00d2ea 45%, #00a4b2 100%);
  color: #052172;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 0 rgba(0, 210, 234, 0.55);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  animation: speedtestPulse 1.8s ease-in-out infinite;
}

.speedtest-launch-btn:hover {
  transform: scale(1.04);
}

.speedtest-launch-btn:disabled {
  animation: none;
  cursor: not-allowed;
  opacity: 0.82;
  box-shadow: none;
  transform: scale(0.98);
}

@keyframes speedtestPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 210, 234, 0.55);
  }
  70% {
    box-shadow: 0 0 0 22px rgba(0, 210, 234, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 210, 234, 0);
  }
}

.speedtest-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 12px;
}

.speedtest-grid article {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 16px;
  background: rgba(8, 27, 95, 0.45);
}

.speedtest-grid span {
  display: block;
  opacity: 0.82;
  margin-bottom: 8px;
}

.speedtest-grid strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.8rem;
}

.speedtest-grid strong.loading {
  color: #dcecff;
}

.speedtest-grid strong.loading::after {
  content: "...";
  display: inline-block;
  width: 1.3em;
  overflow: hidden;
  animation: speedtestDots 1.1s steps(4, end) infinite;
}

@keyframes speedtestDots {
  0%,
  20% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}

.speedtest-progress {
  margin-top: 16px;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.speedtest-progress div {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00d2ea, #5de6ef);
  transition: width 0.25s ease;
}

.boletos-loading {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(8, 27, 95, 0.45);
}

.boletos-loading p {
  margin: 0;
  font-weight: 700;
}

.qr-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 7, 38, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 20px;
}
.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 10, 40, 0.72);
  padding: 18px;
}
.plan-modal-card {
  width: min(760px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(4, 29, 106, 0.96), rgba(11, 76, 157, 0.96));
  padding: 14px;
}
.plan-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.plan-modal-header h3 {
  margin: 0;
}
.plan-modal-close {
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 800;
}
.plan-modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 10, 40, 0.76);
  padding: 18px;
}

.confirm-modal-card {
  width: min(460px, 96vw);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(5, 28, 100, 0.98), rgba(9, 67, 150, 0.98));
  box-shadow: 0 22px 42px rgba(1, 6, 32, 0.44);
  padding: 20px;
}

.confirm-modal-card h3 {
  margin: 0;
  font-size: 1.28rem;
}

.confirm-modal-card p {
  margin: 10px 0 0;
  color: rgba(238, 246, 255, 0.95);
  line-height: 1.45;
}

.confirm-modal-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.confirm-modal-actions button {
  min-width: 108px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.confirm-modal-actions #confirmModalConfirmBtn {
  background: linear-gradient(120deg, #ff6c5f 0%, #ef3942 100%);
  color: #ffffff;
  border-color: rgba(255, 121, 113, 0.95);
  box-shadow: 0 10px 18px rgba(195, 38, 59, 0.35);
}

.confirm-modal-actions #confirmModalConfirmBtn:hover {
  transform: translateY(-1px);
  background: linear-gradient(120deg, #ff7f73 0%, #f1464f 100%);
  box-shadow: 0 12px 20px rgba(195, 38, 59, 0.45);
}

.confirm-modal-actions #confirmModalConfirmBtn:active {
  transform: translateY(0);
}

.confirm-modal-actions #confirmModalCancelBtn,
.confirm-modal-actions button.ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #e9f4ff;
  border-color: rgba(255, 255, 255, 0.46);
}

.confirm-modal-actions #confirmModalCancelBtn:hover,
.confirm-modal-actions button.ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.qr-modal-card {
  background: #fff;
  border: 8px solid #121b82;
  border-radius: 14px;
  padding: 16px;
  width: min(360px, 95vw);
  display: grid;
  gap: 12px;
}

.qr-modal-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.qr-modal-card button {
  border: 0;
  background: #131b82;
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #00d2ea;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.portal-grid article,
.portal-hints {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(8px);
}

.portal-grid h2 {
  margin: 0 0 8px;
}

.portal-grid p {
  margin: 0 0 14px;
}

.portal-grid button,
.hint-list button {
  border: 0;
  background: #fff;
  color: #09257f;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 800;
  cursor: pointer;
}

.portal-hints {
  margin-top: 16px;
}

.portal-boletos {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 18px;
}

.portal-boletos h3,
.super-admin-panel h3 {
  margin-top: 0;
}

.boletos-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}

.boletos-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.boleto-address-group {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 12px;
  background: rgba(8, 27, 95, 0.36);
}

.boleto-address-header {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(5, 20, 74, 0.55);
}

.boleto-address-header h4 {
  margin: 0;
  font-size: 1rem;
}

.boleto-address-header p {
  margin: 6px 0 0;
  color: rgba(238, 246, 255, 0.95);
  font-size: 0.92rem;
  line-height: 1.4;
}

.boletos-group-separator {
  opacity: 0.7;
  margin: 0 6px;
}

.boleto-card {
  background: #ffffff;
  color: #09164f;
  border: 1px solid #d9dfef;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(5, 22, 80, 0.2);
  overflow: hidden;
}

.boleto-card-header {
  background: #151b7d;
  color: #fff;
  padding: 14px 18px;
}

.boleto-card-header h4 {
  margin: 0;
  font-size: 2rem;
  text-transform: capitalize;
}

.boleto-card-body {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 16px;
}

.boleto-main-info {
  flex: 1;
  min-width: 0;
}

.boleto-card p {
  margin: 6px 0;
  line-height: 1.4;
  word-break: break-word;
}

.boleto-status {
  font-weight: 800;
}

.boleto-status.status-a-vencer {
  color: #20b41b;
}

.boleto-status.status-vencido {
  color: #d61c2f;
}

.boleto-status.status-hoje {
  color: #f3b300;
}

.boleto-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.boleto-actions button {
  border: 1px solid #d6dbeb;
  background: #f8faff;
  color: #0b2379;
  border-radius: 8px;
  min-width: 42px;
  width: 42px;
  height: 32px;
  padding: 4px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.boleto-actions button:hover {
  border-color: #00a4b2;
  color: #00707d;
}

.icon-only-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.icon-only-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.boleto-actions button.action-done {
  border-color: #1cb043;
  box-shadow: 0 0 0 2px rgba(28, 176, 67, 0.15);
}

.portal-feedback {
  position: fixed;
  right: 24px;
  top: 104px;
  z-index: 95;
  max-width: min(92vw, 460px);
  min-width: 300px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 700px) {
  .portal-feedback {
    left: 12px;
    right: 12px;
    top: 92px;
    min-width: 0;
    padding: 12px 14px;
    font-size: 0.98rem;
    text-align: center;
  }
}

.portal-feedback.success {
  background: #15803d;
}

.portal-feedback.warning {
  background: #b45309;
}

.boleto-empty {
  margin: 0;
  font-weight: 700;
}

.boleto-empty-state {
  display: grid;
  gap: 10px;
  justify-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(5, 24, 90, 0.3);
}

.boleto-empty-help {
  margin: 0;
  color: rgba(235, 244, 255, 0.92);
  line-height: 1.45;
}

.boleto-empty-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(120deg, #19d0ef 0%, #00c2df 100%);
  color: #04286f;
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.boleto-empty-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 210, 234, 0.24);
}

.super-admin-panel {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 18px;
}

.permission-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.permission-list {
  display: grid;
  gap: 10px;
}

.permission-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(7, 28, 91, 0.45);
}

.permission-row label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-banner-admin {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.site-banner-admin img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(4, 17, 79, 0.4);
}

.site-banner-admin img.coverage-map-preview {
  max-height: 520px;
  object-fit: contain;
  background: rgb(255 255 255);
}

.site-banner-admin img.about-banner-preview {
  max-height: 460px;
  object-fit: contain;
  background: rgb(255 255 255);
}

.site-banner-form {
  display: grid;
  gap: 10px;
}

.site-banner-form label {
  font-weight: 700;
}

.site-banner-form input[type="file"] {
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  line-height: 1.2;
}

.site-banner-form input[type="file"]::file-selector-button {
  border: 0;
  background: #00d2ea;
  color: #052172;
  border-radius: 7px;
  padding: 8px 12px;
  margin-right: 10px;
  font-weight: 800;
  cursor: pointer;
}

.site-banner-form input[type="file"]::-webkit-file-upload-button {
  border: 0;
  background: #00d2ea;
  color: #052172;
  border-radius: 7px;
  padding: 8px 12px;
  margin-right: 10px;
  font-weight: 800;
  cursor: pointer;
}

.site-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-banner-actions button {
  border: 0;
  background: #00d2ea;
  color: #052172;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.site-banner-actions button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #fff;
}

.coverage-city-admin {
  display: grid;
  gap: 12px;
}

.coverage-city-form {
  display: grid;
  gap: 8px;
  max-width: 860px;
}

.coverage-city-form input,
.coverage-city-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  font: inherit;
}

.coverage-city-form textarea {
  resize: vertical;
  min-height: 90px;
}

.coverage-city-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coverage-city-actions button {
  border: 0;
  background: #00d2ea;
  color: #052172;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.coverage-city-actions .ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #fff;
}

.coverage-city-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.coverage-city-item {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(7, 31, 97, 0.55);
  padding: 12px;
}

.coverage-city-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.coverage-city-order {
  margin: 8px 0 4px;
  font-weight: 700;
  color: #9beaff;
}

.coverage-city-description {
  margin: 0 0 10px;
  color: rgba(236, 246, 255, 0.95);
}

.coverage-city-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coverage-city-item-actions button {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  font-weight: 700;
  cursor: pointer;
}

.coverage-city-item-actions .danger {
  border-color: rgba(255, 148, 148, 0.6);
  color: #ffd6d6;
}

.site-banner-message {
  margin: 0;
  font-weight: 700;
}

.site-banner-message.error {
  color: #ffd4dc;
}

.site-tv-offer-form {
  margin-top: 18px;
  max-width: 860px;
  display: grid;
  gap: 10px;
}

.site-tv-offer-form label {
  font-weight: 700;
}

.site-tv-offer-form input[type="text"],
.site-tv-offer-form input[type="url"] {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
}

.site-tv-offer-form input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.company-info-form {
  margin-top: 18px;
  max-width: 860px;
  display: grid;
  gap: 10px;
}

.company-info-form label {
  font-weight: 700;
}

.company-info-form input[type="text"],
.company-info-form input[type="url"],
.company-info-form input[type="email"] {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
}

.company-info-form input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.support-ticket-form {
  margin-top: 18px;
  max-width: 960px;
  display: grid;
  gap: 12px;
}

.support-open-alert {
  margin: 12px 0 0;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 210, 122, 0.55);
  background: rgba(255, 196, 90, 0.15);
  color: #ffe4ac;
  font-weight: 800;
}

.support-field-group {
  display: grid;
  gap: 8px;
}

.support-field-group label {
  font-weight: 700;
}

.support-field-group small {
  color: rgba(236, 246, 255, 0.85);
}

.support-field-group input,
.support-field-group select,
.support-field-group textarea {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.95);
  color: #0a215f;
  font: inherit;
}

.support-field-group select {
  max-width: 100%;
  text-overflow: ellipsis;
}

.support-field-group select option {
  color: #0a215f;
  background: #ffffff;
}

.support-field-group textarea {
  resize: vertical;
  min-height: 90px;
}

.support-field-group input::placeholder,
.support-field-group textarea::placeholder {
  color: rgba(10, 33, 95, 0.5);
}

.support-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 12px;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.support-actions button {
  border: 0;
  background: #00d2ea;
  color: #052172;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.support-admin-toolbar {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.support-admin-toolbar label {
  font-weight: 700;
}

.support-admin-toolbar select {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #0a215f;
  font: inherit;
}

.support-admin-toolbar select option {
  color: #0a215f;
  background: #ffffff;
}

.support-admin-filters {
  margin: 10px 0 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 10px;
}

.support-admin-filters input {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #0a215f;
  font: inherit;
}

.support-admin-filters input::placeholder {
  color: rgba(10, 33, 95, 0.56);
}

.support-admin-filter-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-admin-filter-actions button {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.support-admin-filter-actions button.primary {
  border: 0;
  background: #00d2ea;
  color: #052172;
  font-weight: 900;
}

.support-admin-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.support-admin-empty {
  margin: 0;
  color: rgba(238, 246, 255, 0.94);
}

.support-admin-item {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(7, 31, 97, 0.55);
  padding: 12px;
}

.support-admin-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.support-admin-item-head strong {
  font-size: 1rem;
}

.support-admin-meta,
.support-admin-item p {
  margin: 6px 0;
  color: rgba(236, 246, 255, 0.95);
  line-height: 1.4;
  word-break: break-word;
}

.support-status-pill {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.support-status-pill.aberto {
  background: rgba(247, 185, 46, 0.2);
  color: #ffd68a;
  border: 1px solid rgba(247, 185, 46, 0.5);
}

.support-status-pill.em_andamento {
  background: rgba(93, 230, 239, 0.2);
  color: #9ef8ff;
  border: 1px solid rgba(93, 230, 239, 0.5);
}

.support-status-pill.concluido {
  background: rgba(74, 206, 133, 0.2);
  color: #8ff2b6;
  border: 1px solid rgba(74, 206, 133, 0.5);
}

.support-status-pill.cancelado {
  background: rgba(247, 91, 120, 0.2);
  color: #ffb0bf;
  border: 1px solid rgba(247, 91, 120, 0.5);
}

.support-admin-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-admin-actions button {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  font-weight: 700;
  cursor: pointer;
}

.support-admin-actions button.primary {
  border: 0;
  background: #00d2ea;
  color: #052172;
  font-weight: 900;
}

.support-admin-pagination {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.support-admin-pagination span {
  font-weight: 700;
  color: rgba(238, 246, 255, 0.95);
}

.support-admin-pagination button {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.support-admin-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.site-tv-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.site-tv-offer-actions button {
  border: 0;
  background: #00d2ea;
  color: #052172;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.site-tv-offer-actions button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #fff;
}

.hint-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1200px) {
  .plan-grid {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }

  .plan-card li {
    font-size: 1.5rem;
  }

  .footer-top h3 {
    font-size: 1.2rem;
  }

  .footer-top p {
    font-size: 1rem;
  }

  .footer-bottom address {
    font-size: 1.2rem;
  }

  .footer-bottom small {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .city-bar {
    display: none;
  }

  main {
    padding-top: 136px;
  }

  .nav-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand brand"
      "menu portal"
      "nav nav";
    gap: 10px 12px;
    justify-items: stretch;
    align-items: center;
    padding: 14px 16px 16px;
  }

  .brand {
    grid-area: brand;
    width: 100%;
    text-align: center;
  }

  .brand img {
    width: 150px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-area: menu;
    justify-self: start;
  }

  .portal-btn {
    grid-area: portal;
    justify-self: end;
    padding: 8px 12px;
    max-width: 100%;
    white-space: nowrap;
    font-size: 0.92rem;
  }

  .nav-bar nav {
    grid-area: nav;
    width: 100%;
    display: none;
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .nav-bar.nav-open nav {
    display: flex;
  }

  .nav-bar nav button,
  .nav-bar nav a {
    width: 100%;
    text-align: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-bar nav button:hover,
  .nav-bar nav a:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .hero {
    aspect-ratio: 5 / 2;
    max-height: none;
  }

  .hero-card {
    position: static;
    margin: -120px 10px 10px;
  }

  .tv-offer {
    flex-direction: column;
    padding: 34px 20px;
    margin: 24px 12px 0;
  }

  .tv-offer.tv-offer-only-banner {
    margin: 16px 0 0;
    padding: 0 18px;
  }

  .tv-offer.tv-offer-only-banner .tv-offer-banner {
    width: 100%;
    margin: 0;
  }

  .services-page {
    padding: 20px 12px 32px;
  }

  .services-hero,
  .service-card,
  .services-cta {
    margin-top: 18vh;
    padding: 20px;
  }

  .services-hero,
  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card--reverse .service-card-copy,
  .service-card--reverse .service-card-visual {
    order: initial;
  }

  .services-hero-copy {
    min-height: unset;
  }

  .services-hero-copy h1 {
    max-width: none;
  }

  .service-card-visual {
    min-height: 280px;
  }

  .services-cta {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 22px 22px 0 0;
  }

  .tv-offer-action {
    width: 100%;
    text-align: left;
  }

  .tv-offer-banner {
    margin: 0 auto;
    max-height: none;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-text h2 {
    text-align: center;
  }

  .about-image {
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  .portal-shell {
    grid-template-columns: 1fr;
    flex: unset;
  }

  .portal-sidebar-toggle {
    display: inline-flex;
    justify-content: flex-start;
  }

  .portal-sidebar {
    display: none;
    flex-direction: column;
    overflow: hidden;
  }

  .portal-shell.portal-sidebar-open .portal-sidebar {
    display: flex;
  }

  .portal-nav-item {
    min-width: 0;
  }

  .boletos-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .portal-page {
    overflow-x: hidden;
  }

  .portal-layout {
    width: 100%;
    max-width: 100%;
    padding: 8px 6px 12px;
  }

  .portal-dashboard {
    padding: 12px;
  }

  .portal-main-content {
    padding: 12px;
    overflow-x: hidden;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: 500px;
  }

  .plan-card h3 {
    font-size: 3rem;
  }

  .plan-card li {
    font-size: 1.25rem;
  }

  .services-subnav {
    margin: 18px 0;
  }

  .services-hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .service-orbit span {
    width: 88px;
    height: 88px;
    font-size: 0.95rem;
  }

  .portal-auth {
    margin-top: 6vh;
    padding: 18px;
  }

  .portal-auth-brand img {
    width: 155px;
  }

  .boletos-list {
    grid-template-columns: 1fr;
  }

  .portal-topbar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .portal-topbar-left,
  .portal-topbar-right {
    justify-content: center;
  }

  .portal-stats {
    grid-template-columns: 1fr;
  }

  .support-grid-2 {
    grid-template-columns: 1fr;
  }

  .support-ticket-form {
    max-width: 100%;
  }

  .support-admin-filters {
    grid-template-columns: 1fr;
  }

  .speedtest-grid {
    grid-template-columns: 1fr;
  }

  .speedtest-grid article {
    min-width: 0;
  }

  .speedtest-grid strong {
    font-size: 1.55rem;
  }

  .speedtest-launch {
    padding-top: 28px;
  }

  .speedtest-launch-btn {
    width: 132px;
    height: 132px;
    font-size: 0.98rem;
  }

  .boleto-card-body {
    flex-direction: column;
  }

  .boleto-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
