:root {
  --accent: #eb2525;
  --dark: #0f1724;
  --muted: #ffffff;
  --card: #ffffff;
  --glass: rgba(255,255,255,0.06);
  --radius: 14px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

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

body {
  margin: 0;
  background: linear-gradient(180deg,#000000 0%, #0a0a0a 80%);
  color: #e6eef8;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}

/* ===== CABEÇALHO ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  z-index: 1000;
  transition: transform 0.4s ease, background 0.3s ease;
}

header.hidden {
  transform: translateY(-100%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.brand:hover .logo {
  transform: rotate(-5deg) scale(1.05);
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}

.brand-sub {
  font-size: 12px;
  color: #bbb;
}

.actions {
  display: flex;
  gap: 10px;
}

.btn {
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(235, 37, 37, 0.4);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(235, 37, 37, 0.6);
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== HERO ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
  padding: 160px 0 36px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.2;
}

.hero p {
  color: var(--muted);
  margin-bottom: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  padding: 18px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(2,6,23,0.6);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.faq-item {
  background: rgba(255,255,255,0.02);
  padding: 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

footer {
  margin-top: 36px;
  padding: 18px 0;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== LOADER (tucano voando) ===== */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, #000000, #000000);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 2s ease, visibility 2s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.tucano {
  width: 150px;
  animation: fly 5s ease-in-out infinite, flap 0.5s ease-in-out infinite;
}

@keyframes fly {
  0% { transform: translateX(-200px) translateY(0) rotate(-10deg); }
  25% { transform: translateX(0px) translateY(-30px) rotate(5deg); }
  50% { transform: translateX(200px) translateY(0) rotate(-10deg); }
  75% { transform: translateX(0px) translateY(30px) rotate(5deg); }
  100% { transform: translateX(-200px) translateY(0) rotate(-10deg); }
}

@keyframes flap {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.95); }
}

.loading-text {
  margin-top: 30px;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  color: #333;
  letter-spacing: 2px;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 140px 20px 36px; }
  .faq { grid-template-columns: 1fr; }
  header { padding: 14px 24px; }
}
