:root {
  --bg: #05070c;
  --bg-alt: #0a0e18;
  --blue: #1E4FD9;
  --blue-light: #4C86FF;
  --green: #22FF6B;
  --white: #F4F6FB;
  --silver: #B9C2D6;
  --whatsapp: #22C55E;
  --radius: 16px;
  --container: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ===== FUNDO ANIMADO (constelação) ===== */
#network-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.75;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(30, 79, 217, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(30, 79, 217, 0.5); }

.btn-whats {
  background: var(--whatsapp);
  color: #06210f;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}
.btn-whats:hover { box-shadow: 0 10px 30px rgba(34, 197, 94, 0.45); }

/* ===== BOTÃO FLUTUANTE ===== */
.float-whats {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #06210f;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
  animation: pulse 2.4s infinite;
}
.float-whats span { display: none; }
@media (min-width: 480px) {
  .float-whats span { display: inline; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 6px 28px rgba(34, 197, 94, 0.7); }
}

/* ===== HERO ===== */
.hero {
  background:
    radial-gradient(circle at 20% 0%, rgba(30, 79, 217, 0.35), transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(34, 255, 107, 0.12), transparent 45%),
    rgba(5, 7, 12, 0.4);
  padding: 90px 0 70px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-logo {
  height: 88px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 16px rgba(76, 134, 255, 0.65)) brightness(1.3) saturate(1.3);
}
.hero h1 {
  font-size: clamp(28px, 6vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--white), var(--silver));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--silver);
  max-width: 600px;
  margin: 0 auto 34px;
}

/* ===== PRODUTOS ===== */
.product {
  padding: 70px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.product-alt { background: rgba(10, 14, 24, 0.32); }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) {
  .product-grid { grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
  .product-grid-reverse { grid-template-columns: 0.9fr 1.1fr; }
  .product-grid-reverse .product-visual { order: -1; }
}

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.tag-blue { background: rgba(30, 79, 217, 0.18); color: var(--blue-light); border: 1px solid rgba(76, 134, 255, 0.35); }
.tag-green { background: rgba(34, 255, 107, 0.12); color: var(--green); border: 1px solid rgba(34, 255, 107, 0.35); }

.product-text h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 22px;
}

.check-list {
  list-style: none;
  margin-bottom: 30px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--silver);
  font-size: 16px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 255, 107, 0.15);
  border: 1px solid var(--green);
}
.check-list li::after {
  content: "✓";
  position: absolute;
  left: 3px;
  top: 2px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.product-visual {
  aspect-ratio: 1;
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.product-visual-blue {
  background: radial-gradient(circle, rgba(30, 79, 217, 0.16), transparent 70%);
}
.product-visual-green {
  background: radial-gradient(circle, rgba(34, 255, 107, 0.1), transparent 70%);
}

.product-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.product-photo-blue {
  box-shadow:
    0 0 0 3px rgba(76, 134, 255, 0.9),
    0 0 22px 4px rgba(76, 134, 255, 0.55),
    0 0 48px 14px rgba(76, 134, 255, 0.3);
}
.product-photo-green {
  box-shadow:
    0 0 0 3px rgba(34, 255, 107, 0.9),
    0 0 22px 4px rgba(34, 255, 107, 0.55),
    0 0 48px 14px rgba(34, 255, 107, 0.3);
}

/* ===== CREDIBILIDADE ===== */
.trust {
  padding: 70px 0;
  background: rgba(5, 7, 12, 0.4);
}
.trust-title {
  text-align: center;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  margin-bottom: 44px;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 760px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}
.trust-item {
  background: rgba(10, 14, 24, 0.65);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(34, 255, 107, 0.12);
  color: var(--green);
  font-weight: 800;
  margin-bottom: 16px;
}
.trust-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.trust-item p {
  color: var(--silver);
  font-size: 15px;
}

/* ===== RODAPÉ ===== */
.footer {
  background: rgba(10, 14, 24, 0.45);
  padding: 56px 0 90px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-content {
  text-align: center;
}
.footer-glifo {
  height: 40px;
  margin: 0 auto 20px;
  opacity: 0.9;
}
.footer-razao {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}
.footer-info {
  color: var(--silver);
  font-size: 14px;
  margin-bottom: 4px;
}
.footer-whats {
  display: inline-block;
  margin-top: 22px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid transparent;
}
.footer-whats:hover { border-color: var(--green); }

/* ===== EFEITOS DE MOVIMENTO ===== */

/* Scroll reveal: seções e cards sobem com fade ao entrar na tela */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Elevação no hover: cards de credibilidade ganham profundidade */
.trust-item {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.trust-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.35);
  border-color: rgba(76, 134, 255, 0.35);
}

/* Brilho que atravessa: passa pelo botão principal no hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn-primary:hover::after {
  animation: btn-shine .9s ease forwards;
}
@keyframes btn-shine {
  to { left: 130%; }
}

/* Ripple ao clicar: nos botões de WhatsApp */
.btn-whats, .float-whats {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transform: scale(0);
  animation: ripple-anim .6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(1); opacity: 0; }
}

/* Ímã no cursor: leve atração dos botões (JS controla a translação) */
.btn { transition: transform .15s ease-out, box-shadow .15s ease; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn-primary::after { display: none !important; }
  .btn { transition: none !important; }
  .trust-item:hover { transform: none !important; }
}

/* ===== HERO — CONSÓRCIO (grid 2 colunas) ===== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; text-align: left; }
  .hero-left .hero-logo { margin: 0 0 24px; }
  .hero-left h1, .hero-left .hero-sub { margin-left: 0; margin-right: 0; }
}

.hero-video-wrap {
  max-width: 320px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
}
.hero-video-wrap video {
  width: 100%;
  display: block;
  border-radius: 24px;
}
@media (max-width: 859px) {
  .hero-video-wrap { max-width: 100%; width: 100%; margin-top: 8px; }
}

/* ===== CONSÓRCIO — SEÇÃO EXPANDIDA ===== */
.consorcio-highlight {
  padding: 70px 0;
  background: rgba(30, 79, 217, 0.07);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.consorcio-highlight-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.consorcio-highlight-head h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
}
.consorcio-highlight-head p {
  color: var(--silver);
  font-size: 17px;
}
.consorcio-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 44px;
}
@media (min-width: 640px) {
  .consorcio-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .consorcio-cards { grid-template-columns: repeat(4, 1fr); }
}
.consorcio-card {
  background: rgba(10, 14, 24, 0.55);
  border: 1px solid rgba(34, 255, 107, 0.15);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease;
}
.consorcio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 255, 107, 0.4);
}
.consorcio-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(34, 255, 107, 0.12);
  font-size: 24px;
  margin-bottom: 14px;
}
.consorcio-svg-icon { filter: brightness(0) invert(1); }
.consorcio-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.consorcio-card p { color: var(--silver); font-size: 14px; }
.consorcio-cta-wrap { text-align: center; }
.consorcio-note { margin-top: 14px; color: var(--silver); font-size: 14px; }

/* ===== OUTROS SERVIÇOS (cards secundários) ===== */
.secondary-products {
  padding: 70px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.secondary-title {
  text-align: center;
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  margin-bottom: 40px;
}
.secondary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .secondary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .secondary-grid { grid-template-columns: repeat(4, 1fr); }
}
.secondary-card {
  background: rgba(10, 14, 24, 0.55);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.secondary-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.35);
}
.secondary-photo-wrap {
  width: 76px;
  height: 76px;
  margin-bottom: 16px;
}
.secondary-photo-wrap .product-photo {
  transition: transform .3s ease;
}
.secondary-card:hover .secondary-photo-wrap .product-photo {
  transform: scale(1.45);
}
.secondary-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.secondary-card p { color: var(--silver); font-size: 14px; margin-bottom: 20px; }
.secondary-card .btn { margin-top: auto; font-size: 14px; padding: 10px 20px; }

/* Botão secundário: bordado, sem fundo */
.btn.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  box-shadow: none;
}
.btn.btn-outline:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
}

/* Ripple também nos botões bordados */
.btn-outline {
  position: relative;
  overflow: hidden;
}

/* ===== LUZ LED CONTORNANDO OS RETÂNGULOS DE OPÇÕES ===== */
.consorcio-card,
.secondary-card,
.trust-item {
  position: relative;
}
.consorcio-card::before,
.secondary-card::before,
.trust-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0%, var(--blue-light) 8%, var(--green) 16%, transparent 28%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: led-border-spin 9s linear infinite;
  opacity: 0.3;
  transition: opacity .3s ease;
  pointer-events: none;
}
.consorcio-card:hover::before,
.secondary-card:hover::before,
.trust-item:hover::before {
  opacity: 0.6;
}
@keyframes led-border-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .consorcio-card::before,
  .secondary-card::before,
  .trust-item::before {
    animation: none;
    opacity: 0;
  }
}

/* Texto de urgência abaixo do CTA principal do consórcio */
.consorcio-urgency {
  margin-top: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}

/* Botão final da seção de outros serviços */
.secondary-cta-wrap {
  text-align: center;
  margin-top: 40px;
}

/* ===== GRUPOS DISPONÍVEIS ===== */
.groups-section {
  padding: 70px 0;
  background: rgba(10, 14, 24, 0.4);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.groups-title {
  text-align: center;
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  margin-bottom: 32px;
}
.groups-subtitle {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-light);
  margin: 0 0 16px;
}
.groups-subtitle:not(:first-of-type) {
  margin-top: 36px;
}
.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.groups-grid-single {
  grid-template-columns: repeat(auto-fill, minmax(180px, 260px));
}
.group-card {
  position: relative;
  background: rgba(10, 14, 24, 0.55);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 18px 16px;
}
.group-name {
  display: block;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 6px;
}
.group-prazo {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}
.group-taxas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--silver);
  font-size: 13px;
  margin-bottom: 10px;
}
.group-note {
  color: var(--silver);
  font-size: 12.5px;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 10px;
}
.groups-cta-wrap {
  text-align: center;
  margin-top: 40px;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 70px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.faq-title {
  text-align: center;
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  margin-bottom: 32px;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: rgba(10, 14, 24, 0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 14px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--green);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--silver);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 14px;
}
.faq-cta-wrap {
  text-align: center;
  margin-top: 36px;
}
