/* =====================================================
   MARTINS INFORMÁTICA - style.css (PARTE 1)
   ===================================================== */

/* RESET */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#f5f7fb;
    color:#1e293b;
    line-height:1.6;
}

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

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

ul{
    list-style:none;
}

.container{
    width:min(1200px,92%);
    margin:auto;
}

/* HEADER */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(0,0,0,.06);
}

.header-content{
    height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo img{
    height:56px;
}

.menu ul{
    display:flex;
    gap:34px;
}

.menu a{
    font-weight:600;
    transition:.3s;
}

.menu a:hover{
    color:#2563eb;
}

.header-buttons{
    display:flex;
    align-items:center;
    gap:18px;
}

.btn-whatsapp,
.btn-primary{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#2563eb;
    color:#fff;
    padding:14px 28px;
    border-radius:999px;
    font-weight:700;
    transition:.3s;
    box-shadow:0 10px 30px rgba(37,99,235,.25);
}

.btn-whatsapp:hover,
.btn-primary:hover{
    transform:translateY(-2px);
    background:#1d4ed8;
}

.menu-mobile{
    display:none;
    border:none;
    background:none;
    cursor:pointer;
}

.menu-mobile span{
    display:block;
    width:28px;
    height:3px;
    margin:5px 0;
    border-radius:20px;
    background:#1e293b;
}

/* HERO */

.hero{
    padding:170px 0 90px;
    background:
    radial-gradient(circle at top right,#dbeafe 0,#ffffff 55%);
}

.hero-content{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:60px;
    align-items:center;
}

.hero-tag{
    display:inline-block;
    background:#dbeafe;
    color:#2563eb;
    padding:8px 18px;
    border-radius:999px;
    font-weight:700;
    margin-bottom:24px;
}

.hero h1{
    font-size:3.4rem;
    line-height:1.1;
    margin-bottom:22px;
    font-weight:800;
}

.hero h1 span{
    color:#2563eb;
}

.hero-line{
    width:90px;
    height:5px;
    border-radius:50px;
    background:#2563eb;
    margin-bottom:28px;
}

.hero p{
    font-size:1.12rem;
    color:#64748b;
    max-width:560px;
    margin-bottom:35px;
}

.hero-benefits{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-top:38px;
}

.benefit{
    display:flex;
    gap:10px;
    align-items:center;
    background:#fff;
    padding:12px 18px;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.hero-right img{
    filter:drop-shadow(0 30px 50px rgba(37,99,235,.25));
}
/* =====================================================
   SERVIÇOS
===================================================== */

.services{
    padding:100px 0;
    background:#ffffff;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title span{
    display:inline-block;
    color:#2563eb;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:15px;
}

.section-title h2{
    font-size:2.7rem;
    font-weight:800;
    color:#0f172a;
}

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

.service-card{
    background:#ffffff;
    border-radius:24px;
    padding:40px 35px;
    transition:.35s;
    box-shadow:0 12px 35px rgba(15,23,42,.08);
    border:1px solid rgba(37,99,235,.08);
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(37,99,235,.18);
}

.service-card .icon{
    width:72px;
    height:72px;
    border-radius:18px;
    background:linear-gradient(135deg,#2563eb,#3b82f6);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    margin-bottom:25px;
    color:#fff;
}

.service-card h3{
    font-size:1.45rem;
    margin-bottom:18px;
    color:#0f172a;
    font-weight:700;
}

.service-card p{
    color:#64748b;
    line-height:1.8;
}

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

.stats{
    background:linear-gradient(135deg,#1d4ed8,#2563eb);
    padding:70px 0;
    color:#fff;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:35px;
}

.stat-item{
    text-align:center;
}

.stat-item h2{
    font-size:3rem;
    font-weight:800;
    margin-bottom:12px;
}

.stat-item span{
    display:block;
    font-size:.95rem;
    letter-spacing:1px;
    opacity:.95;
}

.stars{
    margin-top:15px;
    font-size:22px;
    color:#FFD54A;
}

/* =====================================================
   CTA
===================================================== */

.cta{
    padding:100px 0;
    background:#f8fbff;
}

.cta-box{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    border-radius:32px;
    padding:70px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    box-shadow:0 30px 70px rgba(37,99,235,.25);
}

.cta-text span{
    display:inline-block;
    margin-bottom:15px;
    font-weight:700;
    opacity:.9;
}

.cta-text h2{
    font-size:2.5rem;
    line-height:1.2;
    margin-bottom:25px;
}

.cta-text p{
    opacity:.95;
    max-width:550px;
    line-height:1.8;
}

.cta-button .btn-primary{
    background:#ffffff;
    color:#2563eb;
    box-shadow:none;
}

.cta-button .btn-primary:hover{
    background:#eef4ff;
}
/* =====================================================
   RODAPÉ
===================================================== */

.footer{
    background:#0f172a;
    color:#ffffff;
    padding:90px 0 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
    margin-bottom:60px;
}

.footer-item{
    display:flex;
    gap:20px;
    align-items:flex-start;
}

.footer-icon{
    width:60px;
    height:60px;
    min-width:60px;
    border-radius:18px;
    background:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.footer-item h4{
    margin-bottom:12px;
    font-size:1.2rem;
}

.footer-item a{
    color:#60a5fa;
    font-weight:600;
    transition:.3s;
}

.footer-item a:hover{
    color:#93c5fd;
}

.footer-item p{
    margin-top:10px;
    color:#cbd5e1;
    line-height:1.7;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.1);
    padding-top:30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.footer-bottom p{
    color:#94a3b8;
}

.footer-bottom strong{
    color:#ffffff;
}

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

.floating-whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:64px;
    height:64px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 15px 35px rgba(0,0,0,.25);
    transition:.3s;
    z-index:999;
}

.floating-whatsapp:hover{
    transform:scale(1.1);
}

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

.hero-left,
.hero-right,
.service-card,
.stat-item,
.cta-box,
.footer-item{
    animation:fadeUp .8s ease both;
}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

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

@media (max-width:1024px){

    .hero-content{

        grid-template-columns:1fr;
        text-align:center;

    }

    .hero-left{

        order:2;

    }

    .hero-right{

        order:1;

        max-width:600px;
        margin:auto;

    }

    .hero-line{

        margin:25px auto;

    }

    .hero p{

        margin-left:auto;
        margin-right:auto;

    }

    .hero-benefits{

        justify-content:center;

    }

    .services-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .stats-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .cta-box{

        flex-direction:column;
        text-align:center;

    }

    .footer-grid{

        grid-template-columns:1fr;

    }

}

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

@media (max-width:768px){

    .header{

        position:relative;

    }

    .header-content{

        height:75px;

    }

    .menu{

        display:none;

    }

    .menu-mobile{

        display:block;

    }

    .btn-whatsapp{

        display:none;

    }

    .hero{

        padding:80px 0 60px;

    }

    .hero h1{

        font-size:2.2rem;

    }

    .hero p{

        font-size:1rem;

    }

    .services{

        padding:70px 0;

    }

    .section-title h2{

        font-size:2rem;

    }

    .services-grid{

        grid-template-columns:1fr;

    }

    .stats-grid{

        grid-template-columns:1fr;
        gap:40px;

    }

    .cta{

        padding:70px 0;

    }

    .cta-box{

        padding:40px 30px;

    }

    .cta-text h2{

        font-size:2rem;

    }

    .footer{

        text-align:center;

    }

    .footer-item{

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

    }

    .footer-bottom{

        justify-content:center;
        text-align:center;

    }

    .floating-whatsapp{

        width:58px;
        height:58px;
        right:18px;
        bottom:18px;

    }

}

/* =====================================================
   TELAS MUITO PEQUENAS
===================================================== */

@media (max-width:480px){

    .hero h1{

        font-size:1.9rem;

    }

    .section-title h2{

        font-size:1.7rem;

    }

    .stat-item h2{

        font-size:2.3rem;

    }

    .cta-text h2{

        font-size:1.7rem;

    }

    .btn-primary{

        width:100%;
        justify-content:center;

    }

    .benefit{

        width:100%;
        justify-content:center;

    }

}
/* MENU MOBILE */

.menu.active{

    display:block;
    position:absolute;
    top:82px;
    left:0;
    width:100%;
    background:#fff;
    padding:25px;

    box-shadow:0 20px 40px rgba(0,0,0,.08);

}

.menu.active ul{

    display:flex;
    flex-direction:column;
    gap:20px;

}

/* HEADER */

.header-scroll{

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

}

/* ANIMAÇÕES */

.service-card,
.stat-item,
.footer-item,
.cta-box{

    opacity:0;
    transform:translateY(40px);
    transition:.7s ease;

}

.show{

    opacity:1;
    transform:translateY(0);

}