/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.btn-primary {
	position: absolute;
    top: 450px; /* Distância do topo */
    right: 450px; /* Distância da borda direita */
    padding: 10px 20px;
    background-color: #0073e6;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: #0073e6 url('../images/gluco.png') no-repeat center center / cover;
    height: 500px; /* Aumente a altura conforme necessário */
    width: 100%; /* Garante que a imagem ocupe toda a largura */
    display: block;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero .btn-primary {
    background: #ffd700;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Benefits Section */
.benefits {
    background: #fff;
    padding: 20px 0;
    text-align: center;
}

.benefit-item {
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    background: #f4f4f4;
    padding: 20px 0;
    text-align: center;
    font-style: italic;
}

/* Call to Action Section */
.cta {
    background: #ffd700;
    text-align: center;
    padding: 20px 0;
}

.cta .btn-secondary {
    background: #0073e6;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup.hidden {
    display: none;
}

.popup-content {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
}

.btn-popup {
    background: #0073e6;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    display: inline-block;
}

.btn-close {
    background: red;
    color: #fff;
    padding: 5px 10px;
    border: none;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
/* Para telas pequenas (smartphones) */
@media (max-width: 768px) {
    .hero .btn-primary,
    .cta .btn-secondary,
    .popup-content .btn-popup {
        width: 100%; /* Botões ocupam toda a largura disponível */
        font-size: 16px;
    }

    .benefit-item h3 {
        font-size: 20px;
    }

    .benefit-item p,
    .testimonials blockquote {
        font-size: 14px;
    }

    .popup-content {
        width: 90%; /* O popup ocupa mais espaço em telas menores */
        padding: 20px;
    }

    .cta {
        padding: 30px 0; /* Menos espaçamento em telas pequenas */
    }

    .benefits {
        padding: 30px 0; /* Menos espaçamento em telas pequenas */
    }
}

/* Para telas médias (tablets) */
@media (max-width: 1024px) {
    .hero .btn-primary,
    .cta .btn-secondary,
    .popup-content .btn-popup {
        width: 80%; /* Ajusta o tamanho dos botões */
    }

    .benefit-item h3 {
        font-size: 22px;
    }

    .popup-content {
        width: 75%;
    }
}
