/* Estilos para o site Rumo à Praticagem */

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

/* Header e navegação */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #8B0000; /* Vermelho ainda mais escuro conforme solicitado */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    margin: 0;
    color: #fff; /* Texto branco para contraste com fundo azul */
    font-weight: 700;
}

nav ul {
    display: flex;
}

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

nav ul li a {
    color: #fff; /* Texto branco para contraste com fundo azul */
    font-weight: 600;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover {
    color: #A8DADC; /* Azul claro ao passar o mouse */
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #A8DADC;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Seção Hero */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('../images/imagem1.png') no-repeat center center;
    background-size: cover;
    color: #fff;
    margin-top: 0;
    padding-top: 80px;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 500;
    color: #A8DADC;
}

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

.cta-button {
    display: inline-block;
    background-color: #E63946;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #c1272d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Seção de Blog */
.blog-section {
    background-color: #f8f9fa;
}

.blog-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #1D3557;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 22px;
    color: #1D3557;
    margin-bottom: 15px;
}

.blog-content p {
    color: #666;
    margin-bottom: 20px;
}

.blog-button {
    display: inline-block;
    background-color: transparent;
    color: #1D3557;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #1D3557;
    transition: all 0.3s ease;
}

.blog-button:hover {
    background-color: #1D3557;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-more {
    text-align: center;
}

.more-button {
    display: inline-block;
    background-color: #457B9D;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.more-button:hover {
    background-color: #1D3557;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Seção de Benefícios */
.beneficios-section {
    background-color: #fff;
}

.beneficios-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1D3557;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.beneficio-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

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

.beneficio-card .icon {
    font-size: 40px;
    color: #457B9D;
    margin-bottom: 20px;
}

.beneficio-card h3 {
    font-size: 20px;
    color: #1D3557;
    margin-bottom: 15px;
}

.beneficio-card p {
    color: #666;
}

/* Seção de Estatísticas */
.estatisticas-section {
    position: relative;
    background: url('../images/lancha_praticagem_brasil_navio.jpeg') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.estatisticas-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.estatisticas-section .container {
    position: relative;
    z-index: 2;
}

.estatisticas-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.estatisticas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.estatistica-card h3 {
    font-size: 48px;
    color: #E63946;
    margin-bottom: 10px;
}

.estatistica-card p {
    font-size: 18px;
}

/* Seção de Preparação */
.preparacao-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #1D3557;
}

.sub-section-title {
    text-align: center;
    font-size: 28px;
    margin: 50px 0 30px;
    color: #457B9D;
    position: relative;
    padding-bottom: 15px;
}

.sub-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #E63946;
}

.section-desc {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

/* Seção de Recursos Gratuitos */
.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.recurso-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.recurso-img {
    height: 200px;
    overflow: hidden;
}

.recurso-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recurso-card:hover .recurso-img img {
    transform: scale(1.1);
}

.recurso-content {
    padding: 25px;
}

.recurso-content h3 {
    font-size: 22px;
    color: #1D3557;
    margin-bottom: 15px;
}

.recurso-content p {
    color: #666;
    margin-bottom: 15px;
}

.recurso-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.recurso-content ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    color: #666;
}

.recurso-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #457B9D;
}

.recurso-button {
    display: inline-block;
    background-color: #457B9D;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.recurso-button:hover {
    background-color: #1D3557;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Seção de Cursos */
.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.curso-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

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

.curso-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #E63946;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    z-index: 3;
}

.curso-img {
    height: 200px;
    overflow: hidden;
}

.curso-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.curso-card:hover .curso-img img {
    transform: scale(1.1);
}

.curso-content {
    padding: 25px;
}

.curso-content h3 {
    font-size: 22px;
    color: #1D3557;
    margin-bottom: 15px;
}

.curso-content p {
    color: #666;
    margin-bottom: 15px;
}

.curso-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.curso-content ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    color: #666;
}

.curso-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #457B9D;
}

.curso-button {
    display: inline-block;
    background-color: transparent;
    color: #1D3557;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #1D3557;
    transition: all 0.3s ease;
}

.curso-button:hover {
    background-color: #1D3557;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Seção de Newsletter */
.newsletter-section {
    background-color: #1D3557;
    color: #fff;
    padding: 80px 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.checkbox-container input {
    margin-top: 5px;
}

.newsletter-button {
    background-color: #E63946;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-button:hover {
    background-color: #c1272d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #0D1B2A;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #A8DADC;
}

.footer-links h4, .footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #E63946;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: #A8DADC;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1D3557;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #E63946;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal para formulários de captura */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #E63946;
}

.modal-content h3 {
    font-size: 24px;
    color: #1D3557;
    margin-bottom: 10px;
}

.modal-content p {
    color: #666;
    margin-bottom: 20px;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lead-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.lead-button {
    background-color: #E63946;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lead-button:hover {
    background-color: #c1272d;
}

.form-message {
    margin-top: 15px;
    font-weight: 600;
}

.form-message.success {
    color: #28a745;
}

.form-message.error {
    color: #dc3545;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .estatistica-card h3 {
        font-size: 36px;
    }
    
    .logo img {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: #1D3557;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .beneficios-section h2, .blog-section h2, .preparacao-section h2, .estatisticas-section h2, .newsletter-content h2 {
        font-size: 28px;
    }
    
    .sub-section-title {
        font-size: 24px;
    }
    
    .estatistica-card h3 {
        font-size: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-links h4::after, .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .logo img {
        height: 35px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .cta-button, .recurso-button, .curso-button, .newsletter-button, .lead-button, .blog-button, .more-button {
        width: 100%;
        text-align: center;
    }
    
    .estatisticas-grid {
        grid-template-columns: 1fr;
    }
    
    .estatistica-card {
        margin-bottom: 30px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
}

/* Estilo específico para o link Área de Membros */
.area-membros-link {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px !important;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.area-membros-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}


/* Estilos para preços nos cards de curso */
.curso-preco {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #8B0000;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 18px;
    z-index: 2;
}

.curso-preco span {
    font-size: 12px;
    font-weight: 400;
}

/* Badge MAIS POPULAR */
.curso-tag.popular {
    background: #FF6B35;
    color: white;
    font-weight: 700;
    animation: pulse 2s infinite;
    top: 15px;
    left: 15px;
    right: auto;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Card Premium destacado */
.curso-card.premium {
    border: 3px solid #8B0000;
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.2);
}

/* Ajuste no grid para 4 cards */
.cursos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .curso-card.premium {
        transform: none;
    }
    
    .curso-preco {
        font-size: 16px;
        padding: 6px 10px;
    }
}

