/* ================================
   RESET
================================= */

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

/* ================================
   VARIÁVEIS
================================= */

:root {
  --primary-dark: #023d59; /* extraído da logo (azul escuro) */
  --primary-blue: #2c5d75; /* azul secundário da logo */
  --accent-green: #003a57; /* usado como cor de destaque (azul) */
  --light-bg: #fbfdff; /* fundo claro harmonizado com a logo */
  --white: #ffffff;
  --text-dark: #1e293b;
}

/* ================================
   BASE
================================= */

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

/* ================================
   TIPOGRAFIA RESPONSIVA
================================= */

h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(22px, 4vw, 32px);
  margin-bottom: 15px;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 16px;
  font-size: clamp(15px, 2.5vw, 17px);
}

/* ================================
   HEADER
================================= */

.header {
  background: var(--primary-dark);
  padding: 10px 0; /* reduzido para área de menu mais compacta */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--white);
  font-weight: 600;
  font-size: 20px;
}

.logo-img {
  height: 80px; /* aumentado para maior destaque */
  width: auto;
  display: block;
}

/* Ajustes para header/menu mais compacto */
.header-container {
  gap: 12px;
}

.nav {
  display: flex;
  gap: 18px; /* diminui espaçamento entre itens do menu */
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 13px; /* ligeiramente menor para caber melhor */
  transition: 0.3s;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px; /* menor para reduzir área do botão */
  color: var(--white);
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.nav a:hover {
  color: var(--accent-green);
}

/* ================================
   MENU MOBILE
================================= */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--white);
  cursor: pointer;
}

/* ================================
   HERO
================================= */

.hero {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: var(--white);
  text-align: center;
}

.hero p {
  max-width: 700px;
  margin: 20px auto;
  opacity: 0.9;
}

/* ================================
   BOTÕES
================================= */

.btn-primary,
.btn-outline {
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  margin: 8px;
  transition: 0.3s ease;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
}

/* ================================
   SECTIONS
================================= */

.section {
  padding: 80px 0;
}

.section-light {
  background: var(--light-bg);
}

/* ================================
   GRID RESPONSIVO
================================= */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

/* ================================
   CARDS
================================= */

.card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

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

/* ================================
   TESTIMONIALS
================================= */

.testimonials {
  padding: 80px 0;
  background: var(--light-bg);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stars {
  color: #facc15;
  margin-bottom: 12px;
}

/* ================================
   FOOTER
================================= */

.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  opacity: 0.7;
}

/* ================================
   WHATSAPP
================================= */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent-green);
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ================================
   RESPONSIVIDADE
================================= */

@media (max-width: 992px) {

  .hero {
    padding: 90px 0;
  }

}

@media (max-width: 768px) {

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* reduzido para menu móvel ficar mais próximo do header */
    right: 0;
    width: 100%;
    background: var(--primary-dark);
    padding: 18px; /* padding reduzido para área menor */
    text-align: center;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    font-size: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 70px 0;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 320px;
  }

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

}

@media (max-width: 480px) {

  .hero {
    padding: 60px 0;
  }

  .section {
    padding: 60px 0;
  }

  .logo-img {
    height: 60px; /* logo maior em telas pequenas */
  }

}

/* ===============================
   PROVA SOCIAL
================================= */

.testimonials {
  padding: 90px 0;
  background: var(--light-bg);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  transition: 0.4s ease;
  text-align: left;
}

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

.stars {
  color: #facc15;
  margin-bottom: 15px;
  font-size: 18px;
}

.client-name {
  font-weight: 600;
  margin-top: 20px;
}

.client-role {
  font-size: 14px;
  opacity: 0.7;
}