/*
Theme Name: CMP Advocacia
Author: Gemini CLI
Description: Tema personalizado para o site da CMP Advocacia.
Version: 1.0
*/

main{
    overflow: hidden;
}

main.privacy-page {
    overflow: visible;
}

.privacy-page section {
    overflow: visible;
}

main.single-post-page {
    overflow: visible;
}
.post-grid-img img{
    width: 100%;
    height: 175px;
    object-fit: cover;
}

.post-content-toc{
    max-height: 400px;
    overflow-y: scroll;
}
.single-post-page section,
.single-post-page > div {
    overflow: visible;
}

.single-post-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.single-post-toc {
    display: none;
    align-self: start;
    position: -webkit-sticky;
    position: sticky;
    top: 24px;
    z-index: 5;
}

.single-post-toc-inner {
    max-height: calc(100vh - 48px);
    overflow: hidden;
}

.bg-gray-200{
    background: #ececef;
}
.privacy-main-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: #fff;
}

.privacy-container {
    width: 100%;
    max-width: 1177px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.privacy-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
/* Forçar altura do swiper-slide e card interno de especialidades */
.especialistas-swiper .swiper-slide {
    height: auto !important;
}

.especialistas-swiper .swiper-slide > div{
    height: 100% !important;
}

.texto-p > p{
    margin-bottom: 1.5rem;
}
.z-index-0{
    z-index: 0 !important;
}
.z-index-1{
    z-index: 1 !important;
}
.z-index-2{
    z-index: 2 !important;
}

/* Evitar o corte do box-shadow no Swiper */
.especialistas-swiper {
    padding: 50px 20px !important;
    margin: -50px -20px !important;
}

/* Estilo para ícones da sessão de situações */
.situacoes-icon {
    object-fit: contain;
    width: 100%;
    height: 70px !important;
    filter: brightness(0) saturate(100%) invert(61%) sepia(13%) saturate(1200%) hue-rotate(8deg) brightness(88%) contrast(80%);
}

/* Estilo para títulos da sessão "Quem pode solicitar" */
.qs-title {
    text-transform: uppercase;
}

#sb_instagram .sbi_photo img{
    border-radius: 10px;
}

.sbi_photo_wrap::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    background: url('assets/instagram-icone.png') no-repeat center center;
    width: 16px;
    height: 16px;
    background-size: contain;
}

#especialistas-next, #especialistas-prev,
#testimonial-next, #testimonial-prev {
    cursor: pointer;
}

.shadow-\[0_30px_50px_rgba\(38\,48\,68\,0\.10\)\] {
    --tw-shadow: 00px 00px 20px 0px var(--tw-shadow-color,#2630441a);
    box-shadow: var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow) !important;
}

.gap-50{
    gap: 50px !important;
}

.thumb-servicos {
    display: block;
    border-radius: 18px !important;
    overflow: hidden;
    clip-path: inset(0 round 18px);
}

.blog-detail img{
  width: 100%;
    max-height: 470px;
    object-fit: cover;
}

.post-content p{
    margin-bottom: 1.5rem;
}
.gap-16 {
    gap: calc(var(--spacing) * 16);
}
.post-content h2{
    font-size: 22px;
    font-weight: 600;
}
.post-content h3{
    font-size: 20px;
    font-weight: 600;
}
.post-content h4{
    font-size: 18px;
    font-weight: 600;
}

.privacy-summary {
    display: none;
    align-self: start;
    position: -webkit-sticky;
    position: sticky;
    top: 24px;
    z-index: 5;
}

.privacy-summary-inner {
    max-height: calc(100vh - 48px);
    overflow: visible;
}

.privacy-summary-inner h2 {
    margin: 0;
}

.privacy-summary-inner nav a {
    display: block;
    margin-top: 12px;
    color: var(--cmp-text);
    text-decoration: none;
    transition: color .2s ease;
}

.privacy-summary-inner nav a:hover {
    color: var(--cmp-accent);
}

@media (min-width: 1024px) {
    .single-post-body {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .single-post-toc {
        display: block !important;
    }

    .privacy-body {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .privacy-summary,
    .privacy-summary.hidden {
        display: block !important;
    }
}

.privacy-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--cmp-primary);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content h3 {
    margin-top: 2rem;
    margin-bottom: .75rem;
    color: var(--cmp-primary);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.privacy-content p {
    margin-bottom: 1.15rem;
}

.privacy-content ul {
    margin: 0 0 1.5rem 1.25rem;
    list-style: disc;
}

.privacy-content li {
    margin-bottom: .65rem;
}

.privacy-content table th,
.privacy-content table td {
    vertical-align: top;
}
@media (max-width: 767px) {
   h2 {
        font-size: 22px !important;
    }

   main > section.hero {
        text-align: center;
    }
   .carrousel-especialistas {
        position: relative;
        display: block !important;
        width: 100%;
   }

   .carrousel-especialistas .especialistas-swiper {
        width: 100% !important;
        max-width: 100%;
        flex: 0 0 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
   }

   .carrousel-especialistas .swiper-slide,
   .carrousel-especialistas .swiper-slide > div {
        width: 100% !important;
   }

   .carrousel-especialistas #especialistas-prev,
   .carrousel-especialistas #especialistas-next {
        position: absolute;
        top: 50%;
        z-index: 20;
        transform: translateY(-50%);
        width: 42px !important;
        height: 42px !important;
   }

   .carrousel-especialistas #especialistas-prev {
        left: 10px;
   }

   .carrousel-especialistas #especialistas-next {
        right: 10px;
   }
   .cx-numero {
        padding-left: 10px !important;
        padding-right: 10px !important;
        text-align: center !important;
   }

   .cx-numero * {
        text-align: center !important;
   }
   footer,
   footer * {
        text-align: center !important;
   }

   footer img {
        margin-left: auto !important;
        margin-right: auto !important;
   }

   footer .flex,
   footer a.flex,
   footer li.flex {
        justify-content: center !important;
   }

   footer li.flex,
   footer a.flex {
        align-items: center !important;
   }

   footer ul {
        margin-left: auto !important;
        margin-right: auto !important;
   }
}
@media (min-width: 1024px) {
    .simesc-photo,
    .quem-somos-photo {
        height: 560px !important;
    }
}
.thumb-beneficios {
    display: block;
    border-radius: 18px !important;
    overflow: hidden !important;
    clip-path: inset(0 round 18px);
}

picture.thumb-beneficios img,
.thumb-beneficios > img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.thumb-quem-solicitar {
    display: block;
    border-radius: 18px !important;
    overflow: hidden !important;
    clip-path: inset(0 round 18px);
}

picture.thumb-quem-solicitar img,
.thumb-quem-solicitar > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.js-specialty-card {
    cursor: pointer;
}
.w-\[60px\] {
    width: 60px
}
.h-\[60px\] {
    height: 60px
}

@media (min-width: 768px) {
    .contato-info-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}






/* Contêiner principal do Banner */
    .banner-container {
      background-color: #00051b;
      border-radius: 20px;
      width: 100%;
      display: flex;
      overflow: hidden;
      position: relative;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
      color: #ffffff;
      margin: 60px auto;
      max-width: 990px;
    }

    /* Lado esquerdo (Conteúdo e Textos) */
    .banner-content {
      padding: 25px 0px 25px 50px;
      width: 75%;
      z-index: 2;
      position: relative;
    }

    /* Área da Logo */
    .logo-area img{max-height: 42px; filter: brightness(0) invert(1); margin-right: 15px;}
    .logo-area {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
    }

    .logo-mark {
      font-size: 38px;
      font-weight: 800;
      letter-spacing: -2px;
      line-height: 1;
      display: flex;
      align-items: center;
    }

    .logo-text-wrapper {
      display: flex;
      flex-direction: column;
      border-left: 1px solid rgba(255, 255, 255, 0.2);
      padding-left: 15px;
    }

    .logo-text-top {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.5px;
      color: #d1d5db;
    }

    .logo-text-bottom {
      font-size: 11px;
      font-weight: 400;
      color: #9ca3af;
    }

    /* Títulos e Textos */
    .headline {
      font-size: 22px;
      font-weight: 400;
      line-height: 1.3;
      margin-bottom: 20px;
    }

    .headline strong {
      font-weight: 700;
    }

    .gold-text {
      color: #c0a16b; /* Cor dourada */
      font-weight: 700;
    }

    .divider {
      width: 65px;
      height: 3px;
      background-color: #c0a16b;
      margin-bottom: 20px;
      border-radius: 2px;
    }

    .sub-headline {
      font-size: 16px;
      line-height: 1.5;
      margin-bottom:20px;
      color: #f3f4f6;
    }

    /* Botão do WhatsApp */
    .cta-button {
      display: inline-flex;
      align-items: center;
      background-color: #12a628; /* Verde do WhatsApp */
      color: #ffffff;
      text-decoration: none;
      padding: 16px 32px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 16px;
      transition: background-color 0.3s ease, transform 0.2s ease;
      gap: 12px;
    }

    .cta-button:hover {
      background-color: #0e8c1e;
      transform: translateY(-2px);
    }

    .whatsapp-icon {
      width: 24px;
      height: 24px;
      fill: currentColor;
    }

    .arrow-icon {
      font-size: 20px;
      line-height: 1;
      margin-left: 4px;
    }

    /* Lado direito (Imagem de fundo) */
    .banner-image {
      width: 25%;
      position: absolute;
      right: 0;
      bottom: 0;
      top: 0;
      /* Substitua o link abaixo pela URL da sua imagem com fundo transparente ou recorte exato */
      background-image: url('assets/banner-ajuda.jpg');
      background-position: center right;
      background-repeat: no-repeat;
      z-index: 1;
      /* Gradiente para misturar suavemente a imagem com o fundo escuro */
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
      mask-image: linear-gradient(to right, transparent 0%, black 40%);
    }

    /* Responsividade para telas menores */
    @media (max-width: 850px) {
      .banner-container {
        flex-direction: column;
      }
      .banner-content {
        width: 100%;
        padding: 40px 30px;
      }
      .banner-image {
        display: none; /* Oculta a imagem em telas menores */
      }
      .headline {
        font-size: 26px;
      }
      .sub-headline {
        max-width: 100%;
      }
    }
