/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIÁVEIS DE COR */
:root {
  --primary: #6E2C43;   /* Bordô */
  --accent: #C49E6C;    /* Dourado */
  --text: #1F2937;      /* Texto */
  --light: #F7F7F7;     /* Fundo claro */
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--primary);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* LOGO */
.logo {
  color: var(--primary);
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: 700;
}

.logo img {
  margin-top:15px;
  height: 50px;
  padding: 0;
}

/* MENU */
.nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav a {
  color: #6E2C43;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

/* underline elegante */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* BOTÃO */
.btn {
  background: var(--accent);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--primary);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  transition: 0.3s;
}

/* HERO COM IMAGEM DE FUNDO */
.hero {
  position: relative;
  padding: 100px 20px;
  background: url('../img/bg.png') no-repeat center center/cover;
  color: var(--white);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80vh;
}

/* Camada escura para melhorar contraste do texto */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero h1,
.hero p {
  position: relative;
  z-index: 2; /* para ficar acima da camada escura */
}

/* HERO TEXTOS */
.hero h1 {
  font-size: 2.2rem;
  color: #6E2C43;
  margin-bottom: 36px;
  line-height: 1.2;
  font-family: "Frank Ruhl Libre", serif;
}

.hero h2 {
  font-size: 1.5rem;
  color: #6E2C43;
  margin-bottom: 60px;
  font-weight: 600;
}

.hero p {
  font-size: 1.2rem;
  color: #6E2C43;
  margin-bottom: 24px;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .hero {
    padding: 80px 15px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 15px;
    min-height: 60vh;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
}


/* MOBILE */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--white);
    display: none;
    border-top: 1px solid #e5e7eb;
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .nav a {
    color: var(--primary);
    font-size: 1.05rem;
  }
}



/* SOBRE */
.sobre {
  padding: 0 0 80px 0;

  text-align: center;
}

.sobre .sobre-title {
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  padding-top: 10px;
}

.sobre .sobre-subtitle {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.2rem;
  font-weight: bolder;
  color: var(--primary);
  line-height: 1.8;
  text-align: justify;
}


.sobre .sobre-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  text-align: justify;
}

.sobre .sobre-text a {
  text-decoration: none;
  font-weight: bold;
  color: #6E2C43;
}

/* Destaque de palavras-chave (opcional) */
.sobre .sobre-text strong {
  color: var(--primary);
  font-weight: 600;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .sobre {
    padding: 60px 20px;
  }
  .sobre .sobre-title {
    font-size: 1.8rem;
  }
  .sobre .sobre-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .sobre {
    padding: 50px 15px;
  }
  .sobre .sobre-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
  .sobre .sobre-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

.sobre-inline {
  display: block;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.sobre-img {
  width: 200px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  margin: 1px 130px 15px 15px;   /* espaço entre texto e imagem */
  float: right;
}
/* VARIAÇÃO: imagem à esquerda */
.sobre-img.left {
  width: 200px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  float: left;
  margin: 1px 15px 15px 130px;
}

@media (max-width: 768px) {
  .sobre-inline {
    display: block; /* tira o flex no mobile */
  }

  .sobre-img {
    width: 160px;            /* imagem menor */
    float: right;            /* imagem ao lado do texto */
    margin: 0 0 10px 15px;   /* espaço entre texto e imagem */
  }

  .sobre-img.left {
    width: 160px;            /* imagem menor */
    float: left;            /* imagem ao lado do texto */
    margin: 0 15px 0 0;   /* espaço entre texto e imagem */
  }
}



/* AREAS CAROUSEL */
.areas-carousel {
  background: #e6e6e4;
  padding: 30px 0;
}

.areas-title {
  text-align: center;
  font-size: 2rem;
  color: #6E2C43;
  margin-bottom: 40px;
}

/* WRAPPER */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

/* TRACK */
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

/* ITEM */
.carousel-item {
  min-width: 300px;
  max-width: 300px;
  background: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  color: #1F2937;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.carousel-item:hover {
  transform: translateY(-6px);
}

/* IMAGE */
.carousel-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* CONTENT */
.carousel-item h3 {
  font-size: 1.1rem;
  color: #6E2C43;
  margin: 16px;
}

.carousel-item p {
  font-size: 0.95rem;
  margin: 0 16px 20px;
  line-height: 1.4;
}

/* BUTTONS */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #6E2C43;
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: #5a2437;
}

.carousel-btn.prev {
  left: -10px;
}

.carousel-btn.next {
  right: -10px;
}

/* MOBILE */
@media (max-width: 768px) {
  .carousel-item {
    min-width: 260px;
    max-width: 260px;
  }

  .carousel-btn {
    display: none;
  }
}

/* DIV EXPLICATIVA DO CARROSSEL */
.carousel-explanation {
  background: #e6e6e4;
  color: var(--text);
  text-align: justify;
  margin: 10px;
  padding-bottom: 30px;
}

.carousel-explanation p {
  max-width: 900px; /* limite de largura para leitura confortável */
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.carousel-explanation p strong {
  color: var(--primary); /* destaca as palavras-chave */
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .carousel-explanation p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .carousel-explanation {
    padding: 40px 15px;
  }
  .carousel-explanation p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}


/* CONTACT SECTION */
.contact-section {
  background: #fff;
  padding: 60px 0;
}

/* TÍTULO */
.contact-title {
  font-size: 2rem;
  font-weight: 600;
  color: #6E2C43;
  margin-bottom: 24px;
  text-align: center; /* só o título */
}

/* LISTA */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;

  max-width: 420px;   /* largura do bloco */
  margin: 0 auto;     /* centraliza o bloco */
}

/* ITEM */
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  color: #1F2937;
}

/* LINKS */
.contact-item a {
  color: #1F2937;
  text-decoration: none;
}

.contact-item a:hover {
  color: #6E2C43;
}

/* ÍCONES */
.contact-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ENVELOPE */
.contact-icon.email::before {
  content: "✉";
  font-size: 18px;
  color: #6E2C43;
}

/* TELEFONE */
.contact-icon.phone::before {
  content: "☎";
  font-size: 18px;
  color: #6E2C43;
}

/* OAB */
.contact-icon.oab::before {
  content: "⚖";
  font-size: 18px;
  color: #6E2C43;
}

.instagram {
  width: 20px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .contact-title {
    font-size: 1.6rem;
  }

  .contact-item {
    font-size: 1rem;
  }
}

/* BOTÃO WHATSAPP FIXO */
.whatsapp-btn {
  position: fixed; /* fica sempre visível */
  bottom: 20px;    /* distância da parte inferior */
  right: 20px;     /* distância da lateral direita */
  background-color: #25D366; /* cor oficial do WhatsApp */
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%; /* botão redondo */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 999;
}

/* efeito hover */
.whatsapp-btn:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}


.whatsapp-container {
  text-align: center; /* centraliza o botão dentro da div */
  margin: 30px 0;
  background-color: #25D366;
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px; /* bordas arredondadas tipo “pill” */
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* espaço para ícone ou emoji */
  z-index: 999;
}

.whatsapp-container a {
  color: #fff;
  text-decoration: none;
}
/* Hover */
.whatsapp-container:hover {
  background-color: #1ebe57;
}


/* FAQ */
.faq-section {
    padding: 80px 0;
    background-color: var(--light);
    text-align: left;
}

.faq-section .faq-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    margin-top: 10px;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
    display: none;
}

/* Ativa o toggle */
.faq-item.active .faq-answer {
    display: block;
}


