
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  background: #fff;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px; /* reduzido para deixar o topo mais compacto */
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 5px 0; /* MENOR padding para o header */
  z-index: 1000;
  background: rgba(0, 30, 60, 0.85); /* um pouco mais translúcido */
  backdrop-filter: blur(12px);
}

.logo img {
  height: 80px;
  max-height: 80px;
  object-fit: contain;
}

/* Nav */
.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav ul li {
  margin: 0 15px;
}

.nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav ul li a:hover {
  color: #ffd700;
}

/* Hero */
.hero {
  background: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
}

.hero p {
  font-size: 20px;
  margin-top: 10px;
}

/* Seções */
.section {
  padding: 180px 20px;
  text-align: center;
}

.section.bg1, .section.bg2, .section.bg3 {
  color: #fff;
}

.footer {
  text-align: center;
  padding: 20px;
  background: #001933;
  color: #fff;
}

/* Botão WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
}

/* Responsivo */
@media(max-width:768px){
  .nav ul {
    flex-direction: column;
    background: rgba(0,30,60,0.9);
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    display: none;
  }
  .nav ul.show {
    display: block;
  }
  .cards{
    flex-direction: column;
    align-items: center;
  }
}

/* Área de Atuação */
.area-atuacao {
  display: flex;
  align-items: stretch;
  min-height: 400px;
  margin-bottom: 20px;
}

.area-atuacao .texto {
  flex: 1;
  padding: 40px;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
}

.area-atuacao .texto h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #001933;
}

.area-atuacao .texto p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.area-atuacao .imagem {
  flex: 1;
  background-size: cover;
  background-position: center;
  border-left: 5px solid #001933;
}

/* Quem Sou Página Atualizada */
.quem-sou-page {
  display: flex;
  min-height: 90vh;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.quem-sou-image {
  flex: 1;
  height: 100%;
}

.quem-sou-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 20px 20px 0;
}

.quem-sou-texto {
  flex: 1;
  padding: 40px;
  text-align: justify;
  background: #f5f5f5;
  color: #333;
}

.quem-sou-texto h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #001933;
}

.quem-sou-texto p {
  font-size: 20px;
  line-height: 1.8;
}


/* Página Sobre estilo similar à Quem Sou */
.sobre-page {
  display: flex;
  min-height: 90vh;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.sobre-image {
  flex: 1;
  height: 100%;
}

.sobre-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 20px 20px 0;
}

.sobre-texto {
  flex: 1;
  padding: 40px;
  text-align: justify;
  background: #f5f5f5;
  color: #333;
}

.sobre-texto h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #001933;
}

.sobre-texto p {
  font-size: 20px;
  line-height: 1.8;
}


.area-atuacao .imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 20px 20px 0;
}


/* Corrigir o conteúdo abaixo do menu fixo */
.quem-sou-page,
.sobre-page,
.area-atuacao {
  margin-top: 120px;
}


/* Novo comportamento do header ao rolar */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(0, 30, 60, 0.9);
  transition: background-color 0.5s, backdrop-filter 0.5s;
  z-index: 1000;
}

.header.transparent {
  background: rgba(0, 30, 60, 0.5);
  backdrop-filter: blur(8px);
}

/* Corrigir espaço após header fixo */
.quem-sou-page,
.sobre-page,
.area-atuacao {
  margin-top: 120px;
}

.area-atuacao .imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 20px 20px 0;
}


.contato-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

.contato-page .imagem {
  flex: 1;
}

.contato-page .imagem img {
  width: 100%;
  height: auto;
  border-radius: 20px 0 0 20px;
}

.contato-page .texto {
  flex: 1;
  padding: 30px;
}


/* Efeito para crescer o ícone do WhatsApp no hover */
.whatsapp-float img {
  transition: transform 0.3s ease;
}

.whatsapp-float:hover img {
  transform: scale(1.2);
}


/* Ajuste específico para reduzir o espaço entre blocos na Área de Atuação */
.area-atuacao .texto {
  margin-bottom: 10px;
}


/* Animações para o MENU - FINAL_002 */
.menu a {
  position: relative;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #ffcc00;
  transition: width 0.3s ease;
}

.menu a:hover {
  color: #ffcc00;
  transform: scale(1.1);
}

.menu a:hover::after {
  width: 100%;
}


/* Correção - Deixar o MENU com crescimento no hover */
.menu a {
  display: inline-block;
}


/* Ajuste para a imagem da página Contato começar abaixo do menu */
.contato-page {
  padding-top: 120px;
}
