
/* Creative High-Conversion Homepages for the 5 Hosting & VPS Portals */
.hn5-wrap {
  --hn-accent: var(--mm-purple, #059669);
  --hn-accent-2: var(--mm-violet, #10b981);
  --hn-accent-3: var(--mm-pink, #0ea5e9);
  --hn-dark: var(--mm-dark-accent, #047857);
  --hn-soft: var(--mm-soft, #f7fdf9);
  --hn-card: var(--mm-soft-card, #eefbf3);
  --hn-border: var(--mm-tint-border, #cdeadd);
  --hn-line: var(--mm-line, #dfeee7);
  --hn-ink: #0f172a;
  --hn-muted: #475569;
  color: var(--hn-ink);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}
.hn5-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hn5-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--hn-card);
  border: 1px solid var(--hn-border);
  color: var(--hn-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hn5-hero {
  position: relative;
  padding: 58px 0 68px;
  background: var(--hn-soft);
  border-bottom: 1px solid var(--hn-line);
}
.hn5-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 40px;
  align-items: center;
}
.hn5-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.25rem, 4.3vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 850;
  color: #0b1120;
  text-wrap: balance;
}
.hn5-hero h1 em {
  font-style: normal;
  color: var(--hn-accent);
}
.hn5-lead {
  margin: 0 0 24px;
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--hn-muted);
  max-width: 600px;
}
.hn5-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hn5-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--hn-accent);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 14px 28px var(--mm-shadow-btn, rgba(5,150,105,0.24));
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hn5-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px var(--mm-shadow-hover, rgba(5,150,105,0.34));
}
.hn5-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--hn-border);
  background: #ffffff;
  color: var(--hn-ink) !important;
  font-weight: 750;
  font-size: 0.88rem;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.hn5-btn-ghost:hover {
  border-color: var(--hn-accent);
  color: var(--hn-accent) !important;
}
.hn5-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hn5-trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--hn-line);
  font-size: 0.76rem;
  font-weight: 700;
  color: #334155;
}
.hn5-trust-pills b {
  color: var(--hn-accent);
}

/* Interactive Cards & Panels */
.hn5-panel {
  background: #ffffff;
  border: 1px solid var(--hn-border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.07);
}
.hn5-panel-dark {
  background: #0b1220;
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 24px 50px rgba(2, 6, 23, 0.28);
}
.hn5-winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hn5-score-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 18px;
}
.hn5-score-head h2, .hn5-score-head h3 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.hn5-score-box {
  display: grid;
  place-items: center;
  padding: 8px 14px;
  border-radius: 14px;
  background: var(--hn-accent);
  color: #ffffff;
  text-align: center;
}
.hn5-score-box strong {
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 900;
}
.hn5-score-box small {
  font-size: 0.65rem;
  opacity: 0.9;
  font-weight: 700;
}
.hn5-bars {
  display: grid;
  gap: 10px;
  margin: 16px 0 20px;
}
.hn5-bar-row {
  display: grid;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
}
.hn5-bar-row > div:first-child {
  display: flex;
  justify-content: space-between;
}
.hn5-bar-track {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.hn5-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--hn-accent);
}

/* Sections */
.hn5-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--hn-line);
}
.hn5-section-alt {
  background: var(--hn-soft);
}
.hn5-sec-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.hn5-sec-head h2 {
  margin: 12px 0 10px;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 850;
  color: #0b1120;
}
.hn5-sec-head p {
  margin: 0;
  color: var(--hn-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Accessible Tablist (Modern Web Guidance: single row scroll, underline shape on aria-selected="true") */
.hn5-tablist {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  border-bottom: 1px solid var(--hn-line);
  margin-bottom: 24px;
  scroll-snap-type: inline proximity;
}
.hn5-tablist button[role="tab"] {
  position: relative;
  flex: none;
  scroll-snap-align: start;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 12px 16px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--hn-muted);
  cursor: pointer;
  white-space: nowrap;
}
.hn5-tablist button[role="tab"]:hover {
  color: var(--hn-ink);
}
.hn5-tablist button[role="tab"][aria-selected="true"] {
  color: var(--hn-accent);
}
.hn5-tablist button[role="tab"][aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  border-block-end: 3px solid var(--hn-accent);
}

/* Responsive Comparison Table (Modern Web Guidance: role="region" tabindex="0", sticky headers, @container mobile cards) */
.hn5-table-region {
  overflow: auto;
  max-inline-size: 100%;
  container-type: inline-size;
  border: 1px solid var(--hn-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}
.hn5-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.87rem;
}
.hn5-table caption {
  text-align: left;
  padding: 14px 18px;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--hn-muted);
  background: var(--hn-soft);
  border-bottom: 1px solid var(--hn-line);
}
.hn5-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
}
.hn5-table thead th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--hn-border);
  white-space: nowrap;
}
.hn5-table tbody th {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: #ffffff;
  text-align: left;
  padding: 14px 16px;
  font-weight: 800;
  color: #0f172a;
  border-bottom: 1px solid var(--hn-line);
  white-space: nowrap;
}
.hn5-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--hn-line);
  color: #334155;
  vertical-align: middle;
}
.hn5-table tbody tr.is-winner th,
.hn5-table tbody tr.is-winner td {
  background: var(--hn-card);
  border-bottom-color: var(--hn-border);
}
.hn5-pill-good {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.73rem;
  font-weight: 800;
}
.hn5-pill-warn {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.73rem;
  font-weight: 750;
}
.hn5-pill-bad {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.73rem;
  font-weight: 750;
}
@container (width < 640px) {
  .hn5-table, .hn5-table thead, .hn5-table tbody, .hn5-table tr, .hn5-table th, .hn5-table td {
    display: block;
  }
  .hn5-table thead { display: none; }
  .hn5-table tbody tr {
    margin: 12px;
    border: 1px solid var(--hn-border);
    border-radius: 12px;
    overflow: hidden;
  }
  .hn5-table tbody th {
    position: static;
    background: var(--hn-soft);
    border-bottom: 1px solid var(--hn-line);
  }
  .hn5-table tbody td {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .hn5-table tbody td::before {
    content: attr(data-label);
    font-weight: 750;
    color: #475569;
  }
}

/* Interactive Chips & Grid Cards */
.hn5-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}
.hn5-chip-btn {
  appearance: none;
  border: 1px solid var(--hn-border);
  background: #ffffff;
  color: #1e293b;
  padding: 9px 13px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.81rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.15s ease;
}
.hn5-chip-btn[aria-pressed="true"],
.hn5-chip-btn.is-active {
  background: var(--hn-accent);
  border-color: var(--hn-accent);
  color: #ffffff;
  box-shadow: 0 8px 18px var(--mm-shadow-soft, rgba(2,132,199,0.2));
}
.hn5-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.hn5-cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.hn5-card {
  background: #ffffff;
  border: 1px solid var(--hn-line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.hn5-card:hover {
  transform: translateY(-3px);
  border-color: var(--hn-accent);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}
.hn5-card.is-featured {
  border: 2px solid var(--hn-accent);
  background: var(--hn-card);
}
.hn5-card h3 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.hn5-card p {
  margin: 0;
  color: var(--hn-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.hn5-price-tag {
  font-size: 1.65rem;
  font-weight: 900;
  color: #0b1120;
  letter-spacing: -0.04em;
}
.hn5-price-tag small {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hn-muted);
}

/* Battlecard Dual Grid (tudosobrehost & hospedagemdsites) */
.hn5-duel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.hn5-terminal {
  background: #090d16;
  color: #e2e8f0;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.65;
}
.hn5-terminal-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.hn5-terminal-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.hn5-post-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.hn5-post-card {
  border: 1px solid var(--hn-line);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.hn5-post-card:hover {
  transform: translateY(-3px);
  border-color: var(--hn-accent);
}
.hn5-post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.hn5-post-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hn5-post-card-body small {
  color: var(--hn-accent);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hn5-post-card-body h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #0f172a;
}
.hn5-post-card-body p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--hn-muted);
  line-height: 1.5;
}

@media (max-width: 940px) {
  .hn5-hero-grid, .hn5-cards-3, .hn5-cards-4, .hn5-duel-grid, .hn5-post-cards {
    grid-template-columns: 1fr;
  }
  .hn5-hero { padding: 38px 0 48px; }
}


/* Keep Nota (9,9 / 10), status pills, and action buttons on a single crisp line */
.hn5-pill-good,
.hn5-pill-warn,
.hn5-pill-bad,
.hn5-table .hn5-btn-primary,
.hn5-table td[data-label="Nota"],
.hn5-table td[data-label="Ação"],
.hn5-table td[data-label="Veredito"] {
  white-space: nowrap;
}
.hn5-table td[data-label="Nota"] {
  min-width: 88px;
}
.hn5-table td[data-label="Ação"],
.hn5-table td[data-label="Veredito"] {
  min-width: 118px;
}
