/* =========================================
   RESET + VARIÁVEIS GERAIS DO TEMA
========================================= */
:root{
  /* Cores principais */
  --bg: #0b0d12;
  --bg-soft: #11151d;
  --surface: rgba(255,255,255,0.04);
  --surface-strong: rgba(255,255,255,0.07);
  --card: rgba(16, 20, 29, 0.92);
  --card-border: rgba(255,255,255,0.08);

  /* Texto */
  --text: #f5f7fb;
  --text-soft: #b8c0d4;
  --muted: #8892a6;

  /* Cores de destaque */
  --primary: #7c5cff;
  --primary-2: #3dd9b3;
  --accent: #1e293b;

  /* Extras */
  --success: #3dd9b3;
  --danger: #ff6b81;
  --shadow: 0 10px 35px rgba(0,0,0,0.28);
  --shadow-soft: 0 6px 18px rgba(0,0,0,0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

/* Remove diferenças chatas entre navegadores */
*{
  box-sizing: border-box;
}

/* Scroll suave entre seções */
html{
  scroll-behavior: smooth;
}

/* Corpo do site */
body{
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124,92,255,0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(61,217,179,0.10), transparent 22%),
    linear-gradient(180deg, #090b10 0%, #0b0d12 45%, #0d1118 100%);
  line-height: 1.6;
}

/* Melhora seleção de texto */
::selection{
  background: rgba(124,92,255,0.35);
  color: #fff;
}

/* Links padrão */
a{
  color: inherit;
}

/* Imagens responsivas */
img{
  max-width: 100%;
  display: block;
}

/* Container principal */
.container{
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

/* =========================================
   HEADER / NAVEGAÇÃO
========================================= */
header{
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  backdrop-filter: blur(14px);
  background: rgba(7, 10, 16, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

header > div{
  display: flex;
  align-items: center;
}

/* Logo */
header img{
  height: 46px;
  width: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

/* Menu */
nav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Links do menu */
nav a{
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

nav a:hover{
  color: #fff;
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.07);
}

/* =========================================
   HERO
========================================= */
.hero{
  position: relative;
  overflow: hidden;
  padding: 100px 20px 90px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background:
    linear-gradient(rgba(5,8,14,0.60), rgba(5,8,14,0.82)),
    url("MEDIA/hero.png");
  background-position: center;
  background-size: cover;
}

/* Camada decorativa */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(124,92,255,0.18), transparent 35%);
  pointer-events: none;
}

/* Conteúdo acima da camada */
.hero > *{
  position: relative;
  z-index: 1;
}

/* Label pequena acima do título */
.hero-badge{
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
}

/* Título principal */
.hero h1,
.hero h2{
  margin: 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.03;
  letter-spacing: -1.6px;
  text-shadow: 0 10px 35px rgba(0,0,0,0.35);
}

/* Destaque no título */
.hero .gradient-text{
  background: linear-gradient(90deg, #ffffff 0%, #b7abff 48%, #76f5d1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Texto secundário */
.hero p{
  width: min(100%, 760px);
  margin: 18px auto 0;
  color: var(--text-soft);
  font-size: clamp(16px, 2vw, 19px);
}

/* Área dos botões da hero */
.hero .actions{
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================================
   BOTÕES
========================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.btn:hover{
  transform: translateY(-2px);
  opacity: 0.98;
}

/* Botão principal */
.btn-primary{
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #9a7bff 100%);
  box-shadow: 0 12px 28px rgba(124,92,255,0.28);
}

/* Botão escuro */
.btn-dark{
  color: #fff;
  background: linear-gradient(135deg, #121826 0%, #1b2333 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
}

/* Botão outline */
.btn-outline{
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
}

/* =========================================
   TÍTULOS DE SEÇÃO
========================================= */
.section-title{
  text-align: center;
  padding: 70px 20px 14px;
}

.section-title h2{
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.8px;
}

.section-title p{
  width: min(100%, 700px);
  margin: 14px auto 0;
  color: var(--text-soft);
  font-size: 16px;
}

/* Texto auxiliar */
.muted{
  color: var(--muted);
}

/* Pequena tag usada em blocos */
.section-tag{
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(124,92,255,0.12);
  color: #d7ceff;
  border: 1px solid rgba(124,92,255,0.18);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* =========================================
   GRID + CARDS
========================================= */
.grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 34px 0 16px;
}

/* Grid de uma coluna */
.grid-1{
  grid-template-columns: 1fr;
}

/* Card base */
.card{
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18,23,33,0.96) 0%, rgba(13,17,24,0.96) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.35);
  border-color: rgba(124,92,255,0.24);
}

/* Reflexo decorativo no card */
.card::before{
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  opacity: 0.75;
}

/* Imagens dos cards */
.card img{
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}

/* Título do card */
.card h3{
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
  color: #fff;
}

/* Texto do card */
.card p{
  margin: 0 0 16px;
  color: var(--text-soft);
}

/* Card alinhado à esquerda */
.card-left{
  text-align: left;
}

/* Card com borda verde */
.card-borda-verde{
  border: 1px solid rgba(61,217,179,0.22);
  background:
    linear-gradient(180deg, rgba(14,23,26,0.96) 0%, rgba(12,18,21,0.96) 100%);
}

/* Meta pequena do card */
.card-meta{
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #c7d0e0;
  letter-spacing: 0.5px;
}

/* =========================================
   BLOCO HERO SECUNDÁRIO / INTRO DE PÁGINAS
========================================= */
.page-hero{
  padding: 64px 0 12px;
}

.page-hero-box{
  position: relative;
  overflow: hidden;
  padding: 38px 24px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(124,92,255,0.18) 0%, rgba(61,217,179,0.08) 100%),
    linear-gradient(180deg, rgba(18,22,32,0.96) 0%, rgba(11,14,20,0.96) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.page-hero-box h1,
.page-hero-box h2{
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -1px;
}

.page-hero-box p{
  width: min(100%, 760px);
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 16px;
}

/* =========================================
   BLOCO DE CTA
========================================= */
.cta-box{
  margin-top: 34px;
  padding: 28px 22px;
  text-align: center;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(124,92,255,0.12) 0%, rgba(61,217,179,0.08) 100%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
}

.cta-box p{
  margin: 0 0 14px;
  color: var(--text-soft);
}

/* =========================================
   FORMULÁRIO
========================================= */
.form-wrap{
  padding-top: 28px;
  padding-bottom: 12px;
}

.form-card{
  width: min(100%, 760px);
  margin: 0 auto;
}

/* Agrupamento de campos */
.form-group{
  margin-bottom: 18px;
}

/* Label */
label{
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* Inputs */
input,
textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder{
  color: #95a0b5;
}

input:focus,
textarea:focus{
  border-color: rgba(124,92,255,0.5);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 4px rgba(124,92,255,0.12);
}

textarea{
  resize: vertical;
  min-height: 140px;
}

/* =========================================
   FOOTER
========================================= */
footer{
  margin-top: 70px;
  padding: 30px 18px;
  background:
    linear-gradient(180deg, rgba(8,10,15,0.92) 0%, rgba(6,8,13,0.98) 100%);
  color: #c0c8d7;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-links{
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a{
  text-decoration: none;
  color: #c0c8d7;
  padding: 8px 12px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.footer-links a:hover{
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.footer-info{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  text-align: center;
}

.footer-info p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* =========================================
   BOTÃO FLUTUANTE
========================================= */
.fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #5e8bff 100%);
  box-shadow: 0 14px 34px rgba(72, 91, 255, 0.34);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.fab:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(72, 91, 255, 0.40);
}

/* =========================================
   RESPONSIVO
========================================= */
@media (max-width: 1024px){
  .grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px){
  header{
    padding: 14px 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  nav{
    width: 100%;
  }

  .hero{
    padding: 82px 18px 72px;
  }

  .page-hero{
    padding-top: 42px;
  }

  .page-hero-box{
    padding: 28px 18px;
    border-radius: 22px;
  }

  .grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card{
    padding: 16px;
  }

  .footer-info{
    flex-direction: column;
    gap: 10px;
  }

  .fab{
    right: 14px;
    bottom: 14px;
    padding: 12px 15px;
    font-size: 13px;
  }
}

/* =========================
   HERO INTERNO (ARRUMA TUDO)
========================= */

.inner-hero{
  position: relative;
  margin: 30px 16px 0;
  padding: 80px 20px;
  border-radius: 24px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: #fff;

    background:
      radial-gradient(circle at top left, rgba(124,92,255,0.18), transparent 28%),
      radial-gradient(circle at top right, rgba(61,217,179,0.10), transparent 22%),
      linear-gradient(180deg, #151a27 0%, #0f121a 45%, #0e131d 100%);

  background-size: cover;
  background-position: center;
}

/* conteúdo centralizado */
.inner-hero-content{
  max-width: 700px;
  margin: 0 auto;
}

/* título */
.inner-hero-content h1{
  font-size: 36px;
  margin-bottom: 15px;
}

/* texto */
.inner-hero-content p{
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* label de cima */
.eyebrow{
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* botões dentro do hero */
.inner-hero .actions{
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* botão glass */
.btn-glass{
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

/* =========================
   CTA FINAL
========================= */

.cta-box{
  text-align: center;
  margin-top: 30px;
}

/* =========================
   MOBILE (IMPORTANTE)
========================= */

@media (max-width: 600px){

  .inner-hero{
    padding: 60px 15px;
  }

  .inner-hero-content h1{
    font-size: 26px;
  }

  .inner-hero-content p{
    font-size: 14px;
  }

}
/* =========================================
   HEADER MOBILE FIX
========================================= */
@media (max-width: 600px){

  header{
    width: calc(100% - 16px);
    margin: 10px auto 0;
    padding: 12px 14px;
    border-radius: 20px;

    /* empilha logo e menu de forma controlada */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .logo-wrap{
    justify-content: center;
    width: 100%;
  }

  header img{
    height: 34px;
  }

  nav{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  nav a{
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1;
  }
}