/* =====================================================
   P.S ADVOCACIA
   STYLE.CSS
   Reset • Variáveis • Layout • Header • Navegação
====================================================== */

/* RESET */

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

html{
    scroll-behavior:smooth;
    font-size:16px;
}

body{
    font-family:"Segoe UI",Arial,sans-serif;
    background:#fff;
    color:#333;
    line-height:1.6;
    overflow-x:hidden;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

button,
input,
textarea{
    font-family:inherit;
}

section{
    padding:100px 0;
}

/* VARIÁVEIS */

:root{

    --primary:#0d1b2a;
    --primary-light:#1b263b;
    --primary-dark:#08131d;

    --gold:#c9a227;
    --gold-light:#d9b548;
    --gold-dark:#a68519;

    --white:#ffffff;
    --black:#000000;

    --gray-50:#fafafa;
    --gray-100:#f5f5f5;
    --gray-200:#eeeeee;
    --gray-300:#dddddd;
    --gray-400:#bdbdbd;
    --gray-500:#9e9e9e;
    --gray-600:#757575;
    --gray-700:#616161;
    --gray-800:#424242;
    --gray-900:#212121;

    --success:#2ecc71;
    --danger:#e74c3c;

    --radius:12px;
    --radius-lg:20px;

    --shadow:
    0 10px 30px rgba(0,0,0,.08);

    --transition:.35s ease;

    --container:1200px;

}

/* CONTAINER */

.container{

    width:min(90%,var(--container));
    margin:auto;

}

/* TIPOGRAFIA */

h1,
h2,
h3,
h4{

    color:var(--primary);
    font-weight:700;
    line-height:1.2;

}

h1{

    font-size:3.5rem;

}

h2{

    font-size:2.5rem;
    margin-bottom:20px;

}

h3{

    font-size:1.6rem;

}

p{

    color:#555;
    margin-bottom:18px;

}

.section-title{

    text-align:center;
    margin-bottom:60px;

}

.section-title span{

    display:block;
    color:var(--gold);
    font-weight:700;
    margin-bottom:10px;
    text-transform:uppercase;
    letter-spacing:2px;

}

/* HEADER */

.header{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    background:rgba(13,27,42,.95);

    backdrop-filter:blur(12px);

    transition:.4s;

}

.header.scrolled{

    box-shadow:var(--shadow);

}

/* NAV */

.nav{

    display:flex;
    align-items:center;
    justify-content:space-between;
    height:85px;

}

/* LOGO */

.nav__logo{

    display:flex;
    align-items:center;
    gap:12px;

    font-size:1.3rem;
    color:#fff;
    font-weight:700;

}

.logo-emoji{

    font-size:2rem;
    color:var(--gold);

}

.logo-text{

    color:#fff;

}

/* MENU */

.nav__menu{

    display:flex;

}

.nav__list{

    display:flex;
    align-items:center;
    gap:35px;

}

.nav__link{

    color:#fff;
    font-weight:600;
    position:relative;
    transition:.3s;

}

.nav__link:hover{

    color:var(--gold);

}

.nav__link::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;
    height:2px;

    background:var(--gold);

    transition:.3s;

}

.nav__link:hover::after{

    width:100%;

}

/* BOTÃO MENU */

.nav__cta{

    background:var(--gold);
    color:#fff;
    padding:12px 22px;
    border-radius:50px;

}

.nav__cta:hover{

    background:var(--gold-dark);
    color:#fff;

}

/* MENU MOBILE */

.nav__toggle,
.nav__close{

    display:none;
    color:#fff;
    font-size:2rem;
    cursor:pointer;

}

/* BOTÕES */

.button{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:16px 30px;

    border-radius:50px;

    font-weight:700;

    transition:.35s;

}

.button__primary{

    background:var(--gold);
    color:#fff;

}

.button__primary:hover{

    background:var(--gold-dark);
    transform:translateY(-3px);

}

.button__secondary{

    border:2px solid #fff;
    color:#fff;

}

.button__secondary:hover{

    background:#fff;
    color:var(--primary);

}

/* UTILITÁRIOS */

.text-center{

    text-align:center;

}

.mb-1{

    margin-bottom:10px;

}

.mb-2{

    margin-bottom:20px;

}

.mb-3{

    margin-bottom:30px;

}

.mt-3{

    margin-top:30px;

}

/* RESPONSIVO */

@media(max-width:992px){

.nav__toggle{

display:block;

}

.nav__menu{

position:fixed;

top:0;
right:-100%;

width:320px;
height:100vh;

background:var(--primary);

padding:120px 40px;

transition:.4s;

}

.nav__menu.show{

right:0;

}

.nav__list{

flex-direction:column;
align-items:flex-start;

}

.nav__close{

display:block;

position:absolute;

top:30px;
right:30px;

}

}

/* =====================================================
   HERO SECTION
====================================================== */

.hero{
    position:relative;
    display:flex;
    align-items:center;
    min-height:100vh;
    padding-top:90px;
    background:linear-gradient(135deg,#08131d 0%,#0d1b2a 40%,#1b263b 100%);
    overflow:hidden;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at top right,rgba(201,162,39,.18),transparent 45%);
}

.hero__overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.25);
}

.hero__container{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:80px;
}

.hero__content{
    animation:fadeLeft 1s ease;
}

.hero__title{
    color:#fff;
    font-size:3.8rem;
    line-height:1.1;
    margin-bottom:25px;
}

.hero__description{
    color:rgba(255,255,255,.85);
    font-size:1.15rem;
    max-width:650px;
    margin-bottom:40px;
}

.hero__buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:60px;
}

/* =====================================================
   HERO IMAGE
====================================================== */

.hero__image{
    display:flex;
    justify-content:center;
    position:relative;
    animation:fadeRight 1s ease;
}

.hero__image-circle{
    width:480px;
    height:480px;
    border-radius:50%;
    overflow:hidden;
    border:8px solid rgba(201,162,39,.35);
    box-shadow:0 20px 60px rgba(0,0,0,.35);
    position:relative;
}

.hero__image-circle::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.25);
}

.hero__image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s;
}

.hero__image:hover img{
    transform:scale(1.08);
}

/* =====================================================
   ESTATÍSTICAS
====================================================== */

.hero__stats{
    display:flex;
    gap:25px;
    flex-wrap:wrap;
}

.stat__item{
    flex:1;
    min-width:170px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,.08);
    padding:25px;
    border-radius:16px;
    transition:.35s;
}

.stat__item:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,.12);
}

.stat__number{
    color:var(--gold);
    font-size:2.3rem;
    margin-bottom:8px;
}

.stat__text{
    color:#fff;
    margin:0;
}

/* =====================================================
   SCROLL INDICATOR
====================================================== */

.scroll-indicator{
    position:absolute;
    bottom:35px;
    left:50%;
    transform:translateX(-50%);
    color:#fff;
    animation:bounce 2s infinite;
}

/* =====================================================
   BOTÕES DA HERO
====================================================== */

.hero .button__primary{
    box-shadow:0 15px 35px rgba(201,162,39,.35);
}

.hero .button__primary:hover{
    transform:translateY(-5px);
}

.hero .button__secondary{
    border:2px solid rgba(255,255,255,.7);
}

.hero .button__secondary:hover{
    border-color:#fff;
}

/* =====================================================
   ANIMAÇÕES
====================================================== */

@keyframes fadeLeft{

    from{
        opacity:0;
        transform:translateX(-60px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }

}

@keyframes fadeRight{

    from{
        opacity:0;
        transform:translateX(60px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }

}

@keyframes bounce{

    0%{
        transform:translate(-50%,0);
    }

    50%{
        transform:translate(-50%,10px);
    }

    100%{
        transform:translate(-50%,0);
    }

}

/* =====================================================
   RESPONSIVO HERO
====================================================== */

@media(max-width:992px){

.hero{
    text-align:center;
}

.hero__container{
    grid-template-columns:1fr;
    gap:50px;
}

.hero__title{
    font-size:2.8rem;
}

.hero__description{
    margin:auto auto 35px;
}

.hero__buttons{
    justify-content:center;
}

.hero__stats{
    justify-content:center;
}

.hero__image-circle{
    width:340px;
    height:340px;
}

}

@media(max-width:576px){

.hero__title{
    font-size:2.2rem;
}

.hero__description{
    font-size:1rem;
}

.hero__image-circle{
    width:280px;
    height:280px;
}

.stat__item{
    min-width:100%;
}

}

/* =====================================================
   SOBRE
====================================================== */

.sobre{
    background:var(--gray-50);
    position:relative;
    overflow:hidden;
}

.sobre::before{
    content:"";
    position:absolute;
    width:400px;
    height:400px;
    border-radius:50%;
    background:rgba(201,162,39,.08);
    top:-180px;
    right:-180px;
}

.sobre__container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
    position:relative;
    z-index:2;
}

.sobre__text h2{
    margin-bottom:25px;
}

.sobre__text p{
    font-size:1.05rem;
    color:var(--gray-700);
    margin-bottom:20px;
}

.sobre__features{
    display:flex;
    flex-direction:column;
    gap:25px;
    margin-top:40px;
}

.feature__item{
    display:flex;
    align-items:flex-start;
    gap:18px;
    background:#fff;
    padding:22px;
    border-radius:16px;
    box-shadow:var(--shadow);
    transition:.35s;
}

.feature__item:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.feature__icon{
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--gold);
    color:#fff;
    font-size:1.5rem;
    border-radius:50%;
    flex-shrink:0;
}

.feature__content h4{
    margin-bottom:8px;
    color:var(--primary);
}

.feature__content p{
    margin:0;
    color:var(--gray-600);
}

.sobre__image{
    position:relative;
}

.sobre__image img{
    width:100%;
    border-radius:24px;
    box-shadow:0 30px 60px rgba(0,0,0,.18);
    transition:.5s;
}

.sobre__image:hover img{
    transform:scale(1.03);
}

.sobre__image::after{
    content:"";
    position:absolute;
    width:120px;
    height:120px;
    border:8px solid var(--gold);
    bottom:-25px;
    left:-25px;
    z-index:-1;
    border-radius:20px;
}

/* =====================================================
   RESPONSIVO SOBRE
====================================================== */

@media(max-width:992px){

.sobre__container{
    grid-template-columns:1fr;
    gap:50px;
}

.sobre__image{
    order:-1;
}

.sobre__text{
    text-align:center;
}

.feature__item{
    text-align:left;
}

}

@media(max-width:576px){

.feature__item{
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.feature__icon{
    margin-bottom:10px;
}

}

/* =====================================================
   SERVIÇOS
====================================================== */

.servicos{
    background:var(--white);
    position:relative;
}

.servicos .section__title{
    text-align:center;
    margin-bottom:60px;
}

.servicos__container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.servico__card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.4s;
    position:relative;
    border:1px solid rgba(0,0,0,.05);
}

.servico__card:hover{
    transform:translateY(-12px);
    box-shadow:0 25px 60px rgba(0,0,0,.15);
}

.servico__card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:linear-gradient(90deg,var(--gold),var(--gold-dark));
}

.servico__image{
    height:220px;
    overflow:hidden;
}

.servico__image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s;
}

.servico__card:hover .servico__image img{
    transform:scale(1.08);
}

.servico__content{
    padding:30px;
}

.servico__title{
    color:var(--primary);
    margin-bottom:15px;
    font-size:1.4rem;
}

.servico__description{
    color:var(--gray-600);
    margin-bottom:25px;
    line-height:1.7;
}

.servico__link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--gold);
    font-weight:700;
    transition:.3s;
}

.servico__link:hover{
    color:var(--gold-dark);
    gap:14px;
}

/* =====================================================
   ÍCONE DO SERVIÇO
====================================================== */

.servico__icon{
    width:70px;
    height:70px;
    margin:-35px auto 25px;
    border-radius:50%;
    background:var(--gold);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:2rem;
    box-shadow:0 10px 25px rgba(0,0,0,.18);
    position:relative;
    z-index:2;
}

/* =====================================================
   ANIMAÇÃO DOS CARDS
====================================================== */

.servico__card{
    opacity:0;
    transform:translateY(40px);
    animation:cardFade .8s forwards;
}

.servico__card:nth-child(2){
    animation-delay:.15s;
}

.servico__card:nth-child(3){
    animation-delay:.30s;
}

.servico__card:nth-child(4){
    animation-delay:.45s;
}

.servico__card:nth-child(5){
    animation-delay:.60s;
}

@keyframes cardFade{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* =====================================================
   RESPONSIVO
====================================================== */

@media(max-width:1100px){

.servicos__container{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.servicos__container{
    grid-template-columns:1fr;
}

.servico__image{
    height:240px;
}

.servico__content{
    padding:25px;
}

}

@media(max-width:480px){

.servico__title{
    font-size:1.2rem;
}

.servico__description{
    font-size:.95rem;
}

.servico__icon{
    width:60px;
    height:60px;
    font-size:1.5rem;
}

}
/* =====================================================
   ACESSIBILIDADE - SR ONLY
====================================================== */

.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

/* =====================================================
   SERVIÇO - PLACEHOLDER COM ÍCONE (sem imagem)
====================================================== */

.servico__image--icon{
    height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:4.5rem;
    background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);
}

/* =====================================================
   DEPOIMENTOS
====================================================== */

.depoimentos{
    background:var(--gray-50);
}

.depoimentos__container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:20px;
}

.depoimento__card{
    background:#fff;
    padding:35px 30px;
    border-radius:20px;
    box-shadow:var(--shadow);
    transition:var(--transition);
    border:1px solid rgba(0,0,0,.05);
}

.depoimento__card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.depoimento__rating{
    color:var(--gold);
    font-size:1.1rem;
    margin-bottom:15px;
    letter-spacing:2px;
}

.depoimento__text{
    color:var(--gray-700);
    font-style:italic;
    font-size:1.02rem;
    margin-bottom:25px;
    line-height:1.7;
}

.depoimento__author{
    display:flex;
    align-items:center;
    gap:15px;
}

.depoimento__avatar{
    width:56px;
    height:56px;
    border-radius:50%;
    overflow:hidden;
    flex-shrink:0;
    border:2px solid var(--gold-light);
}

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

.depoimento__avatar--initial{
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--primary);
    color:var(--gold-light);
    font-weight:700;
    font-size:1.3rem;
}

.depoimento__name{
    color:var(--primary);
    font-weight:700;
    margin:0;
    line-height:1.3;
}

.depoimento__role{
    color:var(--gray-500);
    font-size:.9rem;
    margin:0;
}

@media(max-width:992px){
    .depoimentos__container{
        grid-template-columns:1fr;
    }
}

/* =====================================================
   FAQ
====================================================== */

.faq{
    background:var(--white);
}

.faq__container{
    max-width:800px;
}

.faq__item{
    border-bottom:1px solid var(--gray-200);
}

.faq__question{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:26px 5px;
    background:none;
    border:none;
    cursor:pointer;
    text-align:left;
}

.faq__question h3{
    font-size:1.15rem;
    margin:0;
}

.faq__icon{
    flex-shrink:0;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--gray-100);
    color:var(--gold-dark);
    font-size:1.2rem;
    transition:var(--transition);
}

.faq__item.active .faq__icon{
    background:var(--gold);
    color:#fff;
    transform:rotate(45deg);
}

.faq__answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease, padding .35s ease;
    padding:0 5px;
}

.faq__item.active .faq__answer{
    max-height:220px;
    padding:0 5px 26px;
}

.faq__answer p{
    color:var(--gray-600);
    margin:0;
    line-height:1.7;
}

/* =====================================================
   CONTATO
====================================================== */

.contato{
    background:var(--gray-50);
}

.contato__container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:start;
}

.contato__info-title{
    margin-bottom:15px;
}

.contato__info-text{
    color:var(--gray-600);
    margin-bottom:35px;
}

.contato__details{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.contato__detail{
    display:flex;
    align-items:flex-start;
    gap:18px;
}

.contato__detail-icon{
    width:50px;
    height:50px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    border-radius:50%;
    box-shadow:var(--shadow);
    font-size:1.3rem;
}

.contato__detail-content h4{
    color:var(--primary);
    margin-bottom:4px;
    font-size:1.02rem;
}

.contato__detail-content p{
    margin:0;
    color:var(--gray-600);
}

.contato__detail-content a{
    color:var(--gray-600);
    transition:var(--transition);
}

.contato__detail-content a:hover{
    color:var(--gold-dark);
}

.contato__form{
    display:flex;
    flex-direction:column;
    gap:18px;
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:var(--shadow);
}

.contato__form input,
.contato__form textarea{
    width:100%;
    padding:15px 18px;
    border:1px solid var(--gray-300);
    border-radius:12px;
    font-size:1rem;
    color:var(--gray-800);
    transition:var(--transition);
    resize:vertical;
}

.contato__form input:focus,
.contato__form textarea:focus{
    outline:none;
    border-color:var(--gold);
    box-shadow:0 0 0 3px rgba(201,162,39,.15);
}

.contato__form button{
    align-self:flex-start;
    border:none;
    cursor:pointer;
}

@media(max-width:992px){
    .contato__container{
        grid-template-columns:1fr;
        gap:45px;
    }
}

@media(max-width:576px){
    .contato__form{
        padding:28px 22px;
    }
}

/* =====================================================
   FOOTER
====================================================== */

.footer{
    background:var(--primary-dark);
    color:rgba(255,255,255,.75);
    padding-top:80px;
}

.footer__container{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr;
    gap:50px;
    padding-bottom:50px;
    border-bottom:1px solid rgba(255,255,255,.1);
}

.footer__logo{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:1.3rem;
    font-weight:700;
    color:#fff;
    margin-bottom:18px;
}

.footer__description{
    color:rgba(255,255,255,.6);
    margin-bottom:24px;
    max-width:320px;
}

.footer__social{
    display:flex;
    gap:14px;
}

.footer__social-link{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    font-size:1.1rem;
    transition:var(--transition);
}

.footer__social-link:hover{
    background:var(--gold);
    transform:translateY(-4px);
}

.footer__title{
    color:#fff;
    font-size:1.1rem;
    margin-bottom:22px;
}

.footer__links,
.footer__contact{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.footer__link{
    color:rgba(255,255,255,.65);
    transition:var(--transition);
}

.footer__link:hover{
    color:var(--gold-light);
    padding-left:5px;
}

.footer__contact li{
    color:rgba(255,255,255,.65);
    line-height:1.6;
}

.footer__contact strong{
    color:#fff;
}

.footer__bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:15px;
    padding:28px 0;
    font-size:.9rem;
    color:rgba(255,255,255,.5);
}

.footer__legal{
    display:flex;
    gap:25px;
}

.footer__legal-link{
    color:rgba(255,255,255,.5);
    transition:var(--transition);
}

.footer__legal-link:hover{
    color:var(--gold-light);
}

@media(max-width:768px){
    .footer__container{
        grid-template-columns:1fr;
        gap:40px;
    }

    .footer__bottom{
        justify-content:center;
        text-align:center;
    }
}

/* =====================================================
   BOTÃO SCROLL TO TOP
====================================================== */

.scroll-top{
    position:fixed;
    right:28px;
    bottom:28px;
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    font-size:1.3rem;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transform:translateY(15px);
    transition:var(--transition);
    z-index:900;
}

.scroll-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.scroll-top:hover{
    background:var(--gold);
}

/* =====================================================
   BOTÃO WHATSAPP FIXO
====================================================== */

.whatsapp__button{
    position:fixed;
    left:28px;
    bottom:28px;
    display:flex;
    align-items:center;
    gap:10px;
    background:#25D366;
    color:#fff;
    padding:14px 22px 14px 16px;
    border-radius:50px;
    font-weight:700;
    font-size:.95rem;
    box-shadow:0 12px 30px rgba(37,211,102,.4);
    z-index:900;
    transition:var(--transition);
    animation:pulseWhats 2.5s infinite;
}

.whatsapp__button:hover{
    transform:translateY(-4px) scale(1.03);
    box-shadow:0 16px 36px rgba(37,211,102,.5);
}

.whatsapp__icon{
    font-size:1.3rem;
}

@keyframes pulseWhats{
    0%{ box-shadow:0 12px 30px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.5); }
    70%{ box-shadow:0 12px 30px rgba(37,211,102,.4), 0 0 0 14px rgba(37,211,102,0); }
    100%{ box-shadow:0 12px 30px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
}

@media(max-width:576px){
    .whatsapp__label{
        display:none;
    }

    .whatsapp__button{
        padding:14px;
    }

    .scroll-top{
        right:20px;
        bottom:20px;
        width:44px;
        height:44px;
    }

    .whatsapp__button{
        left:20px;
        bottom:20px;
    }
}

/* =====================================================
   CHAT ASSISTENTE VIRTUAL
====================================================== */

.chat-toggle{
    position:fixed;
    right:28px;
    bottom:90px;
    width:56px;
    height:56px;
    border:none;
    border-radius:50%;
    background:var(--gold);
    color:#fff;
    font-size:1.5rem;
    cursor:pointer;
    box-shadow:0 12px 30px rgba(201,162,39,.4);
    z-index:950;
    transition:var(--transition);
}

.chat-toggle:hover{
    background:var(--gold-dark);
    transform:translateY(-4px);
}

.chat-toggle.active{
    background:var(--primary);
}

.chat-assistente{
    position:fixed;
    right:28px;
    bottom:160px;
    width:340px;
    max-width:calc(100vw - 40px);
    background:#fff;
    border-radius:18px;
    box-shadow:0 25px 60px rgba(0,0,0,.25);
    overflow:hidden;
    z-index:950;
    display:flex;
    flex-direction:column;
    animation:chatOpen .3s ease;
}

/* O atributo [hidden] precisa vencer o display:flex acima,
   senão o chat aparece aberto antes do clique no botão */
.chat-assistente[hidden]{
    display:none;
}

@keyframes chatOpen{
    from{ opacity:0; transform:translateY(20px); }
    to{ opacity:1; transform:translateY(0); }
}

.chat-header{
    background:var(--primary);
    color:#fff;
    padding:16px 18px;
    font-weight:700;
    font-size:.95rem;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.chat-close{
    background:none;
    border:none;
    color:#fff;
    cursor:pointer;
    font-size:1rem;
    opacity:.8;
}

.chat-close:hover{
    opacity:1;
}

.chat-body{
    padding:18px;
    height:320px;
    overflow-y:auto;
    display:flex;
    flex-direction:column;
    gap:10px;
    background:var(--gray-50);
}

.chat-msg{
    max-width:85%;
    padding:10px 14px;
    border-radius:14px;
    font-size:.9rem;
    line-height:1.5;
    margin:0;
}

.chat-msg--bot{
    background:#fff;
    color:var(--gray-800);
    border:1px solid var(--gray-200);
    align-self:flex-start;
    border-bottom-left-radius:4px;
}

.chat-msg--user{
    background:var(--gold);
    color:#fff;
    align-self:flex-end;
    border-bottom-right-radius:4px;
}

.chat-footer{
    display:flex;
    border-top:1px solid var(--gray-200);
    padding:12px;
    gap:8px;
}

.chat-footer input{
    flex:1;
    border:1px solid var(--gray-300);
    border-radius:20px;
    padding:10px 16px;
    font-size:.9rem;
}

.chat-footer input:focus{
    outline:none;
    border-color:var(--gold);
}

.chat-footer button{
    background:var(--primary);
    color:#fff;
    border:none;
    border-radius:20px;
    padding:10px 18px;
    font-weight:700;
    font-size:.85rem;
    cursor:pointer;
    transition:var(--transition);
}

.chat-footer button:hover{
    background:var(--gold);
}

@media(max-width:576px){
    .chat-toggle{
        right:20px;
        bottom:82px;
        width:50px;
        height:50px;
    }

    .chat-assistente{
        right:20px;
        left:20px;
        width:auto;
        bottom:145px;
    }
}
