﻿:root {
  --bg: #0b0f1a;
  --accent: #5c8cff;
  --accent-soft: #8ea9ff;
  --text: #ffffff;
  --muted: #9aa4c2;
  --success: #25d366;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Inter, sans-serif;
  background: linear-gradient(180deg, #0b0f1a, #11182a);
  color: var(--text);
  overflow-x: hidden;
}

.container {
  width: min(1100px, 92%);
  margin: auto;
}

/* HEADER CORRIGIDO */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px; /* Altura fixa para controle */
  background: rgba(11, 15, 26, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand-logo {
  height: 54px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-self: end; /* antes: center */
}
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  transition: 0.2s;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: none;
} /* Escondido no Desktop */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  border: none;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

/* HERO */
.hero {
  padding: clamp(120px, 15vw, 180px) 0 clamp(60px, 8vw, 100px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(92,140,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(92, 140, 255, 0.12);
  border: 1px solid rgba(92, 140, 255, 0.3);
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.1;
  margin-bottom: 18px;
}
.hero p {
  max-width: 760px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* SEÇÕES E GRIDS */
[id] {
  scroll-margin-top: 90px;
}

#contato {
  scroll-margin-top: 130px;
}

.cta {
  padding-top: 26px;
  padding-bottom: 80px;
}

.section {
  padding: 80px 0;
}
.section-title {
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 30px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.card {
  padding: 30px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover {
  border-color: rgba(92, 140, 255, 0.3);
  transform: translateY(-3px);
}

.about-photo img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.about-text p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
  text-align: justify;
}
.about-text p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  justify-content: center;
  text-align: center;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  min-width: 150px;
}
.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-soft);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ÍCONES DOS CARDS */
.service-card {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 27, 52, 0.98) 0%, rgba(11, 19, 41, 0.96) 100%);
  border: 1px solid rgba(92, 140, 255, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 12px 30px rgba(0, 0, 0, 0.28);
}

.service-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.card-icon {
  font-size: 34px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.cards .card h3 {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
}

.cards .card p {
  color: rgba(214, 224, 255, 0.9);
  line-height: 1.6;
  font-size: clamp(16px, 1.1vw, 22px);
  max-width: 96%;
}
/* FAQ */
#faq.section {
  background: transparent;
}

#faq .section-title {
  text-align: center;
  margin-bottom: 26px;
}

#faq .section-title h2 {
  color: var(--text);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 12px;
}

#faq .section-title p {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
}

.faq-item:hover {
  border-color: rgba(92, 140, 255, 0.3);
  transform: translateY(-1px);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  padding: 18px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-question .faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-soft);
  transition: transform 0.3s;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 24px;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  background: rgba(255, 255, 255, 0.01);
}

.faq-item.is-open .faq-answer {
  max-height: 420px;
  padding: 0 24px 22px;
}

/* FORMULÁRIO */
.cta-box {
  padding: 40px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #111;
}

.cta-box h2 {
  margin-bottom: 16px;
}

.cta-box > p {
  margin-bottom: 28px;
}

form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.85);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
form input,
form select,
form textarea {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  border: none;
  margin-bottom: 20px;
  font-size: 15px;
}

.btn[type="submit"] {
  padding: 18px 38px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  width: auto;
  min-width: 230px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 30px rgba(25, 40, 90, 0.35);
}

.form-submit-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 15, 26, 0.75);
}

.footer-inner {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 26px 0 14px;
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer-brand {
  display: flex;
  justify-content: center;
}

.footer-logo {
  width: min(220px, 100%);
  height: auto;
  display: block;
}

.footer-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

.footer-highlight {
  width: 100%;
  min-height: 110px;
  border: none;
  border-radius: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.footer-social a {
  color: #b8c8ef;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  color: var(--text);
  border-color: rgba(92, 140, 255, 0.5);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9db3e8;
  margin-bottom: 14px;
  text-align: center;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.footer-col ul li a {
  color: #8fb0f0;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.25;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #d2dfff;
}

.footer-bottom {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 14px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: center;
}

.footer-text {
  color: #9ab2e7;
  font-size: 14px;
  text-align: center;
}

/* BOTAO FLUTUANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--success);
  color: #0d2517;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.nav-overlay.is-open ~ .whatsapp-float {
  opacity: 0;
  pointer-events: none;
}

/* MENU HAMBÚRGUER (BOTÃO) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.nav-toggle-bar {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  transition: 0.3s;
}

/* RESPONSIVIDADE */
/* FADE-IN AO ROLAR */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CONFIANÇA NO FORM */
.form-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(17,17,17,0.7);
  margin: 0;
}

@media (max-width: 900px) {
  .container {
    width: min(1100px, 94%);
  }

  .nav-links {
    position: fixed;
    top: 80px; /* abaixo do header */
    right: -100%;
    height: calc(100vh - 80px);
    width: 280px;
    background: #0b0f1a; /* fundo sólido */
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    transition: right 0.4s ease;
    z-index: 1050;
    gap: 8px;
  }

  .nav-links.is-open,
  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    grid-column: 3;
    justify-self: end;
  }

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

  .nav-cta {
    display: flex;
    width: 100%;
  }

  .about-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 0 12px;
  }

  .footer-highlight {
    min-height: 90px;
    font-size: 14px;
  }

  .footer-col h4 {
    font-size: 15px;
  }

  .footer-col ul li a {
    font-size: 13px;
  }

  .footer-text {
    text-align: center;
    font-size: 14px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { margin-bottom: 26px; }
  .section-title h2 { font-size: clamp(24px, 6vw, 32px); }
  .hero h1 { line-height: 1.15; }
  .cta-box { padding: 28px 20px; }
  .card { padding: 22px; }
  .about-stats { gap: 18px; }

  .form-submit-wrapper {
    gap: 12px;
  }

  .btn[type="submit"] {
    padding: 14px 24px;
    font-size: 15px;
    min-width: 160px;
  }

  .form-trust {
    font-size: 13px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-answer {
    font-size: 14px;
    padding: 0 16px;
  }

  .faq-item.is-open .faq-answer {
    padding: 0 16px 16px;
  }
}

@media (max-width: 480px) {
  .brand-logo { height: 42px; }
  .hero-badge { font-size: 12px; }
  .hero p { font-size: 16px; }
  .cta-box { padding: 24px 16px; }
  .whatsapp-float {
    bottom: 10px;
    right: 10px;
  }

  .form-submit-wrapper {
    flex-direction: column;
    gap: 12px;
  }

  .btn[type="submit"] {
    width: 100%;
    padding: 16px 24px;
  }

  .form-trust {
    width: 100%;
    justify-content: center;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  display: none;
  z-index: 1000;
}
.nav-overlay.is-open {
  display: block;
}

.nav-links.active {
  position: fixed;
  top: 80px;
  left: auto;
  right: 0;
  background: #0b0f1a;
  padding: 20px;
  z-index: 1050;
}

.nav-overlay.active {
  display: block;
  z-index: 998;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}












