/* ========= RESET E BASE ========= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth !important;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ========= CABEÇALHO ========= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #111;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* LOGO */
header .logo {
  text-align: center;
  margin-bottom: 10px;
}

header .logo h1 {
  margin: 0;
  font-size: 2rem;
  font-family: 'Times New Roman', serif;
}

header .logo h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: 2px;
}

/* LINHA DIVISÓRIA */
header hr {
  width: 50px;
  border: 1px solid #fff;
  margin: 10px 0;
}

/* NAV */
header nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  line-height: 40px;
  transition: color 0.3s;
}

header nav a:hover {
  color: #ff9900;
}

/* BOTÃO WHATSAPP */
header nav a.whatsapp-btn {
  background-color: #ff9900;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  display: flex;
  align-items: center;
  height: 40px;
  transition: background-color 0.3s;
}

header nav a.btn-whatsapp:hover {
  background-color: #e88a00;
}

/* ========= ESPAÇO PARA NÃO SOBREPOR ========= */
body::before {
  content: "";
  display: block;
  height: 120px; /* altura aproximada do header */
}

/* ========= BANNER PRINCIPAL ========= */
/* ===== BANNER PADRÃO ===== */
.banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Camada escura */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Conteúdo acima da camada escura */
.banner h1,
.banner p,
.banner a {
  position: relative;
  z-index: 2;
}

.banner h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.6);
}

.banner p {
  font-size: 1.3rem;
  max-width: 700px;
  margin-bottom: 30px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.6);
}

.banner .btn-banner {
  background-color: #ff9900;
  color: white;
  padding: 15px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.banner .btn-banner:hover {
  background-color: #e68a00;
}

/* ===== IMAGENS ESPECÍFICAS POR PÁGINA ===== */
.banner-trabalhista {
  background-image: url('./imags/direito_trabalhista.jpg');
}

.banner-previdenciario {
  background-image: url('./imags/previdencia.jpg');
}

.banner-imobiliario {
  background-image: url('./imags/modelo-de-casa-de-ferias-chave-e-desenho-em-area-de-trabalho-retro-conceito-de-venda-de-imoveis.jpg');
}

.banner-condominial {
  background-image: url('./imags/angulo-baixo-de-edificio-macico-na-cidade.jpg');
}

.banner-desapropriacao {
  background-image: url('./imags/desapropriacao.jpg');
}

.banner-principal {
  background-image: url('./imags/Presentation.jpg');
}


/* ========= SEÇÕES ========= */
section {
  padding: 60px 40px;
  scroll-margin-top: 140px; /* altura do header */
}

section h2 {
  color: #003366;
  font-size: 32px;
  margin-bottom: 20px;
}

section p {
  margin-bottom: 20px;
}

/* ========= ÁREAS ========= */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.area-item {
  flex: 1 1 200px;
  background-color: #fff;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  color: #003366;
  font-weight: bold;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.3s;
}

.area-item:hover {
  transform: translateY(-5px);
}

.area-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.area-item p {
  padding: 10px;
  font-weight: bold;
  color: #003366;
}

/* ========= EQUIPE ========= */
#team {
  padding: 80px 20px;
  background: linear-gradient(180deg, #f9f9f9 0%, #f1f1f1 100%);
}

#team h2 {
  color: #003366;
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Container geral */
.team {
  display: flex;
  justify-content: center;
}

/* Bloco principal */
.member {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1000px;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 35px rgba(0, 0, 0, 0.12);
}

/* Bloco da imagem */
.member .photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.member .photo img {
  width: 220px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.member:hover .photo img {
  transform: scale(1.03);
}

/* Informações da pessoa */
.member .info .name {
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0;
  color: #002b5c;
}

.member .info .role {
  color: #777;
  margin-top: 5px;
  font-size: 1rem;
}

/* Descrição */
.member .description {
  flex: 1;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
}

.member .description p + p {
  margin-top: 15px;
}

/* Responsivo */
@media (max-width: 900px) {
  .member {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .member .description {
    text-align: center;
  }
}


/* ========= DEPOIMENTOS ========= */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.testimonial {
  flex: 1 1 300px;
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========= CONTATO ========= */
.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-info,
.contact-map {
  flex: 1 1 400px;
}

.contact-info p {
  margin-bottom: 10px;
}

iframe {
  border: 0;
  width: 100%;
  height: 300px;
  border-radius: 10px;
}

/* ========= RODAPÉ ========= */
footer {
  text-align: center;
  padding: 20px;
  background-color: #003366;
  color: white;
}

/* ====== SOBRE ====== */
#about {
  padding: 100px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  color: #333;
}

/* título principal */
#about h2 {
  text-align: center;
  color: #002b5c;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 40px;
  position: relative;
}

#about h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ff9800;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* introdução */
#about .intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 60px;
  color: #555;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* container de conteúdo */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* blocos individuais */
.about-block {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08);
}

/* subtítulos */
.about-block h3 {
  color: #002b5c;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  border-left: 5px solid #ff9800;
  padding-left: 12px;
}

/* parágrafos */
.about-block p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  #about {
    padding: 60px 15px;
  }

  #about h2 {
    font-size: 2rem;
  }

  .about-block {
    padding: 30px 25px;
  }

  .about-block h3 {
    font-size: 1.3rem;
  }
}

