/* ESTE ARQUIVO controla a APARÊNCIA: cores, tamanhos, espaços e animações. */

/* ---- Cores e medidas em um lugar só. Mude aqui e muda no site inteiro. ---- */
:root {
  --bg: #050b1f;          /* azul bem escuro do fundo */
  --bg2: #0a1535;         /* azul escuro dos cartões */
  --blue: #0a4dff;        /* azul principal (cor do logo) */
  --cyan: #18e6ff;        /* azul claro/ciano (brilho do logo) */
  --text: #eaf1ff;        /* texto principal */
  --muted: #9fb2d9;       /* texto secundário */
  --line: rgba(120, 160, 255, 0.18); /* bordas suaves */
  --grad: linear-gradient(120deg, #0a4dff, #18e6ff); /* degradê azul */
}

/* Regras básicas: remove margens padrão e faz a rolagem ser suave ao clicar no menu */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; }

/* Texto com degradê azul */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Fundo com bolhas azuis flutuando ---- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; animation: float 14s ease-in-out infinite; }
.b1 { width: 480px; height: 480px; background: var(--blue); top: -120px; left: -120px; }
.b2 { width: 420px; height: 420px; background: var(--cyan); top: 35%; right: -140px; animation-delay: -5s; opacity: 0.3; }
.b3 { width: 380px; height: 380px; background: #3b6bff; bottom: -140px; left: 25%; animation-delay: -9s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -50px) scale(1.12); }
}

/* Barra de progresso no topo (a largura é controlada pelo JavaScript) */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 100; }

/* ---- Menu do topo ---- */
.nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(1100px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 14px 10px 18px;
  background: rgba(10, 21, 53, 0.65);
  backdrop-filter: blur(14px);              /* efeito de vidro fosco */
  border: 1px solid var(--line);
  border-radius: 999px;
  z-index: 50;
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(5, 11, 31, 0.9); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.1rem; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand b { color: var(--cyan); font-weight: 700; }
.links { display: flex; gap: 22px; color: var(--muted); font-size: 0.95rem; }
.links a:hover { color: var(--cyan); }
.burger { display: none; background: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 5px; }
.burger i { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* ---- Botões ---- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 600;
  box-shadow: 0 10px 30px rgba(10, 77, 255, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 40px rgba(24, 230, 255, 0.4); }
.btn-small { padding: 9px 18px; font-size: 0.9rem; }
.btn-ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--cyan); box-shadow: none; }
.btn-light { background: #fff; color: var(--blue); }

/* ---- Hero (primeira tela) ---- */
.hero {
  min-height: 100vh;
  max-width: 1150px; margin: 0 auto;
  padding: 130px 20px 60px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 0.85rem; background: rgba(10, 21, 53, 0.5);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.3; transform: scale(0.7); } }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.08; margin: 18px 0; font-weight: 800; }
.caret { color: var(--cyan); animation: blink 1s steps(1) infinite; }  /* cursor piscando */
@keyframes blink { 50% { opacity: 0; } }
.hero-text > p { color: var(--muted); font-size: 1.1rem; max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stats strong { display: block; font-size: 1.9rem; font-weight: 800; }
.stats small { color: var(--muted); }

/* Logo flutuando com brilho atrás */
.hero-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: var(--grad); filter: blur(80px); opacity: 0.5; }
.logo-float { position: relative; width: min(300px, 70%); border-radius: 36px; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 25px 50px rgba(10, 77, 255, 0.6)); }
@keyframes bob { 50% { transform: translateY(-18px) rotate(2deg); } }
.chip {
  position: absolute; padding: 8px 14px; border-radius: 999px; font-size: 0.85rem;
  background: rgba(10, 21, 53, 0.8); border: 1px solid var(--line); backdrop-filter: blur(8px);
  animation: bob 6s ease-in-out infinite;
}
.c1 { top: 10%; left: 0; }
.c2 { top: 45%; right: -4%; animation-delay: -2s; }
.c3 { bottom: 8%; left: 6%; animation-delay: -4s; }

/* ---- Faixa de palavras rolando ---- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(10, 21, 53, 0.5); padding: 16px 0; }
.track { display: flex; gap: 48px; width: max-content; animation: scroll 28s linear infinite; }
.track span { white-space: nowrap; font-weight: 600; color: var(--muted); }
.track span::before { content: "✦ "; color: var(--cyan); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---- Seções ---- */
.section { max-width: 1100px; margin: 0 auto; padding: 90px 20px 20px; }
.title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; text-align: center; margin-bottom: 12px; }
.sub { text-align: center; color: var(--muted); margin-bottom: 36px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 36px; }

/* Cartões de serviço */
.card, .work {
  background: linear-gradient(160deg, var(--bg2), rgba(10, 21, 53, 0.4));
  border: 1px solid var(--line); border-radius: 24px; padding: 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
}
.card:hover, .work:hover { border-color: var(--cyan); box-shadow: 0 20px 50px rgba(10, 77, 255, 0.3); }
.ico { font-size: 2rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(10, 77, 255, 0.2); margin-bottom: 16px; }
.card h3, .work h3 { margin-bottom: 8px; }
.card p, .work p { color: var(--muted); }

/* Cartões do portfólio: uma "telinha de navegador" desenhada só com CSS */
.work { padding: 16px; }
.shot { border-radius: 14px; overflow: hidden; margin-bottom: 16px; border: 1px solid var(--line); }
.s1 { background: linear-gradient(135deg, #0a4dff, #18e6ff); }
.s2 { background: linear-gradient(135deg, #3b2bff, #18a0ff); }
.s3 { background: linear-gradient(135deg, #0636c9, #4fd3ff); }
.bar { display: flex; gap: 5px; padding: 8px 10px; background: rgba(0, 0, 0, 0.25); }
.bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); }
.mock { padding: 22px 18px 26px; display: grid; gap: 9px; }
.mock b { height: 16px; width: 70%; background: #fff; border-radius: 6px; }
.mock em { height: 8px; width: 90%; background: rgba(255, 255, 255, 0.55); border-radius: 6px; }
.mock em.s { width: 60%; }
.mock u { height: 26px; width: 38%; background: #fff; border-radius: 99px; margin-top: 6px; }

/* ---- Passos ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 36px; }
.step { text-align: center; padding: 28px; border-radius: 24px; border: 1px dashed var(--line); }
.step span { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); font-weight: 800; margin-bottom: 12px; }
.step p { color: var(--muted); }

/* ---- Chamada final ---- */
.final { text-align: center; padding: 56px 24px; border-radius: 32px; background: var(--grad); box-shadow: 0 30px 80px rgba(10, 77, 255, 0.45); }
.final h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
.final p { margin: 8px 0 24px; opacity: 0.9; }

/* ---- FAQ ---- */
.faq { max-width: 720px; margin: 30px auto 0; display: grid; gap: 12px; }
details { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::after { content: "+"; float: right; color: var(--cyan); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; }

/* ---- Rodapé ---- */
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; max-width: 1100px; margin: 80px auto 0; padding: 26px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.footer a:hover { color: var(--cyan); }

/* ---- Botão flutuante do WhatsApp ---- */
.fab {
  position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; font-size: 1.7rem; z-index: 60;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  animation: ring 2.4s infinite;
}
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); } 70%, 100% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } }

/* ---- Janela de escolher atendente ---- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(2, 6, 18, 0.75); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s;   /* escondida por padrão */
}
.modal.open { opacity: 1; pointer-events: auto; }                /* o JavaScript adiciona "open" para mostrar */
.sheet {
  position: relative; width: min(420px, 100%); padding: 30px 24px 24px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 28px;
  transform: translateY(24px) scale(0.96); transition: transform 0.25s;
}
.modal.open .sheet { transform: none; }
.sheet h3 { font-size: 1.4rem; }
.sheet > p { color: var(--muted); margin: 4px 0 18px; }
.close { position: absolute; top: 12px; right: 16px; background: none; color: var(--muted); font-size: 1.8rem; line-height: 1; }
.list { display: grid; gap: 10px; }
.att {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px;
  background: rgba(10, 77, 255, 0.12); border: 1px solid var(--line); transition: 0.2s;
}
.att:hover { border-color: #25d366; transform: translateX(4px); }
.att .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; }
.att strong { display: block; }
.att small { color: var(--muted); }
.att .go { margin-left: auto; color: #25d366; font-weight: 700; }

/* ---- Animação de aparecer ao rolar (o JavaScript adiciona a classe "show") ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.reveal.show { opacity: 1; transform: none; }

/* ---- Celular e telas pequenas ---- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 110px; }
  .hero-text > p { margin-inline: auto; }
  .cta, .stats { justify-content: center; }
  .hero-art { min-height: 300px; }
  .burger { display: flex; }
  .btn-small { display: none; }
  .links {
    position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg2); border: 1px solid var(--line); border-radius: 24px; padding: 10px;
    display: none;
  }
  .links.open { display: flex; }
  .links a { padding: 12px 16px; }
}

/* Respeita quem prefere menos movimento no celular/computador */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}