/* RESET E BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fredoka', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: #333;
}

/* HEADER */
.header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 60px;
}

.logo {
    width: 90px;
}

.search-bar input {
    width: 700px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 25px;
    border: 1px solid #0f0f0f;
    outline: none;
}

.header-actions {
    display: flex;
    gap: 10px;

}

.header-actions button {
    background: none;
    border: none;
    font-weight: 500;
    border-radius: 1px;
    cursor: pointer;
    font-size: 19px;
}

.header-actions button:hover{
    background-color: wheat;
    border-radius: 20px;
}

.login-btn {
    background: #f0f0f0;
    border-radius: 20px;
    padding: 8px 14px;
}

/* MENU */
.menu {
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
    padding: 12px 0;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.menu a:hover {
    color: #00796b;
}

/* PROMOÇÕES */
.promocoes {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin: 30px auto;
    max-width: 1000px;
}

.promocoes .card {
    background: #f8f5ff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 40%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* BANNER PRINCIPAL */
.banner {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.banner-content {
    display: flex;
    align-items: center;
    background: #fff9e6;
    border-radius: 15px;
    max-width: 1400px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.banner-content img {
    width: 80%;
    height: auto;
}

.banner-text {
    padding: 40px;
    margin-left: 60px;
}

.banner-text h2 {
    font-size: 32px;
    color: #1c1c1c;
    margin-bottom: 10px;
}

.banner-text {
    padding: 40px 20px;
    margin-left: 0; /* centraliza no mobile */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ou center, se quiser centralizado */
    gap: 20px; /* espaçamento entre texto e botão */
}

.btn-banner {
    background: #1c3e6e;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
}

.btn-banner:hover {
    background: #305ba5;
}

/* PLANOS DE SAÚDE (VERDE) */
.planos {
    background-color: #d8ead2;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.planos:before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top right, transparent 50%, #d8ead2 50%);
}

.planos h2 {
    color: #7f5c00;
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 700;
}

.planos-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.plano-card-novo {
    background: #fff;
    border-radius: 15px;
    padding: 30px 25px;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #d8ead2;
}

.plano-card-novo.tranquilo {
    border: 3px solid #7f5c00;
}

.plano-card-novo h3 {
    color: #7f5c00;
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 700;
}

.plano-card-novo p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.plano-card-novo .preco-plano {
    background: #f0f0f0;
    padding: 8px;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    display: block;
}

.plano-card-novo button {
    background: #a2c695;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}

.plano-card-novo button:hover {
    background: #8bb37e;
}

/* ASSINATURAS E DESCONTOS (AMARELO) */
.assinaturas {
    background-color: #fffbe3;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.assinaturas h2 {
    color: #7f5c00;
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 700;
}

.planos-assinatura-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
}

.plano-assinatura-box {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    width: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.plano-assinatura-box.anual {
    transform: translateY(-15px);
}

.tag-melhor-opcao {
    background: #a2c695;
    color: #333;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 8px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
}

.plano-assinatura-box h3 {
    font-size: 20px;
    color: #7f5c00;
    margin-bottom: 5px;
}

.plano-assinatura-box .parcelamento {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.plano-assinatura-box .preco-grande {
    font-size: 40px;
    font-weight: 700;
    color: #5c2e91;
    line-height: 1;
    margin: 10px 0;
}

.plano-assinatura-box .preco-grande small {
    font-size: 20px;
    font-weight: 500;
}

.plano-assinatura-box .valor-total {
    font-size: 14px;
    color: #777;
    display: block;
    margin-bottom: 20px;
}

.plano-assinatura-box button {
    background: #5c2e91;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
}

.plano-assinatura-box button:hover {
    background: #452172;
}

/* SERVIÇOS (AZUL CLARO) */
.servicos {
    background-color: #b3e6ff;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.servico img{
    width: 20px;
}

.servicos h2 {
    color: #1c3e6e;
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 700;
}

.servicos-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.servico-card-novo {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    width: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.servico-card-novo .icone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.servico-card-novo .icone .badge {
    background: #f0f8ff;
    color: #1c3e6e;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 5px;
    font-weight: 500;
}

.servico-card-novo h3 {
    color: #1c3e6e;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.servico-card-novo p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    min-height: 40px;
}

.servico-card-novo button {
    background: #5c2e91;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
}

.servico-card-novo button.secundario {
    background: none;
    color: #5c2e91;
    margin-top: 5px;
    border: 1px solid #5c2e91;
}

.servico-card-novo button:hover {
    opacity: 0.8;
}

/* PRODUTOS */
.header-produtos {
    text-align: center;
    font-size: 32px;
    color: #5c2e91;
    margin-bottom: 30px;
    font-weight: 700;
}

.produtos {
    padding: 40px 5%;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-produtos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.produto-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    max-width: 320px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.produto-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.produto-info {
    padding: 0 10px;
}

.produto-nome {
    font-size: 15px;
    color: #333;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    line-height: 1.3;
}

.badge-unidades {
    display: inline-block;
    background: #f8f5ff;
    color: #5c2e91;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}

.preco-antigo {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

.preco-novo {
    color: #5c2e91;
    font-weight: bold;
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.opcoes {
    font-size: 13px;
    color: #5c2e91;
    margin-top: 5px;
}

/* FOOTER */
.footer {
    background: #f8f8f8;
    padding: 40px 5%;
    font-size: 14px;
    color: #777;
    margin-top: 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-col {
    width: 20%;
    min-width: 150px;
}

.footer-col h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    text-decoration: none;
    color: #777;
}

.footer-col ul a:hover {
    color: #5c2e91;
}

.footer-col.contato p {
    margin-bottom: 5px;
}

.social-links {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.footer-col.selos img {
    display: block;
    margin-bottom: 10px;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* ------------------------------------------------------------------------------------- */
/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-bar {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }

    .search-bar input {
        width: 100%;
    }

    .header-actions {
        order: 2;
    }

    .menu ul {
        flex-wrap: wrap;
        gap: 15px;
        padding: 10px 20px;
    }

    .promocoes {
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
    }

    .promocoes .card {
        width: 100%;
    }

    .banner-content {
        flex-direction: column;
        margin: 20px;
    }

    .banner-content img {
        width: 100%;
    }

    .banner-text a{
        text-decoration: none;
        color: white;
    }

    .banner-text {
        padding: 20px;
        margin-left: 0;
        text-align: center;
        
    }
    
    .planos-container,
    .planos-assinatura-container,
    .servicos-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .plano-card-novo,
    .plano-assinatura-box,
    .servico-card-novo {
        width: 90%;
        max-width: 400px;
    }

    .plano-assinatura-box.anual {
        transform: translateY(0);
    }

    .grid-produtos {
        gap: 10px;
    }

    .produto-card {
        width: 45%;
        padding: 10px;
    }

    .produto-nome {
        min-height: 60px;
    }

    .footer {
        padding: 20px 5%;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-col {
        width: 100%;
        min-width: unset;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }

    .footer-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-col ul,
    .footer-col.contato p {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-col.selos {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
