/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 0, 0);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-block: 1rem; /* Adicionado margem vertical */
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Ícones do Font Awesome */
.fas,
.far,
.fab {
  display: inline-block !important;
  visibility: visible !important;
  font-size: 28px;
  color: #ffffff84 !important;
}
.open-icon {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 24px !important;
  color: rgba(255, 255, 255, 0.427) !important;
}
.close-icon {
  display: none;
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.divider {
  width: 80px;
  height: 3px;
  background-color: rgb(255, 254, 254);
  margin-bottom: 2rem;
}

.divider.center {
  margin-left: auto;
  margin-right: auto;
}

.divider.light {
  background-color: rgb(255, 255, 255);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border-radius: 28px;
}

.primary-btn {
  background-color: rgba(255, 241, 241, 0.69);
  color: rgb(241, 241, 241);
}

.primary-btn:hover {
  background-color: rgba(0, 0, 0, 0.336);

}

/* Botão específico - não afeta outros botões */
button.btn.primary-btn.full-width {
  background-color: #000;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 40px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 20px auto 0;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* Efeito hover específico */
button.btn.primary-btn.full-width:hover {
  background-color: #2c2c2c5b;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Efeito ao clicar */
button.btn.primary-btn.full-width:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsividade */
@media (max-width: 768px) {
  button.btn.primary-btn.full-width {
    padding: 10px 20px;
    font-size: 16px;
  }
}

.outline-btn {
  border: 2px solid #3a3737af;
  color: #ffffff;
}

.outline-btn:hover {
  background-color: #000;
  color: rgb(255, 255, 255);
}

.full-width {
  width: 100%;
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(0, 0, 0, 0.88);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
}

header.scrolled .logo,
header.scrolled .nav-link {
  color: rgb(255, 255, 255);
}

header.scrolled .contact-btn {
  background-color: rgba(155, 150, 150, 0.18);
  color: rgb(255, 255, 255);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
}

.desktop-nav {
  display: none;
}

.nav-link {
  margin-left: 2rem;
  color: rgb(255, 255, 255);
  transition: all 0.3s ease;
}

.nav-link:hover {
  opacity: 0.8;
}

.contact-btn {
  background-color: rgba(153, 148, 148, 0.09);
  color: rgba(255, 255, 255, 0.27);
  padding: 8px 16px;
}

.contact-btn-mobile {
  display: inline-block;
  background-color: #0000005c;
  color: rgba(255, 255, 255, 0.629);
  padding: 8px 16px;
  margin-top: 1rem;
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.289);
  font-size: 1.5rem;
  cursor: pointer;
}

.close-icon {
  display: inline-block;
}

.mobile-nav {
  display: none;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  padding: 1rem 0;
}

.mobile-nav.active {
  display: block;
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-nav-links .nav-link {
  margin: 0.5rem 0;
  color: #ffffff;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url("../img/capa-romulo.png");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end; /* Alinha o conteúdo na parte inferior */
  justify-content: center; /* Centraliza horizontalmente */
  text-align: center;
  padding-bottom: 80px; /* Espaço na parte inferior */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: rgb(255, 255, 255);
  max-width: 1200px;
  width: 90%; /* Melhor responsividade */
  margin: 0 auto;
  padding: 10px;
  margin-bottom: -60px; /* Ajuste conforme necessário */
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem; /* Reduzi para compactar o conteúdo */
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 9rem;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: rgb(0, 0, 0);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 30px;
}

.btn:hover {
  background-color: rgba(40, 41, 43, 0.53);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 50px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .hero-content {
    margin-bottom: 0px; 
  }
}

/* About Section */
/* About Section - Estilos isolados */
#about.about {
  padding: 3rem 0;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

#about .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

#about .about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

#about .about-text {
  flex: 1 1 45%;
  min-width: 300px;
}

#about .about-carousel {
  flex: 1 1 45%;
  min-width: 300px;
  position: relative;
}

/* Estilos do Carrossel - Corrigidos */
#about .carousel-container {
  position: relative;
  width: 100%;
  height: 600px; /* Altura fixa para o container */
  overflow: hidden;
  border-radius: 8px;
}

#about .carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#about .carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

#about .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#about .carousel-dots {
  text-align: center;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

#about .carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

#about .carousel-dot.active {
  background: #333;
}

/* Responsividade */
@media (max-width: 768px) {
  #about .about-content {
      flex-direction: center;
  }
  
  #about .carousel-container {
      height: 600px;
      width: 570px;
  }
}

@media (max-width: 480px) {
  #about .carousel-container {
      height: 390px;
      width: 360px;
  }
}

/* Practice Areas */
.practice-areas {
  padding: 5rem 0;
  background-color: rgb(0, 0, 0);
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Animação para o card */
@property --hue {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --rotate {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --bg-y {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --bg-x {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --glow-translate-y {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --bg-size {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --glow-opacity {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --glow-blur {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --glow-scale {
  syntax: "<number>";
  inherits: true;
  initial-value: 2;
}
@property --glow-radius {
  syntax: "<number>";
  inherits: true;
  initial-value: 2;
}
@property --white-shadow {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

:root {
  --debug: 0;
  --supported: 0;
  --not-supported: 0;
  --card-color: hsl(260deg 100% 3%);
  --text-color: hsl(260deg 10% 55%);
  --card-radius: 3.6vw;
  --card-width: 300px; /* Tamanho fixo para desktop */
  --border-width: 3px;
  --bg-size: 1;
  --hue: 0;
  --hue-speed: 1;
  --rotate: 0;
  --animation-speed: 4s;
  --interaction-speed: 0.55s;
  --glow-scale: 1.5;
  --scale-factor: 1;
  --glow-blur: 6;
  --glow-opacity: 1;
  --glow-radius: 100;
  --glow-rotate-unit: 1deg;
}

body::before,
body::after {
  content: "CSS.registerProperty is supported ✅";
  position: absolute;
  display: block;
  top: 18px;
  left: 0;
  right: 0;
  margin: auto;
  width: calc(100% - 160px);
  max-width: 680px;
  height: auto;
  padding: 8px;
  border-radius: 8px;
  background: #48b93c;
  color: white;
  text-align: center;
  font-family: sans-serif;
  z-index: var(--supported, 0);
  opacity: var(--supported, 0);
}

body::after {
  content: "CSS.registerProperty is NOT supported ❌";
  background: #b93c3c;
  z-index: var(--not-supported, 0);
  opacity: var(--not-supported, 0);
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background-color: #000000;
  color: rgb(255, 255, 255);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background-color: #8888882f;
  padding: 2rem;
  position: relative;
}

.quote-mark {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 3rem;
  opacity: 0.2;
}

.testimonial-card p {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-image: url("../img/exe.jpg");
  background-size: cover;
  background-position: center;
  margin-right: 1rem;
  border: 2px solid #ffffff; /* Borda opcional */
}

.author-info h4 {
  margin-bottom: 0.1rem;
}

.author-info p {
  margin: 0;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 1rem 0;
  background-color: rgba(243, 232, 232, 0.07);
}

.contact-content {
  display: flex;
  flex-direction: column;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-methods {
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  margin-bottom: 1.5rem;
}

.method-icon {
  background-color: #9a9a9a58;
  color: rgb(255, 255, 255);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.method-details h4 {
  margin-bottom: 0.2rem;
}

.method-details p {
  margin: 0;
  color: #333;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgb(255, 247, 247);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgb(0, 0, 0);
}

/* Footer */
.footer {
  background-color: #000;
  color: rgb(255, 255, 255);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-about p {
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.22);
  color: #000;
}

.footer-links ul,
.footer-hours ul {
  list-style: none;
}

.footer-links li,
.footer-hours li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-hours li {
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Media Queries */
@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
  }

  .mobile-menu-btn {
    display: none;
  }

  .about-content {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .about-text {
    flex: 1;
    margin-bottom: 0;
  }

  .about-image {
    flex: 1;
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    flex-direction: row;
    gap: 4rem;
  }

  .contact-info,
  .contact-form {
    flex: 1;
  }

  .form-row {
    flex-direction: row;
  }

  .form-row .form-group {
    flex: 1;
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Ajustes para os cards em tablets */
  .area-card {
    --card-width: 40vw; /* Aumenta o tamanho dos cards em telas maiores que 768px */
  }
}

@media (min-width: 992px) {
  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Ajustes para os cards em desktops */
  .area-card {
    --card-width: 30vw; /* Reduz um pouco o tamanho dos cards em telas maiores que 992px */
  }
}

/* Ajustes para dispositivos móveis (telas menores que 768px) */
@media (max-width: 767px) {
  .area-card {
    --card-width: 80vw; /* Aumenta o tamanho dos cards em telas pequenas */
  }

  .area-card > div {
    padding: 30px; /* Ajuste o padding interno para melhorar o espaçamento */
  }
}

/* Ajustes para telas grandes (desktop) */
@media (min-width: 1200px) {
  .areas-grid {
    grid-template-columns: 1fr; /* Uma coluna */
  }

  .area-card {
    --card-width: 100%; /* Ocupa 100% da largura */
  }
}

/* Card ADV */

section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000000;
  min-height: 100vh;
  overflow: hidden;
}

.content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 120px; /* Aumenta o espaçamento entre os itens */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: blur(30px);
  border-radius: 20px;
  width: min(1200px, 100%); /* Aumenta a largura máxima */
  min-height: 600px; /* Define uma altura mínima */
  padding: 40px 60px; /* Aumenta o padding */
  box-shadow: 0 0.5px 0 1px rgba(0, 0, 0, 0.23) inset,
    0 1px 0 0 rgba(47, 46, 46, 0.388) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  padding: 10px;
  text-align: center;
}

.info p {
  color: #fff;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.6;
}

.movie-night {
  background: linear-gradient(235deg, #8e8d8d 0%, #3f3e3fc3 50%, #0a0a0a 100%);
}

/* SWIPER */

.swiper {
  width: 300px;
  height: 500px;
  padding: 40px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  font-size: 22px;
  font-weight: bold;
  color: #0000005c;
  background-size: cover;
  background-position: center;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-slide span {
  position: absolute;
  top: 0;
  right: 0;
  color: #ffffff;
  padding: 7px 18px;
  margin: 10px;
  border-radius: 20px;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.095);
  box-shadow: inset 2px -2px 20px rgba(41, 40, 40, 0.2),
    inset -3px 3px 3px rgba(134, 134, 134, 0.4);
  backdrop-filter: blur(74px);
}

.swiper-slide h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0 0 10px 10px;
}

.swiper-slide:nth-child(1n) {
  background: linear-gradient(to top, #0f2027, #203a4300, #05060600),
    url("../img/isabela.png") no-repeat 50% 50% / cover;
}

.swiper-slide:nth-child(2n) {
  background: linear-gradient(to top, #0f2027, #203a4300, #05060600),
    url("../img/crystian.png") no-repeat 50% 50% / cover;
}
.swiper-slide:nth-child(3n) {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../img/romulo.png") no-repeat 50% 0% / cover;
}

/* ANIMATED BACKGROUND */

.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  background-image: linear-gradient(
    225deg,
    #e7e1e4c2 0%,
    #302d32 50%,
    #17181acc 100%
  );
  animation: animate 25s linear infinite;
  bottom: -150px;
}

.circles li:nth-child(1) {
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.circles li:nth-child(2) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.circles li:nth-child(3) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}

.circles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.circles li:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.circles li:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

.circles li:nth-child(7) {
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}

.circles li:nth-child(8) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
}

.circles li:nth-child(9) {
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
}

.circles li:nth-child(10) {
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}

/* CARD SERVIÇOS */

.conteiner-card {
  width: 100%;
  max-width: 1280px;
  min-height: 600px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 40px 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

.border {
  height: 369px;
  width: 290px;
  background: transparent;
  border-radius: 10px;
  transition: border 1s;
  position: relative;
}

.border:hover {
  border: 1px solid #808080;
  height: 369px;
  width: 290px;
  background: rgba(0, 0, 0, 0.63);
}

.card {
  height: 379px;
  width: 300px;
  background: #808080;
  border-radius: 10px;
  transition: background 0.8s;
  overflow: hidden;
  background: #000;
  box-shadow: 0 70px 63px -60px #000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.card1 {
  background: url("../img/trabalhista.jpg") center center no-repeat;
  background-size: 400px;
}

.card1:hover {
  background: url("../img/trabalhista.jpg") right center no-repeat;
  background-size: 600px;
}

.card1:hover h2 {
  opacity: 1;
}

.card1:hover p {
  opacity: 1;
}

.card1:hover .fa {
  opacity: 1;
}

.card2 {
  background: url("../img/tributarista.jpg") center center no-repeat;
  background-size: 300px;
}

.card2:hover {
  background: url("../img/tributarista.jpg") left center no-repeat;
  background-size: 600px;
}

.card2:hover h2 {
  opacity: 1;
}

.card2:hover .fa {
  opacity: 1;
}

.card3 {
  background: url("../img/trabalhista1.jpg") center center no-repeat;
  background-size: 300px;
}

.card3:hover {
  background: url("../img/trabalhista1.jpg") center center no-repeat;
  background-size: 500px;
}

.card3:hover h2 {
  opacity: 1;
}

.card3:hover .fa {
  opacity: 1;
}

.card4 {
  background: url("../img/empresarial.jpg") center center no-repeat;
  background-size: 300px;
}

.card4:hover {
  background: url("../img/empresarial.jpg") right center no-repeat;
  background-size: 500px;
}

.card4:hover h2 {
  opacity: 1;
}

.card4:hover .fa {
  opacity: 1;
}

.card5 {
  background: url("../img/consumidor.jpg") center center no-repeat;
  background-size: 300px;
}

.card5:hover {
  background: url("../img/consumidor.jpg") right center no-repeat;
  background-size: 500px;
}

.card5:hover h2 {
  opacity: 1;
}

.card5:hover .fa {
  opacity: 1;
}
.card6 {
  background: url("../img/equipe3.jpg") center center no-repeat;
  background-size: 300px;
}

.card6:hover {
  background: url("../img/equipe3.jpg") left center no-repeat;
  background-size: 500px;
}

.card6:hover h2 {
  opacity: 1;
}

.card6:hover .fa {
  opacity: 1;
}

.card1 h2,
.card2 h2,
.card3 h2,
.card4 h2,
.card5 h2, 
.card6 h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #fff;
  margin: 20px;
  opacity: 0;
  transition: opacity 1s;
}

.card2:hover h2,
.card3:hover h2,
.card4:hover h2,
.card5:hover h2,
.card6:hover h2 {
  opacity: 1;
}
.fa {
  opacity: 0;
  transition: opacity 1s;
}

.card1 h4,
.card2 h4,
.card3 h4,
.card4 h4,
.card5 h4,
.card6 h4{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #fff;
  margin: 10px;
  font-size: 1.2rem;
  opacity: 0;
  padding: 10px;
  transition: opcity 1s;
  display: center;
  justify-content: center;
}
.card1:hover h4,
.card2:hover h4,
.card3:hover h4,
.card4:hover h4,
.card5:hover h4,
.card6:hover h4 {
  opacity: 10;
}
.fa {
  opacity: 0;
  transition: opacity 1s;
}

.btn-card {
  padding: 3px 24px;
  margin: 50px;
  justify-content: center center;
  border-radius: 28px;
  background-image: radial-gradient(rgba(0, 0, 0, 0.6), rgb(0, 0, 0));
  color: rgb(255, 248, 248);
}
/* responsivo */
@media (max-width: 750px) {
  .content {
    flex-direction: column-reverse;
  }

  .btn {
    margin: 20px auto 10px;
  }
}
/* Ajustes para telas muito pequenas (menores que 400px) */
@media (max-width: 400px) {
  .area-card {
    --card-width: 90vw;
    min-height: 160px;
  }

  .area-card > div {
    padding: 15px;
    font-size: 0.9rem;
  }

  .area-card > div .area-icon {
    font-size: 2rem;
  }
}

/* Estilos do Carrossel de Notícias */
.news-carousel {
  font-family: "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-title {
  text-align: center;
  color: #333;
  margin-bottom: 2rem;
  font-size: 3rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.carousel-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: 3px;
  background: #ffffff;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 1rem 0;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  will-change: transform;
  
}

.news-card {
  min-width: 300px;
  max-width: 350px;
  height: 600px;
  background: rgba(23, 22, 22, 0.297);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  flex: 0 0 auto; /* Impede que os cards flexíveis quebrem o layout */
  scroll-snap-align: start; /* Alinhamento suave ao rolar */
  margin-right: 0; /* Remove margens à direita */
}

.card-image {
  height: 380px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-content {
  padding: 1.5rem;
  position: relative;
  height: calc(100% - 180px);
  display: flex;
  flex-direction: column;
}

.news-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #faf7f7;
}

.news-excerpt {
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.news-full {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0, 0, 0);
  padding: 1.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.2s ease;
  overflow-y: auto;
}

.news-full p {
  margin-bottom: 1rem;
  color: #4a4a4a;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.news-date {
  font-size: 0.8rem;
  color: #888;
  margin-top: auto;
}

/* Efeitos Hover */
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.news-card:hover .card-image img {
  transform: scale(1.05);
}

.news-card:hover .news-full {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.news-card:hover .news-excerpt {
  opacity: 0;
  visibility: hidden;
}

/* Controles do Carrossel */
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel-prev,
.carousel-next {
  background: #00000047;
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: #4b4b4b;
}

/* Responsividade */
@media (max-width: 768px) {
  .carousel-container {
    min-width: 280px;
    height: 600px;
    overflow: visible;
}
  
  .news-card {
    min-width: 85vw;
    margin-right: 1rem;
    position: center center;
  }

  
  .carousel-track::-webkit-scrollbar {
    display: none; /* Esconde scrollbar */
  }

.carousel-controls {
  display: none; /* Opcional: esconder controles em mobile */
}
}

@media (max-width: 480px) {
  .news-card {
    min-width: 280px;
    height: 600px;
  }

  .carousel-title {
    font-size: 1.5rem;
  }
}

/*  Mapa  */

.map-section {
  padding: 60px 0;
  background-color: rgb(0, 0, 0); /* Cor de fundo opcional */
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #333;
}

.map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Proporção 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.google-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsividade */
@media (max-width: 768px) {
  .map-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .map-wrapper {
    padding-bottom: 75%; /* Mais altura em mobile */
  }
}

/* Estilos da seção de captura de leads */
.lead-capture {
  background-color: #020202;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  margin: 30px 0;
}

.lead-capture .container {
  max-width: 800px;
  margin: 0 auto;
}
.lead-image {
  flex: 1;
  text-align: center;
}

.lead-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}



.lead-capture h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.lead-capture .description {
  color: #fffefe;
  font-size: 18px;
  margin-bottom: 30px;
}

/* Estilos do formulário */
.lead-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.lead-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.submit-btn {
  background-color: #28a745;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 40px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #218838;
}

.privacy-text {
  font-size: 14px;
  color: #777;
  margin-top: 20px;
}

.privacy-text i {
  margin-right: 5px;
}
#downloadSection {
  text-align: center;
  margin-top: 2rem;
  animation: fadeIn 0.5s ease-out;
}

.download-btn {
  display: inline-block;
  padding: 15px 30px;
  background: #27ae60;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 18px;
  transition: background 0.3s;
  margin-bottom: 1rem;
}

.download-btn:hover {
  background: #219653;
}

.success-message {
  color: #27ae60;
  font-weight: bold;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Adicione transições suaves */
#downloadForm, #downloadSection {
  transition: all 0.3s ease-out;
}

/* Estilo para o link de download */
#realDownloadLink {
  display: inline-block;
  padding: 12px 24px;
  background: #2ecc71;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 1rem;
}

#realDownloadLink:hover {
  background: #27ae60;
}

.selo-advogado {
  background-color: #000;
  color: #fff;
  padding: 60px 20px;
}

.container-selo {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 1600px;
  margin: 0 auto;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.texto-selo {
  flex: 1 1 500px;
}

.texto-selo h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.texto-selo h3 {
  font-size: 1.5rem;
  color: #00ffcc;
  margin-bottom: 20px;
}

.texto-selo p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.texto-selo ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.texto-selo ul li {
  margin-bottom: 8px;
  font-weight: 500;
}

.texto-selo .chamada {
  font-size: 1.1rem;
  margin-top: 25px;
  background-color: #111;
  padding: 20px;
  border-left: 4px solid #00ffcc;
}

.imagem-selo {
  flex: 1 1 400px;
  text-align: center;
}

.imagem-selo img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.video-selo {
  width: 100%;
  max-width: 900px; /* ou 100% se quiser tela cheia */
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.video-selo video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.3); /* efeito glow suave */
}

.botao-contato {
  display: inline-block;
  background-color: #00ffcc;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
}

.botao-contato:hover {
  background-color: #00e6b2;
  transform: scale(1.05);
}

.botao-contato:active {
  background-color: #00cc99;
}


/* Responsividade */
@media (max-width: 768px) {
  .container-selo {
    flex-direction: column;
    text-align: flex;
  }

  .texto-selo {
    flex: 1 1 100%;
  }

  .imagem-selo {
    margin-top: 30px;
  }
}


/* Estilo exclusivo para a seção com classe equipe-legenda */
.equipe-legenda {
  margin: 0.1rem auto;
  padding: 0;
  max-width: fit-content;
  isolation: isolate; /* Previne interferência com outros elementos */
}

.equipe-legenda h1 {
  font-size: 1.8rem;
  font-family: 'Arial', sans-serif;
  color: #fdfafa;
  white-space: nowrap;
  overflow: hidden;
  border-right: 1px solid #2c3e50;
  animation: 
    typing-equipe 2.5s steps(30, end) forwards,
    blink-caret-equipe 0.75s step-end infinite;
  width: 0;
  margin: 0 auto;
  padding: 0.2rem 0;
}

/* Animações específicas para evitar conflitos */
@keyframes typing-equipe {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret-equipe {
  from, to { border-color: transparent }
  50% { border-color: #2c3e50; }
}

/* Se quiser adicionar responsividade */
@media (max-width: 768px) {
  .equipe-legenda h1 {
    font-size: 1.5rem;
    animation: 
      typing-equipe-mobile 2s steps(25, end) forwards,
      blink-caret-equipe 0.75s step-end infinite;
  }
  
  @keyframes typing-equipe-mobile {
    from { width: 0 }
    to { width: 100% }
  }
}