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

:root {
  --primary: #1a3c6e;
  --primary-dark: #0f2847;
  --primary-light: #2a5ca8;
  --accent: #e8a317;
  --accent-hover: #c78a0e;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-500: #6c757d;
  --gray-700: #495057;
  --gray-900: #212529;
  --green-whatsapp: #25d366;
  --green-whatsapp-hover: #1da851;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  min-height: 44px;
  padding: 0.6rem 1.5rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-200);
}

.btn-outline:hover {
  background: var(--gray-100);
  border-color: var(--gray-500);
  text-decoration: none;
}

.btn-whatsapp {
  background: var(--green-whatsapp);
  color: var(--white);
  border-color: var(--green-whatsapp);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: var(--green-whatsapp-hover);
  border-color: var(--green-whatsapp-hover);
  text-decoration: none;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  min-height: 36px;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--gray-900);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: var(--radius);
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gray-500);
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav a {
  color: var(--gray-700);
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  background: var(--gray-100);
  text-decoration: none;
}

.nav .btn {
  margin-left: 0.25rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--gray-700);
  min-height: 44px;
  min-width: 44px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 1rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ============================================
   HERO CARD (formulário)
   ============================================ */
.hero-card {
  background: var(--white);
  color: var(--gray-700);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.hero-card h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.hero-card > p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

/* ============================================
   FORMULÁRIOS
   ============================================ */
.form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.3rem;
  margin-top: 0.75rem;
}

.form label:first-of-type {
  margin-top: 0;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: border-color 0.2s;
  min-height: 44px;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(42,92,168,0.15);
}

.form textarea {
  resize: vertical;
  min-height: 80px;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  color: var(--gray-500) !important;
  margin-top: 1rem !important;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  min-height: auto;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.form .btn {
  margin-top: 1rem;
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */
.section {
  padding: 4rem 1rem;
}

.section-alt {
  background: var(--gray-50);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CARDS
   ============================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

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

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.depoimento {
  border-left: 4px solid var(--accent);
  font-style: italic;
}

.depoimento p {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
}

.depoimento footer {
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

/* ============================================
   SOBRE
   ============================================ */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.sobre-text .section-title {
  text-align: left;
}

.sobre-text p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.sobre-list {
  list-style: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border-left: 4px solid var(--primary);
  margin-top: 1rem;
}

.sobre-list li {
  font-size: 0.9rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.sobre-list li:last-child {
  border-bottom: none;
}

.sobre-diferenciais {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.sobre-diferenciais h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.sobre-diferenciais ul {
  list-style: none;
}

.sobre-diferenciais li {
  font-size: 0.95rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.sobre-diferenciais li:last-child {
  border-bottom: none;
}

/* ============================================
   CONTATO
   ============================================ */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contato-info .section-title {
  text-align: left;
}

.contato-info > p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.contato-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.contato-list li {
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.contato-list li:last-child {
  border-bottom: none;
}

.contato-list a {
  color: var(--primary-light);
  font-weight: 600;
}

.contato-obs {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.form-contato {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

/* ============================================
   POLÍTICA DE PRIVACIDADE
   ============================================ */
.politica {
  background: var(--white);
  padding: 3rem 1rem;
}

.politica h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.politica p {
  font-size: 0.9rem;
  max-width: 800px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 2rem 1rem;
  font-size: 0.85rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

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

.footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

/* ============================================
   BANNER LGPD
   ============================================ */
.lgpd-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: var(--white);
  padding: 1rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

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

.lgpd-content p {
  font-size: 0.85rem;
  flex: 1;
  min-width: 250px;
  line-height: 1.5;
}

.lgpd-content a {
  color: var(--accent);
  text-decoration: underline;
}

.lgpd-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lgpd-actions .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
}

.lgpd-actions .btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.lgpd-actions .btn-outline {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.3);
}

.lgpd-actions .btn-outline:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
  }

  .nav-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav .btn {
    margin-left: 0;
    margin-top: 0.5rem;
    justify-content: center;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-card {
    order: -1;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 2.5rem 1rem;
  }

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

  .sobre-grid {
    grid-template-columns: 1fr;
  }

  .contato-grid {
    grid-template-columns: 1fr;
  }

  .lgpd-content {
    flex-direction: column;
    text-align: center;
  }

  .lgpd-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .hero-trust {
    font-size: 0.8rem;
  }

  .card {
    padding: 1.25rem;
  }
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}