/* =========================================================
   RESET
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#020b2d;
    color:#ffffff;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

.container{
    width:100%;
    max-width:1280px;
    margin:0 auto;
    padding:0 24px;
}

/* =========================================================
   HEADER
========================================================= */

.header{
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:999;
    background:rgba(1,7,31,.92);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,.05);
}

.header-container{
    max-width:1280px;
    margin:0 auto;
    padding:18px 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo img{
    width:130px;
}

.nav-menu{
    display:flex;
    align-items:center;
    gap:34px;
}

.nav-menu a{
    color:#ffffff;
    font-size:15px;
    font-weight:600;
    transition:.3s;
}

.nav-menu a:hover{
    color:#f4b71d;
}

.menu-toggle{
    display:none;
    background:none;
    border:none;
    color:#ffffff;
    font-size:32px;
    cursor:pointer;
}

/* =========================================================
   HERO
========================================================= */

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
    background:
    linear-gradient(rgba(1,7,31,.72),rgba(1,7,31,.88)),
    url('../img/hero.jpg');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(2,11,45,.9) 0%,rgba(2,11,45,.5) 60%,rgba(2,11,45,.8) 100%);
}

.hero-content{
    position:relative;
    z-index:2;
    padding-top:140px;
    padding-bottom:100px;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 34px;
    border-radius:999px;
    background:#f4b71d;
    color:#000;
    font-size:13px;
    font-weight:800;
    letter-spacing:3px;
    margin-bottom:34px;
    text-transform:uppercase;
}

.hero h1{
    max-width:760px;
    font-size:72px;
    line-height:1.02;
    font-weight:800;
    margin-bottom:28px;
}

.hero p{
    max-width:650px;
    font-size:22px;
    line-height:1.7;
    color:rgba(255,255,255,.82);
    margin-bottom:42px;
}

.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:70px;
}

.btn-primary,
.btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:18px 34px;
    border-radius:16px;
    font-size:15px;
    font-weight:700;
    transition:.3s;
}

.btn-primary{
    background:#f4b71d;
    color:#000;
}

.btn-primary:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 35px rgba(244,183,29,.25);
}

.btn-secondary{
    border:1px solid rgba(255,255,255,.2);
    color:#ffffff;
    background:rgba(255,255,255,.06);
}

.btn-secondary:hover{
    transform:translateY(-4px);
    background:rgba(255,255,255,.12);
}

.hero-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.hero-card{
    padding:34px;
    border-radius:28px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(10px);
}

.hero-card h3{
    font-size:28px;
    margin-bottom:14px;
}

.hero-card p{
    margin:0;
    font-size:16px;
    color:rgba(255,255,255,.72);
}

/* =========================================================
   SECTION DEFAULT
========================================================= */

section{
    padding:120px 0;
}

.section-header{
    text-align:center;
    margin-bottom:70px;
}

.section-header span{
    display:block;
    margin-bottom:18px;
    color:#f4b71d;
    font-size:14px;
    font-weight:800;
    letter-spacing:4px;
}

.section-header h2{
    font-size:62px;
    line-height:1.1;
    font-weight:800;
}

/* =========================================================
   SOBRE
========================================================= */

.sobre{
    background:#ffffff;
    color:#0b1638;
}

.sobre-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.sobre-image img{
    width:100%;
    border-radius:32px;
    box-shadow:0 25px 60px rgba(0,0,0,.18);
    object-fit:cover;
}

.section-tag{
    display:inline-block;
    margin-bottom:22px;
    color:#f4b71d;
    font-weight:800;
    letter-spacing:4px;
    font-size:14px;
}

.sobre-content h2{
    font-size:58px;
    line-height:1.1;
    margin-bottom:28px;
}

.sobre-content p{
    color:#5c6787;
    font-size:18px;
    line-height:1.9;
    margin-bottom:24px;
}

.sobre-cards{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
    margin-top:40px;
}

.sobre-card{
    background:#f5f7fb;
    padding:28px;
    border-radius:24px;
}

.sobre-card h3{
    margin-bottom:12px;
    font-size:24px;
}

/* =========================================================
   SERVIÇOS
========================================================= */

.servicos{
    background:#07122c;
}

.servicos-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.servico-card{
    background:#101d44;
    border-radius:28px;
    padding:38px;
    transition:.3s;
    border:1px solid rgba(255,255,255,.05);
}

.servico-card:hover{
    transform:translateY(-8px);
    background:#152554;
}

.servico-card h3{
    font-size:26px;
    margin-bottom:18px;
}

.servico-card p{
    color:rgba(255,255,255,.7);
    line-height:1.8;
}

/* =========================================================
   PARCEIROS
========================================================= */

.parceiros{
    background:#020b2d;
}

.parceiros .section-header h2{
    color:#ffffff;
}

.logos-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:28px;
    align-items:center;
}

.logo-item{
    height:130px;
    border-radius:26px;
    background:#0c163f;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
    padding:24px;
    border:1px solid rgba(255,255,255,.04);
}

.logo-item:hover{
    transform:translateY(-6px);
    background:#13214d;
}

.logo-item img{
    max-width:160px;
    max-height:60px;
    width:auto;
    height:auto;
    object-fit:contain;
    filter:brightness(0) invert(1);
    opacity:.96;
}

.unimed-logo{
    background:#00a859;
    color:#ffffff;
    font-size:34px;
    font-weight:800;
    padding:16px 28px;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,168,89,.28);
}

/* =========================================================
   CONTATO
========================================================= */

.contato{
    background:#f4f6fb;
    color:#07122c;
}

.contato-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.contato-card{
    background:#ffffff;
    border-radius:34px;
    padding:46px;
    transition:.3s;
    color:#07122c;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
}

.contato-card:hover{
    transform:translateY(-8px);
}

.contato-icon{
    width:82px;
    height:82px;
    border-radius:24px;
    background:#07122c;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:34px;
}

.contato-icon i{
    font-size:34px;
}

.contato-card h3{
    font-size:38px;
    margin-bottom:20px;
}

.contato-card p{
    color:#5f6b8a;
    line-height:1.9;
    margin-bottom:24px;
}

.contato-card strong{
    color:#07122c;
    font-size:18px;
}

/* =========================================================
   FOOTER
========================================================= */

.footer{
    background:#020818;
    padding:50px 0;
}

.footer-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.footer img{
    width:120px;
}

.footer p{
    color:rgba(255,255,255,.6);
    font-size:15px;
}

/* =========================================================
   WHATSAPP FLOAT
========================================================= */

.whatsapp-float{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:999;
    width:82px;
    height:82px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#25d366;
    box-shadow:0 12px 35px rgba(37,211,102,.4);
    transition:.3s;
}

.whatsapp-float:hover{
    transform:scale(1.08);
}

.whatsapp-float img{
    width:42px;
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media(max-width:1200px){

    .hero h1{
        font-size:58px;
    }

    .section-header h2{
        font-size:48px;
    }

    .servicos-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .logos-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:992px){

    .menu-toggle{
        display:block;
    }

    .nav-menu{
        position:absolute;
        top:100%;
        right:24px;
        width:280px;
        background:#07122c;
        border-radius:24px;
        padding:28px;
        display:none;
        flex-direction:column;
        align-items:flex-start;
        gap:24px;
        box-shadow:0 25px 50px rgba(0,0,0,.4);
    }

    .nav-menu.active{
        display:flex;
    }

    .hero{
        text-align:center;
    }

    .hero h1{
        font-size:52px;
        margin-left:auto;
        margin-right:auto;
    }

    .hero p{
        margin-left:auto;
        margin-right:auto;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-cards{
        grid-template-columns:1fr;
    }

    .sobre-grid{
        grid-template-columns:1fr;
    }

    .servicos-grid{
        grid-template-columns:1fr;
    }

    .contato-grid{
        grid-template-columns:1fr;
    }

    .footer-content{
        flex-direction:column;
        text-align:center;
    }

}

@media(max-width:768px){

    section{
        padding:90px 0;
    }

    .hero{
        min-height:auto;
        padding-top:80px;
    }

    .hero h1{
        font-size:44px;
    }

    .hero p{
        font-size:18px;
    }

    .section-header h2{
        font-size:40px;
    }

    .sobre-content h2{
        font-size:42px;
    }

    .logos-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .logo-item{
        height:110px;
    }

    .unimed-logo{
        font-size:26px;
        padding:14px 20px;
    }

    .contato-card{
        padding:34px;
    }

    .contato-card h3{
        font-size:30px;
    }

}

@media(max-width:480px){

    .container{
        padding:0 18px;
    }

    .header-container{
        padding:18px;
    }

    .logo img{
        width:100px;
    }

    .hero-badge{
        font-size:11px;
        padding:14px 22px;
        letter-spacing:2px;
    }

    .hero h1{
        font-size:34px;
    }

    .section-header h2{
        font-size:34px;
    }

    .logos-grid{
        grid-template-columns:1fr;
    }

    .logo-item{
        height:100px;
    }

    .logo-item img{
        max-width:130px;
        max-height:52px;
    }

    .whatsapp-float{
        width:70px;
        height:70px;
        right:18px;
        bottom:18px;
    }

    .whatsapp-float img{
        width:36px;
    }

}

/* ===== CORREÇÃO DE IMAGENS ===== */

.hero{
    background-attachment:scroll;
}

.hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(2,11,45,.88) 0%,
        rgba(2,11,45,.55) 55%,
        rgba(2,11,45,.82) 100%
    );
    z-index:1;
}

.hero-content{
    position:relative;
    z-index:2;
}

.sobre-image{
    width:100%;
}

.sobre-image img{
    display:block;
    width:100%;
    height:100%;
    min-height:500px;
}

.whatsapp-float{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:9999;
}

.whatsapp-float img{
    width:42px !important;
    height:42px !important;
    object-fit:contain;
}