@font-face {
    font-family: 'KT Quantum';
    src: url('../fonts/ktquantum-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Adobe Hebrew';
    src: url('../fonts/adobehebrew-italic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url(../fonts/roboto-variable.woff2) format('woff2');
    font-stretch: 100%;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --primary-300: #e7c3b1;
    --primary-500: #D89E82;
    --primary-600: #C39077;
    --secondary-color: #4F1F2B;
    --white: #FFFFFF;

    --primary-color: var(--primary-500);
    --primary-color-50: #D89E8280;

    --font-color: #333;
    --background-color: #f5f5f5;
    

    --font-highlight: 'KT Quantum', serif;
    --font-secondary: 'Adobe Hebrew', 'Times New Roman', serif;
    --font-text: 'Roboto', sans-serif;

    --transition-sm : all 0.3s ease-in-out;
}

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

body,
html {
    font-family: Arial, sans-serif;
    height: 100%;
}

h1 {
    font-family: var(--font-highlight);
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 125%;
}

h2 {
    font-family: var(--font-highlight);
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 125%;
}

h4 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

hr {
    border-color: var(--primary-color-50);
    margin-bottom: 2rem;
}

/* ===== MENU ===== */
.menu {
    left: 0;
    position: fixed;
    top: 0;
    transition: all 0.3s ease;
    width: 100%;
    z-index: 1000;
}

.menu-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    gap: 2rem
}

nav {
    display: flex;
    font-family: var(--font-text);
    font-size: 0.875rem;
    text-transform: uppercase;
}

nav a {
    font-weight: 500;
    margin-left: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav .container {
    display: flex;
    gap: 5rem;
}

/* ===== MENU MOBILE ===== */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 24px;
    background: var(--primary-300);
    border-radius: 0;
    transition: var(--transition-sm);
}

.menu.active .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translateY(8px) translateX(4px);
}
.menu.active .menu-toggle span:nth-child(2) {
    opacity: 0;
}
.menu.active .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px) translateX(3px)
}

/* Menu transparente (topo) */
.menu.transparent {
    background: transparent;
}

.menu.transparent .logo,
.menu.transparent a {
    color: var(--white);
    max-width: 320px;
    text-wrap: nowrap;
    width: 100%;
}

.menu.transparent .logo path,
.menu.transparent .logo rect {
    fill: var(--primary-color);
}

/* Menu com fundo branco (scroll) */
.menu.solid {
    background: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu.solid .logo,
.menu.solid a {
    color: #000;
    max-width: 320px;
    text-wrap: nowrap;
    width: 100%;
}

.menu.solid .logo path,
.menu.solid .logo rect {
    fill: #000;
}

/* ===== CARROSSEL ===== */
section.carousel {
    height: 100vh;
    overflow: hidden;
    position: relative;
    width: 100%;
    min-height: 600px;
}

.carousel-images {
    height: 100%;
    position: relative;
    width: 100%;
}

.carousel-images img {
    height: 100%;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    transition: opacity 1s ease;
    width: 100%;
}

.carousel-images img.active {
    opacity: 1;
    z-index: 2;
}

/* ===== TEXTO SOBREPOSTO ===== */
.carousel-overlay {
    align-items: center;
    color: var(--white);
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 7fr 4fr;
    justify-items: center;
    left: 50%;
    max-width: 90%;
    position: absolute;
    text-align: left;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 3;
}

.carousel-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.carousel-overlay p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.carousel-overlay button {
    align-items: center;
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    cursor: pointer;
    display: flex;
    font-family: var(--font-text);
    font-size: 1rem;
    gap: 0.25rem;
    padding: 1rem 1.5rem 1rem 2rem;
    text-transform: uppercase;
    text-wrap: nowrap;
    transition: all 0.3s ease;
}

.carousel-overlay button:hover {
    background: var(--white);
    color: #000;
}

.carousel button .icon {
    background-color: var(--white);
    height: 1.25rem;
    mask-size: contain;
    mask: url('../images/chevron-right.svg') no-repeat center;
    width: 1.25rem;
    -webkit-mask-size: contain;
    -webkit-mask: url('../images/chevron-right.svg') no-repeat center;
}

.carousel button:hover .icon {
    background-color: var(--secondary-color);
}

/* ===== DOTS ===== */
.carousel-dots {
    bottom: 30px;
    display: flex;
    gap: 10px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 3;
}

.carousel-dots button {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    height: 12px;
    transition: background-color 0.3s ease;
    width: 12px;
}

.carousel-dots button.active {
    background-color: rgba(255, 255, 255, 1);
}

/* SECTION QUEM SOMOS */

section#quem-somos {
    padding: 4rem 2rem;
    text-align: left;
    background-color: var(--secondary-color);
}
    
section#quem-somos h2,
section#advocacia-resultado h2 {
    color: var(--primary-color);
}

section#quem-somos h4,
section#advocacia-resultado h4 {
    color: var(--primary-600);
    margin-bottom: 3.75rem;
}

section#quem-somos p {
    color: var(--white);
    font-family: var(--font-text);
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 2rem;
    padding-bottom: 3rem;
}

section#quem-somos .title {
    display: grid;
    grid-template-columns: 7fr 5fr;
    width: 100%;
    margin-bottom: 3rem;
}

section#quem-somos .info {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

section#quem-somos .button-group {
    display: flex;
    gap: 1.5rem;
}

section#quem-somos button,
.accordion-content button {
    align-items: center;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    font-family: var(--font-text);
    font-size: 1rem;
    gap: 0.25rem;
    padding: 1rem 1.5rem 1rem 2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-wrap: nowrap;
}

.accordion-content button {
    margin-top: 3rem;
}

section#quem-somos button:hover,
.accordion-content button:hover {
    background: var(--primary-color);
    color: #000;
}

section#quem-somos button .icon,
.content-inner button .icon {
    background-color: var(--primary-color);
    height: 1.25rem;
    mask-size: contain;
    mask: url('../images/chevron-right.svg') no-repeat center;
    width: 1.25rem;
    -webkit-mask-size: contain;
    -webkit-mask: url('../images/chevron-right.svg') no-repeat center;
}

section#quem-somos button:hover .icon,
.content-inner button:hover .icon {
    background-color: var(--secondary-color);
}

/* SECTION ADVOCACIA DE RESULTADO */

section#advocacia-resultado {
    background-color: var(--secondary-color);
    padding: 4rem 2rem;
    text-align: left;
}

section#advocacia-resultado .title {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 3fr;
    margin-bottom: 3rem;
    width: 100%;
}

.image-parallax {
    background-attachment: fixed; /* faz o efeito parallax */
    background-position: center;
    background-size: cover;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.image-inicio {
    aspect-ratio: 3 / 1;
    background-image: url('../images/home/advocacia-resultado.webp');
}

/* SECTION ACCORDION */

section.accordion {
    background: var(--secondary-color);
    border-top: 1px solid var(--primary-color);
    width: 100%;
}

.accordion-item {
    border-bottom: 1px solid var(--primary-color-50);
    overflow: hidden;
}

.accordion-header {
    align-items: center;
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    font-family: var(--font-text);
    font-size: 2rem;
    font-weight: 200;
    justify-content: space-between;
    outline: none;
    padding: 2rem 2rem;
    text-align: left;
    transition: background 0.3s ease, color 0.3s ease;
    width: 100%;
}

.accordion-header:hover {
    background: rgba(0, 0, 0, 0.05);
}

.accordion-header .icon {
    position: relative;
    width: 18px;
}

.accordion-header .icon::before,
.accordion-header .icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: var(--primary-color);
    transform-origin: center;
    transition: transform 0.25s ease;
}

/* Horizontal (−) – inicial */
.accordion-header .icon::before {
    transform: translate(-50%, -50%) rotate(0deg);
}

/* Vertical (|) – inicial */
.accordion-header .icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* ABERTO → vertical gira sentido horário 90° e "deita" */
.accordion-item.open .icon::after {
    transform: translate(-50%, -50%) rotate(180deg); /* virou uma linha deitada */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 3000px; /* valor alto suficiente para expandir */
}

.content-inner {
    color: var(--white);
    display: grid;
    font-family: var(--font-text);
    font-size: 1.5rem;
    font-weight: 300;
    gap: 2.5rem;
    grid-template-columns: 4fr 7fr;
    line-height: 2rem;
    padding: 2rem;
}

footer {
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    flex-direction: column;
    font-family: var(--font-text);
    font-size: 0.875rem;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    width: 100%;
}

.footer-content {
    display: grid;
    gap: 1rem;
    grid-template-columns: 6fr 1fr 5fr;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
}

.footer-content ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.footer-content ul li {
    padding: 0.5rem 0;
}

.footer-content h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: left;
}

.footer-content a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-top {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.footnotes a {
    color: var(--secondary-color);
    text-transform: uppercase;
}

.footer-sitemap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
}

.contact {
    color:#000000;
    text-align: left;
}

.contact p {
    padding:0.5rem 0;
}

.contact form {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
    margin-top: 2rem;
}

.contact form input {
    padding: 1rem 0;
    background: none;
    border: none;
    border-bottom: 1px solid #000000;
    font-family: var(--font-text);
    font-size: 0.875rem;
    width: 100%;
}

.contact form input::placeholder,
.contact textarea::placeholder {
    color: var(--secondary-color);
    opacity: 0.8;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 0 6px;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #000;
    background: transparent;
    outline: none;
    color: #000;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 14px;
    font-size: 16px;
    color: #000;
    pointer-events: none;
    transition: 0.25s ease;
}

.form-group.button-area {
    align-items: flex-end;
    display: flex;
    justify-content: flex-end;
}

section#contato .form-group.button-area {
    height: 100%;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    opacity: 0.8;
}

.form-group textarea {
    padding-top: 18px;
    min-height: 90px;
}

.contact textarea {
    padding: 1rem 0;
    background: none;
    border: none;
    border-bottom: 1px solid #000000;
    font-family: var(--font-text);
    font-size: 0.875rem;
    width: 100%;
}

.contact button {
    align-items: center;
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    font-family: var(--font-text);
    font-size: 1rem;
    gap: 0.25rem;
    height: fit-content;
    margin-top: 1rem;
    padding: 1rem 1.5rem 1rem 2rem;
    text-transform: uppercase;
    text-wrap: nowrap;
    transition: all 0.3s ease;
}

.contact button:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.contact button .icon {
    background-color: var(--secondary-color);
    height: 1.25rem;
    mask-size: contain;
    mask: url('../images/chevron-right.svg') no-repeat center;
    width: 1.25rem;
    -webkit-mask-size: contain;
    -webkit-mask: url('../images/chevron-right.svg') no-repeat center;
}

.contact button:hover .icon {
    background-color: var(--white);
}

.footer-bottom {
    align-items: center;
    color: #212121;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: space-between;
    width: 100%;
}

.footer-logo img {
    max-width: 240px;
    width: 100%;
}

.parallax-footer {
    position: relative;
    width: 100%;
    height: 40vh; /* altura do efeito */
    overflow: hidden;
    margin-bottom: 2rem;
}

.image-parallax-footer {
    position: absolute;
    inset: 0;
    background-image: url(../images/footer-image.webp);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    transform: translateZ(0); /* suaviza o movimento */
    will-change: background-position;
}

/* SECTION POLITICA DE PRIVACIDADE */

section#politica-privacidade {
    padding: 10rem 2rem 4rem 2rem;
    text-align: left;
    background-color: var(--secondary-color);
}
    
section#politica-privacidade h2 {
    color: var(--primary-color);
}

section#politica-privacidade h4 {
    color: var(--primary-600);
    margin-bottom: 3.75rem;
}

section#politica-privacidade p {
    padding-bottom: 2rem;
}

section#politica-privacidade ul li{
    padding-bottom: 3rem;
    list-style: disc outside;
    margin-left: 2rem;
    padding-left: 0.5rem;
}

section#politica-privacidade p,
section#politica-privacidade li {
    color: var(--white);
    font-family: var(--font-text);
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 2rem;
}

section#politica-privacidade .title {
    display: grid;
    grid-template-columns: 7fr 5fr;
    width: 100%;
    margin-bottom: 3rem;
}

section#politica-privacidade .info {
    display: grid;
    grid-template-columns: 3fr 7fr 2fr;
    width: 100%;
}

section#politica-privacidade .button-group {
    display: flex;
    gap: 1.5rem;
}

section#politica-privacidade button {
    align-items: center;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    font-family: var(--font-text);
    font-size: 1rem;
    gap: 0.25rem;
    padding: 1rem 1.5rem 1rem 2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-wrap: nowrap;
}

section#politica-privacidade button:hover {
    background: var(--primary-color);
    color: #000;
}

section#politica-privacidade button .icon {
    background-color: var(--primary-color);
    height: 1.25rem;
    mask-size: contain;
    mask: url('../images/chevron-right.svg') no-repeat center;
    width: 1.25rem;
    -webkit-mask-size: contain;
    -webkit-mask: url('../images/chevron-right.svg') no-repeat center;
}

section#politica-privacidade button:hover .icon {
    background-color: var(--secondary-color);
}

/* SECTION SOBRE */

section#sobre {
    padding: 10rem 2rem 4rem 2rem;
    text-align: left;
    background-color: var(--secondary-color);
}
    
section#sobre h2 {
    color: var(--primary-color);
}

section#sobre h4 {
    color: var(--primary-600);
    margin-bottom: 3.75rem;
}

section#sobre p {
    padding-bottom: 2rem;
}

section#sobre ul li{
    padding-bottom: 3rem;
    list-style: disc outside;
    margin-left: 2rem;
    padding-left: 0.5rem;
}

section#sobre p,
section#sobre li {
    color: var(--white);
    font-family: var(--font-text);
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 2rem;
}

/* SECTION NOSSOS VALORES */

section#nossos-valores {
    padding: 4rem 2rem;
    text-align: left;
    background-color: var(--secondary-color);
}
    
section#nossos-valores h2 {
    color: var(--primary-color);
}

section#nossos-valores h4 {
    color: var(--primary-600);
    margin-bottom: 3.75rem;
}

section#nossos-valores p {
    padding-bottom: 2rem;
}

section#nossos-valores ul li{
    padding-bottom: 3rem;
    list-style: disc outside;
    margin-left: 2rem;
    padding-left: 0.5rem;
}

section#nossos-valores p,
section#nossos-valores i {
    color: var(--white);
    font-family: var(--font-text);
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 2rem;
}

section#nossos-valores .section-title {
    grid-template-columns: 7fr 5fr;
}

section#nossos-valores .title-nossos-valores {
    grid-template-columns: 3fr 9fr;
}

section#nossos-valores .section-title,
section#nossos-valores .title-nossos-valores {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

section#sobre .info {
    display: grid;
    grid-template-columns: 3fr 7fr 2fr;
    width: 100%;
}

section#sobre .button-group {
    display: flex;
    gap: 1.5rem;
}

section#sobre button {
    align-items: center;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    font-family: var(--font-text);
    font-size: 1rem;
    gap: 0.25rem;
    padding: 1rem 1.5rem 1rem 2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-wrap: nowrap;
}

section#sobre button:hover {
    background: var(--primary-color);
    color: #000;
}

section#sobre button .icon {
    background-color: var(--primary-color);
    height: 1rem;
    mask-size: contain;
    mask: url('../images/chevron-right.svg') no-repeat center;
    width: 1rem;
    -webkit-mask-size: contain;
    -webkit-mask: url('../images/chevron-right.svg') no-repeat center;
}

section#sobre button:hover .icon {
    background-color: var(--secondary-color);
}

.valores {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 2rem;
    width: 100%;
}

.valores .card-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    margin-bottom: 4rem;
}

.valores .card-group .card {
    border-top: 1px solid var(--primary-color-50);
    padding: 0.5rem 0;
}

.valores .card-group h3 {
    color: var(--primary-500);
    font-family: var(--font-text);
    font-weight: 200;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.valores .card-group h5 {
    color: var(--primary-500);
    font-family: var(--font-secondary);
    font-size: 3rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.title-quem-somos {
    display: grid;
    grid-template-columns: 1fr 3fr;
    margin-bottom: 2rem;
    gap: 2rem;
}

.info-quem-somos {
    line-height: 2rem;
    gap: 3rem;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    width: 100%;
    height: auto;
    margin-bottom: 6rem;
}

.photo-1 { 
    grid-area: 1 / 1 / 2 / 6; 
    background: url('../images/sobre/gallery-1.webp');
    aspect-ratio: 6 / 5;
}

.photo-2 { 
    grid-area: 1 / 6 / 2 / 13; 
    background: url('../images/sobre/gallery-2.webp');
}

.photo-3 { 
    grid-area: 2 / 1 / 3 / 9; 
    background: url('../images/sobre/gallery-3.webp');
}

.photo-4 { 
    grid-area: 2 / 9 / 3 / 13; 
    background: url('../images/sobre/gallery-4.webp');
}

.photo-frame {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* SECTION SOCIOS */

section#socios {
    padding: 4rem 0;
    text-align: left;
    background-color: var(--secondary-color);
    overflow: hidden;
    position: relative;
}
    
section#socios h2 {
    color: var(--primary-color);
    font-family: var(--font-text);
    font-size: 2.5rem;
    font-weight: 200;
}

section#socios h4,
section#advocacia-resultado h4 {
    color: var(--primary-600);
    margin-bottom: 3.75rem;
}

section#socios p {
    color: var(--white);
    font-family: var(--font-text);
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 2rem;
    padding-bottom: 3rem;
}

section#socios p:last-child {
    padding-bottom: 0;
}

section#socios .title {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-bottom: 3rem;
    gap: 2rem;
}

section#socios .info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.profile-picture {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    width: 100%;
}

.profile-picture img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.profile-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.carousel-2 {
    height: 60vh;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
    scroll-behavior: smooth;
}

/* SECTION AREAS ATUAÇÃO */

section#areas-atuacao {
    padding: 10rem 2rem 4rem 2rem;
    text-align: left;
    background-color: var(--secondary-color);
}
    
section#areas-atuacao h2 {
    color: var(--primary-color);
}

section#areas-atuacao h4 {
    color: var(--primary-600);
    margin-bottom: 3.75rem;
}

section#areas-atuacao p {
    color: var(--white);
    font-family: var(--font-text);
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 2rem;
    padding-bottom: 3rem;
}

section#areas-atuacao .title,
section#areas-atuacao .info {
    display: grid;
    gap: 2rem;
    width: 100%;
}

section#areas-atuacao .title {
    grid-template-columns: 7fr 5fr;
    margin-bottom: 3rem;
}

section#areas-atuacao .info {
    grid-template-columns: 1fr 1fr;
}

section#areas-atuacao .button-group {
    display: flex;
    gap: 1.5rem;
}

section#areas-atuacao button {
    align-items: center;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    font-family: var(--font-text);
    font-size: 1rem;
    gap: 0.25rem;
    padding: 1rem 1.5rem 1rem 2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-wrap: nowrap;
}

.accordion-content button {
    margin-top: 3rem;
}

section#areas-atuacao button:hover {
    background: var(--primary-color);
    color: #000;
}

section#areas-atuacao button .icon {
    background-color: var(--primary-color);
    height: 1.25rem;
    mask-size: contain;
    mask: url('../images/chevron-right.svg') no-repeat center;
    width: 1.25rem;
    -webkit-mask-size: contain;
    -webkit-mask: url('../images/chevron-right.svg') no-repeat center;
}

section#areas-atuacao button:hover .icon {
    background-color: var(--secondary-color);
}

.areas-list h2 {
    color: var(--primary-500);
    font-family: var(--font-text);
    font-size: 4rem;
    font-weight: 200;
}

.areas-list p {
    color: var(--white);
    font-family: var(--font-text);
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 2rem;
    padding-bottom: 2rem;
}

.areas-list ul {
    padding-bottom: 2rem;
}

.areas-list ul>li {
    color: var(--white);
    font-family: var(--font-text);
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 2rem;
    padding-bottom: 1rem;
    list-style: disc outside;
    margin-left: 2rem;
    padding-left: 0.5rem;
}

.areas-list ul>li>ul {
    padding-bottom: 0;
}

.areas-list ul>li>ul>li {
    list-style: circle outside;
}

.areas-list .content-inner {
    grid-template-columns: 1fr 2fr 1fr;
}

.image-areas-atuacao {
    aspect-ratio: 3 / 1;
    background-image: url('../images/areas-atuacao/areas-atuacao.webp');
}

/* SECTION CONTATOS */
section#contato {
    padding: 10rem 2rem 4rem 2rem;
    text-align: left;
    background-color: var(--secondary-color);
}
    
section#contato h2 {
    color: var(--primary-color);
}

section#contato h4 {
    color: var(--primary-600);
    margin-bottom: 3.75rem;
    text-wrap: nowrap;
}

section#contato p {
    padding-bottom: 2rem;
}

section#contato ul li{
    padding-bottom: 0;
    margin-left: 0;
    padding-left: 0;
}

section#contato p,
section#contato li {
    color: var(--white);
    font-family: var(--font-text);
    font-size: 1.25rem;
    font-weight: 200;
    line-height: 2rem;
}

section#contato .title {
    display: grid;
    grid-template-columns: 7fr 5fr;
    width: 100%;
}

section#contato .title-nossos-valores {
    display: grid;
    grid-template-columns: 3fr 9fr;
    width: 100%;
}

section#contato .info {
    display: grid;
    grid-template-columns: 3fr 7fr 2fr;
    width: 100%;
}

section#contato .button-group {
    display: flex;
    gap: 1.5rem;
}

section#contato button {
    align-items: center;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    font-family: var(--font-text);
    font-size: 1rem;
    gap: 0.25rem;
    padding: 1rem 1.5rem 1rem 2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-wrap: nowrap;
}

section#contato button:hover {
    background: var(--primary-color);
    color: #000;
}

section#contato button .icon {
    background-color: var(--primary-color);
    height: 1.25rem;
    mask-size: contain;
    mask: url('../images/chevron-right.svg') no-repeat center;
    width: 1.25rem;
    -webkit-mask-size: contain;
    -webkit-mask: url('../images/chevron-right.svg') no-repeat center;
}

section#contato button:hover .icon {
    background-color: var(--secondary-color);
}

section#contato .small-text {
    font-size: 0.875rem;
    display: flex;
    padding-bottom: 0;
    padding-top: 1.5rem;

}

ul.lista-contatos {
    color: var(--white);
    font-size: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-contatos a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-sm);
}

.lista-contatos a:hover {
    text-decoration: underline;
}

ul.lista-contatos li{
    padding: 0;
    margin: 0;
}

.columns-contact {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    padding-bottom: 6rem;
}

.columns-contact form {
    align-items: flex-start;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
}

.columns-contact form input {
    background: none;
    border: none;
    border-bottom: 1px solid var(--primary-500);
    color: var(--white);
    font-family: var(--font-text);
    font-size: 0.875rem;
    padding: 1rem 0;
    width: 100%;
}

.columns-contact textarea {
    padding: 1rem 0;
    background: none;
    border: none;
    border-bottom: 1px solid var(--primary-500);
    font-family: var(--font-text);
    font-size: 0.875rem;
    width: 100%;
}

.columns-contact button {
    align-items: center;
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    font-family: var(--font-text);
    font-size: 1rem;
    gap: 0.25rem;
    margin-top: 1rem;
    padding: 1rem 1.5rem 1rem 2rem;
    text-transform: uppercase;
    text-wrap: nowrap;
    transition: all 0.3s ease;
}

.columns-contact button:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.columns-contact button .icon {
    background-color: var(--secondary-color);
    height: 1.25rem;
    mask-size: contain;
    mask: url('../images/chevron-right.svg') no-repeat center;
    width: 1.25rem;
    -webkit-mask-size: contain;
    -webkit-mask: url('../images/chevron-right.svg') no-repeat center;
}

.columns-contact button:hover .icon {
    background-color: var(--white);
}

.columns-contact textarea {
    grid-row-end: 3;
    grid-column-end: 3;
    grid-column-start: 1;
    grid-row-start: 3;
}

.columns-contact form input::placeholder,
.columns-contact textarea::placeholder {
    color: var(--primary-color);
    opacity: 0.8;
}

.columns-contact textarea {
    border-bottom: 1px solid var(--primary-color);
}

.columns-contact form .form-group textarea,
.columns-contact form .form-group input {
    border-bottom: 1px solid var(--primary-color);
    color: var(--white);
}

.columns-contact .form-group label {
    color: var(--primary-300);
}

.columns-contact .col-a {
    display: flex;
    justify-content: flex-start;
}

.office-location {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.office-address {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.office-address img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

.col-a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

/* Botões */
.arrow {
    position: absolute;
    top: 2rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s;
}

.arrow.prev { left: 2rem; }

.arrow.next { right: 2rem; }

.arrow:hover { opacity: 0.6; }

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.left { 
    transform: translateX(-40px); 
}
.reveal.right { 
    transform: translateX(40px); 
}

@media (max-width: 1024px) {
        nav .container {
        display: flex;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .title {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h2 {
        font-size: 2.25rem;
    }

    .arrow.prev, .arrow.next {
        top: 1rem;
    }

    nav.menu-links {
        align-items: center;
        background-color: var(--primary-color);
        flex-direction: column;
        font-family: var(--font-highlight);
        gap: 2rem;
        height: 100vh;
        justify-content: center;
        position: fixed;
        right: -100%;
        text-transform: unset;
        top: 0;
        transition: right 0.4s ease;
        width: 100%;
        z-index: 1050;
    }

    nav.menu-links a {
        color: var(--secondary-color)!important;
        font-size: 2rem;
        font-weight: 400;
        margin: 0;
    }

    .menu-toggle {
        display: flex;
    }

    /* Quando ativo */
    .menu.active nav.menu-links {
        right: 0;
    }

    .menu.transparent .menu-toggle span {
        background: var(--white);
    }

    .menu.solid .menu-toggle span {
        background: #000;
    }

    section#quem-somos,
    section#advocacia-resultado,
    section#sobre,
    section#socios {
        background-color: var(--secondary-color);
        padding: 2rem 1.5rem;
        text-align: left;
    }

    section#sobre,
    section#politica-privacidade,
    section#contato,
    section#areas-atuacao {
        padding: 6.5rem 1.5rem 2rem 1.5rem;
    }

    section#quem-somos .title,
    section#sobre .info,
    section#sobre .title-nossos-valores,
    section#sobre .title,
    section#socios .title,
    section#quem-somos .info,
    section#politica-privacidade .info,
    section#politica-privacidade .title,
    section#contato .title,
    .areas-list .content-inner,
    section#areas-atuacao .info,
    section#areas-atuacao .title {
        grid-template-columns: 1fr;
    }

    section#sobre .title {
        margin-bottom: 0;
    }

    section#socios p {
        font-size: 1.125rem;
        line-height: 1.75rem;
        text-align: left;
    }

    section#socios h4,
    section#advocacia-resultado h4,
    section#politica-privacidade h4,
    section#contato h4,
    section#areas-atuacao h4 {
        margin-bottom: 2rem;
        text-align: left;
    }

    .valores .card-group h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    section#sobre p, section#sobre li {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    section#sobre p {
        padding-bottom: 1rem;
    }

    section#sobre h2,
    section#quem-somos h2,
    section#advocacia-resultado h2,
    section#areas-atuacao h2 {
        text-align: left;
    }

    section#politica-privacidade p,
    section#politica-privacidade li,
    section#areas-atuacao p {
        font-size: 1.125rem;
        font-weight: 200;
        line-height: 1.75rem;;
    }

    section#sobre h4,
    section#quem-somos h4 {
        margin-bottom: 2rem;
        text-align: left;
    }

    .title-quem-somos {
        display: grid;
        grid-template-columns: 1fr;
        margin-bottom: 2rem;
        gap: 2rem;
    }

    .valores .card-group {
        grid-template-columns: 1fr;
    }

    .photo-gallery {
        grid-column-gap: 1.25rem;
        grid-row-gap: 1.25rem;
    }
    
    footer {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
    }

    .footer-sitemap {
        display: flex;
        flex-direction: column;
    }

    .contact form {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }

    nav .container {
        display: grid;
        gap: 1.5rem;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
    }

    .menu-container {
        padding: 1rem 1.5rem;
    }

    section#quem-somos .button-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .accordion-header {
        font-size: 1.25rem;
        padding: 1.5rem;
    }

    section#socios h2,
    section#advocacia-resultado h2 {
        font-size: 1.75rem;
        text-align: left;
    }

    .image-inicio {
        aspect-ratio: 4 / 3;
    }

    .content-inner {
        font-size: 1.125rem;
        gap: 0;
        grid-template-columns: 1fr;
        line-height: 1.75rem;
        padding: 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    section.carousel {
        height: 100vh;
        overflow: hidden;
        position: relative;
        width: 100%;
        min-height: 420px;
    }
    
    .carousel-overlay {
        grid-template-columns: 1fr;
    }

    section#quem-somos p {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    .columns-contact {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .columns-contact form {
        display: flex;
        gap: 1rem;
        flex-direction: column;
    }

    .office-address {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .office-address img {
        aspect-ratio: 3 / 2;
        object-fit: cover;
        width: 100%;
    }

    .areas-list h2 {
        font-size: 1.75rem;
    }

    .areas-list p {
        font-size: 1.125rem;
        padding-bottom: 1.75rem;
    }

    .areas-list ul li {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .image-areas-atuacao {
        aspect-ratio: 4 / 3;
    }
}