:target {
    scroll-margin-top: 100px;
}

/* *::-webkit-scrollbar {
    height: 2px;
    width: 2px;
}

*::-webkit-scrollbar-track {
    border-radius: 20px;
    background-color: transparent;
}

*::-webkit-scrollbar-track:hover {
    background-color: transparent;
}

*::-webkit-scrollbar-track:active {
    background-color: transparent;
}

*::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: rgb(0, 0, 0, 0.5);
}

*::-webkit-scrollbar-thumb:hover {
    background-color: rgb(0, 0, 0, 0.5);
}

*::-webkit-scrollbar-thumb:active {
    background-color: rgb(0, 0, 0, 0.5);
} */

body {
    background-color: #fff;
    margin: 0;
    padding: 0;
    padding-top: 80px;
}

img {
    max-width: 100%;
}

header {
    background: #fff;
    box-shadow: 2px 2px 15px rgb(0 0 0 / 18%);
    padding: 15px;
}

footer {
	padding: 5rem 0 4rem !important;
}

footer .btn-outline {
    font-size: 17px;
    padding: 10px 25px;
    border: 1px solid #FFF !important;
}

footer .redes-sociais {
    margin-bottom: 20px;
}

footer .redes-sociais a {
	padding-top: 7px;
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    text-align: center;
}

footer .redes-sociais .icone-svg {
    height: 26px;
}

footer #copyright {
    font-size: 12px;
    text-align: center;
    border-top: 1px solid #DDD;
    padding-top: 30px;
    margin-top: 40px;
}

footer .btn-whatsapp-footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

footer .col-footer-about .small {
	max-width: 320px;
}

footer .col-footer-nav ul li a {
    text-decoration: none;
    line-height: 2;
    display: inline-block;
}

footer .col-footer-contact ul li a {
    text-decoration: none;
    line-height: 2;
    display: inline-block;
}

footer .col-footer-contact ul li svg {
	margin-right: 5px;
}

.btn {
    font-weight: 500;
	border-radius: 0.6em;
}

.btn-lg {
    font-size: 16px;
    padding: 12px 40px;
	border-radius: 0.7em;
}

.py-5 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.nav-link {
    color: #fff;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-size: 15px;
}

.container {
    position: relative;
}

.btn-rounded {
    border-radius: 50px;
}

.btn-outline {
    border: 1px solid #3490dc;
    color: #3490dc;
}

.btn-outline:hover {
    background: #3490dc;
    color: #fff !important;
}

.btn-outline-danger {
    border: 1px solid #dc3545;
    color: #dc3545;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: #fff !important;
}

.btn-outline-primary {
    font-weight: 600;
    display: block;
    background: #fff;
    border: 1px solid #dee2e6;
    color: #9d9d9d;
    padding-top: 20px;
    padding-bottom: 20px;
}

.btn-outline-primary:hover {
    color: #1e5784;
    border-color: #fff;
    background: #fff;
    box-shadow: 2px 2px 10px rgb(0 0 0 / 23%);
    transition: 0.2s;
    transform: scale(1.03);
}

.btn-whatsapp {
    background: #25d366;
    border-color: #25d366;
    transition: transform 0.2s;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
}

.btn-whatsapp:hover {
    background: #14ad4d;
    transform: scale(1.1);
    color: #fff;
}

footer .copyright a {
    text-decoration: none;
}

footer .copyright a:hover {
    color: #FFF !important;
}

footer .visible a.btn-whatsapp {
    color: #fff !important;
}

.btn-whatsapp svg {
    fill: #fff;
}

.navbar {
	box-shadow: 1px 2px 15px #0000001a;
}

.navbar .logo {
    max-height: 65px;
    max-width: 170px;
}

.navbar .navbar-toggler {
    margin: 12px 0px;
}

.navbar .navbar-collapse {
    margin: 14px 0;
}

.template-landing-page .navbar .navbar-brand {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.diferenciais .material-symbols-outlined,
.servicos .material-symbols-outlined {
    display: block;
    font-size: 41px;
}

.descricao-sections {
    max-width: 980px;
    font-size: 18px;
    margin: 0 auto 40px;
}

section img {
    max-width: 640px;
    max-height: 640px;
}

section {
    padding: 5rem 0 !important;
}

.section-banner {
    position: relative;
    min-height: 400px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.section-banner h1 {
	text-transform: uppercase;
    border: 1px solid #FFF;
    border-radius: 50px;
    display: inline-block;
    padding: 5px 20px;
    font-size: 11px !important;
}

.template-landing-page .section-banner {
    text-align: center;
}

.section-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.section-banner .container {
    color: #fff;
}

.section-banner h2 {
	font-size: calc(2.7rem + 1.2vw) !important;
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: center;
	line-height:1.1;
}

.section-banner h3 {
    font-size: calc(0.2rem + 1.2vw) !important;
    max-width: 850px;
    font-weight: 400 !important;
    line-height: 1.4;
    margin: 0 auto;
    text-align: center;
}

.template-landing-page .section-banner h2 {
    margin-left: auto;
    margin-right: auto;
}

.template-landing-page .section-banner h3 {
    margin-left: auto;
    margin-right: auto;
}

.section-banner .btn {
    font-size: 17px;
    padding: 15px 40px;
	margin:0 10px 20px;
}

.section-banner .btn-outline {
    border: 1px solid #FFF !important;
    background: none !important;
}

.section-banner .btn:hover {
    background: #fff !important;
    color: #000 !important;
}

.section-sobre p {
    line-height: 1.9;
    font-size: 15px;
}

.section-sobre h2 {
	font-size: 50px;
	margin-bottom:0;
}

.section-sobre .texto {
    font-size: 17px;
}

.section-sobre .img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* Pode ajustar conforme necessário */
    height: fit-content;
    height: auto;
}

.section-sobre .img-container img {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1/1;
    border-radius: 25px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.section-area p {
    line-height: 1.9;
    font-size: 15px;
}

.section-area .img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: fit-content;
    height: auto;
}

.section-area .img-container img {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1/1;
    border-radius: 15px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.section-diferenciais .card {
	border: 1px solid #dbdbdb;
    border-radius: 20px;
    padding: 20px;
    background: #f8f8f8
}

.section-servicos h2 {
	font-size:50px;
}

.section-servicos h3 {
    font-size: 21px;
}

.section-servicos .card {
    text-align: left;
	border-radius: 20px;
	transition: transform 0.2s ease-in-out;
}

.section-servicos .card:hover {
	transform: scale(1.05);
}

.section-servicos .card .card-title {
    font-size: 22px;
}

.section-servicos .material-symbols-outlined {
    font-size: 4em;
}

.section-diferenciais .material-symbols-outlined {
    font-size: 4em;
}

.section-localizacao {
    padding-bottom: 0 !important;
}

.section-contato,
.section-associated-lawyers {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff !important;
}

.section-contato::before,
.section-associated-lawyers::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.section-contato .container {
    max-width: 700px;
}

.section-contato .btn {
    display: block;
}

.section-contato .form-floating>label {
    color: #333;
}

.section-associated-lawyers .container * {
    color: #fff !important;
}

.section-associated-lawyers {
    padding-top: 2rem;
}

.section-associated-lawyers h2 {
    text-align: center;
    font-size: 2.5rem !important;
    font-weight: bolder !important;
    margin-bottom: 1.5rem !important;
}

.section-associated-lawyers h4.oab {
    color: #9d7824 !important;
    font-size: 1rem !important;
}

.section-associated-lawyers .image {
    border-radius: 150px;
    width: 200px;
    height: 190px;
    background-position: center;
    background-color: #c0c0c0;
    margin: 0 auto;
    margin-bottom: 10px;
}

.section-faq .container {
    max-width: 800px;
}

.section-faq .accordion-item:last-of-type>.accordion-header .accordion-button.collapsed {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.section-faq .accordion-item {
    margin-bottom: 30px;
    border-radius: 15px;
    border: 0;
}

.section-faq .accordion-item .accordion-header {
    border: 0;
    background: #eee;
    border-radius: 15px;
}

.section-faq .accordion-item .accordion-header .accordion-button {
    box-shadow: none !important;
    outline: none !important;
    font-weight: 600;
    font-size: 18px;
    border: 0;
    background: #eee;
    border-radius: 15px !important;
}

.iframe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
}

.iframe-container iframe {
    width: 100%;
    border: none;
}

.form-floating {
    position: relative;
    margin-bottom: 1.5em;
}

.made-advpage-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1000;
    /* width: auto; */
    /* Padrão */
    /* height: auto; */
    /* Padrão */
    padding: 5px 12px;
    background: #fff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 3px 9px #0000002b;
    /* Adicionar transição para suavidade se for aparecer/desaparecer */
    /* transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; */
}

/* Se você adicionar .d-none para esconder via JS, pode querer uma transição */
.made-advpage-container.d-none {
    opacity: 0;
    visibility: hidden;
}

.made-advpage-container span {
    font-weight: 600;
    font-size: 14px;
    padding-right: 5px;
    color: #333;
    /* Exemplo de cor para contraste */
}

.made-advpage-container img {
    width: 85px;
    height: auto;
    vertical-align: middle;
    /* Bom para alinhar com texto */
}


.equipeescritorio-section {
    background-color: var(--ms-primary);
    padding: 96px 0;
    color: #fff;
}

.equipeescritorio-title {
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.125rem);
    line-height: 60px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 64px;
}

.equipeescritorio-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    margin: 0 auto;
}

.equipeescritorio-card {
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    padding: 32px;
    text-align: center;
    border-radius: var(--ms-radius);
}

.equipeescritorio-avatar {
    width: 248px;
    height: 248px;
    border-radius: var(--ms-radius);
    margin-bottom: 32px;
}

.equipeescritorio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipe-row {
    display: flex;
    flex-wrap: wrap;
    gap: 80px 120px;
    justify-content: center;
  }

.equipe-avatar {
    width: 360px;
    height: 360px;
    border-radius: var(--ms-radius);
    margin-bottom: 140px;
}

.equipe-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipeescritorio-name {
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 32px;
    color: #262E39;
    margin: 0 0 4px 0;
}

.equipeescritorio-oab {
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 32px;
    color: var(--ms-secondary);
    margin: 0 0 24px 0;
}

.equipeescritorio-text {
    font-weight: 400;
    font-size: 1rem;
    line-height: 28px;
    color: #4C4C4C;
    margin: 0 0 32px 0;
    max-width: 320px;
}

.equipeescritorio-button {
    font-weight: 500;
    font-size: 1rem;
    line-height: 27px;
    color: #FFFFFF;
    background: var(--ms-secondary);
    padding: 16px 88px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    border-radius: var(--ms-radius);
}

.equipeescritorio-button:hover {
    background: var(--ms-secondary);
}

.sobre2-section {
    width: 100%;
    height: calc(800px - 96px);
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
    padding: 0 24px;
}

.sobre2-background {
    position: relative;
    z-index: 0;
    width: 632px;
    height: 574px;
    border-radius: var(--ms-radius);
    flex-shrink: 0;
}

.sobre2-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--ms-radius);
}

.sobre2-content {
    position: relative;
    z-index: 1;
    width: 672px;
    height: 422px;
    flex-shrink: 0;
    margin-right: -172px;
    display: flex;
    align-items: center;
}

.sobre2-card {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    box-shadow: 0px 3px 12px rgba(26, 26, 26, 0.1);
    border-radius: var(--ms-radius);
    padding: 95px 46px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none !important;
}

.sobre2-card-content {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.sobre2-title {
    font-weight: 700;
    font-size: 38px;
    line-height: 24px;
    color: var(--ms-primary);
    margin: 0;
}

.sobre2-subtitle {
    font-weight: 300;
    font-size: 19px;
    line-height: 24px;
    color: var(--ms-secondary);
    padding-top: 2px;
}

.sobre2-text {
    font-weight: 400;
    font-size: 15px;
    line-height: 27px;
    color: #4C4C4C;
    margin-top: 8px;
    margin-bottom: 0;
    width: 100%;
}

.sobre2-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 192px;
    height: 46px;
    background-color: var(--ms-secondary);
    border-radius: var(--ms-radius);
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #FFFFFF;
    border: none;
    transition: background-color 0.3s ease;
    margin-top: 12px;
    cursor: pointer;
}

.sobre3-section {
    width: 100%;
    height: calc(800px - 96px);
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
    padding: 0 24px;
    padding-bottom: 134px;
}

.sobre3-background {
    position: relative;
    z-index: 0;
    width: 632px;
    height: 574px;
    flex-shrink: 0;
    margin-right: -172px;
}

.sobre3-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sobre3-content {
    position: relative;
    width: 672px;
    height: 422px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.sobre3-card {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    box-shadow: 0px 3px 12px rgba(26, 26, 26, 0.1);
    border-radius: var(--ms-radius);
    padding: 95px 46px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sobre3-card-content {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.sobre3-title {
    font-weight: 700;
    font-size: 38px;
    line-height: 24px;
    color: #262E39;
    margin: 0;
}

.sobre3-subtitle {
    font-weight: 300;
    font-size: 19px;
    line-height: 24px;
    color: var(--ms-secondary);
    padding-top: 2px;
}

.sobre3-text {
    font-weight: 400;
    font-size: 15px;
    line-height: 27px;
    color: #4C4C4C;
    margin-top: 8px;
    margin-bottom: 0;
    width: 100%;
}

.sobre3-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 192px;
    height: 46px;
    background-color: var(--ms-secondary);
    border-radius: var(--ms-radius);
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #FFFFFF;
    border: none;
    transition: background-color 0.3s ease;
    margin-top: 12px;
    cursor: pointer;
}

.sobre4-section {
    width: 100%;
    height: calc(900px - 96px);
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
    padding: 0 24px;
}

.sobre4-background {
    position: relative;
    z-index: 0;
    width: 632px;
    height: 574px;
    border-radius: var(--ms-radius);
    flex-shrink: 0;
}

.sobre4-background .carousel-inner{
    padding: 1.3rem;
}

.sobre4-background .carousel-inner,
.sobre4-background .carousel-item {
    width: 100%;
    height: 100%;
}

.sobre4-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--ms-radius);
}

/* Round carousel indicators */
.sobre4-background .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: var(--ms-radius);
    margin: 0 5px;
}

.sobre4-content {
    position: relative;
    z-index: 1;
    width: 632px;
    height: 574px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: transparent;
}

.sobre4-text-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: center;
}

.sobre4-title {
    font-weight: 700;
    font-size: 38px;
    line-height: 1.2;
    color: #262E39;
    margin: 0;
}

.sobre4-text {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #4C4C4C;
    margin: 0;
}

.sobre4-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 0 24px;
    height: 46px;
    background-color: var(--ms-secondary);
    border-radius: var(--ms-radius);
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    border: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
}

.servico-unico-content {
    padding: 0 40px;
}

.bg-dark-custom {
    background-color: var(--ms-primary);
    position: relative;
}

.text-gold {
    color: #B8A07A;
}

.btn-gold {
    background-color: #B8A07A;
    color: #14192B;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
}

.btn-gold:hover {
    background-color: #9c8661;
    color: #14192B;
}

.service-icon2 {
    width: 48px;
    height: 48px;
    border-radius: var(--ms-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background-color: var(--ms-secondary);
    color: var(--ms-primary);
    width: 32px;
    height: 32px;
    border-radius: var(--ms-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.parceiros-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
}

.parceiros-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.parceiros-header {
    margin-bottom: 40px;
}

.parceiros-title {
    font-weight: 700;
    font-size: 2.625rem;
    color: #242D4C;
    margin-bottom: 16px;
}

.parceiros-lead {
    font-weight: 600;
    font-size: 1.125rem;
    color: #6c757d;
    margin: 0;
}

.parceiros-carousel-container {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    position: relative;
    padding: 1rem;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 20px,
        black calc(100% - 20px),
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 20px,
        black calc(100% - 20px),
        transparent
    );
}

.parceiros-carousel-track {
    display: flex;
    width: max-content;
    gap: 20px;
    padding: 10px 0;
    animation: scrollAnimation 30s linear infinite;
}

@keyframes scrollAnimation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 10px));
    }
}

.parceiros-carousel-slide {
    scroll-snap-align: start;
    height: 300px;
    width: 300px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    border-radius: var(--ms-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.parceiros-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Hide scrollbar but keep functionality */
.parceiros-carousel-container::-webkit-scrollbar {
    display: none;
}

.parceiros-carousel-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Pause animation on hover */
.parceiros-carousel-container:hover .parceiros-carousel-track {
    animation-play-state: paused;
}

.depoimentos-bg-white {
    background-color: #FFFFFF;
}

.depoimentos-py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.depoimentos-mb-5 {
    margin-bottom: 3rem;
}

.depoimentos-section-title {
    font-weight: 700;
    font-size: 2.625rem;
    line-height: 4rem;
}

.depoimentos-text-primary-custom {
    color: #242D4C;
}

.depoimentos-lead {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 2rem;
}

.depoimentos-text-muted {
    color: #6c757d;
}

.depoimentos-position-relative {
    position: relative;
}

.depoimentos-justify-content-center {
    justify-content: center;
}

.depoimentos-card {
    background: #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.depoimentos-h-100 {
    height: 100%;
}

.depoimentos-border {
    border: 1px solid;
}

.depoimentos-border-2 {
    border-width: 2px;
}

.depoimentos-border-primary-custom {
    border-color: var(--ms-primary);
}

.depoimentos-rounded-3 {
    border-radius: 0.5rem;
}

.depoimentos-p-4 {
    padding: 1.5rem;
}

.depoimentos-mb-3 {
    margin-bottom: 1rem;
}

.depoimentos-me-3 {
    margin-right: 1rem;
}

.depoimentos-bg-primary-custom {
    background-color: var(--ms-primary);
}

.depoimentos-text-white {
    color: #FFFFFF;
}

.depoimentos-rounded-circle {
    border-radius: 50%;
}

.depoimentos-initials {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
}

.depoimentos-mb-1 {
    margin-bottom: 0.25rem;
}

.depoimentos-text-warning {
    color: #FFC107;
}

.depoimentos-card-text {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75rem;
    color: #495057;
    flex-grow: 1;
}

.video-section {
    width: 100%;
    padding: 80px 0;
    background-color: var(--ms-primary);
    color: #FFFFFF;
}

.video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.video-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.video-text-content {
    flex: 1;
    min-width: 300px;
}

.video-embed-container {
    flex: 1;
    min-width: 300px;
}

.video-subtitle {
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.video-description {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.video-extra-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.bg-primary-custom-atuacao {
    background-color: var(--ms-primary) !important;
    position: relative;
    width: 100%;
    padding: 96px 0;
}

.section-title {
    font-weight: 700;
    font-size: 2.625rem;
    line-height: 4rem;
    color: var(--ms-primary-foreground) !important;
}

.divider {
    width: 4px;
    height: 140px;
    background: var(--ms-secondary) !important;
    transform: rotate(90deg);
}

.lead {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 2rem;
    color: var(--ms-primary-foreground) !important;
    max-width: 100%;
}

.card-area {
    background: rgb(0 0 0 / 45%);
    border-radius: 15px;
    padding: 48px;
    transition: transform 0.3s ease;
}

.card-area:hover {
    transform: translateY(-5px);
}

.card-icon {
    margin-bottom: 24px;
}


@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1230px;
    }
}

@media (max-width: 991.98px) {

    .equipeescritorio-cards {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .equipeescritorio-card {
        max-width: 90%;
    }

    .equipeescritorio-avatar {
        width: 200px;
        height: 200px;
    }

    .equipe-avatar {
        width: 200px;
        height: 200px;
    }

    .equipeescritorio-name {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }

    .equipeescritorio-oab {
        font-size: clamp(1rem, 3.5vw, 1.25rem);
    }

    .equipeescritorio-text {
        font-size: clamp(0.875rem, 3.5vw, 1rem);
    }

    .equipeescritorio-button {
        padding: 13px 64px;
        font-size: clamp(0.875rem, 3.5vw, 1rem);
    }

    .sobre2-section {
        flex-direction: column;
        height: auto;
        min-height: unset;
        padding: 20px 10px;
        padding-bottom: 40px;
    }

    .sobre2-background {
        width: 90vw;
        max-width: 600px;
        height: auto;
        margin: 0 auto 20px auto;
        order: 1;
    }

    .sobre2-background img {
        object-fit: contain;
    }

    .sobre2-content {
        width: 90vw;
        max-width: 600px;
        height: auto;
        margin-right: 0;
        order: 2;
    }

    .sobre2-card {
        padding: 40px;
        width: 100%;
        height: auto;
    }

    .sobre2-card-content {
        align-items: center;
    }

    .sobre2-title {
        font-size: clamp(1.75rem, 4vw, 3rem);
        text-align: center;
        line-height: 1.1;
    }

    .sobre2-subtitle {
        font-size: clamp(1rem, 3.75vw, 2rem);
        line-height: 1.1;
        margin-top: 0.3rem;
        text-align: center;
    }

    .sobre2-text {
        font-size: clamp(0.875rem, 3.5vw, 1rem);
        line-height: 1.1;
        margin-top: 1rem;
        text-align: center;
    }

    .sobre2-button {
        width: 200px;
        height: 45px;
        margin-top: 1.5rem;
        font-size: clamp(0.875rem, 3.5vw, 1rem);
        line-height: 27px;
        border-radius: var(--ms-radius);
    }

    .sobre3-section {
        flex-direction: column;
        height: auto;
        min-height: unset;
        padding: 20px 10px;
        padding-bottom: 40px;
    }

    .sobre3-background {
        width: 90vw;
        max-width: 600px;
        height: auto;
        margin: 0 auto 20px auto;
        order: 1;
    }

    .sobre3-background img {
        object-fit: contain;
    }

    .sobre3-content {
        width: 90vw;
        max-width: 600px;
        height: auto;
        order: 2;
    }

    .sobre3-card {
        padding: 40px;
        width: 100%;
        height: auto;
    }

    .sobre3-card-content {
        align-items: center;
    }

    .sobre3-title {
        font-size: clamp(1.75rem, 4vw, 3rem);
        text-align: center;
        line-height: 1.1;
    }

    .sobre3-subtitle {
        font-size: clamp(1rem, 3.75vw, 2rem);
        line-height: 1.1;
        margin-top: 0.3rem;
        text-align: center;
    }

    .sobre3-text {
        font-size: clamp(0.875rem, 3.5vw, 1rem);
        line-height: 1.1;
        margin-top: 1rem;
        text-align: center;
    }

    .sobre3-button {
        width: 200px;
        height: 45px;
        margin-top: 1.5rem;
        font-size: clamp(0.875rem, 3.5vw, 1rem);
        line-height: 27px;
        border-radius: var(--ms-radius);
    }

    .navbar-expand-lg>.container,
    .navbar-expand-lg>.container-fluid {
        padding-right: 15px;
        padding-left: 15px;
    }


    .escritorio-equipe-avatar {
        width: 200px;
        height: 200px;
    }

    .escritorio-equipe-text {
        max-width: 90%;
    }

    .sobre4-section {
        flex-direction: column;
        height: auto;
        min-height: unset;
        padding: 40px;
        gap: 30px;
    }

    .sobre4-background {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        margin: 0;
    }

    .sobre4-content {
        width: 100%;
        height: auto;
        padding: 0;
    }

    .sobre4-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .sobre4-text {
        font-size: clamp(0.875rem, 3.5vw, 1rem);
    }

    .sobre4-button {
        width: 100%;
        max-width: 250px;
        margin: 20px auto 0;
    }

    .parceiros-section {
        padding: 60px 0;
    }
    
    .parceiros-title {
        font-size: 2rem;
    }
    
    .parceiros-lead {
        font-size: 1rem;
    }
    
    .parceiros-carousel-slide {
        height: 250px;
        width: 250px;
    }

    .depoimentos-section-title {
        font-size: clamp(1.5rem, 5vw, 2.625rem);
        line-height: clamp(2rem, 6vw, 4rem);
    }

    .depoimentos-lead {
        font-size: clamp(0.9rem, 4vw, 1.125rem);
        line-height: clamp(1.4rem, 5vw, 2rem);
    }

    .depoimentos-card-text {
        font-size: clamp(0.875rem, 3.5vw, 1rem);
        line-height: clamp(1.5rem, 5vw, 1.75rem);
    }

    .depoimentos-initials {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

     .video-section {
        padding: 60px 0;
    }
    
    .video-content-wrapper {
        gap: 30px;
    }
    
    .video-subtitle {
        font-size: 28px;
    }
    
    .video-description {
        font-size: 16px;
    }
    
    .video-extra-text {
        font-size: 15px;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2.625rem);
        line-height: clamp(2rem, 6vw, 4rem);
    }

    .divider {
        height: 60px;
    }

    .lead {
        font-size: clamp(0.9rem, 4vw, 1.125rem);
        line-height: clamp(1.4rem, 5vw, 2rem);
    }

    .card-area {
        padding: 32px;
    }

    .card-title {
        font-size: clamp(1rem, 4.5vw, 1.25rem);
        line-height: clamp(1.4rem, 5vw, 1.75rem);
        margin-bottom: 16px;
    }

    .card-text {
        font-size: clamp(0.875rem, 3.5vw, 1rem);
        line-height: clamp(1.5rem, 5vw, 2rem);
    }

    .icon-wrapper {
        width: 48px;
        height: 48px;
    }

}

@media (max-width: 768px) {

    .h1,
    h1,
    .h2,
    h2 {
        font-size: calc(1.375rem + 1vw) !important;
    }

    .h3,
    h3 {
        font-size: calc(1.3rem + 0.2vw) !important;
    }

    p {
        font-size: 0.9rem !important;
    }

    .navbar .logo {
        max-height: 65px;
        max-width: 180px;
    }

    .container {
        padding-right: calc(var(--bs-gutter-x) * 1);
        padding-left: calc(var(--bs-gutter-x) * 1);
    }

    .section-banner {
        min-height: 60vh;
        height: auto;
        padding: 60px 0px;
    }

    .section-banner h1 {
        font-size: 9px !important;
    }

    .section-banner h2 {
        font-size: 1.9rem !important;
    }

    .section-banner h3 {
        font-size: 1rem !important;
    }

    .section-sobre {
        padding: 60px 0 0 !important;
    }

    .section-servicos,
    .section-contato {
        padding: 60px 0 !important;
    }

    .section-sobre .lh-lg {
        line-height: 1.4 !important;
    }

    .section-sobre .texto {
        font-size: 14px;
    }

    .section-servicos h3 {
        font-size: 16px !important;
    }

    .section-servicos p {
        font-size: 14px;
    }

     .section-area .lh-lg {
        line-height: 1.4 !important;
    }

    .section-area .img-container {
        margin-bottom: 30px;
    }

    .material-symbols-outlined {
        font-size: 2rem !important;
    }

    .section-diferenciais .material-symbols-outlined {
        float: left;
    }

    .section-diferenciais .card .card-title {
        text-align: left;
        padding-top: 2px;
        font-size: 17px !important;
    }

    .section-diferenciais .card .card-body {
        padding: 0;
    }

    .section-diferenciais .card .card-body .card-description {
        font-size: 14px !important;
        font-weight: 400;
        text-align: left;
    }

    .section-servicos .card {
        padding: 10px !important;
    }

    .section-sobre .img-container {
        margin-bottom: 30px;
    }

    .section-faq .accordion-item .accordion-header .accordion-button {
        font-size: 15px;
    }

    .section-faq .accordion-body {
        font-size: 13px;
    }

    .parceiros-carousel-slide {
        height: 200px;
        width: 200px;
    }
    
    .parceiros-carousel-track {
        gap: 15px;
    }
    
    .parceiros-carousel-container {
        mask-image: linear-gradient(
            to right,
            transparent,
            black 10px,
            black calc(100% - 10px),
            transparent
        );
        -webkit-mask-image: linear-gradient(
            to right,
            transparent,
            black 10px,
            black calc(100% - 10px),
            transparent
        );
    }

    .video-section {
        padding: 40px 0;
    }
    
    .video-content-wrapper {
        flex-direction: column;
    }
    
    .video-text-content {
        order: 1;
        text-align: center;
    }
    
    .video-embed-container {
        order: 2;
        width: 100%;
    }
    
    .video-subtitle {
        font-size: 24px;
    }
    
    .video-description,
    .video-extra-text {
        font-size: 15px;
    }

     .depoimentos-g-4 {
        --bs-gutter-y: 1.5rem;
    }
    
    .col-md-6 {
        padding-bottom: 0.5rem;
    }

    .service-icon2 {
        width: 40px;
        height: 40px;
    }
    
    .process-step {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-lg {
        font-size: 14px;
        padding: 8px 20px;
    }
}