/* RESET E BASE */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #374151;
  background-color: #F9FAFB;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #1F2937;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #7F1D1D;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  margin-bottom: 12px;
}

/* TOP BAR */

.top-bar {
  background-color: #1F2937;
  color: #D1D5DB;
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-link {
  color: #D1D5DB;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-link:hover {
  color: #F9FAFB;
  text-decoration: none;
}

.top-bar-icon {
  /* Estilo para ícones do Font Awesome */
  font-size: 1rem;
}

.top-bar-sep {
  color: #4B5563;
}

/* HEADER */

.site-header {
  background-color: #ffffff;
  padding: 16px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 70;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 50px; /* Ajuste conforme o tamanho da sua logo */
  width: auto;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: #374151;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link-active {
  color: #7F1D1D;
  text-decoration: none;
}

/* HERO SECTION (HOME) */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F9FAFB;
  text-align: left;
  overflow: hidden; /* Garante que a imagem de fundo não vaze */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Garante que a imagem cubra todo o espaço */
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 24, 39, 0.7); /* Overlay azul escuro */
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); /* Texto maior, foto menor */
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}

.hero-text {
  max-width: 550px;
}

.hero-text h1 {
  color: #F9FAFB;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.15rem;
  color: #E5E7EB;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #7F1D1D;
  color: #F9FAFB;
  border: 2px solid #7F1D1D;
}

.btn-primary:hover {
  background-color: #991B1B;
  border-color: #991B1B;
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: #F9FAFB;
  border: 2px solid #F9FAFB;
}

.btn-secondary:hover {
  background-color: #F9FAFB;
  color: #1F2937;
  text-decoration: none;
}

.hero-photo {
  text-align: center;
}

.hero-photo-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* SEÇÃO SOBRE (HOME) */

.section-sobre {
  background-color: #ffffff;
}

.sobre-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 40px;
  align-items: center;
}

.sobre-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sobre-photo-img {
  width: 100%;
  height: auto;
  display: block;
}

.sobre-text h2 {
  margin-bottom: 16px;
}

.sobre-text p {
  margin-bottom: 12px;
}

.sobre-assinatura {
  font-weight: 600;
  color: #1F2937;
  margin-top: 20px;
}

/* ÁREAS DE ATUAÇÃO (HOME) */

.section-areas {
  background-color: #F3F4F6;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.area-card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.area-card:hover {
  transform: translateY(-5px);
}

.area-card h3 {
  color: #7F1D1D;
  margin-bottom: 12px;
}

.area-card p {
  font-size: 0.95rem;
  color: #4B5563;
  margin-bottom: 16px;
}

.read-more {
  color: #7F1D1D;
  font-weight: 600;
}

.read-more:hover {
  text-decoration: underline;
}

/* METODOLOGIA (HOME) */

.section-metodo {
  background-color: #1F2937;
  color: #F9FAFB;
}

.section-title-light {
  color: #F9FAFB;
}

.section-sub-light {
  color: #E5E7EB;
}

.metodo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.metodo-item {
  padding: 20px;
  border-radius: 8px;
}

.metodo-icon {
  width: 60px;
  height: 60px;
  background-color: #7F1D1D;
  color: #F9FAFB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.metodo-item h3 {
  color: #F9FAFB;
  margin-bottom: 12px;
}

.metodo-item p {
  color: #D1D5DB;
}

/* PROVA SOCIAL / DEPOIMENTOS */

.section-depoimentos {
  background-color: #ffffff;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.depoimento-card {
  background-color: #F9FAFB;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.depoimento-card p {
  font-style: italic;
  margin-bottom: 16px;
  color: #4B5563;
}

.depoimento-autor {
  font-weight: 600;
  color: #1F2937;
}

.depoimento-desc {
  font-size: 0.9rem;
  color: #6B7280;
}

/* CTA FINAL */

.section-cta-final {
  background-color: #7F1D1D;
  color: #F9FAFB;
  text-align: center;
}

.section-cta-final h2 {
  color: #F9FAFB;
  margin-bottom: 24px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 999px;
  background-color: #F9FAFB;
  color: #111827;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-cta:hover {
  background-color: #E5E7EB;
  text-decoration: none;
}

/* FOOTER */

.site-footer {
  background-color: #0B1120;
  color: #E5E7EB; /* Cor padrão do texto do footer */
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 32px 16px 24px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.9rem;
  color: #D1D5DB; /* Descrição do rodapé em cinza claro */
}

.footer-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #FFFFFF; /* Títulos do rodapé em branco */
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 4px;
}

.footer-list a {
  color: #E5E7EB; /* Links do rodapé em branco/quase branco */
  text-decoration: none;
}

.footer-list a:hover {
  color: #FFFFFF; /* Links do rodapé em branco ao passar o mouse */
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #111827;
  text-align: center;
  font-size: 0.8rem;
  color: #D1D5DB; /* Texto do copyright em cinza claro */
  padding: 10px 16px 16px;
}

/* WHATSAPP FLUTUANTE */

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #22C55E;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  z-index: 80;
}

/* CONTATO / ÁREAS DETALHE (para páginas internas) */

.section-contato {
  background-color: #F9FAFB;
}

.contato-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.contato-form-wrapper {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  padding: 20px;
}

.contato-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.contato-form input,
.contato-form textarea {
  border-radius: 6px;
  border: 1px solid #D1D5DB;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.95rem;
}

.contato-form input:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: #B91C1C;
  box-shadow: 0 0 0 1px rgba(185, 28, 28, 0.2);
}

.form-note {
  font-size: 0.8rem;
  color: #6B7280;
}

.area-detalhe {
  margin-bottom: 32px;
}

.area-sep {
  border: none;
  border-top: 1px solid #E5E7EB;
  margin: 24px 0;
}

/* HERO INTERNAS */

.hero-interna {
  background-color: #111827;
  color: #F9FAFB;
  padding: 80px 0; /* Adicionado padding para dar espaço ao conteúdo */
}

.hero-interna .hero-sub,
.hero-sub-light {
  color: #E5E7EB;
}

/* ESTILOS ESPECÍFICOS PARA A PÁGINA SOBRE */

.section-sobre-detalhe {
  background-color: #ffffff;
  padding: 64px 0;
}

.sobre-detalhe-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: flex-start; /* Alinha o conteúdo ao topo */
}

.sobre-detalhe-img-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sobre-img-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sobre-detalhe-img {
  width: 100%;
  height: auto;
  display: block; /* Remove espaço extra abaixo da imagem */
}

.sobre-detalhe-text-col h2 {
  margin-bottom: 16px;
}

.sobre-detalhe-text-col p {
  margin-bottom: 12px;
}

/* Cor para textos específicos na página Sobre e Metodologia (Home) */
.canva-red-text {
  color: #cc0000 !important; /* Adicionado !important para garantir a sobrescrita */
}

.dif-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.dif-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dif-list li i { /* Estilo para o ícone de check */
  color: #22C55E; /* Verde */
  font-size: 1.2rem;
}

/* Estilos para a seção de Áreas na página Sobre */
.section-areas-sobre {
  background-color: #ffffff;
  padding: 64px 0;
}

.section-areas-sobre .section-title {
  color: #cc0000; /* Vermelho do Canva */
  text-align: center;
  margin-bottom: 40px;
}

.areas-list-sobre {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.areas-list-sobre .area-item-sobre h3 {
  color: #cc0000; /* Vermelho do Canva */
  margin-bottom: 8px;
}

/* RESPONSIVO */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    min-height: auto;
  }

  .hero-photo {
    order: 2;
  }

  .hero-text {
    order: 1;
    max-width: 100%;
  }

  .sobre-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .areas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metodo-line {
    flex-wrap: wrap;
  }

  .prova-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contato-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sobre-detalhe-grid {
    grid-template-columns: minmax(0, 1fr); /* Colunas empilhadas em mobile */
  }

  .sobre-detalhe-img-col {
    flex-direction: row; /* Imagens lado a lado em telas menores, se couber */
    flex-wrap: wrap;
    justify-content: center;
  }

  .sobre-img-wrapper {
    flex: 1 1 45%; /* Permite que as imagens ocupem quase metade da largura */
    max-width: 300px; /* Limita o tamanho máximo */
  }
}

@media (max-width: 640px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .areas-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .sobre-detalhe-img-col {
    flex-direction: column; /* Empilha as imagens novamente em telas muito pequenas */
  }

  .sobre-img-wrapper {
    flex: 1 1 100%; /* Ocupa a largura total */
    max-width: 100%;
  }
}