/* =========================================================
   MEWIUS TECNOLOGIA
   STYLESHEET PRINCIPAL
========================================================= */

:root {
  --blue: #0066c8;
  --blue-light: #168cff;
  --blue-dark: #003b78;

  /* tons da marca (escudo/faixa-preta) usados em pontos de assinatura */
  --brand-blue: #0c4da2;
  --brand-black: #05070a;

  --bg: #f5f8fc;
  --bg-soft: #edf3f9;
  --surface: #ffffff;
  --surface-2: #eef4fa;

  --text: #07111f;
  --text-soft: #53647b;
  --border: rgba(7, 17, 31, 0.1);

  --dark: #050b14;
  --dark-soft: #0a1524;
  --dark-surface: #0d1b2d;
  --dark-border: rgba(255, 255, 255, 0.1);

  --success: #14c96b;

  --radius: 24px;
  --container: 1180px;

  --shadow: 0 20px 60px rgba(0, 48, 100, 0.12);

  --transition: 280ms cubic-bezier(0.2, 0.8, 0.2, 1);

  --font-display: "Archivo", "Inter", Arial, sans-serif;
}

html.dark {
  --bg: #050b14;
  --bg-soft: #08111d;
  --surface: #0c1726;
  --surface-2: #101e30;

  --text: #f5f8ff;
  --text-soft: #a8b7ca;
  --border: rgba(255, 255, 255, 0.1);

  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family: "Inter", Arial, sans-serif;

  background: var(--bg);
  color: var(--text);

  line-height: 1.6;

  overflow-x: hidden;

  transition:
    background var(--transition),
    color var(--transition);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
}

.container {
  width: min(calc(100% - 40px), var(--container));

  margin-inline: auto;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  padding: 18px 0;

  background: rgba(245, 248, 252, 0.72);

  backdrop-filter: blur(18px);

  border-bottom: 1px solid transparent;

  transition: 0.3s ease;
}

html.dark .site-header {
  background: rgba(5, 11, 20, 0.72);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;

  filter: drop-shadow(0 8px 16px rgba(12, 77, 162, 0.35));

  transition: transform var(--transition);
}

.brand:hover .brand-mark {
  transform: translateY(-2px);
}

.brand-text {
  display: flex;
  flex-direction: column;

  line-height: 1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text span {
  margin-top: 5px;

  font-size: 7px;
  letter-spacing: 0.28em;

  font-weight: 800;

  color: var(--text-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  position: relative;

  font-size: 14px;
  font-weight: 700;

  color: var(--text-soft);

  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 42px;
  height: 42px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  color: var(--text);

  background: var(--surface);

  border: 1px solid var(--border);

  transition:
    transform var(--transition),
    background var(--transition);
}

.theme-toggle:hover {
  transform: rotate(12deg);
}

.theme-icon {
  display: grid;
  place-items: center;
}

.theme-icon .icon-sun {
  display: none;
}

html.dark .theme-icon .icon-moon {
  display: none;
}

html.dark .theme-icon .icon-sun {
  display: block;
}

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  border-radius: 12px;

  background: var(--surface);
  border: 1px solid var(--border);
}

.menu-toggle span {
  display: block;

  width: 20px;
  height: 2px;

  margin: 4px auto;

  background: var(--text);
}

/* =========================================================
   BUTTONS
========================================================= */

.button {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 0 23px;

  border-radius: 14px;

  font-weight: 800;
  font-size: 14px;

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: white;

  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));

  box-shadow: 0 12px 28px rgba(0, 102, 200, 0.25);
}

.button-primary:hover {
  box-shadow: 0 18px 36px rgba(0, 102, 200, 0.35);
}

.button-secondary,
.button-outline {
  color: var(--text);

  background: var(--surface);

  border: 1px solid var(--border);
}

.button-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.button-small {
  min-height: 44px;
  padding-inline: 20px;
}

.button-full {
  width: 100%;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  min-height: 100vh;

  display: grid;
  place-items: center;

  padding: 140px 0 80px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 80% 35%,
      rgba(0, 102, 200, 0.15),
      transparent 35%
    ),
    var(--bg);
}

.hero-grid {
  position: absolute;
  inset: 0;

  opacity: 0.38;

  background-image:
    linear-gradient(rgba(0, 80, 160, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 80, 160, 0.08) 1px, transparent 1px);

  background-size: 64px 64px;

  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

html.dark .hero-grid {
  opacity: 0.15;
}

.hero-orb {
  position: absolute;

  width: 380px;
  height: 380px;

  border-radius: 50%;

  filter: blur(70px);

  pointer-events: none;
}

.hero-orb-one {
  left: -220px;
  bottom: -180px;

  background: rgba(0, 102, 200, 0.2);
}

.hero-orb-two {
  right: -180px;
  top: 180px;

  background: rgba(22, 140, 255, 0.14);
}

.hero-content {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  align-items: center;

  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  color: var(--blue);

  font-size: 15px;
  font-weight: 800;

  text-transform: lowercase;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.05em;
}

.eyebrow-dot {
  width: 14px;
  height: 4px;

  border-radius: 2px;

  background: var(--blue);
}

.hero h1 {
  max-width: 760px;

  margin: 26px 0 24px;

  font-size: clamp(52px, 7vw, 86px);

  line-height: 0.96;

  letter-spacing: -0.065em;

  font-weight: 900;
}

.hero h1 span {
  color: var(--blue);
}

.hero-description {
  max-width: 650px;

  color: var(--text-soft);

  font-size: 18px;

  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 32px;
}

.hero-trust {
  display: flex;
  align-items: center;

  gap: 22px;

  margin-top: 54px;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  font-size: 23px;
  font-weight: 900;
}

.trust-item span {
  margin-top: 2px;

  font-size: 9px;

  text-transform: uppercase;
  letter-spacing: 0.1em;

  color: var(--text-soft);

  font-weight: 800;
}

.trust-line {
  width: 1px;
  height: 38px;

  background: var(--border);
}

/* =========================================================
   SERVER CARD
========================================================= */

.hero-visual {
  perspective: 1000px;
}

.server-card {
  position: relative;

  padding: 28px;

  border-radius: 30px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96),
    rgba(237, 244, 251, 0.92)
  );

  border: 1px solid rgba(0, 50, 100, 0.12);

  box-shadow: 0 35px 90px rgba(0, 48, 100, 0.18);

  transform: translateY(var(--parallax-y, 0px)) rotateY(-5deg) rotateX(2deg);

  transition: transform 0.2s ease;
}

html.dark .server-card {
  background: linear-gradient(145deg, #102034, #091423);

  border-color: rgba(255, 255, 255, 0.1);

  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}

.server-top,
.server-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.server-title {
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 13px;
  font-weight: 900;
}

.status-dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: var(--success);

  box-shadow: 0 0 0 6px rgba(20, 201, 107, 0.1);
}

.server-status {
  color: var(--success);

  font-size: 11px;
  font-weight: 900;
}

.server-main {
  display: flex;
  align-items: center;
  gap: 18px;

  margin-top: 56px;
}

.server-icon {
  width: 62px;
  height: 62px;

  display: grid;
  place-items: center;

  border-radius: 17px;

  color: white;

  background: linear-gradient(145deg, var(--blue-light), var(--blue-dark));

  font-weight: 900;

  box-shadow: 0 12px 30px rgba(0, 102, 200, 0.28);
}

.server-main strong {
  display: block;

  font-size: 18px;
}

.server-main span {
  display: block;

  margin-top: 4px;

  color: var(--text-soft);

  font-size: 12px;
}

.server-metrics {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 10px;

  margin-top: 42px;
}

.server-metrics > div {
  padding: 15px;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.42);

  border: 1px solid var(--border);
}

html.dark .server-metrics > div {
  background: rgba(255, 255, 255, 0.025);
}

.server-metrics span {
  display: block;

  color: var(--text-soft);

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.server-metrics strong {
  display: block;

  margin-top: 5px;

  font-size: 19px;
}

.server-line {
  height: 5px;

  margin-top: 28px;

  overflow: hidden;

  border-radius: 999px;

  background: rgba(0, 60, 120, 0.1);
}

.server-line span {
  display: block;

  width: 72%;
  height: 100%;

  border-radius: inherit;

  background: linear-gradient(90deg, var(--blue-dark), var(--blue-light));
}

.server-footer {
  margin-top: 25px;

  color: var(--text-soft);

  font-size: 10px;
  font-weight: 700;
}

/* =========================================================
   SECTIONS
========================================================= */

.section {
  position: relative;

  padding: 120px 0;

  background: var(--bg);
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-dark .text-soft {
  color: #a8b7ca;
}

.section-heading {
  max-width: 760px;

  margin-bottom: 60px;
}

.section-heading h2 {
  margin-top: 18px;

  font-size: clamp(38px, 5vw, 64px);

  line-height: 1;

  letter-spacing: -0.055em;

  font-weight: 900;
}

.section-heading p {
  max-width: 650px;

  margin-top: 22px;

  color: var(--text-soft);

  font-size: 17px;
}

/* =========================================================
   SERVICES
========================================================= */

.services-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.service-card {
  position: relative;

  min-height: 330px;

  padding: 32px;

  overflow: hidden;

  border-radius: var(--radius);

  background: var(--surface);

  border: 1px solid var(--border);

  box-shadow: var(--shadow);

  transition:
    transform var(--transition),
    border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);

  border-color: rgba(0, 102, 200, 0.35);
}

.service-icon {
  width: 56px;
  height: 56px;

  display: grid;
  place-items: center;

  margin-bottom: 50px;

  border-radius: 16px;

  color: white;

  background: linear-gradient(145deg, var(--blue-light), var(--blue-dark));
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 23px;
  letter-spacing: -0.03em;
}

.service-card p {
  margin-top: 12px;

  color: var(--text-soft);
}

.service-card a {
  display: inline-block;

  margin-top: 25px;

  color: var(--blue);

  font-weight: 800;
  font-size: 13px;
}

/* =========================================================
   VISUAL / IMAGENS
========================================================= */

.visual-section {
  background: var(--bg-soft);
}

.visual-grid {
  display: grid;

  grid-template-columns: 1.4fr 1fr;

  grid-template-rows: 280px 280px;

  gap: 18px;
}

.visual-card {
  position: relative;

  overflow: hidden;

  min-height: 280px;

  border-radius: 26px;

  background: #07111f;

  border: 1px solid var(--border);
}

.visual-large {
  grid-row: span 2;
}

.visual-card img {
  height: 100%;
  aspect-ratio: 3 / 2;

  object-fit: cover;

  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.visual-card::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.05));
}

.visual-card:hover img {
  transform: scale(1.08);
}

.visual-overlay {
  position: absolute;

  left: 26px;
  right: 26px;
  bottom: 25px;

  z-index: 2;

  color: white;
}

.visual-overlay span {
  font-size: 10px;
  font-weight: 900;

  letter-spacing: 0.15em;

  color: #6bb6ff;
}

.visual-overlay h3 {
  margin-top: 8px;

  font-size: 21px;
  line-height: 1.2;
}

.image-disclaimer {
  margin-top: 14px;

  color: var(--text-soft);

  font-size: 11px;
}

/* =========================================================
   PRICING
========================================================= */

.pricing-section {
  background: var(--bg);
}

.pricing-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.pricing-card {
  position: relative;

  padding: 30px;

  display: flex;
  flex-direction: column;

  border-radius: 24px;

  background: var(--surface);

  border: 1px solid var(--border);

  box-shadow: var(--shadow);

  transition:
    transform var(--transition),
    border-color var(--transition);
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.pricing-featured {
  border-color: var(--blue);

  box-shadow: 0 25px 70px rgba(0, 102, 200, 0.2);
}

.popular-badge {
  position: absolute;

  top: -12px;
  right: 20px;

  padding: 7px 12px;

  border-radius: 999px;

  color: white;

  background: var(--blue);

  font-size: 9px;
  font-weight: 900;
}

.pricing-label {
  color: var(--blue);

  font-size: 10px;
  font-weight: 900;

  letter-spacing: 0.14em;
}

.pricing-header h3 {
  margin-top: 8px;

  font-size: 23px;
}

.pricing-header p {
  margin-top: 7px;

  color: var(--text-soft);

  font-size: 13px;
}

.pricing-price {
  display: flex;
  align-items: baseline;

  gap: 5px;

  margin-top: 30px;
}

.pricing-price small {
  font-weight: 800;
}

.pricing-price strong {
  font-size: 50px;
  line-height: 1;

  letter-spacing: -0.06em;
}

.pricing-price span {
  color: var(--text-soft);

  font-size: 12px;
}

.custom-price {
  margin-top: 32px;

  font-size: 28px;
  font-weight: 900;
}

.pricing-divider {
  height: 1px;

  margin: 28px 0;

  background: var(--border);
}

.pricing-features {
  list-style: none;

  display: grid;

  gap: 13px;

  margin-bottom: 28px;

  flex: 1;
}

.pricing-features li {
  color: var(--text-soft);

  font-size: 13px;
}

.pricing-features li::first-letter {
  color: var(--blue);
}

.pricing-note {
  display: flex;
  align-items: flex-start;

  gap: 12px;

  margin-top: 24px;

  padding: 18px;

  border-radius: 16px;

  background: var(--surface);

  border: 1px solid var(--border);

  color: var(--text-soft);

  font-size: 12px;
}

/* =========================================================
   EMAIL
========================================================= */

.email-panel {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;

  padding: 60px;

  border-radius: 32px;

  background: linear-gradient(135deg, #0d2138, #07111f);

  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.25);
}

.email-content h2 {
  margin-top: 18px;

  font-size: clamp(36px, 5vw, 58px);

  line-height: 1;

  letter-spacing: -0.055em;
}

.email-content p {
  max-width: 560px;

  margin: 22px 0 28px;

  color: #a8b7ca;
}

.mail-window {
  padding: 22px;

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.mail-window-top {
  display: flex;
  gap: 6px;
}

.mail-window-top span {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #8ca2bb;
}

.mail-address {
  margin-top: 30px;

  color: white;

  font-size: 13px;
}

.mail-address span {
  color: #71859d;

  margin-right: 8px;
}

.mail-message {
  margin-top: 30px;

  padding: 24px;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.06);
}

.mail-message strong {
  color: white;
}

.mail-message p {
  margin-top: 8px;

  color: #a8b7ca;
}

/* =========================================================
   NEWS
========================================================= */

.news-section {
  background: var(--bg-soft);
}

.news-toolbar {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 18px;
}

.news-filters {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;
}

.news-filters button {
  padding: 10px 14px;

  border-radius: 999px;

  color: var(--text-soft);

  background: var(--surface);

  border: 1px solid var(--border);

  font-size: 12px;
  font-weight: 800;

  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.news-filters button:hover,
.news-filters button.active {
  color: white;

  background: var(--blue);

  border-color: var(--blue);
}

.news-refresh {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  padding: 11px 16px;

  border-radius: 999px;

  color: var(--text);

  background: var(--surface);

  border: 1px solid var(--border);

  font-size: 12px;
  font-weight: 800;
}

.news-refresh.loading #refreshIcon {
  animation: spin 0.8s linear infinite;
}

.news-status-line {
  margin-bottom: 25px;

  color: var(--text-soft);

  font-size: 12px;
}

.news-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.news-card {
  overflow: hidden;

  border-radius: 22px;

  background: var(--surface);

  border: 1px solid var(--border);

  box-shadow: var(--shadow);

  transition:
    transform var(--transition),
    border-color var(--transition);
}

.news-card:hover {
  transform: translateY(-7px);

  border-color: rgba(0, 102, 200, 0.35);
}

.news-image {
  position: relative;

  height: 210px;

  overflow: hidden;

  background: #0a1524;
}

.news-image img {
  height: 100%;
  aspect-ratio: 16 / 9;

  object-fit: cover;

  transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.06);
}

.news-source {
  position: absolute;

  left: 14px;
  bottom: 14px;

  padding: 6px 9px;

  border-radius: 999px;

  color: white;

  background: rgba(0, 0, 0, 0.65);

  backdrop-filter: blur(8px);

  font-size: 9px;
  font-weight: 900;
}

.news-body {
  padding: 22px;
}

.news-meta {
  color: var(--blue);

  font-size: 10px;
  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

.news-title {
  margin-top: 9px;

  font-size: 19px;

  line-height: 1.25;

  letter-spacing: -0.025em;
}

.news-description {
  margin-top: 10px;

  color: var(--text-soft);

  font-size: 13px;
}

.news-link {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  margin-top: 18px;

  color: var(--blue);

  font-size: 12px;
  font-weight: 900;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 28px;

  color: var(--text-soft);

  font-size: 12px;
}

.news-footer button {
  color: var(--blue);

  background: transparent;

  font-weight: 900;
}

.news-loading-card {
  min-height: 390px;

  padding: 22px;

  border-radius: 22px;

  background: var(--surface);

  border: 1px solid var(--border);

  overflow: hidden;
}

.news-loading-card div {
  height: 16px;

  margin-top: 20px;

  border-radius: 10px;

  background: linear-gradient(
    90deg,
    var(--surface-2),
    var(--bg),
    var(--surface-2)
  );

  background-size: 200% 100%;

  animation: loading 1.4s infinite;
}

.news-loading-card div:first-child {
  height: 210px;

  margin-top: 0;
}

.news-loading-card div:nth-child(2) {
  width: 85%;
}

.news-loading-card div:nth-child(3) {
  width: 65%;
}

.news-error {
  grid-column: 1 / -1;

  padding: 35px;

  border-radius: 20px;

  background: var(--surface);

  border: 1px solid var(--border);

  text-align: center;

  color: var(--text-soft);
}

/* =========================================================
   FAQ
========================================================= */

.faq-container {
  max-width: 950px;
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 20px;

  padding: 26px 0;

  color: white;

  background: transparent;

  text-align: left;

  font-size: 17px;
  font-weight: 800;
}

.faq-plus {
  display: grid;
  place-items: center;

  width: 34px;
  height: 34px;

  flex-shrink: 0;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.12);

  color: #8dbcf0;

  transition: transform var(--transition);
}

.faq-item.active .faq-plus {
  transform: rotate(45deg);

  background: var(--blue);

  color: white;
}

.faq-answer {
  display: grid;

  grid-template-rows: 0fr;

  transition: grid-template-rows 0.35s ease;
}

.faq-answer p {
  overflow: hidden;

  color: #9eb0c5;

  font-size: 14px;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;

  padding-bottom: 25px;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  gap: 70px;

  align-items: start;
}

.contact-copy h2 {
  margin-top: 18px;

  font-size: clamp(38px, 5vw, 62px);

  line-height: 1;

  letter-spacing: -0.055em;
}

.contact-copy > p {
  max-width: 550px;

  margin-top: 22px;

  color: var(--text-soft);

  font-size: 16px;
}

.contact-points {
  display: grid;

  gap: 14px;

  margin-top: 38px;
}

.contact-points div {
  display: flex;
  align-items: center;

  gap: 15px;
}

.contact-points span {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  color: var(--blue);

  background: rgba(0, 102, 200, 0.1);

  font-size: 11px;
  font-weight: 900;
}

.contact-points strong {
  font-size: 14px;
}

.contact-card {
  padding: 30px;

  border-radius: 26px;

  background: var(--surface);

  border: 1px solid var(--border);

  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;

  gap: 18px;
}

.form-row {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 14px;
}

.contact-form label {
  display: grid;

  gap: 8px;
}

.contact-form label > span {
  font-size: 11px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;

  padding: 14px 15px;

  border-radius: 12px;

  color: var(--text);

  background: var(--bg);

  border: 1px solid var(--border);

  outline: none;

  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);

  box-shadow: 0 0 0 4px rgba(0, 102, 200, 0.08);
}

.form-feedback {
  min-height: 20px;

  color: var(--blue);

  font-size: 12px;
  font-weight: 700;
}

/* =========================================================
   CTA
========================================================= */

.cta-section {
  position: relative;

  padding: 80px 0;

  overflow: hidden;

  background: linear-gradient(135deg, #003b78, #0066c8);

  color: white;
}

.cta-orb {
  position: absolute;

  width: 400px;
  height: 400px;

  right: -150px;
  top: -180px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.1);

  filter: blur(5px);
}

.cta-box {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

.cta-box h2 {
  margin-top: 15px;

  max-width: 700px;

  font-size: clamp(38px, 5vw, 62px);

  line-height: 1;

  letter-spacing: -0.055em;
}

.cta-box h2 span {
  color: #8fd0ff;
}

.cta-box p {
  margin-top: 15px;

  color: #c9e4fb;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  position: relative;

  padding: 70px 0 25px;

  background: #03070d;

  color: white;
}

.site-footer::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: linear-gradient(
    90deg,
    var(--brand-blue) 0%,
    var(--brand-blue) 44%,
    var(--brand-black) 44%,
    var(--brand-black) 56%,
    var(--brand-blue) 56%,
    var(--brand-blue) 100%
  );
}

.footer-grid {
  display: grid;

  grid-template-columns: 1.6fr repeat(3, 1fr);

  gap: 40px;
}

.footer-brand p {
  max-width: 300px;

  margin-top: 18px;

  color: #8092a8;

  font-size: 13px;
}

.footer-column {
  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 10px;
}

.footer-column strong {
  margin-bottom: 6px;

  font-size: 13px;
}

.footer-column a,
.footer-column span {
  color: #8092a8;

  font-size: 12px;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;

  gap: 20px;

  margin-top: 60px;
  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: #65778d;

  font-size: 10px;
}

/* =========================================================
   WHATSAPP
========================================================= */

.floating-whatsapp {
  position: fixed;

  right: 25px;
  bottom: 25px;

  z-index: 900;

  display: inline-flex;
  align-items: center;

  gap: 10px;

  padding: 14px 20px;

  border-radius: 999px;

  color: white;

  background: #14a957;

  box-shadow: 0 15px 35px rgba(20, 169, 87, 0.3);

  font-size: 12px;
  font-weight: 900;

  transition: transform var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.02);
}

.whatsapp-icon {
  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.18);
}

/* =========================================================
   REVEAL — SISTEMA SEGURO
========================================================= */

.reveal {
  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

/*
 * O JavaScript adiciona .js-reveal somente
 * quando o sistema de animação está disponível.
 *
 * Isso impede que o site inteiro fique invisível
 * caso o JavaScript apresente algum problema.
 */

.reveal.js-reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.js-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   HERO SCROLL
========================================================= */

.hero-scroll {
  position: absolute;

  left: 50%;
  bottom: 28px;

  transform: translateX(-50%);

  display: flex;
  align-items: center;

  gap: 10px;

  color: var(--text-soft);

  font-size: 10px;
  font-weight: 800;
}

.hero-scroll span {
  width: 18px;
  height: 28px;

  border: 1px solid var(--border);

  border-radius: 999px;

  position: relative;
}

.hero-scroll span::after {
  content: "";

  position: absolute;

  width: 3px;
  height: 6px;

  left: 50%;
  top: 6px;

  transform: translateX(-50%);

  border-radius: 999px;

  background: var(--blue);

  animation: scrollDown 1.5s infinite;
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes scrollDown {
  0% {
    transform: translate(-50%, 0);

    opacity: 1;
  }

  70% {
    transform: translate(-50%, 9px);

    opacity: 0.2;
  }

  100% {
    transform: translate(-50%, 0);

    opacity: 1;
  }
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
  .main-nav {
    gap: 18px;
  }

  .hero-content {
    gap: 35px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:last-child {
    grid-column: 1 / -1;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 12px 0;
  }

  .main-nav {
    position: fixed;

    top: 72px;
    left: 20px;
    right: 20px;

    display: none;

    flex-direction: column;
    align-items: stretch;

    padding: 18px;

    border-radius: 20px;

    background: var(--surface);

    border: 1px solid var(--border);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero .eyebrow,
  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-visual {
    max-width: 620px;
    width: 100%;

    margin-inline: auto;
  }

  .visual-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .visual-large {
    grid-row: auto;
  }

  .visual-card {
    min-height: 320px;
  }

  .email-panel {
    grid-template-columns: 1fr;

    padding: 35px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    gap: 12px;
  }

  .trust-line {
    height: 32px;
  }

  .server-card {
    padding: 22px;
  }

  .server-main {
    margin-top: 40px;
  }

  .services-grid,
  .pricing-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .section {
    padding: 85px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .news-toolbar {
    align-items: flex-start;

    flex-direction: column;
  }

  .news-refresh {
    width: 100%;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 20px;
  }

  .email-panel {
    padding: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 15px;
    bottom: 15px;
  }

  .floating-whatsapp span:last-child {
    display: none;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;

    padding: 0;

    justify-content: center;
  }
}

/* =========================================================
     ESTABILIDADE E ACESSIBILIDADE
  ========================================================= */

html {
  scroll-padding-top: 90px;
}

.visual-card img {
  background: linear-gradient(135deg, #03152c, #087ce5);
}

.visual-card img.image-failed {
  object-fit: cover;
}

.news-grid {
  min-height: 300px;
}

.news-card {
  min-width: 0;
}

.news-title,
.news-description {
  overflow-wrap: anywhere;
}

.news-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.news-refresh.loading #refreshIcon {
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

.news-status-line {
  min-height: 24px;
}

.news-error {
  grid-column: 1 / -1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 260px;
  padding: 40px;

  text-align: center;
}

.news-error strong {
  color: var(--text);
  font-size: 18px;
}

.news-error p {
  max-width: 550px;
  color: var(--text-soft);
  font-size: 14px;
}

.form-feedback {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}

.form-feedback.error {
  color: #e53935;
}

.form-feedback.success {
  color: var(--success);
}

.noscript-message {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 99999;

  padding: 16px 20px;
  border-radius: 14px;

  color: #fff;
  background: #07111f;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);

  text-align: center;
  font-weight: 700;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(22, 140, 255, 0.35);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal.js-reveal,
  .reveal.js-reveal.visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .server-card {
    transform: translateY(0) rotateY(0) rotateX(0);
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 600px) {
  .news-error {
    padding: 28px 18px;
  }
}

/* =========================================================
   FORMULÁRIO — SEGURANÇA E AÇÕES
========================================================= */

.form-honeypot {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  padding: 0 !important;
  margin: -1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;

  white-space: nowrap !important;

  border: 0 !important;
}

.contact-actions {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 12px;
}

.contact-actions button:disabled {
  opacity: 0.6;

  cursor: wait;
}

.form-security-note {
  margin-top: -6px;

  color: var(--text-soft);

  font-size: 11px;

  line-height: 1.5;
}

@media (max-width: 600px) {
  .contact-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FORMULÁRIO - SEGURANÇA E ENVIO
========================================================= */

.form-honeypot {
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-security-notice {
  padding: 12px 14px;

  border-radius: 12px;

  color: var(--text-soft);

  background: rgba(0, 102, 200, 0.06);

  border: 1px solid var(--border);

  font-size: 11px;

  line-height: 1.5;
}

.form-actions {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 12px;
}

.form-feedback.success {
  color: #16a34a;
}

.form-feedback.error {
  color: #dc2626;
}

.form-feedback.loading {
  color: var(--blue);
}

.contact-form button:disabled {
  cursor: wait;

  opacity: 0.65;
}

@media (max-width: 640px) {
  .form-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CAMADA GSAP — EFEITOS INTERATIVOS

   Estilos que dão suporte ao assets/js/animations.js.
   Se o GSAP não carregar, nada aqui prejudica o site:
   são todos elementos criados pelo próprio JavaScript
   ou estados de hover opcionais.
========================================================= */

/* ---- Barra de progresso de leitura (azul + preto da faixa) ---- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;

  width: 100%;
  height: 3px;

  pointer-events: none;

  background: rgba(7, 17, 31, 0.06);
}

html.dark .scroll-progress {
  background: rgba(255, 255, 255, 0.07);
}

.scroll-progress span {
  display: block;

  width: 100%;
  height: 100%;

  transform: scaleX(0);
  transform-origin: 0 50%;

  background: linear-gradient(
    90deg,
    var(--brand-black),
    var(--brand-blue) 45%,
    var(--blue-light)
  );
}

/* ---- Rede de pontos animada no topo ---- */

.hero-network {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;

  pointer-events: none;

  opacity: 0.85;
}

/* ---- Palavras animadas nos títulos ---- */

.word {
  display: inline-block;

  transform-origin: 50% 100%;

  will-change: transform, opacity;
}

/*
 * O JavaScript preserva os espaços originais entre as palavras,
 * então NÃO adicionamos margem aqui — isso dobraria o espaçamento.
 */

/*
 * A perspectiva precisa ficar no elemento-pai para a rotação das
 * palavras ter profundidade real. Sem isso, o texto parece apenas
 * "achatado" em vez de girar.
 */
.hero-copy h1,
.section-heading h2 {
  perspective: 900px;
}

/* ---- Cartões com inclinação 3D e brilho no cursor ---- */

.is-interactive {
  transform-style: preserve-3d;

  /* O brilho acompanha o mouse via --glow-x / --glow-y. */
  position: relative;
}

/*
 * Usamos ::before (e não ::after) de propósito: o .visual-card
 * já tem um ::after com o degradê escuro que deixa a legenda
 * legível sobre a foto. Se usássemos ::after aqui, apagaríamos
 * esse degradê.
 */
.is-interactive::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 3;

  border-radius: inherit;

  opacity: 0;

  pointer-events: none;

  background: radial-gradient(
    380px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(22, 140, 255, 0.13),
    transparent 62%
  );

  transition: opacity var(--transition);
}

.is-interactive:hover::before {
  opacity: 1;
}

/*
 * O brilho fica POR CIMA do conteúdo, mas com transparência
 * baixa e pointer-events: none — então não atrapalha a leitura
 * nem os cliques.
 *
 * Importante: não mexemos no position dos elementos filhos.
 * Alguns deles (como .visual-overlay) usam position: absolute
 * e quebrariam se fossem forçados para relative.
 */

/* ---- Foto com parallax dentro do cartão ---- */

/*
 * (.visual-card já tem overflow: hidden definido acima.)
 *
 * Quando o GSAP controla a foto, desligamos a transição de CSS:
 * as duas juntas brigam pelo mesmo "transform" e o movimento
 * fica travado. O zoom no hover passa a ser feito pelo GSAP.
 */
.visual-card img.is-parallax {
  transition: none;

  will-change: transform;
}

/* =========================================================
   RESPEITO A "MOVIMENTO REDUZIDO"

   Quem configurou o sistema para menos animação recebe o
   site completo, legível e parado.
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .scroll-progress,
  .hero-network {
    display: none;
  }

  .is-interactive::after {
    display: none;
  }

  .word {
    transform: none !important;
    opacity: 1 !important;
  }

  .reveal,
  .reveal.js-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   AJUSTES MOBILE DA CAMADA DE ANIMAÇÃO
========================================================= */

@media (max-width: 820px) {
  /* Sem canvas e sem inclinação 3D no celular: performance. */
  .hero-network {
    display: none;
  }

  .is-interactive {
    transform: none !important;
    transform-style: flat;
  }

  .is-interactive::after {
    display: none;
  }

  .scroll-progress {
    height: 2px;
  }
}
