/* ============================================================
   CALISTO FX — Landing Page
   Estilo: Escuro + Laranja/Dourado
   ============================================================ */

/* === Variáveis de design === */
:root {
  --bg:         #0a0a0a;
  --bg-2:       #111111;
  --bg-card:    #1a1a1a;
  --accent:     #ffc009;
  --accent-h:   #e6ad00;
  --gold:       #ffd700;
  --text:       #ffffff;
  --text-muted: #9a9a9a;
  --border:     rgba(255, 255, 255, 0.07);
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 8px 32px rgba(0, 0, 0, 0.5);
  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Inter', sans-serif;
  --transition: 0.25s ease;
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img  { max-width: 100%; display: block; height: auto; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* acessibilidade: texto só para leitores de tela */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* === Container === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Cores de destaque === */
.accent { color: var(--accent); }

/* === Seções === */
.section       { padding: 100px 0; }
.section-dark  { background: var(--bg-2); }

/* === Cabeçalho de seção === */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto;
}

/* === Tag de seção === */
.section-tag {
  display: inline-block;
  background: rgba(255, 107, 0, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 107, 0, 0.2);
}

/* === Botões === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 0, 0.4);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 38px;
  font-size: 17px;
}

.btn-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}
.btn-instagram:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(220, 39, 67, 0.45);
}

/* ============================================================
   NAVEGAÇÃO
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.96);
  padding: 12px 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

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

.nav-links li a:not(.btn-nav) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color var(--transition);
  position: relative;
}
.nav-links li a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-links li a:not(.btn-nav):hover { color: #fff; }
.nav-links li a:not(.btn-nav):hover::after { transform: scaleX(1); }

.btn-nav {
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
}

/* Hamburguer (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 10;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
#topo {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.90) 0%,
    rgba(10, 10, 10, 0.70) 55%,
    rgba(255, 107, 0, 0.12) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 130px;
  padding-bottom: 90px;
  max-width: 820px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 7.5vw, 76px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Seta de scroll */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2.2s ease-in-out infinite;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.hero-scroll:hover { opacity: 1; }
.scroll-arrow {
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: rotate(45deg);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

/* ============================================================
   BARRA DE CONFIANÇA
   ============================================================ */
.trust-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 30px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 16px 48px rgba(255, 107, 0, 0.12);
}

.service-icon {
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.service-card p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 15px;
}

.services-cta {
  text-align: center;
  margin-top: 52px;
}

/* ============================================================
   SOBRE / DIFERENCIAIS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}
.about-image img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  max-height: 520px;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 22px 28px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(255, 107, 0, 0.45);
  min-width: 130px;
}
.badge-number {
  display: block;
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}
.badge-text {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.92;
  line-height: 1.4;
  margin-top: 4px;
  display: block;
}

.about-text .section-tag { margin-bottom: 18px; }

.about-text h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.about-text > p {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 16px;
  line-height: 1.8;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.pillar-icon {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #fff;
}
.pillar strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}
.pillar p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   ESTATÍSTICAS
   ============================================================ */
.stats-section {
  background: var(--accent);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item { padding: 16px; }

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 900;
  line-height: 1;
  color: #fff;
}
.stat-plus {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.75);
}
.stat-item p {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* ============================================================
   TIPOS DE EVENTOS
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 20px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
  cursor: default;
}
.event-card:hover {
  border-color: rgba(255, 107, 0, 0.45);
  transform: translateY(-5px);
  background: #1f1f1f;
}

.event-emoji {
  font-size: 38px;
  margin-bottom: 14px;
  display: block;
}
.event-card h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.88);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #180800 0%, #0d0d0d 60%, #0a0a0a 100%);
  border-top: 1px solid rgba(255, 107, 0, 0.15);
  border-bottom: 1px solid rgba(255, 107, 0, 0.15);
  padding: 100px 0;
}

.cta-content {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta-content h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 4.5vw, 46px);
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.2;
}
.cta-content p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 40px;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ============================================================
   RODAPÉ
   ============================================================ */
footer {
  background: #060606;
  border-top: 1px solid var(--border);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 72px;
}

.footer-brand img {
  margin-bottom: 20px;
  filter: brightness(1);
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 300px;
  margin-bottom: 28px;
}

.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 42px;
  height: 42px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

footer h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact p,
.footer-legal p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}
.footer-contact svg,
.footer-legal svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }

.footer-contact a { color: var(--text-muted); transition: color var(--transition); }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.28);
  font-size: 13px;
  text-align: center;
}

/* ============================================================
   BOTÕES FLUTUANTES
   ============================================================ */
.instagram-float {
  position: fixed;
  bottom: 102px;
  right: 28px;
  z-index: 999;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(220, 39, 67, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.instagram-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(220, 39, 67, 0.65);
}

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulseGreen 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.6);
  animation: none;
}

@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 6px 36px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.08); }
}

/* ============================================================
   ANIMAÇÃO DE ENTRADA (fade-up)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVO — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid    { grid-template-columns: 1fr; gap: 56px; }
  .about-badge   { right: 0; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .events-grid   { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .footer-brand  { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVO — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Menu mobile */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 20px;
    z-index: 9;
    backdrop-filter: blur(10px);
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn-nav) { font-size: 20px; }
  .nav-links li a:not(.btn-nav)::after { display: none; }
  .btn-nav { font-size: 17px; padding: 14px 32px; }

  /* Hero */
  .hero-content h1 { font-size: 36px; letter-spacing: -0.5px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }

  /* Grade de serviços */
  .services-grid { grid-template-columns: 1fr; }

  /* Estatísticas */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Eventos */
  .events-grid { grid-template-columns: repeat(2, 1fr); }

  /* Rodapé */
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-column: auto; }

  /* Badge do sobre */
  .about-badge { position: relative; bottom: auto; right: auto; margin-top: 16px; display: inline-flex; align-items: center; gap: 12px; }
  .badge-number { font-size: 32px; }
}

/* ============================================================
   RESPONSIVO — TELAS PEQUENAS (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .trust-items  { gap: 20px; }
  .events-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .cta-banner   { padding: 72px 0; }
  .whatsapp-float   { width: 54px; height: 54px; bottom: 20px; right: 20px; }
  .instagram-float  { width: 54px; height: 54px; bottom: 86px; right: 20px; }
}
