/* ====================================
   IAP AUTOMAÇÃO
   STYLE.CSS
==================================== */

:root{
    --bg:#0b0b0f;
    --bg-light:#12121a;
    --card:#171722;
    --purple:#7c3aed;
    --purple-hover:#8b5cf6;
    --green:#25d366;
    --green-hover:#1ebe5d;
    --text:#ffffff;
    --text-muted:#bdbdc7;
    --border:rgba(255,255,255,.08);
}

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--bg);
    color:var(--text);
    font-family:
    Inter,
    system-ui,
    -apple-system,
    sans-serif;
    overflow-x:hidden;
}

/* SCROLLBAR */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#111;
}

::-webkit-scrollbar-thumb{
    background:var(--purple);
    border-radius:20px;
}

/* LINKS */

a{
    text-decoration:none;
}

/* NAVBAR */

.glass-nav{
    backdrop-filter:blur(18px);
    background:rgba(11,11,15,.75);
    border-bottom:1px solid rgba(255,255,255,.05);
}

.logo{
    font-size:1.4rem;
    font-weight:800;
}

.logo span{
    color:var(--purple);
}

.nav-link{
    color:#fff !important;
    margin-left:15px;
}

.nav-link:hover{
    color:var(--purple) !important;
}

/* HERO */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    position:relative;
    padding-top:120px;
    overflow:hidden;
}

.hero::before{
    content:"";
    position:absolute;
    width:600px;
    height:600px;
    background:var(--purple);
    opacity:.12;
    filter:blur(180px);
    top:-250px;
    right:-150px;
}

.badge-custom{
    display:inline-block;
    padding:10px 18px;
    border-radius:50px;
    background:rgba(124,58,237,.15);
    border:1px solid rgba(124,58,237,.25);
    margin-bottom:25px;
}

.hero h1{
    font-size:4rem;
    line-height:1.1;
    font-weight:800;
    margin-bottom:25px;
}

.hero-text{
    color:var(--text-muted);
    font-size:1.15rem;
    line-height:1.8;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:30px;
}

.trust-items{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    color:#d1d1d8;
    font-size:.95rem;
}

/* BOTÕES */

.btn-whatsapp{
    background:var(--green);
    border:none;
    color:#fff;
    padding:14px 28px;
    border-radius:12px;
    font-weight:700;
    transition:.3s;
}

.btn-whatsapp:hover{
    background:var(--green-hover);
    transform:translateY(-2px);
    color:#fff;
}

.btn-outline-custom{
    border:1px solid rgba(255,255,255,.15);
    color:#fff;
    border-radius:12px;
    padding:14px 28px;
}

.btn-outline-custom:hover{
    background:#fff;
    color:#000;
}

/* MOCKUP */

.phone-mockup{
    max-width:380px;
    margin:auto;
    background:#fff;
    border-radius:30px;
    padding:25px;
    color:#000;
    box-shadow:
    0 30px 80px rgba(0,0,0,.5);
}

.chat-header{
    background:var(--green);
    color:#fff;
    text-align:center;
    padding:15px;
    border-radius:15px;
    margin-bottom:20px;
    font-weight:700;
}

.message{
    padding:12px 16px;
    border-radius:14px;
    margin-bottom:10px;
    max-width:85%;
}

.received{
    background:#f0f0f0;
}

.sent{
    background:#dcf8c6;
    margin-left:auto;
}

/* SEÇÕES */

.section-dark{
    padding:100px 0;
    background:var(--bg);
}

.section-light{
    padding:100px 0;
    background:var(--bg-light);
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:2.8rem;
    font-weight:800;
    margin-bottom:20px;
}

.section-title p{
    color:var(--text-muted);
}

/* CARDS */

.card-custom,
.feature-box{
    background:var(--card);
    border:1px solid var(--border);
    padding:35px;
    border-radius:20px;
    height:100%;
    transition:.3s;
}

.card-custom:hover,
.feature-box:hover{
    transform:translateY(-6px);
    border-color:rgba(124,58,237,.5);
}

.card-custom i,
.feature-box i{
    font-size:2rem;
    color:var(--purple);
    margin-bottom:20px;
    display:block;
}

.card-custom h4,
.feature-box h4{
    margin-bottom:15px;
    font-weight:700;
}

.card-custom p,
.feature-box p{
    color:var(--text-muted);
}

/* BENEFÍCIOS */

.benefits-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.benefits-grid div{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:16px;
    padding:25px;
    font-weight:600;
}

/* FORM */

.form-box{
    background:var(--card);
    padding:50px;
    border-radius:24px;
    border:1px solid var(--border);
}

.form-box h2{
    text-align:center;
    margin-bottom:35px;
    font-weight:800;
}

.form-control{
    background:#111119;
    border:1px solid rgba(255,255,255,.08);
    color:#fff;
    padding:14px;
}

.form-control:focus{
    background:#111119;
    color:#fff;
    border-color:var(--purple);
    box-shadow:none;
}

.form-control::placeholder{
    color:#888;
}

/* FAQ */

.accordion-item{
    background:var(--card);
    border:none;
    margin-bottom:10px;
}

.accordion-button{
    background:var(--card);
    color:#fff;
    font-weight:600;
}

.accordion-button:not(.collapsed){
    background:var(--purple);
    color:#fff;
}

.accordion-button:focus{
    box-shadow:none;
}

.accordion-body{
    color:var(--text-muted);
}

/* CTA FINAL */

.cta-final{
    padding:120px 0;
    text-align:center;
    background:
    linear-gradient(
    135deg,
    rgba(124,58,237,.2),
    rgba(0,0,0,0)
    );
}

.cta-final h2{
    font-size:3rem;
    font-weight:800;
    margin-bottom:20px;
}

.cta-final p{
    color:var(--text-muted);
    margin-bottom:35px;
}

/* FOOTER */

footer{
    background:#08080b;
    padding:70px 0 30px;
}

footer h4,
footer h5{
    margin-bottom:20px;
}

footer p{
    color:var(--text-muted);
}

footer a{
    color:var(--text-muted);
    transition:.3s;
}

footer a:hover{
    color:#fff;
}

footer hr{
    margin:40px 0;
    border-color:rgba(255,255,255,.08);
}

.copyright{
    text-align:center;
    margin-bottom:0;
}

/* WHATSAPP FLUTUANTE */

.whatsapp-float{
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    border-radius:50%;
    background:var(--green);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2rem;
    z-index:999;
    box-shadow:
    0 10px 30px rgba(37,211,102,.35);
}

.whatsapp-float:hover{
    color:#fff;
    transform:scale(1.08);
}

/* RESPONSIVO */

@media(max-width:991px){

    .hero{
        text-align:center;
        padding-top:140px;
    }

    .hero h1{
        font-size:2.8rem;
    }

    .hero-buttons{
        justify-content:center;
    }

    .trust-items{
        justify-content:center;
    }

    .phone-mockup{
        margin-top:60px;
    }

}

@media(max-width:576px){

    .hero h1{
        font-size:2.2rem;
    }

    .section-title h2{
        font-size:2rem;
    }

    .cta-final h2{
        font-size:2rem;
    }

    .form-box{
        padding:30px;
    }

}