body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

/* Estilização da div do logo */
.logo-container {
    width: 100%;
    max-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Imagem do logo */
.logo-container img {
    width:250px;
    height: auto;
    transition: transform 0.3s ease;
    top: 50%;
}

.logo-container img:hover {
    transform: scale(1.1);
}

/* Tornando a div mais flexível */
@media (min-width: 768px) {
    .logo-container {
        max-width: 300px;
    }
}

@media (min-width: 1024px) {
    .logo-container {
        max-width: 400px;
    }
}

img {
    max-inline-size:100%;
    block-size: auto;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 25px 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    left: 25px;
}

.menu-toggle div {
    width: 35px;
    height: 5px;
    background-color:#003C97;
    margin: 2px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active div:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

nav {
    display: flex;
    gap: 15px;
    margin-right: 90px;
    z-index: 9999; /* Garante que o menu esteja sempre no topo */
}

nav a {
    text-decoration: none;
    color:#003C97;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
    font-size: 20px;
}

nav a:hover {
    color: #007BFF;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #007BFF;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 35px;
        left: 10px;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        padding: 5%;
        z-index: 9999;
    }

    nav.active {
        display: flex;
    }

    .top-header {
        flex-direction: column;
        align-items: center;
        padding: 25px 20px; /* Reduz o espaçamento lateral */
        justify-content: center;
    }

    .features {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 16px;  /* Tamanho de fonte mais legível */
    }

    .hero h2 {
        font-size: 24px;
    }

    .carousel-text {
        font-size: 18px;  /* Melhor visibilidade */
    }

    .cta h2 {
        font-size: 24px;
    }

    .container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
        max-width: 800px;
        margin: auto;
    }

    .box {
        flex: 1;
        min-width: 300px;
        color: white;
        padding: 30px;
        border-radius: 10px;
        text-align: left;
        font-size: 16px;
        font-weight: bold;
    }

    .logo-container {
        justify-content: center;
        max-width: 70%;
        padding: 25px 20px;
    }
}

.carousel {
    position: relative; /* Correção de 'firelative' */
    overflow: hidden;
    max-width: 100%; /* Melhor controle de largura */
    height: auto;
}

.carousel img {
    width: 100%;
    height: 50%;
}

.carousel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 20px;
    font-size: 20px;
    border-radius: 5px;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-controls button {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.hero {
    text-align: left ;
    padding: 1px 10px;
}

.hero-sectionprimary {
    background: url('../img/Backgraund1.png') no-repeat center center/cover;
    color: white; /* Ajuste conforme necessário */
    padding: 1px 0;
}
.hero-sectionsecond {
    background: url('../img/Backgraund2.png') no-repeat center center/cover;
    color: white; /* Ajuste conforme necessário */
    padding: 1px 0; 
}

.hero-sectiontrird {
    background: url('../img/bkcinza.png') no-repeat center center/cover;
    color: white; /* Ajuste conforme necessário */
    padding: 1px 0;
}

.hero h2 {
    font-size: 35px;
    color: #003C97;
    font-weight: bold;
    
}

.hero h3{
    font-size: 18px;
    color: #003C97;
    font-weight: bold;
}

.hero p {
    max-width: 600px;
    margin: 10px auto;
}

.hero a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: url('../img/bkcinza.png');
}

.feature {
    flex: 1;
    min-width: 200px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}
.feature-modify {
    flex: 1;
    min-width: 200px;
    background: url('../img/bkcinza.png');
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    color: #333;
}

.feature-modify h3{
    font-size: 25px;
    color: #003C97;
    font-weight: bold;
}

.cta {
    text-align: center;
    background-color: #003C97;
    color: white;
    padding: 40px 20px;
}

.cta a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: rgb(199, 0, 0);
    color: #f3f5f7;
    text-decoration: none;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #f4f4f4;
}
.container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width:auto;
    margin: 20px;
}

.box {
    flex: 1;
    min-width: 150px;
    
    color: black;
    padding: 21px;
    border-radius: 10px;
    text-align: left;
    font-size: 20px;
    font-weight: normal;
}

.containercard {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 50px rgba(0, 0, 0, 0.1);
    padding:20px;
    width: 300px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    color: #007bff;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
}

.btn {
    display: inline-block;
    background-color:#0056b3;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    text-align: center;
    border-radius: 30px 30px 30px 30px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #007bff;
}
.alert {
    background-color: #ffcc00;
    color: #333;
    padding: 15px;
    margin: 20px auto;
    width: 80%;
    border-radius: 5px;
    font-weight: bold;
    text-decoration:#007bff;
    text-align: center;
}
.qr-code {
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%; max-width: 250px;
}
/* Botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
}

