
/*-----
main {
  background-image: url('/assets/imgs/logo.png');
  background-size: cover;
  background-position: center ;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
*/

.container {

  margin-bottom: 1rem;
}



.header {
  height: 150px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1051;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1rem;

  background-color: transparent;

  transition: top 0.3s ease-in-out, background-color 0.8s ease-in-out; /* 👈 Aqui */
}

.header.hide {
  top: -180px;
}
.header.scrolled {
  background-color: rgba(12, 22, 34, 1); /* cor original opaca */
}


/* Botão Hamburguer - Versão Simplificada e Funcional */
.hamburger-btn {
  width: 30px;
  height: 24px;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-btn:focus {
  outline: none;
}

.hamburger-btn__line {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff; /* Alterado para branco para contrastar com o header */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estado ativo (menu aberto) */
.hamburger-btn.active .hamburger-btn__line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
  background: #fff;
}

.hamburger-btn.active .hamburger-btn__line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-btn__line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
  background: #fff;
}

/* Menu Overlay - Versão Atualizada */
/* Menu Overlay - Versão que abre de cima para baixo */
.menu-overlay {
    position: fixed;
    top: -100%; /* Começa acima da tela */
   
    width: 25%;
    height: 100%;
    background: #0C1622;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
}

.menu-overlay.active {
    top: 0; /* Desce até o topo 0 */
}

/* Conteúdo do Menu (mantém a animação de fade-in) */
.menu-content {
    color: #fff;
    opacity: 0;
    transform: translateY(-20px); /* Agora anima verticalmente */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.3s;
}

.menu-overlay.active .menu-content {
    opacity: 1;
    transform: translateY(0);
}

.menu-title {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 15px;
  letter-spacing: 2px;
  color: #aaa;
}

.menu-main-text {
  font-size: 2.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.2;
}

/* Outros estilos (mantidos do seu CSS original) */
.space-white {
  opacity: 0.0;
}

.logo {
  top: 60px;
}
.btn {
  background-color: #caa24b;
  color: #fff;
  border: none;
}

.btn:hover {
  background-color: #b08f3f; /* tom mais escuro no hover */
  color: #fff;
}
.img-box {
  width: 50%;
}

.OAB {
  font-family: 'Roboto Mono', monospace;
  font-weight: 600;
}

.desk {
  gap: 15px;
}

.form-control {
  display: flex;
  width: 25%;
  opacity: 2;
}
.search-box input::placeholder {
  color: rgb(255, 255, 255); /* branco translúcido */
}
.search-box input.form-control {
  border-radius: 2rem;
  background-color: transparent !important;
  border: 1px solid rgb(255, 255, 255); /* ou 'none' para sem borda */
  color: #fff; /* ou qualquer cor que contraste com o fundo */
  box-shadow: none; /* remove o box-shadow do Bootstrap */
}

#toggleTheme i {
  transition: opacity 0.3s;
  margin-left: 10px;
}

    /* Input */
    .form-control {
      display: flex;
      width: 25%;
      
      
    }

    /* Theme */
    #toggleTheme i {
  transition: opacity 0.3s;
  margin-left: 10px;
}
/*crousel js*/
   #hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    
  }
  .bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: opacity 1.2s ease-in-out;
    opacity: 0;
    z-index: 0;
  }

  .bg-layer.visible {
    opacity: 1;
  }

  #hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
  }

  .hero-content h1 {
    font-size: clamp(1rem, 6vw, 3rem);
    font-weight: 600;
    margin: 0;
    opacity: 0;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .fade-in {
    animation: fadeIn 2.2s ease-in-out forwards;
  }

  .indicator-container {
    position: absolute;
    bottom: 40px;
    z-index: 3;
    display: flex;
    gap: 10px;
  }

  .indicator {
    width: 30px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: background-color 1.2s;
  }

  .indicator.active {
    background-color: #fff;
  }

.acc {
  position: absolute;
  bottom: 60%; /* ou onde preferir */
  right: 6%;
  z-index: 4; /* maior que o ::before (que é 1) */
}

.acc a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  pointer-events: auto; /* garante que seja clicável */
}

.acc a:hover {
  text-decoration: underline;
}

.icon-bar {
  position: absolute;
  bottom: 5%;
  right: 5.5%;
  z-index: 3;
  display: flex;
  gap: 25px;
}

.icon-bar i {
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.icon-bar i:hover {
  transform:  scale(1.2);
  color: #caa24b; /* um dourado, se quiser destaque */
}

/* SECTION SOBRE*/

    .section-title {
      color: #fff;
      font-size: 2rem;
      font-weight: bold;
      text-transform: uppercase;
      border-bottom: 3px solid #caa24b;
      display: inline-block;
    
      
    }




    /* AREA DE ATUAÇÃO */

       .section-title {
      color: #fff;
      font-size: 2.2rem;
      font-weight: bold;
      text-transform: uppercase;
      border-bottom: 3px solid #caa24b;
      display: inline-block;
      margin-bottom: 2.5rem;
     
    }
 

   .card-atuacao {
  
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 0.5rem;
  border-left: 4px solid transparent;
  height: 450px; /* altura fixa para alinhar */
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
   box-shadow: var(--shadow-elevation-high);
}


    .card-atuacao:hover {
      border-left-color: #caa24b;
    }

    .card-atuacao i {
      font-size: 2rem;
      color: #caa24b;
      margin-bottom: 1rem;
    }

    .card-atuacao h5 {
      font-weight: bold;
      text-transform: uppercase;
      font-size: 1rem;
      color: #333;
    }

    .card-atuacao p {
      font-size: 0.95rem;
      color: #333;
      margin-top: 1rem;
    }

    .card-atuacao hr {
      width: 30px;
      border: 1px solid #ccc;
      margin-top: 0.5rem;
      margin-bottom: 0;
    }

    .icon-link {
      margin-left: 90%;
      cursor: pointer;
      font-size: 1.5rem !important;
      color: #caa24b;
    }
     .swiper-slide {
  transition: transform 0.4s ease;
  height: auto;
  
}
.atuacao-swiper {
  position: relative;
  padding: 0 60px;
  overflow: visible;
  height: 650px;
  
}

.atuacao-swiper::before,
.atuacao-swiper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* Sombra lateral esquerda */

.atuacao-swiper::before {
  left: 0;
  background: linear-gradient(to right, rgba(12, 22, 34, 8.7), transparent);
}

/* Sombra lateral direita */
.atuacao-swiper::after {
  right: 0;
  background: linear-gradient(to left, rgba(12, 22, 34, 8.7), transparent);
}

.atuacao-container {
  position: relative;
  overflow: hidden; /* importante para cortar o excesso dos slides */
  padding: 0 60px; /* mantém o alinhamento visual */
}

/* Sombras nas laterais */
.atuacao-container::before,
.atuacao-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.atuacao-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(12, 22, 34, 8.7), transparent);
}

.atuacao-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(12, 22, 34, 8.7), transparent);
}
.swiper-pagination {
  position: relative;
  top: 0;
  margin-bottom: 12%;
  text-align: center;
}
    /*--ARTIGOS---*/
 

.artigos-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
  
  
}


.artigos-titulo h2 {
  font-size: 2.5rem;
  font-weight: bold;
  border-bottom: 3px solid #fff;
}

.artigos-cards .card {
  background-color: #1a1a1a;
  color: #ffffff;
  box-shadow: var(--shadow-elevation-high);
}

.artigos-cards .btn {
    color: #ffffff;

  margin-top: 0.5rem;
}


  /*--Serviço--*/

  #service {
    margin-top: 150px;
  }
    .service-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.cards-grid {
  display: grid;
    grid-template-columns: 1fr 1fr;

  gap: 1.5rem;
}
.card-service {
background-color: #1a1a1a;
  padding: 1rem;
  padding-top: 0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
 height: 280px; /* Garante altura mínima */
 
  width: 100%;
  word-wrap: break-word; /* Quebra o texto se necessário */
  overflow-wrap: break-word;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-elevation-high);
  
 
}


    .card-service i {
      font-size: 2rem;
      color: #caa24b;
      margin-bottom: 1rem;
    }

    .card-service h5 {
      font-weight: bold;
      text-transform: uppercase;
      font-size: 1rem;
      color: #d8d3d3;
    }

    .card-service p {
      font-size: 0.90rem;
      color: #d8d3d3;
   
    }

    .card-service hr {
      width: 30px;
      border: 1px solid #ccc;
      margin-top: 0.5rem;
      margin-bottom: 0;
    }
.titulo-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: end;
}

.card-service .section-title {
  margin-top: 5px;
}
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .titulo-grid {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}
/*CONTATE-ME*/

  .form-container {
    margin-top: 3em;
    gap: 2.5em;
    margin-left: 5rem;
  }

  .form-group {
    position: relative;
    display: grid;
    margin-bottom: 3em;
  }

  .form-input {
    outline: none;
    background: none;
    border: none;
    padding: 1em .3em;
    background-color: transparent;
    border-bottom: 1px solid #caa24b;
    font-size: 1em;
    z-index: 1;
    color: white;

  }

  .form-label {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 5px;
    transform: translateY(10px);
    transition: transform 0.5s, color 0.3s;
    font-size: 1.2rem;
    color: #666;
    pointer-events: none;
  }

  .form-input:focus + .form-label,
  .form-input:not(:placeholder-shown) + .form-label {
    transform: translateY(-12px) scale(0.8);
    transform-origin: left top;
    color: #caa24b;
  }

  .form-container button {
    box-shadow: var(--shadow-elevation-high);
  }

    /*--CODIGO DE ETICA E CONDUTA--*/
      .codigo-section {
      padding: 4rem 0;
    }

    .codigo-title {
      color: #fff;
      font-size: 2rem;
      font-weight: bold;
      text-transform: uppercase;
      border-bottom: 2px solid #caa24b;
      display: inline-block;
      margin-bottom: 2rem;
    }

    .codigo-paragrafo {
      font-size: 1rem;
      font-weight: 500;
      line-height: 1.6;
      text-align: justify;
      color: #caa24b;
    }

    .btn-baixar {
      background-color: #caa24b;
      color: #fff;
      font-weight: bold;
      text-transform: uppercase;
      padding: 0.5rem 1.5rem;
      border: none;
      transition: background-color 0.3s ease;
    }

    .btn-baixar:hover {
      background-color: #b3943f;
    }


    
    /*-- FOOTER---*/
.logo-footer {
      width: 100%;
}

/*-- REDES SOCIAIS--*/

    
    .section-title {
      color: #fff;
      font-size: 1.8rem;
      font-weight: bold;
      text-transform: uppercase;
      
    }

    .title-underline {
      width: 60px;
      height: 2px;
      background-color: #caa24b;
      margin-bottom: 2rem;
    }

    .social-icon {
      width: 50px;
      height: 50px;
      background-color: #caa24b;
      color: #fff;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      font-size: 1.2rem;
      margin-right: 1rem;
      transition: background-color 0.3s ease;
      text-decoration: none;
    }

    .social-icon:hover {
      background-color: #b3943f;
      color: #fff;
    }
@import "https://open-props/shadows.min.css" layer(design.system);

@keyframes slide-in {
  from {
    transform: translateX(-100cqi) scale(.75);
  }
}

.scroll-stack {
  container-type: inline-size;
  inline-size: 100cqi;

  display: grid;
  grid-auto-flow: column;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;

  gap: 1rem;
  padding-inline: 5vw;
  scroll-padding-left: 15vw; /* garante que o snap alinhe mais ao centro */
  padding-block: 30px 60px;

  /* espaçamento controlado nas extremidades */
  &::before,
  &::after {
    content: '';
    display: block;
  }

  &::before {
    order: 0;
    inline-size: 10vw; /* espaço inicial para evitar cards colados */
  }

  &::after {
    order: 999;
    inline-size: 10vw; /* espaço final também */
  }

  .item {
    scroll-snap-align: center;

    &:nth-child(1) { order: 10; z-index: 1; }
    &:nth-child(2) { order: 9;  z-index: 2; }
    &:nth-child(3) { order: 8;  z-index: 3; }
    &:nth-child(4) { order: 7;  z-index: 4; }
    &:nth-child(5) { order: 6;  z-index: 5; }
    &:nth-child(6) { order: 5;  z-index: 6; }
    &:nth-child(7) { order: 4;  z-index: 7; }
    &:nth-child(8) { order: 3;  z-index: 8; }
    &:nth-child(9) { order: 2;  z-index: 9; }
  }

  figure {
    @supports (animation-timeline: view()) {
      @media (prefers-reduced-motion: no-preference) {
        animation: slide-in linear both;
        animation-timeline: view(x);
        animation-range: cover -75cqi contain 20cqi;
      }
    }

    flex-shrink: 0;
    block-size: 80cqb;
    aspect-ratio: 9/16;
    background: light-dark(#ccc, #444);
    box-shadow: var(--shadow-5);
    border-radius: 20px;
    overflow: clip;

    display: flex;

    @container (width < 480px) {
      block-size: 50cqb;
    }

    > img {
      inline-size: 100%;
      block-size: 100%;
      object-fit: cover;
    }
  }
}
.scroll-stack {
  overflow-x: hidden; /* impede o scroll manual */
  scrollbar-width: none; /* Firefox */
}

.scroll-stack::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.nav-buttons button {
  font-size: 2rem;
  padding: 0.5rem 1rem;
  background: #333;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.nav-buttons button:hover {
  background: #555;
}


/*---------------------------------------------MOBILE----------------------------------------*/

/* HEADER*/
@media (max-width: 991.98px) {
  .header {
    height: 100px;
    justify-content: space-between;
    padding: 0 1rem;
  }

  .logo {
    top: 30px;
    width: 120px;
  }

  .hamburger-btn {
    width: 26px;
    height: 20px;
  }

  .menu-title {
    font-size: 1rem;
  }

  .menu-main-text {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .form-control {
    width: 80% !important;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .OAB {
    font-size: 0.8rem !important;
  }

  .search-box input.form-control {
    font-size: 0.9rem;
  }

  .menu-overlay {
    width: 100%;
    padding: 2rem;
  }

  .menu-content {
    text-align: center;
  }

  .desk {
    flex-direction: column;
    gap: 10px;
  }

  .img-box {
    width: 80%;
    margin: 0 auto;
  }
}

/*--------SLIDE ----*/



/*--------- ATUAÇÃO --------*/

@media (max-width: 991.98px) {
  /* Título da seção */
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  /* Container do Swiper */
  .atuacao-swiper,
  .atuacao-container {
    padding: 0 20px;
    height: auto;
  }

  .atuacao-swiper::before,
  .atuacao-swiper::after,
  .atuacao-container::before,
  .atuacao-container::after {
    width: 30px;
    background: none; /* Opcional: remove as sombras no mobile */
  }

  /* Card */
  .card-atuacao {
    min-height: 400px; /* Altura fixa responsiva */
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left-width: 3px;
  }

  .card-atuacao i {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }

  .card-atuacao h5 {
    font-size: 0.95rem;
    color: #fff;
  }

  .card-atuacao p {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.4;
  }

  .card-atuacao hr {
    width: 20px;
    margin-top: 0.4rem;
    border-color: #555;
  }

  .icon-link {
    font-size: 1.3rem !important;
    margin-left: auto;
    text-align: right;
  }

  /* Paginação do Swiper */
  .swiper-pagination {
    margin-bottom: 2rem;
  }
}


/* ARTIGOS */ 

@media (max-width: 991.98px) {
  /* Grid em coluna única */
  .artigos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Título responsivo */
  .artigos-titulo h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  /* Card de artigo */
  .artigos-cards .card {
    padding: 1.2rem;
  }

  /* Botão dentro do card */
  .artigos-cards .btn {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    display: block;
    width: 100%;
    text-align: center;
  }
}
