/* =========================================================
   backupprime.com.br — Cloud Backup Premium
   Fundo azul-marinho, detalhes em azul elétrico
   ========================================================= */

:root {
  --navy-950: #040e26;
  --navy-900: #061533;
  --navy-850: #0a1d44;
  --navy-800: #0e2a5e;
  --navy-700: #15386f;
  --electric: #0a84ff;
  --electric-2: #36b3ff;
  --electric-soft: #8fd3ff;
  --line: rgba(120, 170, 255, 0.16);
  --line-2: rgba(10, 132, 255, 0.45);
  --title: #ffffff;
  --text: #e8f0ff;
  --muted: #a3b7da;
  --radius: 20px;
  --container: 1180px;
  --sans: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, "Courier New", monospace;
}

/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--navy-950); }
body {
  font-family: var(--sans);
  color: var(--text);
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 60%, var(--navy-900) 100%);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
section { padding: 104px 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, rgba(10, 29, 68, 0.55), rgba(4, 14, 38, 0.2));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--electric-2);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--electric);
}
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--title);
  max-width: 760px;
}
.section-head { text-align: center; margin: 0 auto 56px; }
.section-head .section-title { margin-inline: auto; }
.section-head .eyebrow { justify-content: center; }
.section-lead { color: var(--muted); max-width: 680px; margin: 18px auto 0; font-size: 1.05rem; }

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.97rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0a6cff, #36b3ff);
  box-shadow: 0 14px 34px -10px rgba(10, 132, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 18px 44px -8px rgba(54, 179, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ghost {
  color: #e6f0ff;
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: rgba(10, 132, 255, 0.14); }
.btn-outline {
  color: #ffffff;
  background: transparent;
  border-color: var(--electric-2);
}
.btn-outline:hover { background: rgba(54, 179, 255, 0.12); }

/* ===== Cabeçalho ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 14, 38, 0.75);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { color: #c9daf5; font-weight: 600; font-size: 0.93rem; transition: color 0.2s ease; }
.nav-links a:hover { color: #ffffff; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: #ffffff;
}
.menu-toggle svg { width: 24px; height: 24px; margin: auto; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 116px 0 130px;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 80% 0%, rgba(10, 132, 255, 0.28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(54, 179, 255, 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 65% 25%, #000 25%, transparent 75%);
          mask-image: radial-gradient(ellipse at 65% 25%, #000 25%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
}
.hero .eyebrow { color: var(--electric-2); }
.hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.9rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}
.hero h1 span {
  background: linear-gradient(90deg, #5cc4ff, #1e8bff);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.lead { margin-top: 22px; font-size: 1.1rem; color: var(--muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; list-style: none; }
.hero-badges li {
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: #c4d6f4;
  background: rgba(255, 255, 255, 0.03);
}

/* Ilustração de nuvem + cadeado */
.cloud-illustration {
  display: flex;
  justify-content: center;
  margin: 0 auto 18px;
  max-width: 300px;
  filter: drop-shadow(0 18px 30px rgba(10, 132, 255, 0.35));
  animation: float 6s ease-in-out infinite;
}
.cloud-illustration svg { width: 100%; height: auto; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Painel do hero */
.hero-visual {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 42, 94, 0.7), rgba(6, 21, 51, 0.85));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(10, 132, 255, 0.1),
    0 0 90px -10px rgba(10, 132, 255, 0.3);
  backdrop-filter: blur(12px);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}
.status-pill {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.16);
  color: var(--electric-soft);
  border: 1px solid rgba(10, 132, 255, 0.5);
  letter-spacing: 0.06em;
}
.job {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.job-top { display: flex; justify-content: space-between; font-size: 0.92rem; font-weight: 600; color: #e8f0ff; margin-bottom: 12px; }
.job-top small { color: var(--electric-soft); font-weight: 600; }
.bar { height: 6px; border-radius: 999px; background: rgba(120, 170, 255, 0.15); overflow: hidden; }
.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0a6cff, #36b3ff);
  box-shadow: 0 0 12px rgba(54, 179, 255, 0.7);
  transform-origin: left center;
  animation: grow 1.6s ease-out both;
}
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.panel-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.panel-stats div {
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(10, 132, 255, 0.28);
  border-radius: 14px;
  padding: 14px 8px;
  text-align: center;
}
.panel-stats strong { display: block; font-size: 1.2rem; color: #ffffff; }
.panel-stats span { font-size: 0.72rem; color: var(--muted); }

/* ===== Layouts ===== */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillar {
  background: linear-gradient(160deg, rgba(21, 56, 111, 0.45), rgba(6, 21, 51, 0.8));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.pillar:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pillar strong { display: block; color: #ffffff; margin-bottom: 6px; }
.pillar span { color: var(--muted); font-size: 0.93rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ===== Cartões ===== */
.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(21, 56, 111, 0.5), rgba(6, 21, 51, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric-2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 22px 50px -22px rgba(10, 132, 255, 0.6);
}
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.08rem; color: #ffffff; margin-bottom: 8px; font-weight: 700; }
.card p { color: var(--muted); font-size: 0.95rem; }

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #0a6cff, #36b3ff);
  box-shadow: 0 10px 24px -8px rgba(10, 132, 255, 0.7);
  margin-bottom: 18px;
}

.quote {
  margin-top: 56px;
  text-align: center;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
}
.quote span {
  background: linear-gradient(90deg, #5cc4ff, #1e8bff);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* ===== Lista com check ===== */
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(160deg, rgba(21, 56, 111, 0.4), rgba(6, 21, 51, 0.8));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color 0.3s ease;
}
.check-list li:hover { border-color: var(--line-2); }
.check {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(54, 179, 255, 0.14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%238fd3ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l5 5 9-10'/></svg>") center/14px no-repeat;
  border: 1px solid rgba(54, 179, 255, 0.45);
}
.check-list strong { display: block; color: #ffffff; }
.check-list span { color: var(--muted); font-size: 0.93rem; }

/* ===== Data center ===== */
.infra {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(10, 132, 255, 0.28), transparent 60%),
    linear-gradient(160deg, rgba(21, 56, 111, 0.5), rgba(6, 21, 51, 0.9));
  border: 1px solid var(--line-2);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 0 70px -20px rgba(10, 132, 255, 0.45);
}
.infra .section-title { color: #ffffff; }
.infra p { color: var(--muted); margin-top: 16px; }
.infra-points { list-style: none; display: grid; gap: 14px; }
.infra-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.infra-points svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--electric-soft); margin-top: 2px; }
.infra-points strong { display: block; color: #ffffff; }
.infra-points span { font-size: 0.92rem; color: var(--muted); }

/* ===== CTA ===== */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 32px;
  border-radius: 28px;
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(54, 179, 255, 0.3), transparent 70%),
    linear-gradient(135deg, #0a2a66, #061533);
  border: 1px solid var(--line-2);
  box-shadow: 0 0 90px -20px rgba(10, 132, 255, 0.5);
}
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; color: #ffffff; }
.cta p { margin: 14px auto 30px; max-width: 580px; color: #c4d6f4; }

/* ===== Rodapé ===== */
.site-footer {
  background: #030a1c;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 72px 0 28px;
  font-size: 0.95rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid img { height: 44px; width: auto; margin-bottom: 16px; }
.footer-grid p { max-width: 360px; }
.footer-grid h4 {
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--electric-soft); }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(10, 132, 255, 0.4);
  padding: 12px 18px;
  border-radius: 14px;
  word-break: break-all;
}
.contact-email:hover { border-color: var(--electric-2); }
.contact-email svg { width: 20px; height: 20px; color: var(--electric-soft); flex: 0 0 20px; }
.footer-bottom {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
}
.footer-bottom a { color: #c9daf5; }
.footer-bottom a:hover { color: var(--electric-soft); }

/* ===== Animação ao rolar ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsivo ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .infra { grid-template-columns: 1fr; padding: 40px 28px; }
}

@media (max-width: 860px) {
  section { padding: 76px 0; }
  .hero { padding: 72px 0 90px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .nav-links,
  .nav-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #061533;
    padding: 18px 16px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid-4, .pillars { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cloud-illustration { max-width: 220px; }
  .infra { padding: 32px 22px; border-radius: 22px; }
  .cta { padding: 48px 22px; }
  .footer-bottom { flex-direction: column; }
  .check-list li { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
