@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;600;700;800&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #ffffff;
  color: #111111;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 1.1rem;
  font-weight: 400;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.topbar-logo {
  height: 40px;
}

.topbar nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #111;
  /* font-weight: 600; */
  position: relative;
  /* font-size: 1.1rem; */
}

.topbar nav a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: #0b0c10;
  transition: 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.topbar nav a:hover::after {
  width: 100%;
}

/* HERO COM IMAGEM E TEXTO ABSOLUTO */
.hero {
  position: relative;
  background-image: url("backgroundHomeClean.png");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  width: 100%;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  color: white;
  max-width: 90%;
  width: 600px;
}

.hero-content h1 {
  font-family: "DM Serif Display", serif;
  font-size: 3.5rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content .subtitle {
  font-size: 1.3rem;
  color: #ccc;
  margin-bottom: 2rem;
  font-weight: 400;
}

.logo {
  max-width: 100px;
  margin-bottom: 25px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background-color: #25d366;
  color: white;
  border: none;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #1ebc5c;
}

.whatsapp-btn img {
  height: 20px;
  margin-right: 10px;
}

/* TÍTULOS */
h1,
h2 {
  font-family: "DM Serif Display", serif;
  color: #111;
  font-weight: 700;
}

h1 {
  font-size: 2.7rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* OUTRAS SEÇÕES */
.split-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 60px 0;
  gap: 20px;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.image-side,
.text-side {
  flex: 1 1 500px;
  max-width: 600px;
}

.text-author {
  flex: 1 1 800px;
  max-width: 800px;
  margin-top: 92px;
  margin-bottom: 92px;
}

.image-side img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.text-side {
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 400;
}

/* ÁREAS DE ATUAÇÃO */
.atuacao-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.atuacao-grid div {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 500;
}

blockquote {
  font-family: "DM Serif Display", serif;
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 10px;
  border-left: 4px solid #25d366;
  padding-left: 20px;
  font-weight: 500;
}

.quote-author {
  font-family: "Inter", sans-serif;
  font-weight: bold;
  color: #62635f;
}

/* FOOTER */
footer {
  background-color: #0b0c10;
  color: #f0f0f0;
  padding: 40px 20px;
}

footer h2 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
}

footer p,
footer a {
  font-size: 1.1rem;
  font-weight: 400;
}

footer a {
  color: #25d366;
  text-decoration: none;
  margin-right: 15px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .hero-content {
    position: static;
    transform: none;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5);
    margin-top: -60vh;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border-radius: 12px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content .subtitle {
    font-size: 1.1rem;
  }

  .logo {
    margin: 0 auto 20px auto;
  }

  .atuacao-grid {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .text-side,
  .image-side {
    max-width: 100%;
    padding: 0;
  }

  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  blockquote {
    font-size: 1.25rem;
  }

  footer h2 {
    font-size: 1.5rem;
  }

  footer p,
  footer a {
    font-size: 1rem;
  }
}

/* FOOTER MODERNO E RESPONSIVO */
.footer {
  background-color: #0b0c10;
  color: #f0f0f0;
  padding: 60px 20px 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {
  flex: 1;
}

.footer-img {
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.footer-right {
  flex: 1;
  min-width: 280px;
}

.footer h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
  text-decoration: none;
}

.footer a:hover {
  color: #25d366;
}

.footer-social {
  margin-top: 1rem;
}

.footer-social a {
  margin-right: 15px;
  font-size: 1.5rem;
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #25d366;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #999;
}

/* Responsivo */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    margin-top: 30px;
  }

  .footer-social a {
    font-size: 1.8rem;
  }
}

/* IMPEDIR SCROLL LATERAL */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

/* AJUSTES GERAIS DE LAYOUT */
.split-section,
.image-side,
.text-side {
  max-width: 100%;
  overflow-x: hidden;
}

.image-side img {
  max-width: 100%;
  height: auto;
}

/* LOGO AJUSTADA */
.topbar-logo {
  height: auto;
  max-height: 40px;
  max-width: 120px;
}

/* AJUSTES DE RESPONSIVIDADE PARA NAVBAR E LOGO */
@media (max-width: 600px) {
  .topbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 1rem;
  }

  .logo-wrapper {
    background: white;
    border-radius: 12px;
    padding: 8px 16px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .topbar-logo {
    max-width: 80%;
    height: auto;
    display: block;
  }

  .topbar nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .topbar nav a {
    font-size: 1rem;
    margin: 0 6px;
  }
}

@media (max-width: 600px) {
  .text-side,
  .text-author {
    padding-left: 20px;
    padding-right: 20px;
  }

  .atuacao-grid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-right {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    position: static;
    transform: none;
    padding: 80px 20px 60px;
    background: rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    text-align: center;
    border-radius: 12px;
    max-width: 90%;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero-content .subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .whatsapp-btn {
    font-size: 1rem;
    padding: 0.8rem 1.3rem;
  }
}

/* AJUSTES EXTRAS PARA HERO CLEAN E CENTRALIZADO EM MOBILE */
@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    position: static;
    transform: none;
    background: #000000;
    padding: 32px 20px;
    margin: 0 auto;
    border-radius: 12px;
    max-width: 90%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.1rem;
    line-height: 1.3;
  }

  .hero-content .subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
  }

  .whatsapp-btn {
    background-color: #ffffff;
    color: #25d366;
    border: 2px solid #25d366;
    font-weight: 600;
  }

  .whatsapp-btn:hover {
    background-color: #f1f1f1;
  }

  .whatsapp-btn img {
    filter: brightness(0) saturate(100%) invert(51%) sepia(94%) saturate(507%)
      hue-rotate(86deg) brightness(96%) contrast(87%);
  }
}

@media (max-width: 768px) {
  .whatsapp-btn {
    background-color: #ffffff;
    color: #111111;
    border: 2px solid #111111;
    font-weight: 600;
  }

  .whatsapp-btn:hover {
    background-color: #f2f2f2;
    color: #111111;
    border-color: #111111;
  }

  .whatsapp-btn img {
    filter: brightness(0);
  }
}

.whatsapp-btn {
  background-color: #ffffff;
  color: #111111;
  border: 2px solid #111111;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #f2f2f2;
  color: #111111;
  border-color: #111111;
}

.whatsapp-btn img {
  height: 20px;
  margin-right: 10px;
  filter: brightness(0);
}

/* LINK DE EMAIL MODERNO */
a[href^="mailto:"] {
  color: #111111;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #ccc;
  transition: all 0.3s ease;
}

a[href^="mailto:"]:hover {
  border-color: #999;
  color: #000000;
}

/* AUMENTA TEXTO DO CONTATO EM TELAS MAIORES */
@media (min-width: 1024px) {
  .footer p,
  .footer a {
    font-size: 1.2rem;
  }
}

/* GARANTIR QUE A NAVBAR FIQUE FIXA NO TOPO */
.topbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: #ffffff;
}

/* E-MAIL NO CONTATO BRANCO E SEM SUBLINHADO */
.footer-right a[href^="mailto:"] {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  border: none;
}

.footer-right a[href^="mailto:"]:hover {
  color: #dddddd;
}

/* TAMANHO PROPORCIONAL PARA INFOS DE CONTATO EM TELAS MAIORES */
@media (min-width: 1024px) {
  .footer h2 {
    font-size: 2rem;
  }

  .footer p,
  .footer a {
    font-size: 1.3rem;
    line-height: 2rem;
  }

  .footer-social a {
    font-size: 1.8rem;
  }
}

/* ESPAÇAMENTO ENTRE ITENS DE CONTATO */
.footer-right p {
  margin-bottom: 1rem;
}

/* AUMENTAR TAMANHO E ESPAÇAMENTO DOS ÍCONES */
.footer-social {
  margin-top: 2rem;
}

.footer-social a {
  font-size: 2rem;
  margin-right: 20px;
}

/* HOVER COLORIDO POR PLATAFORMA */
.footer-social a[href*="linkedin"]:hover {
  color: #0077b5; /* Azul LinkedIn */
}

.footer-social a[href*="instagram"]:hover {
  color: #e1306c; /* Roxo/Rosa Instagram */
}

.footer-social a[href*="wa.me"]:hover,
.footer-social a[href*="whatsapp"]:hover {
  color: #25d366; /* Verde WhatsApp */
}

/* NAVBAR FIXA COM LAYOUT RESTAURADO */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* AJUSTE DE ESPAÇO PARA O CONTEÚDO NÃO FICAR SOB A NAVBAR */
body {
  padding-top: 80px;
}

/* COMPORTAMENTO EM TELAS PEQUENAS: LOGO EM CIMA, MENU ABAIXO */
@media (max-width: 600px) {
  .topbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 1rem 1rem;
  }

  .topbar nav {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .topbar-logo {
    max-width: 90px;
    margin-bottom: 10px;
  }
}

.atuacao-section {
  padding: 60px 20px;
  text-align: center;
}

.atuacao-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-family: "DM Serif Display", serif;
  font-weight: 700;
  color: #111;
}

/* EMAIL DO FOOTER BRANCO E SEM SUBLINHADO */
.footer a[href^="mailto:"] {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  border: none;
}

.footer a[href^="mailto:"]:hover {
  color: #dddddd;
}

/* HOVER DESTACADO NO BOTÃO "FALE CONOSCO" */
.whatsapp-btn {
  background-color: #ffffff;
  color: #111111;
  border: 2px solid #111111;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #ccc;
  border-color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Alinhar título do contato com o topo da imagem */
.split-section .text-side h2 {
  margin-top: 0;
  padding-top: 0;
}

/* Ajustar o topo da seção para alinhar visualmente o título */
.split-section .text-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 20px;
}

/* Espaçamento entre Telefone, Email e Endereço */
.split-section .text-side p {
  margin-bottom: 1.2rem;
}
