/* ======================================================
   CAMILO BARROS ADVOCACIA
   STYLE.CSS - PARTE 1
====================================================== */

:root{
    --primary:#1E3A5F;
    --secondary:#047857;
    --dark:#2D3436;
    --light:#F8F9FA;
    --white:#FFFFFF;
    --border:#E5E7EB;
    --shadow:0 20px 60px rgba(0,0,0,.08);
    --radius:18px;
    --transition:.35s ease;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Manrope',sans-serif;
    color:var(--dark);
    background:var(--light);
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:min(1180px,92%);
    margin:auto;
}

section{
    padding:110px 0;
}

/* ==========================
        BOTÕES
========================== */

.btn-primary,
.btn-header{

    background:var(--secondary);
    color:#fff;
    padding:16px 34px;
    border-radius:999px;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:var(--transition);

}

.btn-primary:hover,
.btn-header:hover{

    transform:translateY(-4px);
    box-shadow:0 18px 35px rgba(4,120,87,.25);

}

.btn-secondary{

    border:2px solid var(--primary);
    color:var(--primary);
    padding:16px 34px;
    border-radius:999px;
    font-weight:700;
    transition:var(--transition);

}

.btn-secondary:hover{

    background:var(--primary);
    color:#fff;

}

.btn-white{

    background:#fff;
    color:var(--primary);
    border-radius:999px;
    padding:18px 36px;
    font-weight:700;
    display:inline-block;

}

/* ==========================
        HEADER
========================== */

header{

    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:999;

    backdrop-filter:blur(15px);

    background:rgba(255,255,255,.92);

    border-bottom:1px solid rgba(0,0,0,.05);

}

header .container{

    height:86px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.logo{

    font-size:30px;

    font-weight:800;

    color:var(--primary);

}

.logo span{

    color:var(--secondary);

}

nav ul{

    display:flex;

    gap:38px;

}

nav a{

    color:var(--dark);

    font-weight:600;

    transition:var(--transition);

}

nav a:hover{

    color:var(--secondary);

}

/* ==========================
        HERO
========================== */

.hero{

    padding-top:180px;

    min-height:100vh;

    display:flex;

    align-items:center;

}

.hero-grid{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    gap:80px;

    align-items:center;

}

.tag{

    display:inline-block;

    padding:10px 18px;

    background:#EAF6F2;

    color:var(--secondary);

    border-radius:999px;

    font-size:14px;

    font-weight:700;

    margin-bottom:30px;

}

.hero h1{

    font-size:62px;

    line-height:1.1;

    color:var(--primary);

    margin-bottom:25px;

}

.hero p{

    font-size:19px;

    color:#555;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:18px;

    margin-bottom:45px;

}

.hero-info{

    display:flex;

    gap:35px;

}

.hero-info div{

    display:flex;

    flex-direction:column;

}

.hero-info strong{

    font-size:32px;

    color:var(--primary);

}

.hero-info span{

    color:#666;

    font-size:15px;

}

.hero-image{

    position:relative;

}

.hero-image img{

    width:100%;

    border-radius:24px;

    box-shadow:var(--shadow);

}

/* ==========================
      CARDS FLUTUANTES
========================== */

.floating-card{

    position:absolute;

    background:#fff;

    border-radius:18px;

    box-shadow:var(--shadow);

    padding:18px 22px;

    display:flex;

    gap:15px;

    align-items:center;

    min-width:250px;

}

.floating-card i{

    font-size:28px;

    color:var(--secondary);

}

.card1{

    top:60px;

    left:-40px;

}

.card2{

    bottom:40px;

    right:-35px;

}

/* ==========================
       TÍTULOS
========================== */

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    color:var(--secondary);

    text-transform:uppercase;

    font-weight:700;

    letter-spacing:2px;

}

.section-title h2{

    margin-top:15px;

    color:var(--primary);

    font-size:48px;

    line-height:1.2;

}

.section-title p{

    width:720px;

    max-width:100%;

    margin:20px auto 0;

    color:#666;

}

/* ==========================
        SOBRE
========================== */

.about{

    background:#fff;

}

.about-text{

    max-width:950px;

    margin:0 auto 70px;

    text-align:center;

    font-size:19px;

    color:#555;

}

.about-cards{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.card{

    background:#fff;

    padding:40px;

    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.05);

    transition:var(--transition);

    text-align:center;

}

.card:hover{

    transform:translateY(-10px);

}

.card i{

    font-size:42px;

    color:var(--secondary);

    margin-bottom:20px;

}

.card h3{

    color:var(--primary);

    margin-bottom:15px;

}

.card p{

    color:#666;

    font-size:15px;

}
/* ======================================================
        STYLE.CSS - PARTE 2
        ÁREAS | ESPECIALIDADE | ADVOGADO
======================================================*/

/* ==========================
        ÁREAS
========================== */

.areas{
    background:var(--light);
}

.areas-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.area-card{

    background:#fff;

    padding:40px 35px;

    border-radius:20px;

    transition:.35s;

    box-shadow:0 15px 35px rgba(0,0,0,.05);

    border:1px solid transparent;

}

.area-card:hover{

    transform:translateY(-10px);

    border-color:var(--secondary);

}

.area-card i{

    width:70px;

    height:70px;

    border-radius:50%;

    background:#EAF6F2;

    color:var(--secondary);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    margin-bottom:25px;

}

.area-card h3{

    color:var(--primary);

    margin-bottom:15px;

    font-size:24px;

}

.area-card p{

    color:#666;

    font-size:16px;

    line-height:1.8;

}

/* ==========================
      ESPECIALIDADE
========================== */

.specialty{

    background:var(--primary);

    color:#fff;

}

.specialty-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.specialty span{

    display:inline-block;

    color:#8EE4C1;

    text-transform:uppercase;

    letter-spacing:2px;

    font-weight:700;

    margin-bottom:18px;

}

.specialty h2{

    font-size:50px;

    line-height:1.15;

    margin-bottom:25px;

}

.specialty p{

    color:rgba(255,255,255,.82);

    margin-bottom:35px;

    font-size:18px;

}

.specialty ul{

    margin-bottom:40px;

}

.specialty li{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:18px;

    font-size:17px;

}

.specialty li i{

    width:34px;

    height:34px;

    border-radius:50%;

    background:rgba(255,255,255,.12);

    color:#8EE4C1;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:14px;

}

.specialty-image{

    position:relative;

}

.specialty-image img{

    border-radius:24px;

    box-shadow:0 25px 60px rgba(0,0,0,.25);

}

/* ==========================
       ADVOGADO
========================== */

.lawyer{

    background:#fff;

}

.lawyer-grid{

    display:grid;

    grid-template-columns:.9fr 1.1fr;

    gap:80px;

    align-items:center;

}

.lawyer-image img{

    border-radius:24px;

    box-shadow:var(--shadow);

}

.lawyer-content span{

    color:var(--secondary);

    text-transform:uppercase;

    letter-spacing:2px;

    font-weight:700;

}

.lawyer-content h2{

    margin-top:15px;

    font-size:52px;

    color:var(--primary);

}

.lawyer-content h4{

    margin:10px 0 30px;

    color:var(--secondary);

    font-size:20px;

}

.lawyer-content p{

    color:#666;

    margin-bottom:20px;

    font-size:17px;

    line-height:1.9;

}

.lawyer-info{

    margin-top:45px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.lawyer-info div{

    background:var(--light);

    padding:30px;

    border-radius:18px;

    text-align:center;

}

.lawyer-info strong{

    display:block;

    font-size:34px;

    color:var(--primary);

    margin-bottom:8px;

}

.lawyer-info span{

    color:#666;

    font-size:15px;

    text-transform:none;

    letter-spacing:0;

    font-weight:500;

}

/* ==========================
      EFEITOS
========================== */

.area-card,
.card,
.lawyer-info div{

    transition:.35s ease;

}

.area-card:hover,
.card:hover,
.lawyer-info div:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.08);

}
/* ======================================================
        STYLE.CSS - PARTE 3
        PROCESSO | CTA | FOOTER | RESPONSIVO
======================================================*/

/* ==========================
        PROCESSO
========================== */

.process{

    background:var(--light);

}

.process-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.step{

    background:#fff;

    padding:40px 30px;

    border-radius:20px;

    text-align:center;

    box-shadow:0 15px 40px rgba(0,0,0,.05);

    transition:.35s;

}

.step:hover{

    transform:translateY(-10px);

}

.step span{

    width:65px;

    height:65px;

    background:var(--secondary);

    color:#fff;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:0 auto 25px;

    font-size:22px;

    font-weight:700;

}

.step h3{

    color:var(--primary);

    margin-bottom:15px;

    font-size:22px;

}

.step p{

    color:#666;

}

/* ==========================
            CTA
========================== */

.cta{

    background:linear-gradient(135deg,#1E3A5F,#264c7d);

    color:#fff;

    text-align:center;

}

.cta h2{

    font-size:52px;

    margin-bottom:20px;

}

.cta p{

    width:700px;

    max-width:100%;

    margin:0 auto 40px;

    color:rgba(255,255,255,.85);

    font-size:18px;

}

/* ==========================
        FOOTER
========================== */

footer{

    background:#13263d;

    color:#fff;

    padding:80px 0 0;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:50px;

}

.footer-grid h3{

    margin-bottom:20px;

    font-size:30px;

}

.footer-grid h4{

    margin-bottom:20px;

    color:#8EE4C1;

}

.footer-grid p{

    color:rgba(255,255,255,.75);

    margin-bottom:10px;

}

.footer-grid a{

    color:rgba(255,255,255,.75);

    transition:.3s;

}

.footer-grid a:hover{

    color:#fff;

}

.copyright{

    margin-top:60px;

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

    padding:25px 0;

    color:rgba(255,255,255,.65);

}

/* ==========================
      ANIMAÇÕES
========================== */

.hero-content,
.hero-image,
.card,
.area-card,
.step,
.lawyer-content,
.lawyer-image{

    animation:fadeUp .8s ease both;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

img{

    transition:.45s;

}

img:hover{

    transform:scale(1.02);

}

/* ==========================
        RESPONSIVO
========================== */

@media(max-width:1100px){

.hero-grid,
.specialty-grid,
.lawyer-grid{

grid-template-columns:1fr;

text-align:center;

}

.hero-buttons{

justify-content:center;

}

.hero-info{

justify-content:center;

}

.specialty ul{

display:inline-block;

text-align:left;

}

.about-cards{

grid-template-columns:repeat(2,1fr);

}

.areas-grid{

grid-template-columns:repeat(2,1fr);

}

.process-grid{

grid-template-columns:repeat(2,1fr);

}

.footer-grid{

grid-template-columns:1fr;

text-align:center;

}

.floating-card{

display:none;

}

}

@media(max-width:768px){

section{

padding:80px 0;

}

header .container{

height:75px;

}

nav{

display:none;

}

.logo{

font-size:24px;

}

.btn-header{

display:none;

}

.hero{

padding-top:120px;

}

.hero h1{

font-size:40px;

}

.hero p{

font-size:17px;

}

.hero-buttons{

flex-direction:column;

}

.hero-info{

flex-direction:column;

gap:20px;

}

.section-title h2{

font-size:34px;

}

.about-cards{

grid-template-columns:1fr;

}

.areas-grid{

grid-template-columns:1fr;

}

.process-grid{

grid-template-columns:1fr;

}

.lawyer-info{

grid-template-columns:1fr;

}

.cta h2{

font-size:36px;

}

}

@media(max-width:480px){

.hero h1{

font-size:34px;

}

.section-title h2{

font-size:30px;

}

.specialty h2{

font-size:34px;

}

.lawyer-content h2{

font-size:36px;

}

.btn-primary,
.btn-secondary,
.btn-header,
.btn-white{

width:100%;

text-align:center;

justify-content:center;

}

.container{

width:92%;

}

}

/* ==========================
      SCROLLBAR
========================== */

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#eef2f5;

}

::-webkit-scrollbar-thumb{

background:var(--primary);

border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

background:var(--secondary);

}
/* ANIMAÇÕES */

.hidden{

    opacity:0;

    transform:translateY(50px);

    transition:.8s;

}

.show{

    opacity:1;

    transform:translateY(0);

}

/* MENU */

nav a.active{

    color:var(--secondary);

}

/* WHATSAPP */

.floating-whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    width:62px;

    height:62px;

    background:#25D366;

    color:#fff;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    box-shadow:0 15px 35px rgba(0,0,0,.2);

    z-index:999;

    transition:.3s;

}

.floating-whatsapp:hover{

    transform:scale(1.1);

}

/* BOTÃO TOPO */

.back-top{

    position:fixed;

    right:25px;

    bottom:100px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:999;

}

.back-top.show{

    opacity:1;

    visibility:visible;

}

.back-top:hover{

    background:var(--secondary);

}