/* =====================================================
   RESET GLOBAL
===================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =====================================================
   VARIÁVEIS DE TEMA
===================================================== */
:root {
  --bg-main: #0b0e14;
  --bg-dark: #020617;
  --bg-soft: #0f172a;
  --bg-card: #020617;

  --color-primary: #22c55e;
  --color-secondary: #2563eb;
  --color-accent: #38bdf8;

  --text-main: #ffffff;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;

  --border-soft: #1e293b;

  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.25s ease;
}

/* =====================================================
   BASE
===================================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* =====================================================
   CONTAINER
===================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   HEADER
===================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11,14,20,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-accent);
}

/* =====================================================
   MENU DESKTOP
===================================================== */
.nav {
  display: flex;
  gap: 26px;
}

.nav a {
  font-size: 14px;
  color: var(--text-soft);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav a:hover::after {
  width: 100%;
}

/* =====================================================
   MENU MOBILE
===================================================== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-main);
  cursor: pointer;
}

.nav.active {
  display: flex;
}

/* =====================================================
   HERO
===================================================== */
.hero {
  padding: 96px 0 96px;
  background:
    radial-gradient(circle at top, rgba(37,99,235,0.18), transparent 60%),
    linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.95)),
    url("img/hero.jpg") center / cover no-repeat;
}

.hero-content {
  max-width: 760px;
}

.badge {
  display: inline-block;
  background-color: rgba(2,6,23,0.85);
  color: var(--color-accent);
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 22px;
}

.highlight {
  color: var(--color-secondary);
}

.hero-subtext {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-info {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* =====================================================
   BOTÕES
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: bold;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn.primary {
  background-color: var(--color-primary);
  color: #020617;
  box-shadow: 0 0 22px rgba(34,197,94,0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(34,197,94,0.6);
}

.btn.secondary {
  border: 1px solid var(--border-soft);
  color: var(--text-soft);
}

.btn.secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* =====================================================
   SEARCH BOX
===================================================== */
.search-box {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  background-color: rgba(2,6,23,0.9);
  border: 1px solid var(--border-soft);
  padding: 18px;
  border-radius: var(--radius-md);
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 14px;
  outline: none;
}

.search-box button {
  background-color: var(--color-secondary);
  border: none;
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: bold;
  cursor: pointer;
}

/* =====================================================
   TRUST
===================================================== */
.trust {
  padding: 36px 0;
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  text-align: center;
}

.trust-item {
  font-size: 13px;
  color: var(--text-muted);
}

/* =====================================================
   SECTIONS PADRÃO
===================================================== */
.section-badge {
  font-size: 13px;
  color: var(--color-accent);
  margin-bottom: 10px;
  display: inline-block;
}

.section-title {
  font-size: 30px;
  margin-bottom: 18px;
}

.section-description {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 720px;
  margin-bottom: 48px;
}

/* =====================================================
   SERVICES
===================================================== */
.services {
  padding: 96px 0;
  background-color: var(--bg-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 36px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-soft);
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 28px rgba(56,189,248,0.18);
}

/* =====================================================
   ARTICLES
===================================================== */
.articles {
  padding: 96px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.article-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px;
}

.article-tag {
  font-size: 12px;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

/* =====================================================
   TESTIMONIALS
===================================================== */
.testimonials {
  padding: 110px 0;
  background-color: var(--bg-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
}

.testimonial-card strong {
  display: block;
  margin-top: 18px;
}

.testimonial-card.highlight {
  border-color: var(--color-secondary);
  box-shadow: 0 0 32px rgba(37,99,235,0.28);
}

/* =====================================================
   FAQ
===================================================== */
.faq {
  padding: 96px 0;
}

.faq-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.faq-box details {
  border-bottom: 1px solid var(--border-soft);
  padding: 20px 0;
}

.faq-box summary {
  cursor: pointer;
  font-weight: bold;
}

.faq-box p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
  background-color: var(--bg-dark);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer a {
  color: var(--text-soft);
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-top: 32px;
}

/* =====================================================
   MODAL
===================================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(2,6,23,0.88);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 300;
}

.modal-content {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 520px;
  width: 92%;
  text-align: center;
  position: relative;
  border: 1px solid var(--border-soft);
}

.close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 22px;
  cursor: pointer;
}



/* =====================================================
   COOKIES (FIXO – PADRÃO APROVÁVEL)
===================================================== */
.cookies {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(2,6,23,0.95);
  border-top: 1px solid var(--border-soft);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 500;
  font-size: 13px;
}

.cookies button {
  background-color: var(--color-secondary);
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

/* =====================================================
   RESPONSIVO
===================================================== */
@media (max-width: 768px) {

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: rgba(2,6,23,0.98);
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 72px 0 72px;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .search-box {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 70px;
    right: 16px;
  }

  .whatsapp-float img {
    width: 22px;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 88px; /* SOBE o botão para não bater no cookies */
  right: 20px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 96px; /* espaço seguro para cookies */
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
.whatsapp-tooltip {
  position: absolute;
  right: 62px;
  background: #0b1220;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(4px);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}
