/* Importar fonte do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Estilos Gerais */
body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Cabeçalho */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

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

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #007bff; /* Azul */
}

.logo a {
    text-decoration: none;
    color: inherit;
}

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

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
}

nav ul li a:hover {
    color: #007bff;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #007bff; /* Azul */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #0056b3; /* Azul mais escuro */
    transform: translateY(-3px);
}

/* Seção Hero */
.hero {
    background-color: #e0f2ff; /* Azul claro */
    background-image: url('background-hero.jpg'); /* Adicionar imagem de fundo */
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 100px 0;
    color: #003366; /* Alterar cor do texto para escuro para contraste */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.hero .container {
    max-width: 900px;
    /* Removido background-color, padding e border-radius */
}

.hero h1 {
    font-size: 58px;
    margin-bottom: 25px;
    line-height: 1.15;
    /* Removido text-shadow */
}

.hero p {
    font-size: 24px;
    margin-bottom: 50px;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    /* Removido text-shadow */
}

.btn-secondary {
    background-color: #28a745; /* Verde */
    color: #fff;
    padding: 18px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background-color: #218838; /* Verde mais escuro */
    transform: translateY(-3px);
}

/* Seção de Escolha de Plataforma */
.platform-choice {
    padding: 80px 0;
    background-color: #fff;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.platform-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 50px 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.platform-card.cadista {
    border-color: #007bff;
}

.platform-card.laboratorio {
    border-color: #6c757d;
    opacity: 0.9;
}

.platform-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.platform-card.cadista .platform-icon {
    color: #007bff;
}

.platform-card.laboratorio .platform-icon {
    color: #6c757d;
}

.platform-card h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.platform-card h3 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.platform-card.cadista h3 {
    color: #007bff;
}

.platform-card.laboratorio h3 {
    color: #6c757d;
}

.platform-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.platform-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-outline-platform {
    background-color: transparent;
    border: 2px solid #007bff;
    color: #007bff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-platform:hover {
    background-color: #007bff;
    color: #fff;
}

.coming-soon-badge {
    background-color: #e9ecef;
    color: #6c757d;
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
}

.coming-soon-badge i {
    font-size: 20px;
}

/* Seção de Recursos */
.features {
    padding: 100px 0;
    text-align: center;
}

.features h2 {
    font-size: 42px;
    margin-bottom: 60px;
    color: #007bff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    background-color: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-item .icon {
    font-size: 55px;
    color: #007bff;
    margin-bottom: 25px;
    display: block;
}

.feature-item h3 {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

/* Seção de Depoimentos */
.testimonials {
    background-color: #f0f8ff; /* Azul muito claro */
    padding: 100px 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 42px;
    color: #007bff;
    margin-bottom: 60px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-item p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-item .author {
    font-weight: 600;
    color: #007bff;
    font-size: 16px;
}

/* Seção CTA */
.cta {
    background-color: #007bff; /* Azul */
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 40px;
}

.cta .btn-primary,
.cta .btn-outline {
    margin: 0 15px;
    font-size: 20px;
    padding: 15px 30px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-outline:hover {
    background-color: #fff;
    color: #007bff;
    transform: translateY(-3px);
}

/* Rodapé */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 18px;
}

/* Estilos para a página de Preços */
.pricing-plans {
    padding: 100px 0;
    text-align: center;
    background-color: #f8f8f8;
}

.pricing-plans h2 {
    font-size: 42px;
    margin-bottom: 60px;
    color: #007bff;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Define 3 colunas com largura igual */
    gap: 30px;
    align-items: stretch; /* Garante que os itens do grid se estiquem para ter a mesma altura */
    max-width: 1100px; /* Manter a largura máxima do grid */
    margin: 0 auto;
}

.plan-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px 25px; /* Ajuste o padding vertical para diminuir a altura */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    /* Removido height: 100%; para que a altura se ajuste ao conteúdo */
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.plan-card.trial {
    border: 2px solid #007bff;
}
.plan-card.monthly {
    border: 2px solid #a0a0a0; /* Cinza claro para mensal */
}
.plan-card.annual {
    border: 2px solid #ffc107; /* Amarelo para anual */
}

.plan-card .plan-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.plan-card .plan-header h3 {
    font-size: 28px;
    color: #007bff;
    margin: 0;
}

.plan-card .plan-name {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.plan-card .badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    margin-left: 10px;
    text-transform: uppercase;
}

.plan-card .badge.free {
    background-color: #6c757d; /* Cinza */
}

.plan-card .badge.recommended {
    background-color: #007bff; /* Azul */
}

.plan-card .badge.popular {
    background-color: #28a745; /* Verde */
}

.plan-card .badge.best-value {
    background-color: #ffc107; /* Amarelo */
    color: #333;
}

.plan-card .price {
    font-size: 52px;
    font-weight: bold;
    color: #007bff;
    margin: 15px 0 10px;
}

.plan-card .old-price {
    font-size: 20px;
    color: #888;
    text-decoration: line-through;
    margin-bottom: 8px;
}

.plan-card .duration {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.plan-card .save {
    background-color: #e2fcdb; /* Verde claro */
    color: #28a745;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin: 15px auto;
    width: fit-content;
}

.plan-card .monthly-equivalent {
    font-size: 15px;
    color: #007bff;
    background-color: #e0f2ff;
    padding: 8px 15px;
    border-radius: 20px;
    margin: 15px auto;
    width: fit-content;
    font-weight: 600;
}

.plan-card .features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 40px;
    flex-grow: 1;
    text-align: left;
}

.plan-card .features-list li {
    font-size: 17px;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start; /* Alinhar itens no topo */
}

.plan-card .features-list li i {
    color: #28a745;
    margin-right: 12px;
    margin-top: 3px; /* Pequeno ajuste para alinhar com o texto */
}

.plan-card .btn-primary {
    margin-top: auto;
    width: 100%;
    display: block;
    text-align: center;
    padding: 18px 0;
    font-size: 20px;
}

/* Seção de Eventos */
.events {
    padding: 100px 0;
    text-align: center;
    background-color: #f8f8f8;
}

.events h2 {
    font-size: 42px;
    color: #007bff;
    margin-bottom: 20px;
}

.events .section-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.event-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-item h3 {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 15px;
}

.event-item p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.event-item p i {
    margin-right: 10px;
    color: #28a745;
}

.event-item .btn-primary {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    width: auto;
    display: inline-block;
}

/* Menu Hambúrguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1000;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #007bff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 15px 0;
    }

    header {
        padding: 10px 0;
        position: sticky;
        top: 0;
        z-index: 999;
    }

    header .container {
        flex-wrap: wrap;
        position: relative;
    }

    .logo {
        font-size: 24px;
    }

    .menu-toggle {
        display: flex;
        order: 2;
    }

    nav {
        width: 100%;
        order: 3;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    nav.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        margin-top: 0;
        padding: 20px 0;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        margin-top: 10px;
    }

    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }

    nav ul li a.btn-primary {
        margin: 10px 20px;
        width: calc(100% - 40px);
    }

    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .btn-secondary {
        padding: 14px 25px;
        font-size: 16px;
    }

    .features,
    .testimonials,
    .pricing-plans,
    .events,
    .cta {
        padding: 50px 0;
    }

    .features h2,
    .testimonials h2,
    .pricing-plans h2,
    .events h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .feature-grid,
    .testimonial-grid,
    .event-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item,
    .testimonial-item,
    .event-item {
        padding: 20px;
    }

    .feature-item .icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .feature-item h3 {
        font-size: 20px;
    }

    .feature-item p {
        font-size: 14px;
    }

    .cta h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .cta .btn-primary,
    .cta .btn-outline {
        display: block;
        margin: 10px auto;
        width: 90%;
        max-width: 300px;
        font-size: 16px;
        padding: 12px 20px;
    }

    .plan-card {
        padding: 25px 20px;
    }

    .plan-card .price {
        font-size: 36px;
    }

    .plan-card .btn-primary {
        padding: 14px 0;
        font-size: 16px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .platform-choice {
        padding: 50px 0;
    }

    .platform-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .platform-card {
        padding: 40px 30px;
    }

    .platform-icon {
        font-size: 50px;
    }

    .platform-card h3 {
        font-size: 28px;
    }

    footer .container {
        flex-direction: column;
        gap: 15px;
    }

    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .features h2,
    .testimonials h2,
    .pricing-plans h2,
    .events h2,
    .cta h2 {
        font-size: 24px;
    }

    .plan-card .price {
        font-size: 32px;
    }
}

/* Botão Voltar ao Topo */
.back-to-top-btn {
    display: none; /* Escondido por padrão */
    position: fixed; /* Posição fixa */
    bottom: 30px;
    right: 30px;
    z-index: 99; /* Garante que fique acima de outros elementos */
    border: none;
    outline: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%; /* Formato circular */
    font-size: 22px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.back-to-top-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}
