/* Paleta tirada do perfil @sp4ce_assistance: azul-marinho espacial, azul royal, branco e laranja (visor/faíscas) */
:root {
  --space: #0b102b;
  --space-2: #111a3d;
  --navy: #182c58;
  --royal: #2f5bd3;
  --sky: #6fa0ff;
  --orange: #ff8a1f;
  --orange-2: #ffb347;
  --neon: #39ff88;
  --wpp: #25d366;
  --wpp-dark: #1ebe5a;
  --text: #eef2ff;
  --muted: #a9b4d6;
  --line: rgba(111, 160, 255, .18);
  --card: rgba(24, 44, 88, .45);
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, #1b2f6b 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 30%, #1a1f4d 0%, transparent 60%),
              var(--space);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
}
html { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
#stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

h1, h2, h3, .brand-text strong { font-family: Orbitron, sans-serif; letter-spacing: .02em; }
h1 { font-size: clamp(1.6rem, 8.5vw, 3.8rem); line-height: 1.1; font-weight: 900; }
h2 { font-size: clamp(1.35rem, 6vw, 2.5rem); line-height: 1.2; font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
.grad { background: linear-gradient(90deg, var(--orange), var(--orange-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.25rem; border-radius: 999px; font-weight: 700; border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s; font: inherit; font-weight: 700;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-wpp { background: var(--wpp); color: #04210f; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .7); }
.btn-wpp:hover { background: var(--wpp-dark); box-shadow: 0 14px 36px -10px rgba(37, 211, 102, .9); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--sky); background: rgba(111, 160, 255, .08); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 43, .7); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { border-radius: 50%; border: 2px solid var(--orange); object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.25rem; font-weight: 900; letter-spacing: .12em; }
.brand-text small { color: var(--muted); font-size: .72rem; letter-spacing: .3em; text-transform: lowercase; }
.menu { display: flex; gap: 1.6rem; margin-left: auto; }
.menu a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.menu a:hover { color: var(--text); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.tag {
  display: inline-block; padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(255, 138, 31, .12); color: var(--orange-2); border: 1px solid rgba(255, 138, 31, .35); margin-bottom: 1.2rem;
}
.lead { color: var(--muted); font-size: 1.12rem; margin: 1.2rem 0 2rem; max-width: 560px; }
.lead b { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.stats { list-style: none; display: flex; gap: 2.2rem; margin-top: 2.6rem; flex-wrap: wrap; }
.stats strong { display: block; font-family: Orbitron, sans-serif; font-size: 1.8rem; color: var(--text); }
.stats span { color: var(--muted); font-size: .85rem; }

.hero-visual { position: relative; aspect-ratio: 4 / 5; max-width: 480px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.poster {
  position: relative; z-index: 1; width: 66%; aspect-ratio: 853 / 1280; border-radius: 22px; overflow: hidden;
  border: 3px solid var(--orange);
  box-shadow: 0 0 0 8px rgba(255, 138, 31, .12), 0 0 90px 10px rgba(47, 91, 211, .6), var(--shadow);
  transform: rotate(-3deg);
  animation: float-tilt 6s ease-in-out infinite;
}
.poster img { width: 100%; height: 100%; object-fit: cover; }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed var(--line); aspect-ratio: 1; width: 92%; }
.orbit-1 { animation: spin 40s linear infinite; }
.orbit-2 { width: 112%; border-style: solid; border-color: rgba(255, 138, 31, .15); animation: spin 60s linear infinite reverse; }
.sat { z-index: 2; }
@keyframes float-tilt { 50% { transform: rotate(-3deg) translateY(-12px); } }
.sat {
  position: absolute; width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.6rem;
  background: var(--space-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.sat-1 { top: 4%; left: 14%; }
.sat-2 { top: 10%; right: 4%; animation-delay: -1.2s; }
.sat-3 { bottom: 8%; left: 2%; animation-delay: -2.4s; }
.sat-4 { bottom: 2%; right: 16%; animation-delay: -3.6s; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Seções */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, rgba(24, 44, 88, .25), rgba(24, 44, 88, .05)); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); margin-top: .8rem; }
.eyebrow { display: inline-block; color: var(--orange); font-weight: 700; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; margin-bottom: .6rem; }

/* Cards de serviço */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.card {
  position: relative; padding: 1.6rem 1.4rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: var(--sky); box-shadow: 0 24px 50px -24px rgba(47, 91, 211, .8); }
.card-ico { font-size: 2.2rem; margin-bottom: .8rem; }
.card h3 { margin-bottom: .8rem; }
.card ul { list-style: none; color: var(--muted); font-size: .92rem; flex: 1; }
.card li { padding: .25rem 0 .25rem 1.1rem; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .78rem; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.card-link { margin-top: 1.2rem; color: var(--wpp); font-weight: 700; font-size: .92rem; }
.card-hot { border-color: rgba(57, 255, 136, .4); background: linear-gradient(160deg, rgba(57, 255, 136, .08), var(--card)); }
.card-hot li::before { background: var(--neon); }
.ribbon {
  position: absolute; top: 14px; right: 14px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: var(--neon); color: #04210f; padding: .2rem .55rem; border-radius: 999px;
}

/* Features e passos */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.feature { padding: 1.6rem; border-radius: var(--radius); background: rgba(11, 16, 43, .55); border: 1px solid var(--line); }
.feature span { font-size: 1.8rem; }
.feature h3 { margin: .7rem 0 .4rem; font-size: 1.02rem; }
.feature p { color: var(--muted); font-size: .94rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; counter-reset: s; }
.steps li { display: flex; gap: .9rem; align-items: flex-start; }
.steps b {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-family: Orbitron, sans-serif; background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: var(--space);
}
.steps h4 { font-size: 1rem; }
.steps p { color: var(--muted); font-size: .9rem; }

/* Unidades */
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.unit { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.unit iframe { width: 100%; height: 260px; border: 0; display: block; filter: saturate(.85) contrast(1.05); }
.unit-body { padding: 1.5rem; }
.unit-tag { color: var(--orange); font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.unit h3 { font-size: 1.5rem; margin: .3rem 0 .5rem; }
.addr { color: var(--muted); margin-bottom: 1.2rem; }
.unit-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Orçamento */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.quote-copy p { color: var(--muted); margin: 1rem 0 1.6rem; }
.insta {
  display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; padding: .7rem 1.1rem; border-radius: 999px;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); color: #fff;
}
.insta svg { width: 20px; height: 20px; }
.quote-form {
  display: grid; gap: 1rem; padding: 2rem; border-radius: 22px;
  background: rgba(11, 16, 43, .75); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.quote-form label { display: grid; gap: .4rem; font-weight: 600; font-size: .92rem; }
.opt { color: var(--muted); font-weight: 400; }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; color: var(--text); background: var(--space-2); border: 1.5px solid var(--line);
  border-radius: 12px; padding: .75rem .9rem; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(111, 160, 255, .15); }
fieldset { border: 0; }
legend { font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; }
.seg span {
  display: block; text-align: center; padding: .7rem; border-radius: 12px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--space-2); transition: .2s;
}
.seg input:checked + span { border-color: var(--orange); background: rgba(255, 138, 31, .12); color: var(--orange-2); }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(255, 138, 31, .25); }

/* Footer */
.footer { padding: 3rem 0; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.footer-inner { display: grid; gap: .6rem; justify-items: center; }
.footer a:hover { color: var(--text); }

/* WhatsApp flutuante */
.wpp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: .7rem;
}
.wpp-float svg {
  width: 62px; height: 62px; padding: 15px; border-radius: 50%; background: var(--wpp); color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .5); animation: pulse 2.2s infinite;
}
.wpp-bubble {
  background: #fff; color: #0b102b; font-weight: 700; font-size: .88rem; padding: .5rem .9rem; border-radius: 999px;
  box-shadow: var(--shadow); transition: opacity .3s, transform .3s;
}
.wpp-float:hover svg { animation: none; transform: scale(1.06); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 960px) {
  .hero-grid, .quote { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; order: -1; }
  .units { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; padding: .5rem 16px 1rem;
    background: var(--space); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .25s, opacity .25s, visibility .25s; margin: 0;
  }
  .menu.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .menu a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .hero { padding: 40px 0 64px; }
  .section { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; }
  .stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.2rem; margin-top: 2rem; }
  .stats strong { font-size: clamp(1.1rem, 6vw, 1.6rem); }
  .stats span { font-size: .75rem; line-height: 1.3; display: block; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { max-width: 270px; }
  .orbit-1 { width: 100%; }
  .orbit-2 { display: none; }
  .sat { width: 44px; height: 44px; font-size: 1.2rem; border-radius: 12px; }
  .sat-1 { top: 2%; left: 4%; }
  .sat-2 { top: 8%; right: 2%; }
  .sat-3 { bottom: 10%; left: 0; }
  .sat-4 { bottom: 2%; right: 8%; }
  .card, .feature { padding: 1.3rem 1.1rem; }
  .unit iframe { height: 210px; }
  .unit-actions .btn { flex: 1; }
  .brand-text strong { font-size: 1.1rem; }
  .wpp-bubble { display: none; }
  .quote-form { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
