/* ============================================================
   Cyberpolos — site institucional
   Cores do logo: azul #1C84B9 · grafite #525556
   ============================================================ */

:root {
  --blue: #1c84b9;
  --blue-dark: #14648d;
  --blue-light: #4ba8d8;
  --graphite: #525556;
  --ink: #1e2429;
  --ink-soft: #4a5560;
  --dark-bg: #0e1418;
  --dark-card: #16202780;
  --light-bg: #ffffff;
  --alt-bg: #f4f7f9;
  --border: #e3e9ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 40, 60, 0.08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--light-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1140px, 100% - 3rem);
  margin-inline: auto;
}

/* ============ Botões ============ */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(28, 132, 185, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28, 132, 185, 0.45);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(20, 40, 60, 0.06);
}

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

.header-logo img { height: 30px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--blue); }
.nav a.nav-cta { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--dark-bg);
  color: #fff;
  padding: 170px 0 110px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.hero-glow-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  top: -180px; right: -120px;
}

.hero-glow-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--blue-dark) 0%, transparent 70%);
  bottom: -200px; left: -100px;
  opacity: 0.35;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 168, 216, 0.4);
  background: rgba(28, 132, 185, 0.12);
  color: var(--blue-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero h1 .grad {
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  list-style: none;
}

.hero-stats li { display: flex; flex-direction: column; }

.hero-stats strong {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1.2;
}

.hero-stats span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 11rem;
}

/* Hero visual (cards ilustrativos) */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-card {
  background: rgba(22, 32, 39, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 1.4rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-card-main { animation: float 6s ease-in-out infinite; }

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-blue { background: var(--blue-light); box-shadow: 0 0 10px var(--blue-light); }

.hero-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.hero-card-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 110px;
  margin-bottom: 1rem;
}

.hero-card-bars .bar {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-card-bars .bar-hl {
  background: linear-gradient(180deg, var(--blue-light), var(--blue-dark));
  box-shadow: 0 0 16px rgba(28, 132, 185, 0.4);
}

.hero-card-foot {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.hero-card-chat {
  margin-left: 2.5rem;
  animation: float 6s ease-in-out 1.2s infinite;
}

.chat-line {
  font-size: 0.85rem;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  max-width: 90%;
}

.chat-user {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.7rem;
  width: fit-content;
}

.chat-bot {
  background: rgba(28, 132, 185, 0.18);
  border: 1px solid rgba(28, 132, 185, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

.chat-bot-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.25rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ Seções ============ */
.section { padding: 96px 0; }
.section-alt { background: var(--alt-bg); }

.section-head {
  max-width: 46rem;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.8rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

/* ============ Sobre ============ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-item {
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.about-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(28, 132, 185, 0.1);
  color: var(--blue);
  margin-bottom: 1.1rem;
}

.about-icon svg { width: 24px; height: 24px; }

.about-item h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.5rem; }
.about-item p { font-size: 0.94rem; color: var(--ink-soft); }

/* ============ Serviços ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(28, 132, 185, 0.35);
}

.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  margin-bottom: 1.2rem;
}

.service-icon svg { width: 22px; height: 22px; }

.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; color: var(--ink-soft); }

.support-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(120deg, var(--ink) 0%, #2c3a44 100%);
  border-radius: var(--radius);
  padding: 2.2rem 2.5rem;
  color: #fff;
}

.support-banner h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.4rem; }
.support-banner p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; max-width: 36rem; }
.support-banner .btn { flex-shrink: 0; }

/* ============ Produtos ============ */
.section-dark {
  position: relative;
  background: var(--dark-bg);
  color: #fff;
  overflow: hidden;
}

.dark-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 132, 185, 0.22) 0%, transparent 70%);
  filter: blur(60px);
  top: -250px; left: 50%;
  transform: translateX(-50%);
}

.section-dark .section-head { position: relative; }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.65); }
.section-tag-dark { color: var(--blue-light); }

.products-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(75, 168, 216, 0.45);
  background: rgba(28, 132, 185, 0.08);
}

.product-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.1rem;
}

.product-tag-ia {
  background: rgba(28, 132, 185, 0.18);
  border: 1px solid rgba(75, 168, 216, 0.35);
  color: var(--blue-light);
}

.product-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.6rem; }
.product-card > p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.68); margin-bottom: 1.2rem; }

.product-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.product-feats li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 1.4rem;
  position: relative;
}

.product-feats li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 8px rgba(75, 168, 216, 0.7);
}

/* ============ Parceiros ============ */
.section-partners { padding: 60px 0; border-bottom: 1px solid var(--border); }

.partners-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 4rem;
  list-style: none;
}

.partners-list li {
  font-size: 1.25rem;
  font-weight: 700;
  color: #a8b4bd;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.partners-list li:hover { color: var(--graphite); }

/* ============ Contato ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-block h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.contact-block p { color: var(--ink-soft); font-size: 0.95rem; }

.contact-block a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
}

.contact-block a:hover { color: var(--blue); }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--alt-bg);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28, 132, 185, 0.15);
  background: #fff;
}

/* ============ Footer ============ */
.footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.65);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 26px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p { font-size: 0.9rem; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover { color: var(--blue-light); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============ Animações de entrada ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card-main, .hero-card-chat { animation: none; }
}

/* ============ Responsivo ============ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 30rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(20, 40, 60, 0.1);
    padding: 0.5rem 1.5rem 1.2rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a { padding: 0.7rem 0; width: 100%; }
  .nav a.nav-cta { text-align: center; margin-top: 0.6rem; }
  .nav-toggle { display: flex; }

  .hero { padding: 130px 0 80px; }
  .section { padding: 70px 0; }
  .services-grid,
  .products-grid,
  .form-row { grid-template-columns: 1fr; }

  .support-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.8rem;
  }

  .hero-stats { gap: 1.5rem 2rem; }
  .hero-card-chat { margin-left: 1rem; }
}
