/* 🎨 Variáveis */
:root {
  --marrom: #613010;
  --verde-escuro: #545827;
  --bege: #f7eee1;
  --verde-claro: #949777;
  --amarelo: #bf8a3a;
  --fonte-principal: 'Poppins', sans-serif;
  --fonte-titulo: 'Griffiths', serif;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--fonte-principal);
  background-color: var(--bege);
  color: var(--marrom);
  overflow-x: hidden;
}

/* ========== [MENU DROPDOWN] ========== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  flex-direction: column;
  margin-left: auto; 
  margin-right: -20px;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--amarelo);
  z-index: 1000;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.menu-dropdown.show {
  max-height: 500px;
  opacity: 1;
}

.menu-dropdown nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 15px 20px;
}

.menu-dropdown nav ul li {
  border-bottom: 1px solid rgba(97, 48, 16, 0.1);
  padding: 10px 0;
}

.menu-dropdown nav ul li:last-child {
  border-bottom: none;
}

.menu-dropdown nav ul li a {
  color: var(--marrom);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: block;
}

.menu-dropdown nav ul li a:hover {
  color: white;
  transform: translateX(5px);
}

/* Header */
header {
  width: 100%;
  padding: 20px 60px;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  transition: background 0.3s;
}

header.menu-open {
  background: rgba(0, 0, 0, 0.7) !important;
}

header nav {
  margin-left: 50px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  max-height: 50px;
  width: auto;
  display: block;
}

/* Menu Desktop */
.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.desktop-nav ul li a {
  text-decoration: none;
  font-weight: 500;
  color: white;
  transition: 0.3s;
}

.desktop-nav ul li a:hover {
  color: #d4cdcd;
}

/* ========== [HERO - DESKTOP] ========== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 100px 60px;
  position: relative; /* Permite posicionamento absoluto/fixo interno */
  overflow: hidden; /* Garante que nada vaze do container */
  z-index: 1; /* Camada acima do background */
}

/* Imagem de fundo FIXA (funciona em desktop e mobile) */
.hero::before {
  content: "";
  position: fixed; /* Fixa na tela, nÃ£o rola com o scroll */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("assets/imagemDeFundo/fundoDu.png") center 79% / cover no-repeat;
  z-index: -1; /* Fica atrÃ¡s do conteÃºdo */
  will-change: transform; /* OtimizaÃ§Ã£o para navegadores */
}


/* Ajuste para desktop (texto mais à esquerda, imagem mais à direita) */
@media (min-width: 769px) {
  .hero {
    justify-content: center;
    gap: 300px;
      min-height: 90vh;  /* de 80vh para 95vh */

  }
  
  .hero-text {
    max-width: 500px;
    margin-left: 0; /* Alinha o texto mais à esquerda */
  }
  
  .hero-img {
    margin-right: 0; /* Alinha a imagem mais à direita */
  }
}

.hero-text h2 {
  font-family: var(--fonte-titulo);
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 25px;
  white-space: nowrap;
  color: white;
  font-style: italic;
  font-weight: 300;
}

.hero-text p {
  font-size: 16px;
  margin-bottom: 30px;
  color: black;
}

.hero-img {
  position: relative;
  display: inline-block;
  max-width: 460px;
}

.hero-img img {
  position: relative;
  z-index: 2;
  border-radius: 12px;
  max-width: 400px;
}

.hero-img::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 12px;
  z-index: 0;
}

.disponivel {
  position: absolute;
  top: 20px;
  right: 10px;
  background: white;
  color: #333;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.disponivel .bolinha {
  width: 10px;
  height: 10px;
  background: #4CAF50;
  border-radius: 50%;
  display: inline-block;
  animation: pulsar 1.5s infinite;
}

@keyframes pulsar {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
  70% { transform: scale(1.3); box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.crp-badge {
  position: absolute;
  bottom: -15px;
  left: -10px;
  background-color: var(--bege);
  color: var(--amarelo);
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 9999;
}

.crp-badge .star {
  color: var(--amarelo);
  font-size: 16px;
}

/* Botões */
.btn {
  background: var(--bege);
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  color: var(--amarelo);
  font-weight: 500;
  transition: 0.3s;
  display: inline-block;
}

.btn:hover {
  background: white;
  color: var(--verde-claro);
}

/* Serviços */
.servicos {
  position: relative;
  background-color: var(--bege);
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
}

.servicos .logo-fundo {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  width: 500px;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

.servicos h2 {
  font-size: 32px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.servicos h2 span {
  color: var(--amarelo);
}

.servicos .descricao {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  width: 400px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  box-shadow: none;
  background-color: #fff;
}

.card h3 {
  color: var(--verde-escuro);
  margin-bottom: 10px;
}

.card ul {
  margin-top: 10px;
  padding-left: 20px;
}

.card li {
  margin-bottom: 6px;
}

/* Formatos */
.formatos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 60px;
  background: radial-gradient(circle at 20% 20%, #cca13d, #a67824, #8b5c1a);
  flex-wrap: wrap;
  gap: 40px;
}

.texto {
  flex: 1;
  max-width: 500px;
}

.formatos h2 {
  font-size: 32px;
  color: white;
}

.formatos .sub {
  margin: 10px 0 15px;
  font-weight: 500;
  color: white;
}

.opcoes {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.opcao {
  background: #f7eee1;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  width: 120px;
  cursor: default;
}

.opcao img {
  width: 60px;
  margin-bottom: 8px;
}

.opcao span {
  font-weight: 600;
  color: var(--amarelo);
}

.texto .btn {
  background: var(--amarelo);
  color: white;
  display: inline-block;
  margin-top: 10px;
}

.texto .btn:hover {
  background: white;
  color: var(--verde-claro);
}

.fotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 150px; /* altura base para cada célula */
  grid-auto-flow: row dense;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

/* Destaque ocupa largura total */
.foto.destaque {
  grid-column: 1 / -1;
  grid-row: span 2; /* ocupa 2 linhas */
}

/* Vídeo ocupa 2 linhas na esquerda */
.foto.video {
  grid-column: 1;
  grid-row: span 2;
}

/* Imagem 2 */
.foto.escritorio2 {
  grid-column: 2;
  grid-row: span 1;
}

/* Imagem 4 logo abaixo */
.foto.escritorio4 {
  grid-column: 2;
  grid-row: span 1;
}

/* Imagem 1 ocupa largura total no final */
.foto.escritorio1 {
  grid-column: 1 / -1;
  grid-row: span 2;
}

/* Ajuste geral */
.foto {
  border-radius: 12px;
  overflow: hidden;
}

.foto img,
.foto video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 📱 Mobile – mantém layout */
@media (max-width: 768px) {
  .fotos {
    grid-template-columns: 1fr 1fr; /* ainda 2 colunas */
    grid-auto-rows: 120px; /* linhas menores */
  }

  .foto.destaque { grid-row: span 2; }
  .foto.video { grid-row: span 2; }
  .foto.escritorio1 { grid-row: span 2; }
}

/* Sobre mim */
.sobre {
  position: relative;
  background-color: var(--bege);
  padding: 80px 60px;
  overflow: hidden;
}

.sobre .logo-fundo {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  width: 500px;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

.sobre-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.sobre-foto {
  position: relative;
  display: inline-block;
}

.sobre-foto img {
  max-width: 350px;
  border-radius: 5px;
  position: relative;
  z-index: 2;
}

.sobre-foto::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background: var(--amarelo);
  border-radius: 3px;
  z-index: 1;
}

.sobre-texto {
  max-width: 600px;
}

.sobre-texto h2 {
  font-size: 32px;
  color: var(--amarelo);
  margin-bottom: 15px;
}

.sobre-texto p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* FAQ */
.faq {
  background: var(--bege);
  padding: 80px 60px;
  max-width: 800px;
  margin: auto;
}

.faq h2 {
  text-align: center;
  font-size: 32px;
  color: var(--amarelo);
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  padding: 15px 0;
  text-align: left;
  color: var(--amarelo);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 15px 0;
  font-size: 16px;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .icon {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background: var(--amarelo);
  text-align: center;
  padding: 30px 20px;
  color: white;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  margin: 10px 0;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--verde-claro);
}

.footer-social {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.footer-social a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
}

.footer-social i {
  font-size: 18px;
}

/* WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffffff;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  animation: pulsar 1.5s infinite;
  transition: transform 0.3s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn img {
  width: 35px;
  height: 35px;
}

/* Animações */
section, footer, .card, .opcao, .foto {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.aparecer, footer.aparecer, 
.card.aparecer, .opcao.aparecer, 
.foto.aparecer {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
  header {
    gap: 200px;
  }
  
  .hero {
    padding: 80px 40px;
  }
  
  .servicos, .formatos, .sobre {
    padding: 60px 40px;
  }
  
  .card {
    width: 350px;
  }
}

@media (max-width: 1024px) {
  header {
    padding: 15px 30px;
    gap: 100px;
  }
  
  .hero {
    min-height: 85vh;
    padding: 60px 30px;
    gap: 40px;
  }
  
  .hero-text h2 {
    font-size: clamp(36px, 4vw, 44px);
    white-space: normal;
  }
  
  .hero-img img {
    max-width: 340px;
  }
  
  .servicos .logo-fundo,
  .sobre .logo-fundo {
    width: 400px;
    right: -100px;
  }
  
  .formatos {
    flex-direction: column;
    text-align: center;
  }
  
  .texto {
    max-width: 100%;
  }
  
  .opcoes {
    justify-content: center;
  }
  

  .foto {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "destaque destaque"
      "video img2"
      "video img4"
      "img1 img1";
    gap: 10px;
  }

  .foto.destaque { height: 200px;}
  .foto.video { height: 250px; margin-top: -100px;}
  .foto.escritorio2,
  .foto.escritorio4 { height: 120px; margin-top: -100px;}
  .foto.escritorio1 { height: 150px; }
}

/* ========== [MOBILE - MANTÉM O LAYOUT ORIGINAL] ========== */
@media (max-width: 768px) {
  /* Header Mobile */
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  header {
    padding: 15px 20px;
    position: fixed;
    background: rgba(0, 0, 0, 0.3) !important;
    gap: 0;
    justify-content: space-between;
  }
  
  .menu-toggle {
    display: flex;
    position: relative;
    top: 0;
    right: 0;
  }
  
  .desktop-nav ul {
    display: none;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  /* Hero Mobile (mantém o layout original) */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 100px 20px 40px;
    min-height: auto;
  }
  
  .hero-text {
    margin: 0 !important; /* Remove margens no mobile */
  }

  .hero-text h2 {
  display: block;
  max-width: 800px;
  font-size: 2rem;
  line-height: 1.2;
  text-align: left;
}

.hero-text h2 br{
  white-space: nowrap; /* impede a quebra */
}
  
  .hero-img {
    margin: 0 !important; /* Remove margens no mobile */
  }
  
  /* Seções Mobile */
  .servicos, .formatos, .sobre, .faq {
    padding: 50px 20px;
  }
  
  .servicos .logo-fundo,
  .sobre .logo-fundo {
    width: 300px;
    right: -150px;
  }
  
  .sobre-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .sobre-foto img {
    max-width: 280px;
  }
  
  .foto {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "destaque destaque"
      "video img2"
      "video img4"
      "img1 img1";
    gap: 10px;
  }

  .foto.video { height: 250px; margin-top: -45px; margin-top: -30px;}
  .foto.escritorio2,
  .foto.escritorio4 { height: 120px; margin-top: -45px;  margin-top: -30px;}
  .foto.escritorio1 { height: 150px; margin-top: -30px}
  
  .cards {
    gap: 20px;
  }
  
  .card {
    width: 100%;
    max-width: 400px;
  }
  
  .opcoes {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .hero-text h2 {
    font-size: 28px;
  }
  
  .hero-text p {
    font-size: 14px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .hero-img img {
    max-width: 220px;
  }
  
  .servicos h2,
  .formatos h2,
  .sobre-texto h2,
  .faq h2 {
    font-size: 26px;
  }
  
  .opcao {
    width: 100px;
    padding: 15px 10px;
  }
  
  .opcao img {
    width: 40px;
  }
  
  .foto {
    .fotos {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "destaque destaque"
      "video img2"
      "video img4"
      "img1 img1";
    gap: 10px;
  }

  .foto.destaque { height: 160px; }
  .foto.video { height: 200px; }
  .foto.escritorio2,
  .foto.escritorio4 { height: 120px; }
  .foto.escritorio1 { height: 150px; }
  }
  
  .faq-question {
    font-size: 16px;
  }
  
  .whatsapp-btn {
    bottom: 15px;
    right: 15px;
    padding: 10px;
  }
  
  .whatsapp-btn img {
    width: 30px;
    height: 30px;
  }
  
  .crp-badge {
    font-size: 12px;
    padding: 4px 10px;
  }
}