/* ==========================================================================
   ESTILO.CSS — o esqueleto do site
   Tudo o que se repete nas quatro páginas: variáveis, cabeçalho, topo,
   bloco de contato, rodapé e botão flutuante.
   Mexeu aqui, mudou nas quatro páginas de uma vez.
   ========================================================================== */

/* ============ FONTE ============
   Inter hospedada no próprio servidor, em vez de vir do Google Fonts.
   É um arquivo só: fonte variável, cobre todos os pesos de 100 a 900.
   Evita duas conexões externas antes da página começar a desenhar. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============ VARIÁVEIS E RESET ============ */
:root {
  --bg-dark: #0A0D17;
  --purple-1: #763AF5;
  --purple-2: #A604F2;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-dark);
  font-family: 'Inter', sans-serif;
}


/* ============ CABEÇALHO / NAVEGAÇÃO ============ */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  background: var(--bg-dark);
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.header-logo:hover { opacity: 0.8; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header-nav a {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.1px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-nav a:hover { color: var(--white); }

.header-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #763AF5 0%, #A604F2 100%);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(118, 58, 245, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.65s ease;
  z-index: 2;
}

.header-cta:hover::before { left: 125%; }

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(118, 58, 245, 0.45);
}


/* ============ TOPO (HERO) ============
   A base vale para as quatro páginas. A Home ocupa a tela inteira e empilha
   título + card; as páginas internas são mais baixas e só centralizam o título.
   Por isso as duas variantes: .hero--home e .hero--interna.
   ====================================== */
.hero {
  position: relative;
  width: 100%;
  background: var(--bg-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero--home {
  min-height: 100vh;
  padding: 50px 24px 100px;
}

.hero--interna {
  min-height: 70vh;
  padding: 100px 24px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 320px;
  height: 320px;
  top: 12%;
  right: 12%;
  background: radial-gradient(circle, rgba(166,4,242,0.55) 0%, rgba(166,4,242,0) 70%);
  filter: blur(60px);
}

.glow-2 {
  width: 360px;
  height: 360px;
  bottom: 6%;
  left: 6%;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 70%);
  filter: blur(70px);
}

.glow-3 {
  width: 340px;
  height: 340px;
  top: 6%;
  left: 8%;
  background: radial-gradient(circle, rgba(118,58,245,0.45) 0%, rgba(118,58,245,0) 70%);
  filter: blur(65px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1148px;
  display: flex;
}

.hero--home .hero-inner {
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.hero--interna .hero-inner {
  justify-content: center;
}

.heading-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.heading-block h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 82px);
  letter-spacing: -2.4px;
  line-height: 1.05;
  color: var(--white);
  opacity: 0.9;
}

.heading-block h1 .gradient-word {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.3) 100%),
    linear-gradient(86.7deg, #FFFFFF 49.8%, #763AF5 76.6%, #A604F2 104.6%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.48px;
}

.heading-block .subtitle {
  margin: 0;
  font-weight: 500;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: -0.44px;
  color: var(--white);
  opacity: 0.7;
  max-width: 640px;
}


/* ============ BLOCO DE CONTATO (CTA FINAL) ============ */
.cta {
  position: relative;
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  padding: 130px 35px;
  background: var(--bg-dark);
}

/* Clareamento de ambiente: nasce e morre transparente, pra não criar degrau
   nas bordas de cima e de baixo da seção. */
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(118,58,245,0.25) 0%, rgba(118,58,245,0) 70%);
  filter: blur(90px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.cta-inner h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(32px, 5.2vw, 58px);
  letter-spacing: -1.6px;
  line-height: 1.15;
}

.cta-inner h2 .line {
  display: inline-block;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #9A9AA5 82%, #5B5B66 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-inner p {
  margin: 0;
  font-weight: 500;
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: -0.2px;
  line-height: 1.6;
  color: var(--white);
  opacity: 0.85;
  max-width: 560px;
}

.cta-btn {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 8px;
  background: linear-gradient(360deg, #FFFFFF 0%, #BDBDC1 88%, #9A9AA5 100%);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.15px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(10, 13, 23, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(10,13,23,0) 0%, rgba(10,13,23,0.25) 50%, rgba(10,13,23,0) 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.65s ease;
  z-index: 2;
}

.cta-btn:hover::before { left: 125%; }

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 13, 23, 0.3);
}

.cta-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--bg-dark);
}

.cta-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 13px;
  color: var(--white);
  opacity: 0.75;
}

.cta-note svg {
  width: 13px;
  height: 13px;
  stroke: var(--white);
}


/* ============ RODAPÉ ============ */
.site-footer {
  position: relative;
  width: 100%;
  background: var(--bg-dark);
}

.footer-main {
  padding: 80px 24px 56px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-inner {
  max-width: 1148px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-brand h3 {
  margin: 0 0 18px;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.6px;
  color: var(--white);
}

.footer-brand .tagline {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.1px;
  color: var(--white);
  opacity: 0.9;
}

.footer-brand .description {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: -0.1px;
  color: var(--white);
  opacity: 0.5;
  max-width: 320px;
}

.footer-col h4 {
  margin: 0 0 20px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.1px;
  color: var(--white);
  opacity: 0.9;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col a {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.1px;
  color: var(--white);
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-col a:hover { opacity: 0.9; }

.footer-bottom {
  padding: 30px 24px 60px;
  border-top: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
}

.footer-bottom-inner {
  max-width: 1148px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-big-name {
  margin: 0;
  font-weight: 800;
  font-size: clamp(64px, 15vw, 190px);
  letter-spacing: -4px;
  line-height: 1;
  text-align: center;
  background-image: linear-gradient(180deg, #A604F2 0%, #4B1D91 50%, #2A1245 70%, #010203FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-bottom-links {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: -0.05px;
  color: var(--white);
  opacity: 0.45;
}


/* ============ BOTÃO FLUTUANTE DE WHATSAPP ============ */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #763AF5 0%, #A604F2 100%);
  box-shadow: 0 10px 28px rgba(118, 58, 245, 0.5), 0 4px 14px rgba(10, 13, 23, 0.4);
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.2s ease;
}

.floating-whatsapp.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: floatPulse 2.4s ease-out 3;
}

.floating-whatsapp.is-visible:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 34px rgba(118, 58, 245, 0.6), 0 6px 18px rgba(10, 13, 23, 0.45);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

@keyframes floatPulse {
  0%   { box-shadow: 0 10px 28px rgba(118, 58, 245, 0.5), 0 0 0 0 rgba(166, 4, 242, 0.5); }
  70%  { box-shadow: 0 10px 28px rgba(118, 58, 245, 0.5), 0 0 0 16px rgba(166, 4, 242, 0); }
  100% { box-shadow: 0 10px 28px rgba(118, 58, 245, 0.5), 0 0 0 0 rgba(166, 4, 242, 0); }
}


/* ============ RESPONSIVO ============ */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-inner { justify-content: space-between; }

  .hero--home { padding: 90px 16px 70px; }
  .hero--home .hero-inner { gap: 40px; }
  .hero--interna { min-height: 50vh; padding: 70px 16px; }

  .cta { padding: 100px 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-main { padding: 60px 20px 40px; }
  .footer-bottom { padding: 24px 20px 48px; }
}

@media (max-width: 480px) {
  .site-header { padding: 18px 16px; }
  .header-cta { padding: 10px 18px; font-size: 12px; }

  .heading-block h1 { letter-spacing: -1.4px; }

  .cta { padding: 80px 16px; }
  .cta-inner { gap: 20px; }

  .footer-bottom-links { justify-content: center; text-align: center; }
  .footer-big-name { letter-spacing: -2px; }

  .floating-whatsapp { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .floating-whatsapp svg { width: 25px; height: 25px; }
}
