/* ══════════════════════════════════
   RESET & VARIÁVEIS
══════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #1D1D1D;
  --bg2: #252525;
  --bg3: #2D2D2D;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(234, 230, 223, 0.35);
  --accent: #EAE6DF;
  --accent2: #C4C0B6;
  --accent-glow: rgba(234, 230, 223, 0.15);
  --text: #F1EFEA;
  --text2: #B3ADA8;
  --text3: #8C8681;
  --radius: 16px;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 16px rgba(255, 255, 255, 0.4);
}

::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 1), 0 0 24px rgba(255, 255, 255, 0.6);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.8) transparent;
}


/* ── NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ══════════════════════════════════
   HEADER / NAV
══════════════════════════════════ */
header[role="banner"] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

header[role="banner"].scrolled {
  background: rgba(29, 29, 29, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
}

.nav-logo strong {
  color: var(--accent);
  font-weight: 900;
}

nav[aria-label="Menu principal"] ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav[aria-label="Menu principal"] a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav[aria-label="Menu principal"] a:hover {
  color: var(--text);
}

nav[aria-label="Menu principal"] {
  justify-self: center;
}

.nav-cta {
  background: #00C851;
  /* Verde de conversão */
  color: #FFFFFF;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.nav-cta.desktop {
  justify-self: end;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  justify-self: end;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
  display: block;
}

/* ══════════════════════════════════
   LAYOUT GENÉRICO
══════════════════════════════════ */
main section {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-pad {
  padding: 100px 0;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.7;
}

/* ══════════════════════════════════
   BOTÕES
══════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #00C851;
  /* Verde de conversão */
  color: #FFFFFF;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  /* Mais chamativo */
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 0 30px rgba(0, 200, 81, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 200, 81, 0.45);
  opacity: 0.95;
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer[role="contentinfo"] {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3rem 5%;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.footer-logo strong {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text3);
  margin-top: 0.3rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  color: var(--text2);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ══════════════════════════════════
   WHATSAPP FLUTUANTE
══════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-wa 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 40px rgba(37, 211, 102, 0.65);
  }
}

/* ══════════════════════════════════
   ANIMAÇÕES
══════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════
   RESPONSIVO — NAV & FOOTER
══════════════════════════════════ */
@media (max-width: 768px) {
  nav[aria-label="Menu principal"] ul {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta.desktop {
    display: none;
  }

  header[role="banner"].open nav[aria-label="Menu principal"] ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg2);
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}