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


html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}


/* ====== HERO ====== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh; /* garante que a altura seja pelo menos 100vh */
  padding: 10px 20px;   /* evita cortar conteúdo nas laterais */
  background: url('/assets/images/advogados.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;       /* evita barra de rolagem lateral */
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8); /* escurece a imagem para dar contraste */
  z-index: 1;
}

.hero .hero-content .logo{
  width: 300px;
  max-width: 400px;
  margin: 0 auto; 
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-family: 'Merriweather', serif;
  color: #b08d57;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-primary, .btn-secondary {
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 250px;
  font-size: 1rem;
}

.btn-primary {
  background: #b08d57;
  color: #fff;
}

.btn-primary:hover {
  background: #fff;
  color: #000;
}

.btn-secondary {
  color: #fff;
  background-color: #0f2027;
}

.btn-secondary:hover {
  background: #fff;
  color: #000;
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.hero-stats div {
  text-align: center;
}

.hero-stats i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #b08d57;
}



.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #1a1a1a; /* cor do texto */
}

.logo i {
  margin-right: 10px;
  color: #b08d57; /* dourado elegante */
  font-size: 10rem;
}

.logo span {
  font-family: 'Merriweather', serif; /* fonte mais elegante */
  letter-spacing: 1px;
  color: white;
  font-size: 3rem;
}

/* ====== SEÇÕES ====== */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}

/* ====== SERVIÇOS ====== */

.services h2 {
  text-align: center;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  border: none;
  transition: all 0.5s ease;
  cursor: pointer;
}

.card i {
  font-size: 2rem;
  color: #0f2027;
  margin-bottom: 15px;
}

.services .btn-whatsapp, .diferenciais .btn-whatsapp-diferenciais, .contact .btn-whatsapp-contato {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  width: 290px;
  margin: 20px auto;
  font-weight: bold;
  font-size: 0.8rem;
  transition: background 0.3s ease;
  animation: pulse 1.8s infinite;
}

.services .btn-whatsapp:hover {
  background: #1ea653;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}


/* ====== SOBRE NÓS ====== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-content p {
  margin-bottom: 20px;
  text-align: left;
}

.btn-whatsapp-sobre {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  max-width: 290px;
  margin: 0 auto;
  font-size: 0.9rem;
  background: #0f2027;
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  transition: background 0.3s ease;
  animation: pulse 1.8s infinite;
}

.btn-whatsapp-sobre:hover {
  background: #1ea653;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  border: none;
  transition: all 0.5s ease;
}


.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ====== PROCESSO ====== */

.process h2 {
  text-align: center;
  margin-bottom: 40px;
}

.process .subtitle {
  margin: 10px auto 40px;
  font-size: 1.1rem;
  color: #000;
  text-align: center;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.step {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  flex: 1 1 280px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.step:hover{
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  border: none;
  transition: all 0.5s ease;
  cursor: pointer;
}

.step i {
  font-size: 2rem;
  color: #0f2027;
  margin-bottom: 15px;
}


/* ====== DIFERENCIAIS ====== */
.diferenciais {
  background-color: #0f2027;
  color: #f1f5f9;
  padding: 80px 0;
  text-align: center;
  min-width: 100%;
}

.diferenciais h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #b08d57;
}

.diferenciais h2 span {
  color: #fff;
}

.diferenciais .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.diferenciais .card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  width: 300px;
  transition: transform 0.3s, background 0.3s;
}

.diferenciais .card i {
  font-size: 2.5rem;
  color: #b08d57;
  margin-bottom: 20px;
}

.diferenciais .card h3 {
  color: #b08d57;
  font-size: 1rem;
}

.diferenciais .card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

/* ====== DEPOIMENTOS ====== */
/* Seção */
.testimonials {
  padding: 80px 20px;
  text-align: center;
  background: #f9f9f9;
}

/* Título seguindo seu padrão */
.testimonials .section-title {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 30px;
}

/* Carousel container */
.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;

}

/* Viewport (clips overflow) */
.testimonial-viewport {
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  border-radius: 12px;
  

}

/* Track: flex row, sem gap horizontal que cause overflow */
.testimonial-track {
  display: flex;
  transition: transform 400ms cubic-bezier(.22,.9,.3,1);
  will-change: transform;
}

/* Cada slide ocupa 100% do viewport do carousel */
.testimonial {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  font-style: italic;
}

/* Texto e autor */
.testimonial p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.testimonial .author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  font-weight: 700;
  color: #222;
}

.testimonial .author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* Botões */
.carousel-btn {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  z-index: 10;
  border: none;
  background: var(--primary-color);
  color: #000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.carousel-btn:active { transform: translateY(-50%) scale(0.98); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-btn i { font-size: 14px; }

/* Dots */
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.carousel-dots button[aria-selected="true"] {
  background: silver;
  transform: scale(1.15);
}

/* Responsivo */
@media (max-width: 768px) {
  .testimonial { padding: 22px; }
  .carousel-btn { width: 40px; height: 40px; }
  .testimonial .author img { width: 40px; height: 40px; }
}

/* ====== FAQ ====== */

.faq h1{
  font-weight: 900;
  text-align: center;
  font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-style: italic;
}

.faq h2 {
  text-align: center;
  margin-bottom: 40px;
  margin-top: -20px;
}

/* FAQ Accordion */
.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: #0f2027;
  transition: background 0.3s ease, color 0.3s ease;
}

.faq-question span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-question .arrow {
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: height 0.6s ease;
  padding: 0 20px;
}

/* Quando estiver ativo */
.faq-item.active .faq-answer {
  max-height: 500px; /* um valor maior que o conteúdo */
}

.faq-answer p {
  padding: 15px 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* suficiente para abrir o texto */
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

/* estado ativo */
/* Estado ativo (usa o item pai) */
.faq-item.active .faq-question {
  background: #0f2027; /* verde do WhatsApp, ou escolha outra cor */
  color: #fff;
}

/* Ícones ficam brancos quando ativo */
.faq-item.active .faq-question i {
  color: #fff;
}

/* Gira a setinha ao abrir */
.faq-item.active .arrow {
  transform: rotate(180deg);
}


/* ====== CONTATO ====== */
.contact {
  text-align: center;
}

.contact p{
  margin-bottom: 30px;
}

.contact .map {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

/* ====== RODAPÉ ====== */
.footer {
  background: linear-gradient(180deg, #111 0%, #1a1a1a 100%);
  color: #ddd;
  padding: 60px 20px 30px;
  font-family: 'Poppins', sans-serif;
}

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

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  width: 190px;
  margin-bottom: 15px;
  filter: brightness(1.1);
}

.footer-brand p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-contact h4,
.footer-social h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.footer-contact p {
  color: #aaa;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-contact i {
  color: #b08d57;
  margin-right: 8px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  color: #ddd;
  font-size: 1.4rem;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #b08d57;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 20px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
}

.dev-by {
  font-size: 0.9rem;
  color: #aaa;
  opacity: 0.7;
  font-style: italic;
}

.dev-by a {
  color: #1ebea5;
  font-weight: 900;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dev-by a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-disclaimer {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #666;
  max-width: 800px;
  margin-inline: auto;
  line-height: 1.4;
  opacity: 0.7;
  font-style: italic;
}



@media (max-width: 768px) {

  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom p{
    font-size: 0.8rem;
  }
}



/* ====== RESPONSIVIDADE ====== */
@media (max-width: 768px) {

  .hero h1 {
    font-size: 2rem;
  }

    .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    order: -1;
  }

  .process-steps {
    flex-direction: column;
  }

  .services .btn-whatsapp{
    width: 100%;
    max-width: 290px;
    font-size: 0.8rem;
  }

}


/* Botão Voltar ao Topo */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #b08d57;
  color: #0d0d0d;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 999;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Hover elegante */
#backToTop:hover {
  background-color: #0d0d0d;
  color: #b08d57;
  transform: translateY(-5px);
}

/* Mostra o botão ao rolar */
#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop.show {
  animation: pulseUp 2s infinite;
}

@keyframes pulseUp {
  0% { box-shadow: 0 0 0 0 rgba(242, 183, 5, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(242, 183, 5, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 183, 5, 0); }
}
