/* ===============================================
   RESET BÁSICO
   =============================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===============================================
   BASE GERAL
   =============================================== */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', Helvetica, sans-serif;
  font-weight: 400;
  color: #2a2a2a;
  background-color: #ffffff;
  line-height: 1.7;
}

/* Títulos usam Playfair Display (serifada, elegante) */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Container centralizado usado em todas as seções */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Título de seção padrão */
.titulo-secao {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #100f0f;
  text-align: center;
  margin-bottom: 0.5rem;
}

.titulo-secao--claro {
  color: #ffffff;
}

.subtitulo-secao {
  text-align: center;
  color: #555;
  font-size: 1rem;
  margin-bottom: 3rem;
}

.subtitulo-secao--claro {
  color: #ccc;
}


/* ===============================================
   CABEÇALHO / NAV
   =============================================== */
.cabecalho {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #100f0f;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.cabecalho-interno {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

/* Lista de links de navegação */
.navegacao ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navegacao a {
  color: #e8e8e8;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.navegacao a:hover {
  color: #ffffff;
}

/* Botão verde "Fale conosco" */
.btn-cta {
  background-color: #49a311;
  color: #ffffff !important;
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem !important;
  transition: background-color 0.2s, transform 0.15s;
}

.btn-cta:hover {
  background-color: #3d8d0e;
  transform: translateY(-1px);
}

/* Checkbox e botão hamburguer — ocultos no desktop */
.menu-toggle {
  display: none;
}

.menu-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.menu-label span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #e8e8e8;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}


/* ===============================================
   HERO
   =============================================== */
.hero {
  background-color: #C5D9E2;
  padding: 100px 0 80px;
  text-align: center;
}

.hero-subtitulo {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #49a311;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #100f0f;
  margin-bottom: 1.25rem;
}

.hero-texto {
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: #3a3a3a;
}

.btn-hero {
  display: inline-block;
  background-color: #100f0f;
  color: #ffffff;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  transition: background-color 0.2s, transform 0.15s;
}

.btn-hero:hover {
  background-color: #2a2a2a;
  transform: translateY(-2px);
}


/* ===============================================
   ÁREAS DE ATUAÇÃO — CARDS
   =============================================== */
.areas {
  padding: 80px 0;
  background-color: #f4f0eb;
}

/* Grid responsivo: começa com 1 coluna, vai abrindo */
.grid-areas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card-area {
  background-color: #ffffff;
  border: 1px solid #e0dbd3;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card-area:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.card-icone {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.card-area h3 {
  font-size: 1.1rem;
  color: #100f0f;
  margin-bottom: 0.5rem;
}

.card-area p {
  font-size: 0.92rem;
  color: #555;
}

/* Card de destaque (Previdenciário) com borda dourada */
.card-destaque {
  border-color: #b8962e;
  border-width: 2px;
}

.card-destaque h3 {
  color: #8a6d1b;
}


/* ===============================================
   SEÇÃO PREVIDENCIÁRIO
   =============================================== */
.previdenciario {
  background-color: #100f0f;
  padding: 80px 0;
  text-align: center;
}

.lista-prev {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.lista-prev li {
  background-color: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #e8e8e8;
  padding: 0.7rem 1.6rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.2s;
}

.lista-prev li:hover {
  background-color: rgba(73, 163, 17, 0.25);
  border-color: #49a311;
  color: #ffffff;
}


/* ===============================================
   FRENTE DO ESCRITÓRIO
   =============================================== */
.frente-escritorio {
  padding: 80px 0;
  background-color: #f4f0eb;
}

.foto-frente {
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
  /* CORRIGIDO: rgba com 3 parâmetros + alpha, não 4 vírgulas */
  box-shadow: 0 6px 32px rgba(0,0,0,0.13);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.foto-frente img {
  width: 100%;
  height: auto;
  display: block;
}

.foto-frente figcaption {
  background-color: #100f0f;
  color: #aaa;
  text-align: center;
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  letter-spacing: 0.03em;
}


/* ===============================================
   LOCALIZAÇÃO
   =============================================== */
.localizacao {
  padding: 80px 0;
  background-color: #eef3f6;
}

/* Lado a lado: endereço + mapa */
.loc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.loc-info h3 {
  font-size: 1.2rem;
  color: #100f0f;
  margin-bottom: 0.75rem;
}

.loc-info p {
  font-size: 0.97rem;
  color: #444;
  font-style: normal;
  line-height: 1.9;
}

.loc-dicas {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.loc-dicas li {
  font-size: 0.92rem;
  color: #555;
}

/* Iframe do mapa responsivo */
.mapa-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  line-height: 0;
}

.mapa-wrapper iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}


/* ===============================================
   RODAPÉ / CONTATO
   =============================================== */
.rodape {
  background-color: #100f0f;
  color: #ccc;
  padding: 60px 0 30px;
}

.rodape-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.rodape-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.rodape-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #aaa;
}

.rodape-col h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.rodape-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rodape-col a {
  font-size: 0.9rem;
  color: #aaa;
  transition: color 0.2s;
}

.rodape-col a:hover {
  color: #ffffff;
}

/* Linha divisória e copyright */
.rodape-copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: #666;
}


/* ===============================================
   RESPONSIVIDADE — TABLET (até 900px)
   =============================================== */
@media (max-width: 900px) {
  .loc-wrapper {
    grid-template-columns: 1fr;
  }

  .mapa-wrapper iframe {
    height: 360px;
  }
}


/* ===============================================
   RESPONSIVIDADE — MOBILE (até 680px)
   =============================================== */
@media (max-width: 680px) {

  /* Mostra o botão hamburguer */
  .menu-label {
    display: flex;
  }

  /* Esconde o nav por padrão */
  .navegacao {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #1a1919;
    padding: 1.5rem 1.5rem 2rem;
  }

  .navegacao ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .navegacao a {
    font-size: 1.05rem;
  }

  /* Quando o checkbox estiver marcado, abre o menu */
  .menu-toggle:checked ~ .navegacao {
    display: block;
  }

  /* Animação das barras do hamburguer quando aberto */
  .menu-toggle:checked ~ .menu-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle:checked ~ .menu-label span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero menor no mobile */
  .hero {
    padding: 70px 0 60px;
  }

  /* Cards em coluna única */
  .grid-areas {
    grid-template-columns: 1fr;
  }

  /* Endereço e mapa em coluna única */
  .loc-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mapa-wrapper iframe {
    height: 300px;
  }

  /* Rodapé em coluna única */
  .rodape-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
