/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    cursor: var(--cursor-default);
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    color:#333;
    background:#fff;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================
   HEADER
========================== */

.header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:999;
    background:rgba(255,255,255,.97);
    box-shadow:0 2px 15px rgba(0,0,0,.08);
}

.header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo img{
    height:65px;
}

.menu{
    display:flex;
    gap:35px;
}

.menu a{
    color:#222;
    font-weight:500;
    transition:.3s;
}

.menu a:hover{
    color:#b48a4a;
}

.menu-mobile{
    display:none;
    flex-direction:column;
    cursor:pointer;
}

.menu-mobile span{
    width:28px;
    height:3px;
    background:#222;
    margin:3px 0;
}

/* ==========================
   HERO
========================== */

.hero{
    height:100vh;
    background:
    linear-gradient(
    rgba(0,0,0,.55),
    rgba(0,0,0,.55)
    ),
    url('../images/hero4.png');

    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
}

@media(max-width: 450px){
    .hero{
        background:
        linear-gradient(
        rgba(0,0,0,.55),
        rgba(0,0,0,.55)
        ),
        url('../images/hero-mobile2.png');

        background-size:cover;
        background-position:center;
        display: flex;
        align-items: center;
    }
}

.hero-content{
    position:relative;
    z-index:2;
}

.hero-text{
    max-width:700px;
}

.hero h1{
    color:#fff;
    font-size:4rem;
    font-family:'Cormorant Garamond',serif;
    line-height:1.1;
    margin-bottom:25px;
}

.hero p{
    color:#f5f5f5;
    font-size:1.1rem;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.btn{
    background:#b48a4a;
    color:#fff;
    padding:15px 30px;
    border-radius:4px;
    transition:.3s;
    font-weight:600;
}

.btn:hover{
    background:#99723a;
}

.btn-outline{
    background:transparent;
    border:2px solid #fff;
}

.btn-outline:hover{
    background:#fff;
    color:#222;
}

/* ==========================
   TITULOS
========================== */

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:#b48a4a;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
}

.section-title h2{
    font-family:'Cormorant Garamond',serif;
    font-size:3rem;
    margin-top:10px;
}

/* ==========================
   SOBRE
========================== */

.sobre{
    padding:120px 0;
}

.sobre-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.sobre-img img{
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.sobre-text p{
    margin-bottom:20px;
    font-size:1.05rem;
}

/* ==========================
   AREAS
========================== */

.areas{
    padding:120px 0;
    background:#f8f8f8;
}

.areas-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.card{
    background:#fff;
    padding:40px 30px;
    text-align:center;
    border-radius:8px;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
}

.card:hover{
    transform:translateY(-8px);
}

.card i{
    font-size:2.2rem;
    color:#b48a4a;
    margin-bottom:20px;
}

.card h3{
    font-size:1.1rem;
}

/* ==========================
   EQUIPE
========================== */

.equipe{
    padding:120px 0;
}

.advogadas{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.advogada{
    text-align:center;
}

.advogada img{
    width:100%;
    height:520px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:25px;
}

.advogada h3{
    font-size:1.6rem;
    margin-bottom:15px;
    font-family:'Cormorant Garamond',serif;
}

.advogada p{
    max-width:500px;
    margin:auto;
}

/* ==========================
   DIFERENCIAIS
========================== */

.diferenciais{
    padding:120px 0;
    background:#111;
    color:#fff;
}

.diferenciais .section-title h2{
    color:#fff;
}

.diferenciais-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.item{
    text-align:center;
    padding:30px;
}

.item i{
    font-size:2.5rem;
    color:#b48a4a;
    margin-bottom:20px;
}

.item h3{
    font-size:1.1rem;
}

/* ==========================
   CONTATO
========================== */

.contato{
    padding:120px 0;
}

.contato-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
}

.info h3{
    margin-top:20px;
    color:#b48a4a;
}

.info p{
    margin-top:8px;
}

.form{
    display:flex;
    flex-direction:column;
}

.form input,
.form textarea{
    width:100%;
    padding:16px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:5px;
    font-family:'Montserrat',sans-serif;
}

.form textarea{
    height:180px;
    resize:none;
}

.form button{
    border:none;
    background:#b48a4a;
    color:#fff;
    padding:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.form button:hover{
    background:#99723a;
}

/* ==========================
   MAPA
========================== */

.mapa iframe{
    width:100%;
    height:450px;
    border:none;
}

/* ==========================
   FOOTER
========================== */

footer{
    background:#111;
    color:#fff;
    text-align:center;
    padding:35px 0;
}

/* ==========================
   WHATSAPP
========================== */

.whatsapp-float{
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    border-radius:50%;
    background:#25D366;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:2rem;
    box-shadow:0 8px 20px rgba(0,0,0,.2);
    z-index:999;
    transition:.3s;
}

.whatsapp-float:hover{
    transform:scale(1.1);
}

/* ==========================
   ANIMAÇÕES
========================== */

.card,
.item,
.advogada,
.sobre-img{
    transition:.4s;
}

.card:hover,
.item:hover{
    transform:translateY(-10px);
}

/* ==========================
   RESPONSIVO
========================== */

@media(max-width:991px){

    .hero h1{
        font-size:3rem;
    }

    .sobre-grid{
        grid-template-columns:1fr;
    }

    .areas-grid{
        grid-template-columns:1fr 1fr;
    }

    .advogadas{
        grid-template-columns:1fr;
    }

    .diferenciais-grid{
        grid-template-columns:1fr 1fr;
    }

    .contato-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){

    .menu{
        display:none;
    }

    .menu-mobile{
        display:flex;
    }

    .hero{
        text-align:center;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero h1{
        font-size:2.4rem;
    }

    .section-title h2{
        font-size:2.2rem;
    }

    .areas-grid{
        grid-template-columns:1fr;
    }

    .diferenciais-grid{
        grid-template-columns:1fr;
    }

    .advogada img{
        height:420px;
    }
}

@media(max-width:480px){

    .hero h1{
        font-size:2rem;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    .logo img{
        height:55px;
    }

    .advogada img{
        height:350px;
    }

    .whatsapp-float{
        width:58px;
        height:58px;
        font-size:1.7rem;
    }
}
.menu.active{
    display:flex;
    position:absolute;
    top:90px;
    left:0;
    width:100%;
    background:#fff;
    flex-direction:column;
    padding:30px;
    gap:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.header-scroll{
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.12);
}

.hidden-element{
    opacity:0;
    transform:translateY(40px);
    transition:.8s ease;
}

.show-element{
    opacity:1;
    transform:translateY(0);
}

.back-to-top{
    position:fixed;
    bottom:100px;
    right:25px;
    width:50px;
    height:50px;
    background:#b48a4a;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:999;
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
}

.active-link{
    color:#b48a4a !important;
    font-weight:600;
}

.autoShow{
    animation: autoShowAnimation both;
    animation-timeline: view(70% 20%);

}
@keyframes autoShowAnimation{
    from{
        opacity: 0;
        trasnform: traslateY(200px) scale(0.3);
    }to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}