/* Importando a fonte DM Sans */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/* Reset básico */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.whatsapp-fixo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.whatsapp-fixo img {
  width: 40px;
  height: 40px;
  display: block;
}

.whatsapp-fixo:hover {
  transform: scale(1.1);
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 28, 30, 1); /* Azul mais forte */
  border-bottom: 1px solid rgba(229, 229, 229, 0.5);
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.button-home {
  background-color: #B17143;
  color: #FFFFFF;
  font-weight: 500;
  padding: 15px 30px;
  border: none;
  font-size: 1em;
}

.button-home:hover {
  background: #A95920;
}

.button-home a {
  text-decoration: none;
  color: #ffffff;
}

header .logo {
  margin-left: 20px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  max-width: 200px;
}

nav {
  text-transform: uppercase;
  margin-right: 75px;
}

header nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 500;
  position: relative; /* Necessário para efeito */
  display: inline-block; /* Garante que a transformação funcione corretamente */
  transition: color 0.3s, transform 0.1s ease-out;
}

header nav a:hover {
  color: #fafafa;
  transform: translateX(-3px);
}



/* Hero */
#hero {
  max-width: 100%;
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  padding: 120px 20px;
  text-align: center;
}

.background-home {
  height: 98vh;
  background: linear-gradient(to right, rgba(8, 28, 30, 0.95) 0%, rgba(8, 28, 30, 0.85) 20%, rgba(8, 28, 30, 0.5) 40%, rgba(8, 28, 30, 0) 100%), url('https://res.cloudinary.com/dnryyuihg/image/upload/v1744288477/gavel-with-books-old-wooden-desk_1_igsg18.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}




#hero h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 50px;
  margin-top: 15px;
}

#hero p {
  font-size: 0.9rem;
  color: #FFFFFF;
}

.hero-content h1{
  font-weight: 400;
}

#second {
	background-color: #081C1E; /* Cor de fundo */
	padding: 30px 20px; /* Espaçamento interno */
	text-align: start; /* Centraliza o texto */
	position: relative; /* Para posicionar a linha se precisar */
	max-width: 100%;
  }
  
  #second p {
	color: #ffffff; /* Cor do texto */
	font-size: 24px; /* Tamanho da fonte */
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
	position: relative;
	display: inline-block; /* Faz o parágrafo se comportar como elemento de bloco em linha, para a linha branca */
	padding-top: 20px; /* Espaço para a linha */
	margin-top: 55px;
	margin-left: 100px;
  }
  
  /* Linha branca de 4px acima do texto */
  #second p::before {
	content: "";
	display: block;
	width: 80px; /* Tamanho da linha */
	height: 2px;
	background-color: #ffffff;
	margin: 0 auto;
	position: absolute;
	top: 0;
	left: 0;
  }

/* Seções gerais */
section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
}

/* Proposito */

#proposito {
  display: flex;
  justify-content: flex-start; /* Alinha a imagem à esquerda */
  align-items: center;
  gap: 50px;
  max-width: 100%;
  padding-left: 0;
}

.proposito-picture {
  flex: 1;
  max-width: 40%; /* Define um limite para a imagem */
}

.proposito-picture img {
  width: 90%;
  height: auto;
  display: block;
}

.proposito-item {
  flex: 1;
  padding: 20px;
  gap: 70px;
}

.proposito-item h2{
  font-size: 3em;
  text-align: start; 
  margin-bottom: 0;
}

.proposito-item h4{
  font-weight: 300;
	margin: 0;
	font-size: 0.7rem;
	letter-spacing: 4px;
}

#proposito p {
  margin-bottom: 40px;
  max-width: 90%;
  margin-top: 30px;
}

/* Responsividade */
@media (max-width: 900px) {
  #proposito {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .proposito-picture, .proposito-item {
    max-width: 100%;
  }
}

/* Sobre */

.line-blue {
  height: 10px;
  background-color: #081C1E;
  margin: 0;
  padding: 0;
}

#sobre {
	background-color: #B17143;
	display: flex;
	justify-content: center; /* Centraliza o conteúdo */
	align-items: center; /* Alinha no eixo transversal (vertical) */
	gap: 10px;
	max-width: 100%;
	flex-wrap: wrap; /* Para quebrar em mobile */
	padding-left: 100px;
	padding-right: 100px;
  }
  
  /* Lado esquerdo (títulos, linha e botão) */
  .sobre-left {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
	gap: 20px;
	flex: 1;
	color: #ffffff;
  margin-left: 10%;
  }
  
  .sobre-left h4 {
	font-weight: 200;
	margin: 0;
	font-size: 0.7rem;
	letter-spacing: 4px;
  }
  
  .sobre-left h2 {
	margin: 0;
	font-size: 3rem;
  }
  
  .linha {
	display: block;
	width: 60px;
	height: 2px;
	background-color: #ffffff;
  }
  
  /* Botão "Conversar agora" */
  .botao-conversar {
	padding: 12px 30px;
	background-color: #081C1E;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
  margin-top: 40px;
	transition: background-color 0.3s ease;
  }
  
  .botao-conversar:hover {
	background-color: #081C1E;
  }
  
  /* Lado direito (texto) */
  .sobre-right {
	flex: 2;
	color: #ffffff;
	justify-content: center;
  }
  
  .sobre-right p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin: 0;
	max-width: 95%;
  }
  
  /* Responsividade para telas pequenas */
  @media (max-width: 900px) {
	#sobre {
	  flex-direction: column;
	  align-items: flex-start;
	}
  
	.sobre-left, .sobre-right {
	  width: 100%;
	  max-width: 100%;
	}
  
	.sobre-left {
	  align-items: center;
	  text-align: center;
	}
  
	.sobre-right p {
	  text-indent: 0;
	  margin-top: 20px;
	}
  }
  
  /* Linha branca fina */
  .linha {
	display: block;
	width: 60px;
	height: 2px;
	background-color: #FFFFFF;
  }
  
  /* Botão "Conversar agora" */
  .botao-conversar {
	padding: 10px 25px;
	background-color: #081C1E; /* Azul escuro, ajuste se quiser outro tom */
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s ease;
  }
  
  .botao-conversar:hover {
	background-color: #00284e; /* Azul mais escuro ao passar o mouse */
  }
  
  /* Parágrafo de texto */
  #sobre p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-top: 20px;
	text-align: start;
  }

/* Áreas de Atuação */

#areas h2 {
	font-size: 32px;
}

.areas-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  align-items: stretch; /* Altura igual */
  justify-content: center;
  margin: 0 auto; /* Centraliza o container na página */
}

.area-card {
	background: #fafafa;
	padding: 30px 20px;
	border-radius: 10px;
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s, box-shadow 0.3s;
	display: flex;
	flex-direction: column; /* Força o conteúdo a se alinhar em coluna */
	height: 100%; /* Faz o card ocupar a altura total disponível */
  }

.area-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.area-card p {
  color: #363940;
  font-size: 0.95rem;
}

.area-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.area-card img {
	max-width: 70px;
	padding: 10px;
}

/* Contato */

#contato {
	background-color: #081C1E;
	max-width: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#contato h2 {
	color: #fff;
}

.contato-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input, form textarea {
  padding: 15px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

form button {
  padding: 15px;
  background: #B17143;
  color: white;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #A95920;
}

.contato-info {
  flex: 1;
  min-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: #FFFFFF;
  font-weight: 300;
}

.contato-info p {
  line-height: 1.6;
  font-weight: 300;
}

.info-item {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.info-item img {
  margin-top: 10px;
  width: 32px;
  height: 32px;
  object-fit: contain;
}


/* Footer */
footer {
  background: #081C1E;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
  header {
    flex-direction: column;
  }

  header .logo {
    margin-left: 0;
  }

  .logo img {
    max-width: 130px;
  }

  header nav {
    margin-top: 10px;
  }

  header nav a {
    margin-left: 0;
  }

  #contato {
	align-items:flex-start;
	justify-content: flex-start;
  }

  .contato-content {
    flex-direction: column;
  }
}

button {
	border-radius: 0;
}




/* ========== MENU RESPONSIVO ========== */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: white;
  background: none;
  border: none;
  padding: 10px;
}

@media (max-width: 900px) {

  .background-home {
    max-height: 80vh;
  }

    header {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
    }
  
    .menu-toggle {
      display: block;
    }
  
    nav {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: rgba(8, 28, 30, 0.95);
      padding: 20px 0;
      text-align: center;
    }
  
    nav a {
      display: block;
      padding: 15px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
  
    nav.active {
      display: flex;
    }

    form input, form textarea, .contato-content button  {
      max-width: 100%;
    }

    .contato-info {
      min-width: auto;
    }

    .info-item {
      gap: 20px;
    }

    nav {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, opacity 0.3s ease;
      opacity: 0;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: rgba(8, 28, 30, 0.95);
      z-index: 999;
      pointer-events: none;
    }
    
    nav.active {
      max-height: 500px; /* o suficiente pra exibir todos os links */
      opacity: 1;
      pointer-events: all;
      margin-top: 0;
    }

  }

/* ========== HERO ========== */
@media (max-width: 900px) {
  #hero {
    padding: 60px 20px;
    text-align: center;
    height: 60vh;
  }

  .quebra-linha {
    display: none;
  }

  #hero h1 {
    font-size: 1.5em;
    line-height: 1.3;
  }

  .button-home {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* ========== PROPÓSITO ========== */
@media (max-width: 900px) {
  #proposito {
    flex-direction: column-reverse;
    text-align: left;
  }

  .proposito-picture img {
    max-width: 80%;
  }

  #proposito p {
    max-width: 100%;
  }

  .proposito-picture {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .proposito-item h2, .sobre-left h2, #areas h2, #contato h2{
    font-size: 2em;
  }

  #areas h2 {
    text-align: start;
    margin-bottom: 20px;
  }

  .area-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);

  }

  #proposito p, #sobre p {
    font-size: 0.95em;
  }

  #second p {
    font-size: 1.3em;
  }
}

/* ========== SOBRE ========== */
@media (max-width: 900px) {
  #sobre {
    flex-direction: column;
    padding: 40px 20px;
    text-align: left;
  }

  .sobre-left {
    align-items: flex-start;
    margin: 0;
  }

  .botao-conversar {
    margin-top: 20px;
  }

  #second p {
    padding: 20px;
    margin: 0;
  }

  #second p::before {
    margin: auto;
    margin-left: 20px;
  }
}

.line-footer {
  height: 1px;
  background-color: #ffffff;
  width: 90%;
  margin: 0 auto;
  margin-bottom: 180px;
}

@media (max-width: 900px) {
  .line-footer {
    margin-bottom: 50px;
  }

  .footer p {
    font-size: 0.95em;
  }
}