/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    padding-top: 90px;
}

/* Header */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 0px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.container-header {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.logo img {
    height: 90px;
    width: auto;
}

.menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu li a {
    text-decoration: none;
    color: #003366;
    font-weight: 600;
    transition: 0.3s;
}

.menu li a:hover {
    color: #007bff;
}

.banner {
    background-image: url("img/banner2.png");
    background-size: cover;
    background-position: 50% 10%;
    background-repeat: no-repeat;
    padding: 150px 0;   
    position: relative;
}

.container-banner {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.texto-banner-mobile h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: white;
}

.texto-banner-mobile p {
    font-size: 20px;
    max-width: 600px;
    color: #f1f1f1;
}


.container-banner {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 1;
}

.boletos {
    padding: 80px 0;
    background-color: #ffffff;
    padding-left: 100px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.titulo-secao {
    font-size: 26px;
    margin-bottom: 50px;
    color: #0b3d91;
}

.grid-boletos {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.card-boleto {
    flex: 1;
}

.card-boleto h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.card-boleto p {
    margin-bottom: 25px;
    color: #555;
}

.btn-boleto {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #0b3d91;
    border-radius: 8px;
    text-decoration: none;
    color: #0b3d91;
    font-weight: bold;
    transition: 0.3s;
}

.btn-boleto:hover {
    background-color: #0b3d91;
    color: white;
}

.info-extra p {
    margin-bottom: 15px;
    padding-left: 75px;
}

.info-extra ul {
    padding-left: 90px;
}   

.info-extra li {
    margin-bottom: 10px;
}

.footer {
    background-color: #1f1f1f;
    color: #ccc;
    padding: 60px 0;
}

.container-footer {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
}

.logo-footer {
    height: 40px;
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #ccc;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.apps img {
    display: block;
    width: 120px;
    height: 50px;
    margin-bottom: 1px;
    cursor: pointer;
    transition: 0.3s;
}

/* Container do botão fixo */
.whatsapp-fixo {
    position: fixed;
    bottom: 60px;
    left: 30;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 9999;
    background-color: transparent;
    padding: 0;
    border-radius: 30px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.whatsapp-fixo:hover {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 5px 15px 5px 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.whatsapp-icon-flutuante {
    display: inline-block;
    width: 65px;      
    height: 65px;
    border-radius: 50%;
    background-color: #25D366;
    background-image: url("img/WhatsApp\ logo.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40px 40px;  
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

.whatsapp-fixo:hover .whatsapp-icon-flutuante {
    transform: scale(1.1);
}

/* Texto ESCONDIDO por padrão */
.texto-whatsapp-flutuante {
    color: #444;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;

    /* Animação de aparecer */
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.4s ease, opacity 0.3s ease;
}

/* Texto APARECE ao passar o mouse */
.whatsapp-fixo:hover .texto-whatsapp-flutuante {
    max-width: 200px;
    opacity: 1;
}

/* Mobile - só o ícone, sem texto */
@media screen and (max-width: 480px) {
    .whatsapp-icon-flutuante {
        width: 55px;
        height: 55px;
        background-size: 32px 32px;
    }

    .texto-whatsapp-flutuante {
        display: none;
    }

    .whatsapp-fixo:hover {
        background-color: transparent;
        padding: 0;
        box-shadow: none;
    }
}

/* ================================= */
/* RESPONSIVIDADE INDEX */
/* ================================= */

@media screen and (max-width: 768px) {

    body {
        padding-top: 70px;
    }

    /* HEADER */
    .container-header {
        flex-direction: column;
        gap: 10px;
    }

    .logo img {
        height: 70px;
    }

    .menu {
        gap: 15px;
        font-size: 14px;
    }

    /* BANNER AJUSTADO (mantém imagem menor) */
    .banner {
        padding: 80px 0; /* diminui altura */
        background-position: center;
    }

    .texto-banner h1 {
        font-size: 26px;
        text-align: center;
    }

    .texto-banner p {
        font-size: 16px;
        text-align: center;
        max-width: 100%;
    }

    /* CARDS EM COLUNA */
    .grid-boletos {
        flex-direction: column;
        gap: 30px;
    }

    .card-boleto {
        background: white;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }

    .card-boleto h3 {
        font-size: 20px;
    }

    .btn-boleto {
        width: 100%;
        text-align: center;
    }

    /* SEÇÃO */
    .titulo-secao {
        font-size: 20px;
        text-align: center;
    }

    /* FOOTER */
    .container-footer {
        flex-direction: column;
        gap: 30px;
    }

    .footer {
        padding: 40px 20px;
    }

}

    /* ================================= */
/* TEXTO FORA DO BANNER NO MOBILE */
/* ================================= */

@media screen and (max-width: 768px) {

    /* Banner só com imagem */
    .banner {
        padding: 120px 0; /* altura só da imagem */
        display: block;
        background-image: url("img/banner\ mobile.png"); /* sua imagem mobile */
        background-position: center;
        background-size: cover;
    }

    .container-banner {
        display: none; /* esconde texto dentro da imagem */
    }

    /* Criamos o texto fora da imagem */
    .banner::after {
        content: "";
        display: block;
    }

    /* Novo bloco de texto */
    .texto-banner-mobile {
        padding: 40px 20px;
        background: white;
        text-align: center;
    }

    .texto-banner-mobile h1 {
        font-size: 24px;
        color: #0b3d91;
        margin-bottom: 15px;
    }

    .texto-banner-mobile p {
        font-size: 16px;
        color: #555;
    }

}
