*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html{
    scroll-behavior: smooth;
}

body{
    background: #fff;
    color: #333;
    overflow-x: hidden;
}

.container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* TOPBAR INTERATIVA */
.topbar{
    background: #17206A;
    color: white;
    padding: 10px;
}

.topbar-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
}

.topbar-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.topbar-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

header{
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,.08);
    transition: box-shadow 0.3s ease;
}

.nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* LOGOTIPO NO HEADER */
.logo-link {
    text-decoration: none;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-texto{
    font-size: 26px;
    font-weight: 800;
    color: #17206A;
}

/* Oculta o botão hamburguer no desktop por padrão */
.menu-hamburger {
    display: none;
}

nav a{
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    color: #17206A;
    transition: color 0.3s ease;
    white-space: nowrap;
}

nav a:hover{
    color: #E30613;
}

.hero{
    min-height: 100vh;
    background: url('p11cartao.jpg') center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 80px 0;
}

.overlay{
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 60, 0.70);
}

.hero-content{
    position: relative;
    color: white;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    z-index: 2;
}

.hero h1{
    font-size: 54px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p{
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-buttons{
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary{
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, background 0.3s;
    display: inline-block;
}

.btn-primary{
    background: #E30613;
    color: white;
}

.btn-primary:hover{
    background: #b8050f;
    transform: translateY(-2px);
}

.btn-secondary{
    background: white;
    color: #17206A;
}

.btn-secondary:hover{
    background: #f0f0f0;
    transform: translateY(-2px);
}

.stats{
    padding: 80px 0;
    background: #f5f7fa;
}

.stats-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat span{
    font-size: 50px;
    font-weight: 800;
    color: #E30613;
    display: block;
    margin-bottom: 5px;
}

.stat p {
    font-weight: 500;
    color: #555;
}

section{
    padding: 80px 0;
}

h2{
    text-align: center;
    font-size: 38px;
    margin-bottom: 40px;
    color: #17206A;
    padding: 0 15px;
}

.sobre p{
    text-align: center;
    max-width: 800px;
    margin: 20px auto;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

/* --- ESTILIZAÇÃO DO CARROSSEL DE OFERTAS --- */
.ofertas {
    background: #ffffff;
    overflow: hidden;
    padding: 60px 0;
}

.ofertas-subtitulo {
    text-align: center;
    color: #666;
    margin-top: -30px;
    margin-bottom: 40px;
    font-size: 16px;
}

.carrossel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0 40px 0;
}

.carrossel-track {
    display: flex;
    width: max-content;
    gap: 30px;
}

.carrossel-item {
    width: 280px;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, z-index 0s;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.carrossel-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: block;
    border: 1px solid #eee;
    pointer-events: none;
}

.carrossel-item:hover {
    transform: scale(1.12);
    box-shadow: 0 15px 35px rgba(23, 32, 106, 0.25);
    z-index: 99;
}

.carrossel-item:hover img {
    border-color: #17206A;
}

.cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card{
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    transition: .3s;
    border: 1px solid #eee;
}

.card:hover{
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.card h3{
    margin-bottom: 15px;
    color: #17206A;
}

.card p{
    color: #666;
    line-height: 1.5;
}

.empresas{
    background: #17206A;
    color: white;
}

.empresas h2{
    color: white;
}

.empresa-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.empresa-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.depoimentos{
    background: #f5f7fa;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.depoimento-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,.03);
    text-align: center;
    font-size: 16px;
    font-style: italic;
    color: #444;
    line-height: 1.6;
    border: 1px solid #f0f0f0;
}

.depoimento-box strong {
    display: block;
    margin-top: 15px;
    font-style: normal;
}

.redes-sociais {
    background: #fff;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.redes-subtitulo {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.redes-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-instagram, .btn-facebook {
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    color: white;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.btn-facebook {
    background: #1877F2;
}

.btn-instagram:hover, .btn-facebook:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.contato{
    text-align: center;
}

.contato p {
    font-size: 18px;
    margin-bottom: 15px;
}

.link-contato {
    color: #17206A;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.link-contato:hover {
    color: #E30613;
    text-decoration: underline;
}

.link-whatsapp-texto {
    color: #25d366;
    font-weight: 700;
}

.link-whatsapp-texto:hover {
    color: #128c7e;
}

footer{
    background: #111;
    color: white;
    padding: 30px;
    text-align: center;
    font-size: 14px;
}

.whatsapp{
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: pulse 2s infinite;
}

@keyframes pulse{
    0%{transform: scale(1); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);}
    50%{transform: scale(1.08); box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);}
    100%{transform: scale(1); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);}
}

/* --- MEDIA QUERIES (Ajustes de Responsividade Mobile) --- */

@media(max-width: 992px) {
    .hero h1{
        font-size: 46px;
    }
    .carrossel-item {
        width: 220px;
    }
}

@media(max-width: 768px){
    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .hero{
        height: auto;
        padding: 100px 0;
    }

    .hero h1{
        font-size: 36px;
    }

    .hero p{
        font-size: 18px;
    }

    header {
        position: sticky;
        top: 0;
    }

    /* ALTERADO: Estrutura da nav ajustada para acomodar o botão hambúrguer ao lado da logo */
    .nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 0;
    }

    /* NOVO: Estilização do Botão Hambúrguer */
    .menu-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-hamburger .bar {
        width: 100%;
        height: 3px;
        background-color: #17206A;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    /* Animação para transformar o hambúrguer em X */
    .menu-hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* ALTERADO: Menu Dropdown Retrátil */
    nav.nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 15px rgba(0,0,0,.05);
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
    }

    nav.nav-menu.active {
        max-height: 400px;
        padding: 15px 0;
        border-top: 1px solid #f0f0f0;
    }

    nav.nav-menu a {
        margin-left: 0;
        font-size: 16px;
        background: transparent;
        padding: 12px 25px;
        border-radius: 0;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #f9f9f9;
    }

    nav.nav-menu a:last-child {
        border-bottom: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .topbar-links {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        font-size: 12px;
    }
}

@media(max-width: 480px){
    .hero h1{
        font-size: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-primary, .btn-secondary, .btn-instagram, .btn-facebook {
        width: 100%;
        text-align: center;
    }

    .whatsapp {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .logo-container {
        flex-direction: row;
        gap: 10px;
    }
    
    .logo-texto {
        font-size: 22px;
    }

    .carrossel-item {
        width: 180px;
    }
}