* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #60a5fa;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #60a5fa;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 6px;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Navigation Menu */
.nav-menu {
    display: flex !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    background: #60a5fa;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #3b82f6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Sections */
section {
    margin-bottom: 4rem;
}

h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #60a5fa;
}

/* Livros Grid */
.livros-grid, .cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.livro-card, .curso-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.livro-card:hover, .curso-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.livro-img, .sobre-img, .curso-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: #f0f0f0;
}

.livro-content, .curso-content {
    padding: 1.5rem;
}

.livro-content h3, .curso-content h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.livro-content p, .curso-content p {
    color: #666;
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.buy-button {
    display: inline-block;
    background: #60a5fa;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    margin-top: 1rem;
}

.buy-button:hover {
    background: #3b82f6;
}

/* Sobre Section */
.sobre-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.sobre-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sobre-text {
    color: #666;
    line-height: 1.8;
}

.sobre-text p {
    margin-bottom: 1rem;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
}

.blog-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.blog-card p {
    color: #666;
}

.blog-date {
    color: #3b82f6;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
}

.newsletter h2 {
    color: white;
}

.newsletter h2::after {
    background: #60a5fa;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    background: #60a5fa;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #93c5fd;
}

/* Contato */
.contato-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e3a8a;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-button:hover {
    background: #1e3a8a;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #60a5fa;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.social-link:hover {
    background: #3b82f6;
}

/* Footer */
footer {
    background: #1e3a8a;
    color: white;
    text-align: center;
    padding: 2rem;
}

footer p {
    margin-bottom: 0.5rem;
}

.link {
    color: #fafafa;
    text-decoration: underline;
}

/* ===== PÁGINAS DE CURSOS ===== */

/* Hero Section dos Cursos */
.curso-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.curso-hero .hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.curso-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.curso-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Detalhes do Curso */
.curso-detalhes {
    margin: 3rem 0;
}

.curso-info {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: flex-start;
}

.curso-imagem {
    position: sticky;
    top: 100px;
}

.curso-img {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.curso-descricao h2 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.curso-descricao h3 {
    color: #1e3a8a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.curso-descricao p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.curso-list {
    list-style: none;
    margin-bottom: 1rem;
}

.curso-list li {
    color: #555;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.curso-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: bold;
}

/* ── WhatsApp Chat Widget ─────────────────────────────────────── */
.wa-chat-widget {
    position: fixed;
    bottom: 160px;
    right: 28px;
    z-index: 9998;
    width: 320px;
    background: #ece5dd;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.wa-chat-widget.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.wa-chat-header {
    background: #075e54;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-chat-avatar {
    width: 40px;
    height: 40px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-chat-avatar svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.wa-chat-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wa-chat-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.93rem;
}

.wa-chat-status {
    color: #b2dfdb;
    font-size: 0.72rem;
}

.wa-chat-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.65);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.wa-chat-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

.wa-chat-messages {
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 120px;
    max-height: 240px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.wa-msg {
    max-width: 82%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.45;
    animation: waMsgIn 0.2s ease;
}

@keyframes waMsgIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wa-msg-bot {
    background: #fff;
    border-top-left-radius: 3px;
    align-self: flex-start;
    color: #222;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.wa-msg-user {
    background: #dcf8c6;
    border-top-right-radius: 3px;
    align-self: flex-end;
    color: #222;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.wa-chat-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
}

.wa-chat-input {
    flex: 1;
    border: none;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 0.875rem;
    outline: none;
    background: #fff;
    color: #333;
    font-family: inherit;
}

.wa-chat-input::placeholder { color: #aaa; }

.wa-chat-input:disabled { background: #f5f5f5; }

.wa-chat-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #25d366;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.wa-chat-send:hover:not(:disabled) { background: #1eb85a; }

.wa-chat-send:disabled { background: #a5d6b5; cursor: default; }

.wa-chat-send svg {
    width: 17px;
    height: 17px;
    fill: #fff;
}

@media (max-width: 480px) {
    .wa-chat-widget {
        right: 12px;
        bottom: 148px;
        width: calc(100vw - 24px);
    }
}

/* ── WhatsApp Floating Button ─────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 88px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.65);
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 68px;
    background: #075e54;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right: none;
    border-left-color: #075e54;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 80px;
        right: 18px;
        width: 52px;
        height: 52px;
    }
}

/* Acesso ao Moodle */
.curso-acesso {
    background: #f0f7ff;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #60a5fa;
    margin-top: 2rem;
}

.aviso-importante {
    color: #1e3a8a;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.botao-moodle {
    display: inline-block;
    background: #60a5fa;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.botao-moodle:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(60, 130, 246, 0.3);
}

.instrucoes-moodle {
    color: #999;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Módulos do Curso */
.curso-modulos {
    margin: 4rem 0;
}

.curso-modulos h2 {
    margin-bottom: 2rem;
}

.modulos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.modulo-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-top: 4px solid #60a5fa;
}

.modulo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
}

.modulo-numero {
    color: #60a5fa;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.modulo-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.modulo-card p {
    color: #666;
    line-height: 1.6;
}

/* Diferenciais do Curso */
.curso-diferenciais {
    background: #f9fafb;
    padding: 3rem 2rem;
    border-radius: 10px;
    margin: 4rem 0;
}

.curso-diferenciais h2 {
    margin-bottom: 2rem;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.diferencial-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.diferencial-icone {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.diferencial-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.diferencial-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section - Cursos */
.curso-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 4rem 0;
}

.curso-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.curso-cta h2::after {
    background: #60a5fa;
}

.curso-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Em Breve Section */
.curso-em-breve {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.em-breve-content {
    display: flex;
    flex-direction: column;
}

.em-breve-icone {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.em-breve-content h2 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.em-breve-titulo {
    font-size: 1.3rem;
    color: #60a5fa;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.em-breve-descricao {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid #60a5fa;
}

.em-breve-info {
    margin-bottom: 2rem;
}

.em-breve-info h3 {
    color: #1e3a8a;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.em-breve-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.em-breve-imagem {
    position: sticky;
    top: 100px;
    height: 400px;
}

.em-breve-imagem .curso-img {
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Notificação Section */
.notificacao-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #60a5fa;
    margin: 2rem 0;
}

.notificacao-section h3 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.notificacao-section p {
    color: #666;
    margin-bottom: 1.5rem;
}

.notificacao-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.notificacao-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.8rem;
    border: 2px solid #60a5fa;
    border-radius: 5px;
    font-size: 1rem;
}

.notificacao-form input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 5px rgba(60, 130, 246, 0.3);
}

.notificacao-form button {
    background: #60a5fa;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.notificacao-form button:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

/* Botão Voltar */
.botao-voltar {
    margin-top: 2rem;
    text-align: center;
}

.botao-link {
    display: inline-block;
    color: #60a5fa;
    text-decoration: none;
    font-weight: bold;
    padding: 0.8rem 1.5rem;
    border: 2px solid #60a5fa;
    border-radius: 5px;
    transition: all 0.3s;
}

.botao-link:hover {
    background: #60a5fa;
    color: white;
    transform: translateY(-2px);
}

/* Prévia do Curso */
.curso-previa {
    margin: 4rem 0;
}

.curso-previa h2 {
    margin-bottom: 2rem;
}

/* ===== PÁGINAS DE BLOG ===== */

/* Blog Artigo */
.blog-artigo {
    margin: 4rem 0;
    background: white;
}

.artigo-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.blog-artigo h1 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.artigo-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.artigo-data,
.artigo-autor {
    color: #666;
    font-size: 1rem;
}

.artigo-data {
    font-weight: 600;
    color: #60a5fa;
}

/* Conteúdo do Artigo */
.artigo-conteudo {
    line-height: 1.8;
    color: #444;
}

.artigo-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #60a5fa;
    font-weight: 500;
}

.artigo-conteudo h2 {
    color: #1e3a8a;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.artigo-conteudo h3 {
    color: #3b82f6;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.artigo-conteudo p {
    margin-bottom: 1.5rem;
}

.artigo-list {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.artigo-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
}

.artigo-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: bold;
    font-size: 1.1rem;
}

.destaque {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border-left: 4px solid #60a5fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.destaque p {
    margin: 0.8rem 0;
    color: #333;
}

.destaque strong {
    color: #1e3a8a;
}

/* CTA no Artigo */
.artigo-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    margin: 3rem 0;
}

.artigo-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

.artigo-cta .cta-button {
    display: inline-block;
    background: white;
    color: #3b82f6;
    padding: 1rem 2.5rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.artigo-cta .cta-button:hover {
    background: #f0f7ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Navegação do Artigo */
.artigo-nav {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    /* Header responsivo */
    header {
        padding: 1rem 0;
    }

    nav {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    /* Hamburger Menu - Mostrar em telas pequenas */
    .hamburger {
        display: flex;
    }

    /* Menu em coluna em telas pequenas */
    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
        flex-direction: column !important;
        gap: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        list-style: none;
        padding: 0;
        margin: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 1rem 0;
    }

    .nav-menu li {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        color: white;
        text-decoration: none;
        transition: color 0.3s;
    }

    .nav-menu a:hover {
        color: #60a5fa;
    }

    /* Hero responsivo */
    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Container responsivo */
    .container {
        padding: 2rem 1rem;
    }

    /* Grid responsivo */
    .livros-grid, .cursos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .livro-img, .sobre-img, .curso-img {
        height: 250px;
    }

    /* Sobre Section */
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sobre-img {
        width: 100%;
        height: 300px;
    }

    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Newsletter */
    .newsletter {
        padding: 2rem 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    /* Social Links */
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }

    .social-link {
        width: 100%;
        justify-content: center;
    }

    /* Botões responsivos */
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .buy-button {
        width: 100%;
    }

    /* Headings responsivos */
    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    /* Form responsivo */
    .contato-form {
        max-width: 100%;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
    }

    .submit-button {
        padding: 0.8rem 1.5rem;
    }

    /* Responsividade para páginas de cursos */
    .curso-hero {
        padding: 3rem 1.5rem;
    }

    .curso-hero h1 {
        font-size: 2rem;
    }

    .curso-hero p {
        font-size: 1.1rem;
    }

    .curso-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .curso-imagem {
        position: static;
    }

    .curso-img {
        height: 300px;
    }

    .curso-descricao h2,
    .curso-descricao h3 {
        font-size: 1.3rem;
    }

    .curso-em-breve {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 3rem 0;
    }

    .em-breve-imagem {
        position: static;
        height: 300px;
    }

    .em-breve-content h2 {
        font-size: 1.8rem;
    }

    .em-breve-titulo {
        font-size: 1.2rem;
    }

    .notificacao-form {
        flex-wrap: wrap;
    }

    .notificacao-form input {
        min-width: 200px;
    }

    .modulos-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
    }

    .curso-acesso {
        padding: 1.5rem;
    }

    .botao-moodle {
        width: 100%;
        text-align: center;
    }

    /* Responsividade para páginas de blog em tablets */
    .blog-artigo h1 {
        font-size: 2.2rem;
    }

    .artigo-conteudo h2 {
        font-size: 1.6rem;
    }

    .artigo-conteudo h3 {
        font-size: 1.2rem;
    }

    .artigo-cta {
        padding: 2rem 1.5rem;
    }

    .destaque {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
}

/* Extra Small Devices - Muito pequenas */
@media (max-width: 480px) {
    nav {
        padding: 0 0.8rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .container {
        padding: 1.5rem 0.8rem;
    }

    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    h2::after {
        width: 60px;
        height: 2px;
    }

    .livro-card, .curso-card, .blog-card {
        border-radius: 8px;
    }

    .livro-img, .sobre-img, .curso-img {
        height: 200px;
    }

    .livro-content, .curso-content {
        padding: 1rem;
    }

    .badge {
        padding: 0.25rem 0.6rem;
        font-size: 0.8rem;
    }

    .buy-button {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .social-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    footer {
        padding: 1.5rem 0.8rem;
    }

    .nav-menu li {
        padding: 0.8rem 1.5rem;
    }

    /* Responsividade para páginas de cursos */
    .curso-hero {
        padding: 2rem 1rem;
        margin-top: 50px;
    }

    .curso-hero h1 {
        font-size: 1.5rem;
    }

    .curso-hero p {
        font-size: 1rem;
    }

    .curso-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .curso-imagem {
        position: static;
    }

    .curso-img {
        height: 250px;
    }

    .curso-em-breve {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 0;
    }

    .em-breve-imagem {
        position: static;
        height: 250px;
    }

    .em-breve-icone {
        font-size: 3rem;
    }

    .em-breve-content h2 {
        font-size: 1.5rem;
    }

    .em-breve-titulo {
        font-size: 1.1rem;
    }

    .notificacao-form {
        flex-direction: column;
    }

    .notificacao-form input,
    .notificacao-form button {
        width: 100%;
    }

    .modulos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modulo-card {
        padding: 1.5rem;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
    }

    .diferencial-item {
        padding: 1.5rem;
    }

    .curso-cta {
        padding: 2rem 1rem;
    }
}

/* Extra Small Devices - Muito pequenas */
@media (max-width: 480px) {
    nav {
        padding: 0 0.8rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .container {
        padding: 1.5rem 0.8rem;
    }

    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    h2::after {
        width: 60px;
        height: 2px;
    }

    .livro-card, .curso-card, .blog-card {
        border-radius: 8px;
    }

    .livro-img, .sobre-img, .curso-img {
        height: 200px;
    }

    .livro-content, .curso-content {
        padding: 1rem;
    }

    .badge {
        padding: 0.25rem 0.6rem;
        font-size: 0.8rem;
    }

    .buy-button {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .social-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    footer {
        padding: 1.5rem 0.8rem;
    }

    .nav-menu li {
        padding: 0.8rem 1.5rem;
    }

    /* Responsividade para páginas de cursos */
    .curso-hero {
        padding: 2rem 1rem;
    }

    .curso-hero h1 {
        font-size: 1.5rem;
    }

    .curso-hero p {
        font-size: 1rem;
    }

    .curso-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .curso-imagem {
        position: static;
    }

    .curso-img {
        height: 250px;
    }

    .curso-em-breve {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 0;
    }

    .em-breve-imagem {
        position: static;
        height: 250px;
    }

    .em-breve-icone {
        font-size: 3rem;
    }

    .em-breve-content h2 {
        font-size: 1.5rem;
    }

    .em-breve-titulo {
        font-size: 1.1rem;
    }

    .notificacao-form {
        flex-direction: column;
    }

    .notificacao-form input,
    .notificacao-form button {
        width: 100%;
    }

    .modulos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modulo-card {
        padding: 1.5rem;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
    }

    .diferencial-item {
        padding: 1.5rem;
    }

    .curso-cta {
        padding: 2rem 1rem;
    }

    /* Responsividade para páginas de blog */
    .blog-artigo h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .artigo-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .artigo-intro {
        font-size: 1rem;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .artigo-conteudo h2 {
        font-size: 1.4rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .artigo-conteudo h3 {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.8rem;
    }

    .artigo-list li {
        padding: 0.6rem 0;
        padding-left: 1.5rem;
    }

    .destaque {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    .destaque p {
        margin: 0.5rem 0;
        font-size: 0.95rem;
    }

    .artigo-cta {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .artigo-cta p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .artigo-cta .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ===== FORMULÁRIO DE CONTATO — ANTI-SPAM ===== */

/* Campo honeypot: visualmente removido da tela */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    tab-size: 0;
}

/* Contador de caracteres */
.char-counter {
    display: block;
    text-align: right;
    color: #999;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

/* Feedback de sucesso / erro */
.form-feedback {
    display: none;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-feedback.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #b8dfc4;
}

.form-feedback.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
}

/* Botão desabilitado durante envio */
.submit-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Large Devices - Melhoria de espaçamento */
@media (min-width: 1200px) {
    .container {
        padding: 3rem 2rem;
    }

    .livros-grid, .cursos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}