/* style.css */
@import url('https://fonts.cdnfonts.com/css/aqua-grotesque');

/* Estilos globais */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6em;
    font-size: 16px; /* Tamanho base */
}

a {
    color: #2d6a4f;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Cabeçalho */
header {
    background-color: #2d6a4f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Adicionado */
    padding: 10px 20px;
}

header .logo img {
    height: 50px;
    margin-left: 0,5em;
}
@media (max-width: 800px) {
    nav {
        display: none;
    }
}

nav {
    max-width: 1200px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    margin: 0;
}

nav li {
    margin-left: 20px;
}

nav a {
    color: #fff;
    font-weight: bold;
}

/* Seção Hero */
#hero {
    background-image: url('img/ampeli-wp-tiny.webp');
    background-size: auto;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 20px 70px 20px;
    position: relative;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 106, 79, 0.7);
}

/* Remover padding-left negativo */
#hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center; /* Centraliza o conteúdo */
}

/* Ajustar margens e remover alinhamentos desnecessários */
#hero h1 {
    font-size: 4em;
    margin-bottom: 0.1em;
    font-family: 'Aqua Grotesque', sans-serif;
}

#hero p {
    font-size: 1.5em;
    margin-bottom: 2em; /* Reduz a margem inferior */
}

@media (max-width: 800px) {
    #hero {
        padding: 20px;
        height: 200px;
    }

    #hero h1 {
        font-size: 2.5em;
    }

    #hero p {
        font-size: 1.2em;
        margin-bottom: 1.5em;
    }

    #hero .btn {
        margin-botton: 5em;
    }
}

.btn {
    padding: 15px 30px;
    border-radius: 5px;
}
    

.btn-primario {
    background-color: #95d5b2;
    color: #1b4332;
    font-weight: bold;
}

.btn-primario:hover {
    background-color: #74c69d;
}

.btn-secundario {
    background-color: #2d6a4f;
    color: #fff;
}

.btn-secundario:hover {
    background-color: #1b4332;
}

/* Seção Nosso Propósito */
#proposito {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

#proposito h2 {
    font-size: 2em;
    color: #2d6a4f;
    text-align: center;
    margin-bottom: 20px;
}

#proposito .frase-enfase {
    font-size: 1.3em;
    line-height: 1.5em;
    color: #1b4332;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

#proposito p {
    font-size: 1.1em;
    line-height: 1.6em;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

.proposito-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.proposito-content .texto {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.proposito-content .imagem {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.proposito-content .imagem img {
    max-width: 20em;
    height: auto;
    border-radius: 10px;
}

.proposito-content .texto .button-container {
    text-align: center;
    margin-top: 5em; /* Ajuste o valor conforme necessário */
}

@media (max-width: 800px) {
    .proposito-content {
        flex-direction: column; /* Altera para coluna em mobile */
    }

    .proposito-content .imagem {
        order: -1; /* Move a imagem para cima */
    }

    .proposito-content .texto {
        text-align: center; /* Centraliza o texto */
    }

    .proposito-content .texto p {
        margin-left: 0; /* Remove margens desnecessárias */
    }
}

/* Seção Soluções */
#produtos {
    padding: 60px 20px;
    background-color: #f1f1f1;
}

#produtos h2 {
    font-size: 2em;
    color: #2d6a4f;
    text-align: center;
    margin-bottom: 40px;
}

.produtos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.produto {
    flex: 1 1 45%;
    max-width: 45%;
    background-color: #fff;
    margin: 10px;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

@media (max-width: 800px) {
    .produtos-container {
        flex-direction: column; /* Alinha os produtos em coluna */
        align-items: center; /* Centraliza os produtos */
    }

    .produto {
        width: 90%; /* Aumenta a largura dos produtos */
        max-width: none;
        margin: 10px 0; /* Ajusta as margens */
    }
}

.produto i {
    max-width: 100%;
    height: 30px;
    border-radius: 10px;
}

.produto h3 {
    margin-top: 15px;
    color: #2d6a4f;
}

.produto p {
    font-size: 1em;
}

/* Estiliza o stripe-pricing-table */
stripe-pricing-table {
    width: 100%;
    max-width: 100%;
}

/* Opcionalmente, ajustar o tamanho da fonte dentro da tabela de preços */
stripe-pricing-table * {
    font-size: 1em; /* Ajuste conforme necessário */
}

/* Seção Planos */
#planos {
    padding: 60px 20px;
}

#planos h2 {
    font-size: 2em;
    color: #2d6a4f;
    text-align: center;
    margin-bottom: 20px;
}

#planos p {
    text-align: center;
    margin-bottom: 40px;
}



/* Rodapé */
footer {
    background-color: #2d6a4f;
    color: #fff;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content div {
    flex: 1 1 30%;
    margin: 10px;
}

.footer-content h3 {
    margin-top: 0;
}


.footer-bottom {
    background-color: #1b4332;
    color: #fff;
    text-align: center;
    padding: 10px;
}

.footer-bottom a {
    color: #fff;
    margin: 0 10px;
}

/* Estilos para o CTA no rodapé */
.footer-content .cta {
    flex: 1 1 30%;
    margin: 10px;
    text-align: center;
}

.footer-content .cta h3 {
    margin-top: 0;
    color: #fff;
}

.footer-content .cta p {
    color: #fff;
    margin-bottom: 20px;
}

.footer-content .cta .btn {
    padding: 10px 20px;
    background-color: #95d5b2;
    color: #1b4332;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
}

.footer-content .cta .btn:hover {
    background-color: #74c69d;
}

@media (max-width: 800px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-content div {
        width: 90%;
        margin: 10px 0;
    }

    .footer-content h3 {
        font-size: 1.5em;
    }

    .footer-content p,
    .footer-content a {
        font-size: 1em;
    }
}

/* Responsividade */
@media (max-width: 800px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    nav li {
        margin: 10px 0;
    }

    .sobre-content, .produtos-container, .planos-container, .depoimentos-container, .blog-container, .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .produto, .plano, .depoimento, .post {
        width: 80%;
        max-width: none;
    }

    .planos-container .plano {
        width: 80%;
    }
}

/* Estilo das páginas de politicas de privacidade e termos de uso*/
/* Estilos para os Modais */
.modal {
    display: none; /* Oculto por padrão */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Fundo semitransparente */
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    height: 30em;
    overflow: scroll;
    position: relative;
}

.modal-content h1 {
    font-size: 2em;
    color: #2d6a4f;
    margin-bottom: 20px;
    text-align: center;
}

.modal-content h2 {
    font-size: 1.5em;
    color: #2d6a4f;
    margin-top: 30px;
    margin-bottom: 15px;
}

.modal-content p {
    font-size: 1em;
    line-height: 1.6em;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
}

.modal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.modal-content ul li {
    margin-bottom: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}