/*
Theme Name: Open Academy
Description: Tema personalizado para academia de idiomas com suporte a Polylang, Contact Form 7 e ACF Pro
Version: 1.0.0
Author: Ricardo
Text Domain: open-academy
*/

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo img {
    max-height: 88px;
    max-width: 200px;
    width: auto;
    height: auto;
}

/* Logo customizado do WordPress */
.custom-logo {
    max-height: 88px;
    max-width: 200px;
    width: auto;
    height: auto;
}

.site-branding .custom-logo-link {
    display: inline-block;
    line-height: 1;
}

/* Menu de navegação */
.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-menu > li {
    position: relative;
    margin: 0 5px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1.2;
}

.nav-menu a:hover {
    color: #007cba;
}

/* Indicador de submenu */
.nav-menu .menu-item-has-children > a::after {
    content: "▼";
    font-size: 10px;
    margin-left: 8px;
    transition: transform 0.3s ease;
    color: #666;
}

.nav-menu .menu-item-has-children:hover > a::after {
    transform: translateY(-1px);
    color: #007cba;
}

/* Submenu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    list-style: none;
    padding: 8px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    margin: 0;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.nav-menu .sub-menu li:last-child a {
    border-bottom: none;
}

.nav-menu .sub-menu a:hover {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    color: #007cba;
    padding-left: 25px;
}

/* Seletor de idiomas */
.language-selector {
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-selector a.lang-flag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: all 0.3s ease;
    background: #fff;
}

.language-selector a.lang-flag:hover {
    background: #007cba;
    color: #fff;
    border-color: #007cba;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.3);
}

.language-selector .flag {
    font-size: 16px;
    line-height: 1;
}

.language-selector .lang-name {
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #204b9b 0%, #e52d1f 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Hero com vídeo de fundo */
.hero-video {
    position: relative;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

/* Suporte para iframe de vídeo (YouTube/Vimeo) */
iframe.hero-video-bg {
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hero com imagem de fundo */
.hero-image {
    position: relative;
}

.hero-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: rgba(0, 0, 0, 0.3);*/
    z-index: 1;
}

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

/* Cores de texto */
.hero-text-white {
    color: #fff;
}

.hero-text-white .hero-subtitle,
.hero-text-white .hero-description p {
    color: rgba(255, 255, 255, 0.9);
}

.hero-text-dark {
    color: #333;
}

.hero-text-dark .hero-subtitle,
.hero-text-dark .hero-description p {
    color: rgba(51, 51, 51, 0.8);
}

.hero-text-dark .hero-button {
    background: #333;
    color: #fff;
}

.hero-text-dark .hero-button:hover {
    background: #555;
    color: #fff;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
}

.hero-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.8;
    font-weight: 500;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p,
.hero-description p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-description {
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    background: #ff6b6b;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
    color: #fff;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.hero-image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    padding: 100px 20px;
    border-radius: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-dark .hero-image-placeholder {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(51, 51, 51, 0.6);
    border-color: rgba(51, 51, 51, 0.2);
}

/* Seções gerais */
.section-header {
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #204b9b 0%, #e52d1f 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Seção Cursos Destacados */
/* Container Base */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-4,
.col-lg-6,
.col-lg-8 {
    position: relative;
    width: 100%;
    padding: 0 15px;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.align-items-center {
    align-items: center;
}

@media (max-width: 991px) {
    .col-lg-4,
    .col-lg-6,
    .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Cursos Destacados */
.cursos-destacados {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

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

.curso-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);*/
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    /*border: 1px solid rgba(0, 0, 0, 0.04);*/
}

.curso-image {
    position: relative;
    overflow: hidden;
}

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

.curso-card:hover .curso-thumbnail {
    transform: scale(1.05);
}

.curso-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    gap: 12px;
}

.placeholder-icon {
    opacity: 0.6;
}

.curso-placeholder span {
    font-size: 14px;
    font-weight: 500;
}

.curso-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.nivel-basico {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.nivel-intermedio {
    background: rgba(249, 115, 22, 0.9);
    color: white;
}

.nivel-avanzado {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.nivel-todos {
    background: rgba(147, 51, 234, 0.9);
    color: white;
}

.curso-content {
    padding: 24px;
}

.curso-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.meta-item svg {
    opacity: 0.7;
}

.meta-item.price {
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
}

.curso-title {
    margin-bottom: 12px;
}

.curso-title a {
    color: #1e293b;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.curso-title a:hover {
    color: #204b9b;
}

.curso-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.curso-footer {
    margin-top: auto;
}

.btn-curso-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #204b9b 0%, #e52d1f 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    justify-content: center;
}

.btn-curso-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.btn-curso-primary svg {
    transition: transform 0.3s ease;
}

.btn-curso-primary:hover svg {
    transform: translate(2px, -2px);
}

/* Botões gerais */
.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #204b9b;
    border: 2px solid #204b9b;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-primary:hover {
    background: #204b9b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline-primary svg {
    transition: transform 0.3s ease;
}

.btn-outline-primary:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #204b9b 0%, #e52d1f 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #fff;
}

/* Seção footer */
.section-footer {
    margin-top: 60px;
}

/* Estados empty */
.cursos-empty {
    max-width: 500px;
    margin: 0 auto;
    padding: 60px 20px;
}

.empty-icon {
    color: #cbd5e1;
    margin-bottom: 24px;
}

.cursos-empty h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 12px;
    font-weight: 600;
}

.cursos-empty p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Utilitários */
.text-center {
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

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

    .curso-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Seção Test de Nivel */
.test-nivel-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #204b9b 0%, #e52d1f 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.test-nivel-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>')
        repeat;
    pointer-events: none;
}

.test-nivel-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.test-nivel-section .section-title {
    color: white;
}

.test-nivel-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.test-nivel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.test-visual {
    text-align: center;
}

.test-illustration {
    position: relative;
    display: inline-block;
}

.test-icon {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

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

.level-item {
    text-align: center;
}

.level-badge {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    backdrop-filter: blur(10px);
}

.level-badge.basico {
    background: rgba(34, 197, 94, 0.9);
}

.level-badge.intermedio {
    background: rgba(249, 115, 22, 0.9);
}

.level-badge.avanzado {
    background: rgba(239, 68, 68, 0.9);
}

.level-item span {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.test-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(10px);
}

.feature-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.feature-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.test-action {
    position: relative;
    z-index: 2;
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-large svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .test-nivel-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .test-features {
        align-items: center;
    }

    .feature-item {
        text-align: center;
        flex-direction: column;
        gap: 16px;
        max-width: 280px;
    }

    .levels-grid {
        gap: 12px;
    }

    .level-badge {
        padding: 10px 14px;
        font-size: 12px;
    }
}

/* Single Curso Styles */
/* Novo Design Single Curso */
.curso-hero-main {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.curso-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.9) 0%,
        rgba(59, 130, 246, 0.8) 100%
    );
    z-index: 2;
}

.curso-hero-main .container {
    position: relative;
    z-index: 3;
}

.hero-content .hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-content .hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 500px;
}

.hero-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Meta item específico para hero de curso single */
.hero-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-meta .meta-item.price {
    background: rgba(255, 107, 53, 0.9);
    border-color: #ff6b35;
}

.hero-actions .btn {
    padding: 18px 35px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.hero-actions .btn-primary:hover {
    background: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
    color: #fff;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.hero-image-container:hover {
    transform: rotate(0deg) scale(1.05);
}

.hero-featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-placeholder-visual {
    position: relative;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-placeholder-visual i {
    font-size: 5rem;
    opacity: 0.7;
}

.visual-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.visual-elements .element-1,
.visual-elements .element-2,
.visual-elements .element-3 {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.visual-elements .element-1 {
    width: 60px;
    height: 60px;
    top: 20px;
    right: 20px;
    animation: float 3s ease-in-out infinite;
}

.visual-elements .element-2 {
    width: 40px;
    height: 40px;
    bottom: 30px;
    left: 30px;
    animation: float 3s ease-in-out infinite 1s;
}

.visual-elements .element-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: -20px;
    animation: float 3s ease-in-out infinite 2s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Segunda Seção - CTA */
.curso-cta-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.curso-cta-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-subtitle {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
}

.cta-actions .btn-secondary {
    background: linear-gradient(135deg, #e53e3e 0%, #c62828 100%);
    color: #fff;
    padding: 18px 35px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.cta-actions .btn-secondary:hover {
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(229, 62, 62, 0.5);
    color: #fff;
}

.cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.circle-progress {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#ff6b35 0% 85%, #e0e0e0 85% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle-progress::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.circle-content .percentage {
    font-size: 3rem;
    font-weight: 900;
    color: #333;
    display: block;
    line-height: 1;
}

.circle-content .label {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

/* Seção de Detalhes do Curso */
.curso-details {
    padding: 100px 0;
    background: #fff;
}

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

.curso-main-content {
    margin-bottom: 40px;
}

.content-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h3 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Temário */
.temario-modules {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.module-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid #ff6b35;
    transition: all 0.3s ease;
}

.module-item:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.module-number {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
}

.module-title {
    font-size: 1.3rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.module-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Sidebar */
.curso-sidebar-content {
    position: sticky;
    top: 100px;
}

.info-card,
.incluye-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.info-card h4,
.incluye-card h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
}

.info-items {
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #555;
}

.info-value {
    font-weight: 600;
    color: #333;
}

.info-value.price {
    color: #ff6b35;
    font-size: 1.2rem;
}

.card-actions .btn-block {
    width: 100%;
    text-align: center;
}

/* Incluye Items */
.incluye-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.incluye-items li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.incluye-items li:last-child {
    border-bottom: none;
}

.incluye-items i {
    color: #4caf50;
    font-size: 18px;
    flex-shrink: 0;
}

/* Seção de Matrícula */
.curso-matricula {
    padding: 100px 0;
    background: linear-gradient(135deg, #e53e3e 0%, #c62828 100%);
    color: #fff;
}

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

.matricula-info h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.matricula-info p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.contact-item i {
    font-size: 20px;
    opacity: 0.8;
}

.matricula-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.matricula-form h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.matricula-form p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.form-placeholder {
    padding: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.curso-main .content {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}

.curso-temario .modulos-list {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.modulo-item {
    border-bottom: 1px solid #e0e0e0;
}

.modulo-item:last-child {
    border-bottom: none;
}

.modulo-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modulo-header:hover {
    background: #e9ecef;
}

.modulo-numero {
    background: #007cba;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.modulo-titulo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.modulo-descripcion {
    padding: 0 30px 25px 85px;
    color: #666;
    line-height: 1.6;
}

.curso-sidebar {
    position: sticky;
    top: 30px;
}

.curso-info-card,
.curso-incluye-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.curso-info-card h3,
.curso-incluye-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.info-list {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    font-weight: 600;
    color: #666;
}

.info-item .value {
    color: #333;
    font-weight: 500;
}

.info-item .value.price {
    color: #e53e3e;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-contactar {
    display: block;
    background: #007cba;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contactar:hover {
    background: #005a87;
    transform: translateY(-2px);
}

.incluye-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.incluye-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #666;
}

.incluye-list i {
    color: #4caf50;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.curso-contacto {
    background: #f8f9fa;
    padding: 80px 0;
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contacto-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.contacto-text p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Single Curso */
@media (max-width: 1024px) {
    .curso-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .curso-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .curso-hero-main {
        min-height: 80vh;
        padding: 60px 0;
    }

    .hero-content .hero-title {
        font-size: 2.8rem;
    }

    .hero-content .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .progress-circle {
        width: 150px;
        height: 150px;
    }

    .circle-progress::before {
        width: 100px;
        height: 100px;
    }

    .circle-content .percentage {
        font-size: 2rem;
    }

    .module-header {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        margin-bottom: 40px;
    }

    .matricula-form {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .curso-hero-main {
        min-height: 70vh;
        padding: 40px 0;
    }

    .hero-content .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-content .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions .btn {
        padding: 15px 25px;
        font-size: 14px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-actions .btn-secondary {
        padding: 15px 25px;
        font-size: 14px;
    }

    .progress-circle {
        width: 120px;
        height: 120px;
    }

    .circle-progress::before {
        width: 80px;
        height: 80px;
    }

    .circle-content .percentage {
        font-size: 1.5rem;
    }

    .circle-content .label {
        font-size: 12px;
    }

    .content-section h3 {
        font-size: 1.8rem;
    }

    .module-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .module-title {
        font-size: 1.1rem;
    }

    .matricula-info h3 {
        font-size: 2rem;
    }

    .matricula-info p {
        font-size: 1rem;
    }

    .matricula-form {
        padding: 25px;
    }

    .matricula-form h4 {
        font-size: 1.5rem;
    }

    .info-card,
    .incluye-card {
        padding: 20px;
    }
}

/* Home Sections Manager */
.home-section {
    position: relative;
}

/* Background Classes */
.bg-white {
    background: #fff;
}

.bg-light-gray {
    background: #f8f9fa;
}

.bg-dark-gray {
    background: #343a40;
    color: #fff;
}

.bg-primary {
    background: #007cba;
    color: #fff;
}

.bg-secondary {
    background: #e53e3e;
    color: #fff;
}

/* Section Headers - Home Sections */
.home-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.home-section .section-header h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.bg-dark-gray .section-header h2,
.bg-primary .section-header h2,
.bg-secondary .section-header h2 {
    color: #fff;
}

/* Test de Nivel Section */
.test-nivel-section {
    padding: 100px 0;
}

.test-nivel-section .test-action {
    margin-top: 40px;
}

.test-nivel-section .btn-large {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    margin: 0 8px;
}

.test-nivel-section .test-action a {
    display: inline-block;
    margin: 8px;
}

/* Como Trabajamos Section - Duas Colunas */
.como-trabajamos-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.como-trabajamos-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.como-trabajamos-section .row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.como-trabajamos-section .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.como-trabajamos-section .trabajo-steps {
    padding: 20px 0;
}

.como-trabajamos-section .paso-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    /*box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);*/
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.como-trabajamos-section .paso-item:hover {
    transform: translateY(-5px);
    /*box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);*/
}

.como-trabajamos-section .step-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
}

.como-trabajamos-section .step-content {
    flex: 1;
}

.como-trabajamos-section .step-content h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.como-trabajamos-section .step-content p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

.como-trabajamos-section .trabajo-imagen {
    text-align: center;
}

.como-trabajamos-section .trabajo-imagen img {
    max-width: 100%;
    height: auto;
}

.como-trabajamos-section .imagen-placeholder {
    background: #e9ecef;
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    color: #6c757d;
}

.como-trabajamos-section .placeholder-icon svg {
    opacity: 0.5;
    margin-bottom: 20px;
}

/* Galeria Section */
.galeria-section {
    padding: 100px 0;
    position: relative;
}

.galeria-section .section-header {
    margin-bottom: 60px;
}

.galeria-section .section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.galeria-section .section-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
}

.galeria-section .section-description {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.galeria-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.galeria-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
}

.galeria-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-item:hover .galeria-image img {
    transform: scale(1.05);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-zoom {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.galeria-zoom:hover {
    background: #fff;
    transform: scale(1.1);
}

.galeria-zoom svg {
    width: 24px;
    height: 24px;
}

.galeria-caption {
    padding: 15px;
    background: #fff;
    text-align: center;
}

.galeria-caption p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.galeria-empty {
    padding: 80px 20px;
    text-align: center;
}

.galeria-empty .empty-icon {
    margin-bottom: 30px;
    opacity: 0.3;
}

.galeria-empty h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.galeria-empty p {
    font-size: 16px;
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto 30px;
}

/* Lightbox Styles */
.galeria-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-lightbox[aria-hidden="false"] {
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
    box-sizing: border-box;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.galeria-lightbox.loading .lightbox-image {
    opacity: 0.5;
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    max-width: 600px;
    line-height: 1.6;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-nav button {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.lightbox-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Body class when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}

/* Loading state */
.galeria-lightbox.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .como-trabajamos-section .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .como-trabajamos-section .step-item {
        flex-direction: column;
        text-align: center;
    }

    .como-trabajamos-section .paso-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
    }

    .como-trabajamos-section .step-icon {
        margin-bottom: 15px;
    }

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

    .lightbox-container {
        padding: 40px 10px 10px;
    }

    .lightbox-nav {
        padding: 0 10px;
    }

    .lightbox-nav button {
        width: 50px;
        height: 50px;
    }

    .test-nivel-section .btn-large {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .galeria-section .section-title {
        font-size: 32px;
    }

    .galeria-section .section-subtitle {
        font-size: 20px;
    }
}

.test-nivel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.test-nivel-text h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.test-nivel-text p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 35px;
}

.btn-test {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e53e3e 0%, #c62828 100%);
    color: #fff;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-test:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.4);
}

.test-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.test-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 4rem;
}

.test-levels {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.level-badge {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Como Trabajamos Section */
.como-trabajamos-section {
    padding: 100px 0;
}

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

.step-item {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

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

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #fff;
    font-size: 2rem;
}

.step-number {
    font-size: 1.8rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Galeria Section */
.galeria-section {
    padding: 100px 0;
}

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

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.galeria-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.galeria-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-item:hover .galeria-image img {
    transform: scale(1.05);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-zoom {
    background: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-size: 1.2rem;
}

.galeria-zoom:hover {
    transform: scale(1.1);
    background: #007cba;
    color: #fff;
}

.galeria-caption {
    padding: 15px;
    text-align: center;
}

.galeria-caption p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Modal da Galeria */
.galeria-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: #fff;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: #e53e3e;
    color: #fff;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta-primary:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
}

.btn-cta-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 16px 33px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta-secondary:hover {
    background: #fff;
    color: #007cba;
}

/* Sections Empty State */
.sections-empty {
    text-align: center;
    padding: 80px 0;
}

.sections-empty .empty-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 30px;
}

.sections-empty h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.sections-empty p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-crear-seccion {
    display: inline-block;
    background: #007cba;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-crear-seccion:hover {
    background: #005a87;
    transform: translateY(-2px);
}

/* Responsive Home Sections */
@media (max-width: 768px) {
    .test-nivel-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .test-nivel-text h2 {
        font-size: 2.2rem;
    }

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

    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .test-nivel-section,
    .como-trabajamos-section,
    .galeria-section,
    .cta-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .test-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .step-item {
        padding: 30px 15px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}

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

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

.footer-form {
    background: #e53e3e;
    padding: 60px 0;
    margin: 60px 0;
    width: 100%;
}

.footer-form .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.footer-form-content h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
}

.footer-form-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Estilos para pasos del proceso en footer */
.footer-form .pasos-lista {
    margin-top: 30px;
    text-align: left !important;
}

.footer-form .paso-item {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    text-align: left !important;
}

.footer-form .step-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-right: 15px !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
}

.footer-form .step-number {
    font-weight: bold;
    font-size: 16px;
}

.footer-form .step-content {
    flex: 1;
    text-align: left !important;
}

.footer-form .step-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: left !important;
}

.footer-form .step-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.4;
    text-align: left !important;
}

.footer-form-widget {
    /* Estilos específicos para o widget do formulário */
}

/* Footer Main Section */
.footer-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    max-width: 200px;
    max-height: 88px;
    width: auto;
    height: auto;
}

.footer-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.footer-menus {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-menu h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-menu ul {
    list-style: none;
}

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

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li {
        margin: 0;
    }

    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f8f8;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .header-container {
        height: 80px;
    }

    .hero-video-bg {
        object-position: center;
    }

    .footer-form {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-menus {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .logo img,
    .custom-logo {
        max-height: 70px;
        max-width: 160px;
    }

    .footer-logo img {
        max-width: 160px;
        max-height: 70px;
    }
}

/* Responsive Cursos Destacados */
@media (max-width: 1024px) {
    .cursos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .cursos-destacados {
        padding: 60px 0;
    }

    .cursos-header {
        margin-bottom: 50px;
    }

    .cursos-header h2 {
        font-size: 2.2rem;
    }

    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .curso-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .curso-image {
        height: 200px;
    }

    .curso-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .cursos-destacados {
        padding: 40px 0;
    }

    .cursos-header h2 {
        font-size: 1.8rem;
    }

    .cursos-header p {
        font-size: 1rem;
    }

    .curso-meta {
        flex-direction: column;
        gap: 10px;
    }

    .curso-content {
        padding: 20px;
    }

    .btn-curso,
    .btn-todos-cursos {
        width: 100%;
        text-align: center;
    }
}

/* Menu responsivo */
@media (max-width: 768px) {
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: auto;
        background: #f8f9fa;
        margin-top: 8px;
    }

    .nav-menu .menu-item-has-children > a::after {
        float: right;
        margin-left: auto;
        margin-right: 0;
    }

    .nav-menu .sub-menu a {
        padding: 10px 15px 10px 30px;
        font-size: 13px;
        border-bottom: 1px solid #e9ecef;
    }

    .nav-menu .sub-menu a:hover {
        padding-left: 35px;
        background: #e9ecef;
    }
}

@media (max-width: 480px) {
    .footer-menus {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero {
        min-height: 50vh;
        padding: 100px 0 50px;
    }

    .hero-image-placeholder {
        padding: 60px 15px;
        min-height: 150px;
    }

    .footer-form {
        padding: 30px 0;
    }

    .container {
        padding: 0 15px;
    }

    .footer-form .container {
        padding: 0 15px;
    }

    .footer-form-content h3 {
        font-size: 2rem;
    }

    .footer-logo img {
        max-width: 120px;
        max-height: 60px;
    }

    .logo img,
    .custom-logo {
        max-height: 50px;
        max-width: 120px;
    }
}

/* Estilos para Contact Form 7 no Footer */
.footer-form-widget .contact-form-footer {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.footer-form-widget .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-form-widget .wpcf7-form-control-wrap {
    position: relative;
    width: 100%;
}

.footer-form-widget input[type="text"],
.footer-form-widget input[type="email"],
.footer-form-widget input[type="tel"],
.footer-form-widget select,
.footer-form-widget textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.footer-form-widget input[type="text"]:focus,
.footer-form-widget input[type="email"]:focus,
.footer-form-widget input[type="tel"]:focus,
.footer-form-widget select:focus,
.footer-form-widget textarea:focus {
    outline: none;
    border-color: #fff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.footer-form-widget input::placeholder,
.footer-form-widget textarea::placeholder {
    color: #666;
    opacity: 1;
}

/* ========================================
   REDES SOCIALES
   ======================================== */

/* Contenedor de redes sociales */
.social-networks {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Enlaces de redes sociales */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

/* Tamaños */
.social-size-pequeno .social-link {
    width: 30px;
    height: 30px;
    font-size: 14px;
}

.social-size-mediano .social-link {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.social-size-grande .social-link {
    width: 50px;
    height: 50px;
    font-size: 22px;
}

/* Estilo Normal */
.social-style-normal .social-link {
    color: #333;
}

.social-style-normal .social-link:hover {
    color: #2271b1;
}

/* Estilo Circular */
.social-style-circular .social-link {
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.social-style-circular .social-link:hover {
    background: #2271b1;
    color: #fff;
}

/* Estilo Cuadrado */
.social-style-cuadrado .social-link {
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.social-style-cuadrado .social-link:hover {
    background: #2271b1;
    color: #fff;
}

/* Estilo Con Borde */
.social-style-outlined .social-link {
    border: 2px solid #333;
    border-radius: 50%;
    color: #333;
}

.social-style-outlined .social-link:hover {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
}

/* Redes sociales en Header */
.social-header {
    margin-left: 20px;
}

.social-header .social-link {
    color: #333;
}

/* Redes sociales en Footer */
.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.social-footer {
    justify-content: center;
    margin-top: 0;
}

.social-footer .social-link {
    color: rgba(255, 255, 255, 0.8);
}

.social-footer .social-link:hover {
    color: #fff;
}

.social-footer.social-style-circular .social-link,
.social-footer.social-style-cuadrado .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.social-footer.social-style-circular .social-link:hover,
.social-footer.social-style-cuadrado .social-link:hover {
    background: #fff;
    color: #e53e3e;
}

.social-footer.social-style-outlined .social-link {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.social-footer.social-style-outlined .social-link:hover {
    background: #fff;
    border-color: #fff;
    color: #e53e3e;
}

/* Responsive */
@media (max-width: 768px) {
    .social-networks {
        gap: 10px;
    }

    .social-size-grande .social-link {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

.footer-form-widget select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 50px;
}

.footer-form-widget textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.footer-form-widget .wpcf7-submit {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: #e53e3e;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    align-self: flex-start;
}

.footer-form-widget .wpcf7-submit:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.footer-form-widget .wpcf7-submit:active {
    transform: translateY(0);
}

/* Mensagens de erro e sucesso */
.footer-form-widget .wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.footer-form-widget .wpcf7-mail-sent-ok {
    background: rgba(76, 175, 80, 0.9);
    color: #fff;
    border: 2px solid #4caf50;
}

.footer-form-widget .wpcf7-validation-errors,
.footer-form-widget .wpcf7-mail-sent-ng {
    background: rgba(244, 67, 54, 0.9);
    color: #fff;
    border: 2px solid #f44336;
}

.footer-form-widget .wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.footer-form-widget .wpcf7-form-control.wpcf7-not-valid {
    border-color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.1);
}

/* Spinner de carregamento */
.footer-form-widget .wpcf7-spinner {
    margin-left: 15px;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-form .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-form .paso-item {
        padding: 20px 15px;
        text-align: left !important;
        justify-content: flex-start !important;
        flex-direction: row !important;
        display: flex !important;
        align-items: flex-start !important;
    }

    .footer-form .step-icon {
        margin-right: 15px !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
    }

    .footer-form .step-content {
        text-align: left !important;
        flex: 1;
    }

    .footer-form .step-content h4 {
        font-size: 15px;
    }

    .footer-form .step-content p {
        font-size: 13px;
    }

    .footer-form-widget .contact-form-footer {
        padding: 25px 20px;
    }

    .footer-form-widget .wpcf7-submit {
        width: 100%;
        align-self: stretch;
    }
}

@media (max-width: 480px) {
    .footer-form-widget .contact-form-footer {
        padding: 20px 15px;
    }

    .footer-form-widget input[type="text"],
    .footer-form-widget input[type="email"],
    .footer-form-widget input[type="tel"],
    .footer-form-widget select,
    .footer-form-widget textarea {
        padding: 12px 15px;
        font-size: 15px;
    }
}

/* ==========================================
   PÁGINA DE CONTACTO
   ========================================== */

/* Hero Section */
.contacto-hero {
    background: linear-gradient(135deg, #0a4fa0 0%, #1e88e5 100%);
    padding: 150px 20px 80px;
    color: #fff;
    text-align: center;
}

.contacto-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.contacto-hero .breadcrumbs {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.contacto-hero .breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacto-hero .breadcrumbs a:hover {
    color: #fff;
}

/* Contact Content Section */
.contacto-content {
    padding: 80px 20px;
    background: #fff;
    display: flex;
    justify-content: center;
}

.contacto-content .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
}

/* Contact Details */
.contacto-details {
    background: #ef3340;
    padding: 50px 40px;
    border-radius: 8px;
    color: #fff;
}

.contacto-details-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    text-transform: uppercase;
}

.contacto-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #fff;
}

.contacto-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacto-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contacto-info-icon {
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacto-info-icon i {
    font-size: 24px;
    color: #ef3340;
}

.contacto-info-content {
    flex: 1;
}

.contacto-info-label {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contacto-info-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
}

.contacto-info-content a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contacto-info-content a:hover {
    opacity: 0.8;
}

/* Contact Form */
.contacto-form {
    background: #ef3340;
    padding: 50px 40px;
    border-radius: 8px;
}

.contacto-form-header {
    margin-bottom: 30px;
    text-align: center;
}

.contacto-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contacto-form-subtitle {
    font-size: 16px;
    color: #fff;
}

.contacto-form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacto-form-wrapper input[type="text"],
.contacto-form-wrapper input[type="email"],
.contacto-form-wrapper input[type="tel"],
.contacto-form-wrapper input[type="number"],
.contacto-form-wrapper input[type="url"],
.contacto-form-wrapper input[type="date"],
.contacto-form-wrapper select,
.contacto-form-wrapper textarea {
    width: 100%;
    padding: 15px 20px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    background: #fff;
    color: #333;
    transition: box-shadow 0.3s ease;
    font-family: inherit;
}

.contacto-form-wrapper select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.contacto-form-wrapper input::placeholder,
.contacto-form-wrapper textarea::placeholder {
    color: #999;
}

.contacto-form-wrapper input:focus,
.contacto-form-wrapper select:focus,
.contacto-form-wrapper textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.contacto-form-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

.contacto-form-wrapper .wpcf7-checkbox,
.contacto-form-wrapper .wpcf7-radio {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: #fff;
}

.contacto-form-wrapper .wpcf7-list-item {
    margin: 0;
}

.contacto-form-wrapper .wpcf7-list-item-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contacto-form-wrapper .wpcf7-list-item input[type="checkbox"],
.contacto-form-wrapper .wpcf7-list-item input[type="radio"] {
    margin-top: 3px;
    width: auto;
}

.contacto-form-wrapper .wpcf7-list-item a {
    color: #fff;
    text-decoration: underline;
}

.contacto-form-wrapper .wpcf7-submit {
    background: #1a1d4d;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.contacto-form-wrapper .wpcf7-submit:hover {
    background: #0d0f26;
}

.contacto-form-wrapper .wpcf7-not-valid-tip {
    color: #fff;
    font-size: 13px;
    margin-top: 5px;
}

.contacto-form-wrapper .wpcf7-response-output {
    border: 2px solid #fff;
    color: #fff;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
}

/* Map Section */
.contacto-map {
    width: 100%;
    height: 450px;
    position: relative;
}

#contacto-google-map {
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 968px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contacto-hero-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .contacto-hero {
        padding: 120px 20px 60px;
    }

    .contacto-hero-title {
        font-size: 32px;
    }

    .contacto-content {
        padding: 60px 20px;
    }

    .contacto-details,
    .contacto-form {
        padding: 40px 30px;
    }

    .contacto-details-title,
    .contacto-form-title {
        font-size: 24px;
    }

    .contacto-map {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contacto-hero {
        padding: 100px 15px 40px;
    }

    .contacto-hero-title {
        font-size: 28px;
    }

    .contacto-content {
        padding: 40px 15px;
    }

    .contacto-details,
    .contacto-form {
        padding: 30px 20px;
    }

    .contacto-info-icon {
        width: 50px;
        height: 50px;
    }

    .contacto-info-icon i {
        font-size: 20px;
    }

    .contacto-map {
        height: 300px;
    }
}

/* ==========================================
   PÁGINA DE TESTE DE NÍVEL
   ========================================== */

/* Hero Section */
.teste-nivel-hero {
    background: linear-gradient(135deg, #0a4fa0 0%, #1e88e5 100%);
    padding: 150px 20px 80px;
    color: #fff;
    text-align: center;
}

.teste-nivel-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.teste-nivel-hero .breadcrumbs {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.teste-nivel-hero .breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.teste-nivel-hero .breadcrumbs a:hover {
    color: #fff;
}

/* Content Section */
.teste-nivel-content {
    padding: 80px 20px;
    background: #f5f5f5;
}

.teste-nivel-content .container {
    margin: 0 auto;
    padding: 0 20px;
}

/* Intro Section */
.teste-nivel-intro {
    text-align: center;
    margin-bottom: 50px;
}

.teste-nivel-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.teste-nivel-description {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.teste-nivel-description p {
    margin-bottom: 15px;
}

/* Form Wrapper */
.teste-nivel-form-wrapper {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}

.teste-nivel-form-wrapper.with-border {
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.teste-nivel-iframe {
    display: block;
    width: 100%;
    border: none;
}

/* Placeholder */
.teste-nivel-placeholder {
    background: #fff;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
}

.teste-nivel-placeholder p {
    font-size: 16px;
    color: #999;
    margin: 0;
}

/* Call to Action */
.teste-nivel-cta {
    background: linear-gradient(135deg, #ef3340 0%, #c72530 100%);
    padding: 50px 40px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
}

.teste-nivel-cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.teste-nivel-cta-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #fff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.teste-nivel-cta-button {
    display: inline-block;
    background: #1a1d4d;
    color: #fff;
    padding: 15px 40px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.teste-nivel-cta-button:hover {
    background: #0d0f26;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .teste-nivel-hero {
        padding: 120px 20px 60px;
    }

    .teste-nivel-hero-title {
        font-size: 32px;
    }

    .teste-nivel-content {
        padding: 60px 20px;
    }

    .teste-nivel-title {
        font-size: 28px;
    }

    .teste-nivel-description {
        font-size: 16px;
    }

    .teste-nivel-form-wrapper {
        margin-bottom: 30px;
    }

    .teste-nivel-cta {
        padding: 40px 30px;
    }

    .teste-nivel-cta-title {
        font-size: 26px;
    }

    .teste-nivel-cta-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .teste-nivel-hero {
        padding: 100px 15px 40px;
    }

    .teste-nivel-hero-title {
        font-size: 28px;
    }

    .teste-nivel-content {
        padding: 40px 15px;
    }

    .teste-nivel-title {
        font-size: 24px;
    }

    .teste-nivel-intro {
        margin-bottom: 30px;
    }

    .teste-nivel-cta {
        padding: 30px 20px;
    }

    .teste-nivel-cta-title {
        font-size: 22px;
    }

    .teste-nivel-cta-button {
        padding: 12px 30px;
        font-size: 15px;
    }
}

/* ==========================================
   SINGLE CURSO - Baseado no design da home
   ========================================== */

/* Hero Principal */
.single-curso .curso-hero {
    background: linear-gradient(135deg, #0a4fa0 0%, #1e88e5 100%);
    padding: 150px 20px 100px;
    position: relative;
    overflow: hidden;
}

.single-curso .curso-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.single-curso .curso-hero-content {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.single-curso .curso-hero-text {
    color: #fff;
}

.single-curso .curso-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
}

.single-curso .curso-hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}

.single-curso .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ef3340;
    color: #fff;
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-curso .btn-hero:hover {
    background: #c72530;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 51, 64, 0.4);
}

.single-curso .btn-hero i {
    font-size: 14px;
}

.single-curso .curso-hero-visual {
    position: relative;
}

.single-curso .curso-hero-image {
    width: 100%;
    height: auto;
}

/* Segunda Seção - Conteúdo */
.single-curso .curso-content-section {
    padding: 80px 20px;
    background: #fff;
    position: relative;
}

.single-curso .curso-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.single-curso .curso-subtitle {
    display: block;
    color: #ef3340;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.single-curso .curso-content-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.3;
    text-transform: uppercase;
}

.single-curso .curso-content-text {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

.single-curso .curso-content-text p {
    margin-bottom: 20px;
}

.single-curso .curso-content-cta {
    margin: 40px 0;
}

.single-curso .btn-cta {
    display: inline-block;
    background: #ef3340;
    color: #fff;
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-curso .btn-cta:hover {
    background: #c72530;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 51, 64, 0.4);
}

.single-curso .circle-decoration {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(239, 51, 64, 0.1) 0%,
        rgba(199, 37, 48, 0.05) 100%
    );
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

/* Test de Nivel Section */
.single-curso .curso-test-nivel {
    background: linear-gradient(135deg, #6b2aff 0%, #ff3d71 100%);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.single-curso .test-nivel-title {
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #fff;
}

.single-curso .test-nivel-title em {
    font-style: italic;
    font-weight: 600;
}

.single-curso .test-nivel-description {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.95);
}

.single-curso .test-nivel-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.single-curso .btn-test,
.single-curso .btn-test-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-curso .btn-test {
    background: #fff;
    color: #6b2aff;
}

.single-curso .btn-test:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.single-curso .btn-test-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.single-curso .btn-test-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Seção de Matrícula */
.single-curso .curso-matricula {
    background: #ef3340;
    padding: 80px 20px;
}

.single-curso .matricula-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.single-curso .matricula-info,
.single-curso .matricula-form-wrapper {
    color: #fff;
}

.single-curso .matricula-subtitle {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.single-curso .matricula-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
}

.single-curso .matricula-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
}

.single-curso .matricula-contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.single-curso .contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.single-curso .contact-icon {
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.single-curso .contact-icon i {
    font-size: 24px;
    color: #ef3340;
}

.single-curso .contact-content h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-curso .contact-content p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* Formulário de Matrícula */
.single-curso .form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #fff;
}

.single-curso .form-subtitle {
    font-size: 16px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.95);
}

.single-curso .form-note {
    font-size: 13px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.single-curso .matricula-form {
    /* Estilos do formulário já definidos anteriormente */
}

/* Aplicar estilos do contacto-form-wrapper ao matricula-form */
.single-curso .matricula-form input[type="text"],
.single-curso .matricula-form input[type="email"],
.single-curso .matricula-form input[type="tel"],
.single-curso .matricula-form select,
.single-curso .matricula-form textarea {
    width: 100%;
    padding: 15px 20px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    background: #fff;
    color: #333;
    font-family: inherit;
}

.single-curso .matricula-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.single-curso .matricula-form textarea {
    min-height: 120px;
    resize: vertical;
}

.single-curso .matricula-form .wpcf7-submit {
    background: #1a1d4d;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.single-curso .matricula-form .wpcf7-submit:hover {
    background: #0d0f26;
}

/* Responsive */
@media (max-width: 968px) {
    .single-curso .curso-hero-content,
    .single-curso .matricula-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .single-curso .curso-hero-title {
        font-size: 36px;
    }

    .single-curso .curso-content-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .single-curso .curso-hero {
        padding: 120px 20px 60px;
    }

    .single-curso .curso-hero-title {
        font-size: 32px;
    }

    .single-curso .curso-content-section {
        padding: 60px 20px;
    }

    .single-curso .curso-test-nivel {
        padding: 60px 20px;
    }

    .single-curso .test-nivel-title {
        font-size: 32px;
    }

    .single-curso .curso-matricula {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .single-curso .curso-hero {
        padding: 100px 15px 40px;
    }

    .single-curso .curso-hero-title {
        font-size: 28px;
    }

    .single-curso .curso-content-section,
    .single-curso .curso-test-nivel,
    .single-curso .curso-matricula {
        padding: 40px 15px;
    }

    .single-curso .test-nivel-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .single-curso .btn-test,
    .single-curso .btn-test-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   SINGLE BLOG POST STYLES
   ============================================ */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #204b9b 0%, #1e3a8a 100%);
    color: #fff;
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>')
        repeat;
    pointer-events: none;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb .current {
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Blog Title */
.blog-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
}

/* Blog Meta */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.blog-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.blog-meta .meta-item svg {
    opacity: 0.8;
}

.blog-meta .meta-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-meta .meta-item a:hover {
    color: #fff;
}

/* Blog Container */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Blog Layout - Two Columns */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: start;
}

/* Blog Content */
.blog-content {
    background: #fff;
}

/* Featured Image */
.featured-image {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Entry Content */
.entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.entry-content h1 {
    font-size: 2.2rem;
}
.entry-content h2 {
    font-size: 1.9rem;
}
.entry-content h3 {
    font-size: 1.6rem;
}
.entry-content h4 {
    font-size: 1.4rem;
}
.entry-content h5 {
    font-size: 1.2rem;
}
.entry-content h6 {
    font-size: 1.1rem;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

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

.entry-content blockquote {
    border-left: 4px solid #204b9b;
    padding: 20px 30px;
    margin: 30px 0;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
    border-radius: 4px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

.entry-content a {
    color: #204b9b;
    text-decoration: none;
    border-bottom: 1px solid rgba(32, 75, 155, 0.3);
    transition: all 0.3s ease;
}

.entry-content a:hover {
    color: #1e3a8a;
    border-bottom-color: #1e3a8a;
}

.entry-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    color: #e53e3e;
}

.entry-content pre {
    background: #2d3748;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: #fff;
}

/* Entry Tags */
.entry-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.entry-tags svg {
    color: #666;
    flex-shrink: 0;
}

.entry-tags strong {
    color: #333;
}

.entry-tags a {
    display: inline-block;
    background: #f0f0f0;
    color: #555;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.entry-tags a:hover {
    background: #204b9b;
    color: #fff;
    transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.nav-previous,
.nav-next {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-previous:hover,
.nav-next:hover {
    background: #fff;
    border-color: #204b9b;
    box-shadow: 0 5px 20px rgba(32, 75, 155, 0.1);
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.nav-title {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}

.nav-title:hover {
    color: #204b9b;
}

/* Comments Section */
.comments-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 3px solid #f0f0f0;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget .widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #204b9b;
}

/* Author Widget */
.author-info {
    text-align: center;
}

.author-info img {
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #f0f0f0;
}

.author-info h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.author-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Categories Widget */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: #204b9b;
    padding-left: 10px;
}

.category-list .count {
    color: #999;
    font-size: 13px;
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts-list a {
    display: flex;
    gap: 15px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.recent-posts-list a:hover {
    opacity: 0.8;
}

.recent-posts-list .post-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.recent-posts-list .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-posts-list .post-info {
    flex: 1;
}

.recent-posts-list h4 {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-posts-list .post-date {
    font-size: 12px;
    color: #999;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, #204b9b 0%, #1e3a8a 100%);
    border: none;
    color: #fff;
}

.cta-widget .cta-content h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.cta-widget .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-widget .btn-cta {
    display: inline-block;
    background: #fff;
    color: #204b9b;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-widget .btn-cta:hover {
    background: #e52d1f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(229, 45, 31, 0.3);
}

/* Page Links */
.page-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.page-links a,
.page-links > span {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: #204b9b;
    color: #fff;
}

/* Responsive Blog Styles */
@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 40px;
    }

    .blog-title {
        font-size: 2rem;
    }

    .blog-meta {
        gap: 15px;
    }

    .blog-container {
        padding: 40px 20px;
    }

    .entry-content {
        font-size: 16px;
    }

    .entry-content h1 {
        font-size: 1.8rem;
    }
    .entry-content h2 {
        font-size: 1.6rem;
    }
    .entry-content h3 {
        font-size: 1.4rem;
    }

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

    .nav-next {
        text-align: left;
    }

    .sidebar-widget {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 100px 0 30px;
    }

    .blog-title {
        font-size: 1.6rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .blog-container {
        padding: 30px 15px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .breadcrumb .current {
        max-width: 200px;
    }

    .featured-image {
        margin-bottom: 25px;
        border-radius: 12px;
    }

    .entry-content {
        font-size: 15px;
    }

    .sidebar-widget {
        padding: 20px 15px;
    }
}

/* ============================================
   CONTACT FORM 7 - RADIO & CHECKBOX STYLES
   ============================================ */

/* Estilos gerais para Contact Form 7 */
.wpcf7 {
    width: 100%;
}

.wpcf7-form {
    width: 100%;
}

.wpcf7-form p {
    margin-bottom: 20px;
}

/* Labels dos campos */
.wpcf7-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
}

/* Inputs de texto, email, tel, etc */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: #204b9b;
    box-shadow: 0 0 0 3px rgba(32, 75, 155, 0.1);
}

.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Container para Radio Buttons - Layout em Linha Automático */
.wpcf7-form .wpcf7-radio,
.wpcf7-form .wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

/* Quando há poucos itens, usar auto-fit melhorado */
.wpcf7-form .wpcf7-radio:has(.wpcf7-list-item:nth-child(-n + 2)),
.wpcf7-form .wpcf7-checkbox:has(.wpcf7-list-item:nth-child(-n + 2)) {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Quando há muitos itens (mais de 4), usar colunas menores */
.wpcf7-form .wpcf7-radio:has(.wpcf7-list-item:nth-child(5)),
.wpcf7-form .wpcf7-checkbox:has(.wpcf7-list-item:nth-child(5)) {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

/* Item individual de radio/checkbox */
.wpcf7-form .wpcf7-list-item {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

/* Label do radio/checkbox */
.wpcf7-form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
    user-select: none;
}

.wpcf7-form .wpcf7-list-item label:hover {
    color: #204b9b;
}

/* Ocultar os inputs nativos */
.wpcf7-form input[type="radio"],
.wpcf7-form input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Radio Button Customizado */
.wpcf7-form input[type="radio"] + .wpcf7-list-item-label {
    position: relative;
    padding-left: 30px;
    line-height: 1.4;
}

.wpcf7-form input[type="radio"] + .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="radio"] + .wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #204b9b;
    transition: transform 0.2s ease;
}

/* Estado hover do radio */
.wpcf7-form input[type="radio"] + .wpcf7-list-item-label:hover::before {
    border-color: #204b9b;
}

/* Estado checked do radio */
.wpcf7-form input[type="radio"]:checked + .wpcf7-list-item-label::before {
    border-color: #204b9b;
    background: #fff;
}

.wpcf7-form input[type="radio"]:checked + .wpcf7-list-item-label::after {
    transform: translateY(-50%) scale(1);
}

/* Estado focus do radio */
.wpcf7-form input[type="radio"]:focus + .wpcf7-list-item-label::before {
    box-shadow: 0 0 0 3px rgba(32, 75, 155, 0.1);
}

/* Checkbox Customizado */
.wpcf7-form input[type="checkbox"] + .wpcf7-list-item-label {
    position: relative;
    padding-left: 30px;
    line-height: 1.4;
}

.wpcf7-form input[type="checkbox"] + .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="checkbox"] + .wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg) scale(0);
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transition: transform 0.2s ease;
}

/* Estado hover do checkbox */
.wpcf7-form input[type="checkbox"] + .wpcf7-list-item-label:hover::before {
    border-color: #204b9b;
}

/* Estado checked do checkbox */
.wpcf7-form input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
    border-color: #204b9b;
    background: #204b9b;
}

.wpcf7-form input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    transform: translateY(-50%) rotate(45deg) scale(1);
}

/* Estado focus do checkbox */
.wpcf7-form input[type="checkbox"]:focus + .wpcf7-list-item-label::before {
    box-shadow: 0 0 0 3px rgba(32, 75, 155, 0.1);
}

/* Botão de envio */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
    background: linear-gradient(135deg, #204b9b 0%, #1e3a8a 100%);
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 200px;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #153166 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(32, 75, 155, 0.3);
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-form button[type="submit"]:active {
    transform: translateY(0);
}

/* Mensagens de validação */
.wpcf7-form .wpcf7-not-valid-tip {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.wpcf7-form .wpcf7-not-valid {
    border-color: #e53e3e !important;
}

/* Mensagens de resposta */
.wpcf7-form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.wpcf7-form .wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcf7-form .wpcf7-mail-sent-ng,
.wpcf7-form .wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wpcf7-form .wpcf7-spam-blocked {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Spinner de envio */
.wpcf7-form .wpcf7-spinner {
    margin-left: 10px;
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(32, 75, 155, 0.3);
    border-top-color: #204b9b;
    border-radius: 50%;
    animation: wpcf7-spin 1s linear infinite;
}

@keyframes wpcf7-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Acceptance (termos e condições) */
.wpcf7-form .wpcf7-acceptance {
    margin-top: 15px;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] + .wpcf7-list-item-label {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* Select customizado */
.wpcf7-form select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23333" d="M6 8L0 0h12z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

/* File upload */
.wpcf7-form input[type="file"] {
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="file"]:hover {
    border-color: #204b9b;
    background: rgba(32, 75, 155, 0.05);
}

/* Layout de duas colunas para formulários */
.wpcf7-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wpcf7-form .form-row.three-columns {
    grid-template-columns: 1fr 1fr 1fr;
}

.wpcf7-form .form-full {
    grid-column: 1 / -1;
}

/* Estilos para o footer */
.footer-form .wpcf7-form input[type="text"],
.footer-form .wpcf7-form input[type="email"],
.footer-form .wpcf7-form input[type="tel"],
.footer-form .wpcf7-form textarea,
.footer-form .wpcf7-form select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.footer-form .wpcf7-form input::placeholder,
.footer-form .wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-form .wpcf7-form input:focus,
.footer-form .wpcf7-form textarea:focus,
.footer-form .wpcf7-form select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.footer-form .wpcf7-form label {
    color: #fff;
}

.footer-form .wpcf7-form input[type="submit"],
.footer-form .wpcf7-form button[type="submit"] {
    background: #e52d1f;
    width: 100%;
}

.footer-form .wpcf7-form input[type="submit"]:hover,
.footer-form .wpcf7-form button[type="submit"]:hover {
    background: #c62828;
}

/* Responsive para Radio e Checkbox */
@media (max-width: 768px) {
    .wpcf7-form .wpcf7-radio,
    .wpcf7-form .wpcf7-checkbox {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .wpcf7-form .form-row,
    .wpcf7-form .form-row.three-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .wpcf7-form input[type="submit"],
    .wpcf7-form button[type="submit"] {
        width: 100%;
        min-width: auto;
    }

    .wpcf7-form .wpcf7-radio,
    .wpcf7-form .wpcf7-checkbox {
        gap: 10px;
    }
}

/* Formulário com texto branco */
.form-white-text label,
.form-white-text p,
.form-white-text .wpcf7-list-item-label,
.form-white-text .wpcf7-form-control-wrap label {
    color: #fff !important;
}

.form-white-text a {
    color: #fff;
    text-decoration: underline;
}
