/* ===== COURSES PAGE STYLES ===== */

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Hero Section */
.hero-wrapper {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}


.courses-hero {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
    background-image: url('https://1.bp.blogspot.com/-SKytD_Wp6qc/YPr3yQqjj6I/AAAAAAAAOuo/RD9GJ_PblMEJwcKcPnGaDKKeltCGyGIfgCLcBGAsYHQ/s1640/How%2BTo%2BPick%2BTo%2BBest%2BReconstructive%2BPlastic%2BSurgeon%2BBy%2BBarbies%2BBeauty%2BBits%2B%25281%2529.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.courses-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.courses-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

.courses-hero-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.courses-hero-content p {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
}

/* Tema claro específico para o hero */
[data-theme="light"] .courses-hero-content h1,
[data-theme="light"] .courses-hero-content p {
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Tema escuro específico para destacar o nome */
[data-theme="dark"] .intro-text p strong.brand-name {
    color: #e83e8c;
}

/* Tema claro específico para destacar o nome */
[data-theme="light"] .intro-text p strong.brand-name {
    color: #d31b79;
}

/* Introdução Section */
.courses-intro {
    padding: 40px 0 100px;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.courses-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 50%, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0) 70%);
    z-index: 0;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.intro-text p {
    color: var(--text-color);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.intro-image {
    flex: 1;
    position: relative;
}

.intro-image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(var(--primary-rgb), 0.2);
}

.intro-image-frame img {
    width: 100%;
    height: auto;
    transform: scale(1.05);
    transition: transform 0.7s ease;
}

.intro-image:hover .intro-image-frame img {
    transform: scale(1);
}

.intro-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    top: 20px;
    left: 20px;
    z-index: -1;
}

/* Diferenciais */
.differentials-section {
    padding: 100px 0;
    background-color: var(--bg-alt-color);
    position: relative;
    overflow: hidden;
}

.differentials-section::before,
.differentials-section::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100px;
    background-color: var(--bg-color);
    z-index: 1;
}

.differentials-section::before {
    top: -50px;
    transform: skewY(-2deg);
}

.differentials-section::after {
    bottom: -50px;
    transform: skewY(2deg);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.differential-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.differential-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(var(--primary-rgb), 0.15);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.differential-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.differential-card:hover::after {
    transform: scaleX(1);
}

.differential-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 40px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.differential-card:hover .differential-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.1);
}

.differential-content {
    position: relative;
    z-index: 2;
}

.differential-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.differential-content p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
}

.differential-bg-icon {
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 160px;
    color: rgba(var(--primary-rgb), 0.03);
    transform: rotate(-15deg);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.differential-card:hover .differential-bg-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Cursos Section */
.courses-section {
    padding: 120px 0;
    background-color: var(--bg-color);
    position: relative;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 90% 20%, rgba(var(--primary-rgb), 0.03) 0%, transparent 70%);
    z-index: 0;
}

.courses-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    margin-top: 70px;
}

.course-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.course-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(var(--primary-rgb), 0.2);
}

.course-item.featured {
    grid-column: span 6;
    grid-row: span 2;
}

.course-item.standard {
    grid-column: span 6;
}

.course-item.compact {
    grid-column: span 4;
}

.course-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-item:hover .course-image img {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    box-sizing: border-box;
    z-index: 1;
}

.course-label {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-content {
    position: relative;
    z-index: 2;
}

.course-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.course-item.standard .course-title,
.course-item.compact .course-title {
    font-size: 22px;
}

.course-subtitle {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.course-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 90%;
}

.course-item.standard .course-description,
.course-item.compact .course-description {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-action {
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.course-action svg {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.course-item:hover .course-action svg {
    transform: translateX(5px);
}

.course-features {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.course-feature {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.course-feature svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

/* Contato Section */
.contact-section {
    padding: 120px 0;
    background-color: var(--bg-color);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0) 50%);
    z-index: 0;
}

.contact-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background-color: var(--card-bg);
    margin-top: 60px;
}

.contact-details {
    flex: 1;
    padding: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke="white" stroke-width="0.5" stroke-opacity="0.1"/></svg>');
    background-size: 20px;
    opacity: 0.2;
}

.contact-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.contact-details p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-method-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-method-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.contact-method-item:hover .contact-method-icon {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.contact-method-info {
    flex: 1;
}

.contact-method-info h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-method-info a,
.contact-method-info p {
    color: white;
    opacity: 0.9;
    text-decoration: none;
    font-size: 16px;
    margin: 0;
}

.contact-method-info a:hover {
    opacity: 1;
    text-decoration: underline;
}

.contact-form {
    flex: 1;
    padding: 60px;
    background-color: var(--card-bg);
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid rgba(var(--text-rgb), 0.2);
    border-radius: 8px;
    background-color: var(--input-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

/* Media Queries */
@media (max-width: 1200px) {
    .courses-grid {
        gap: 30px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-details,
    .contact-form {
        padding: 40px;
    }
    
    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .hero-wrapper, 
    .courses-hero {
        height: 100vh;
    }
    
    .intro-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .intro-text,
    .intro-image {
        flex: none;
        width: 100%;
    }
    
    .courses-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .course-item.featured {
        grid-column: span 6;
    }
    
    .course-item.standard,
    .course-item.compact {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .hero-wrapper {
        height: 100vh;
    }
    
    .courses-hero {
        height: 100%;
        min-height: 100%;
        background-attachment: scroll;
    }
    
    .courses-hero-content {
        padding: 80px 0;
    }
    
    .courses-hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }
    
    .courses-hero-content p {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .intro-text h2 {
        font-size: 36px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .course-item.featured,
    .course-item.standard,
    .course-item.compact {
        grid-column: span 1;
    }
    
    .course-overlay {
        padding: 30px;
    }
    
    .differentials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 280px;
    }
    
    .courses-intro {
        padding: 30px 0 80px;
    }
    
    .intro-content-new {
        padding: 0 0 30px;
    }
    
    .intro-heading {
        font-size: 2.8rem;
    }
    
    .intro-text p {
        font-size: 1.35rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .intro-tagline {
        font-size: 1.2rem;
    }
    
    .intro-cta-bar {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }
    
    .intro-stats {
        padding: 30px;
        margin-top: 30px;
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1.2rem;
    }
    
    .cta-text {
        font-size: 1.2rem;
        text-align: center;
    }
    
    /* Manter as definições de cores também no mobile */
    [data-theme="dark"] .stat-number {
        color: #e83e8c;
    }
    
    [data-theme="dark"] .stat-label {
        color: #ffffff;
    }
}

@media (max-width: 576px) {
    .courses-hero-content {
        padding: 60px 0;
        width: 100%;
    }
    
    .courses-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .courses-hero-content p {
        font-size: 1.2rem;
    }
    
    .intro-text h2 {
        font-size: 30px;
    }
    
    .course-title {
        font-size: 24px;
    }
    
    .course-description {
        font-size: 14px;
    }
    
    .contact-method-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .hero-buttons a {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .intro-tagline {
        font-size: 1.2rem;
    }
    
    .intro-heading {
        font-size: 2.6rem;
    }
    
    .intro-text p {
        font-size: 1.25rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .intro-feature-badge {
        width: 85%;
        padding: 15px;
    }
    
    .badge-text {
        min-width: 0;
    }
    
    .badge-text span {
        font-size: 1rem;
    }
    
    .badge-text strong {
        font-size: 1.15rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-label {
        font-size: 1.15rem;
    }
    
    /* Manter as definições de cores também no mobile */
    [data-theme="light"] .intro-tagline {
        color: #d31b79;
    }
    
    [data-theme="light"] .intro-heading {
        color: #222222;
    }
    
    [data-theme="light"] .intro-text p {
        color: #333333;
    }
    
    [data-theme="light"] .badge-text span {
        color: #444444;
    }
    
    [data-theme="light"] .badge-text strong {
        color: #222222;
    }
    
    [data-theme="dark"] .stat-number {
        color: #e83e8c;
    }
    
    [data-theme="dark"] .stat-label {
        color: #ffffff;
    }
}

/* Dark Mode Styles */
[data-theme="dark"] .differential-icon-wrapper {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--secondary-rgb), 0.2));
}

[data-theme="dark"] .course-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.2) 80%);
}

[data-theme="dark"] .form-control {
    background-color: var(--input-bg);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
}

/* Nova seção de introdução */
.intro-content-new {
    display: flex;
    gap: 50px;
    padding: 0 0 40px;
    position: relative;
    z-index: 1;
}

.intro-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20px;
}

.intro-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    border-bottom: none;
    padding-bottom: 0;
}

[data-theme="light"] .intro-tagline {
    color: #d31b79;
}

.intro-tagline::after {
    content: none;
}

.intro-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 30px;
    line-height: 1.2;
    max-width: 640px;
}

[data-theme="light"] .intro-heading {
    color: #222222;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.intro-text p {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 22px;
    font-family: 'Poppins', sans-serif;
}

[data-theme="light"] .intro-text p {
    color: #333333;
    font-weight: 500;
}

.intro-text p strong {
    position: relative;
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
}

[data-theme="light"] .intro-text p strong {
    color: #6a2da8;
    font-weight: 700;
}

.intro-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .intro-stats {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .intro-stats {
    background: rgba(40, 40, 50, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    flex: 1;
    min-width: 120px;
    position: relative;
    text-align: center;
    padding: 15px 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
    transform: translateY(-5px);
}

[data-theme="dark"] .stat-item:hover {
    background-color: rgba(232, 62, 140, 0.1);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.2);
}

[data-theme="light"] .stat-number {
    color: #6a2da8;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

[data-theme="dark"] .stat-number {
    color: #e83e8c;
    text-shadow: 0 0 10px rgba(232, 62, 140, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-top: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

[data-theme="light"] .stat-label {
    color: #333333;
    font-weight: 600;
}

[data-theme="dark"] .stat-label {
    color: #ffffff;
    font-weight: 500;
}

.intro-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 1;
}

.intro-image-container {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.intro-image-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.intro-image-box:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.intro-image-box img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(var(--primary-rgb), 0.3), rgba(var(--secondary-rgb), 0.3));
    z-index: 3;
    top: 0;
    left: 0;
    pointer-events: none;
}

.intro-feature-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    padding: 18px 22px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
}

[data-theme="light"] .intro-feature-badge {
    background: #ffffff;
}

.intro-feature-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(var(--secondary-rgb), 0.3);
}

.badge-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.badge-text {
    display: flex;
    flex-direction: column;
    min-width: 170px;
}

.badge-text span {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

[data-theme="light"] .badge-text span {
    color: #444444;
    font-weight: 600;
}

.badge-text strong {
    font-size: 1.15rem;
    color: var(--heading-color);
    font-weight: 600;
}

[data-theme="light"] .badge-text strong {
    color: #222222;
    font-weight: 700;
}

.intro-cta-bar {
    background: linear-gradient(90deg, var(--bg-color), var(--bg-alt-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--text-rgb), 0.1);
}

[data-theme="light"] .intro-cta-bar {
    background: linear-gradient(90deg, #f9f9f9, #f3f3f3);
    border: 1px solid #e5e5e5;
}

.cta-text {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 500;
}

[data-theme="light"] .cta-text {
    color: #333333;
    font-weight: 600;
}

.cta-text i {
    font-size: 1.2rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

[data-theme="light"] .cta-text i {
    color: #d31b79;
}

.btn-scroll {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn-scroll:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Media Queries para a nova seção */
@media (max-width: 992px) {
    .intro-content-new {
        flex-direction: column;
        gap: 60px;
    }
    
    .intro-right {
        justify-content: center;
    }
    
    .intro-feature-badge {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .intro-feature-badge:hover {
        transform: translateY(-5px) translateX(-50%);
    }
}

@media (max-width: 768px) {
    .intro-heading {
        font-size: 3rem;
    }
    
    .intro-text p {
        font-size: 1.5rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .intro-tagline {
        font-size: 1.3rem;
    }
    
    .intro-cta-bar {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }
    
    .intro-stats {
        padding: 30px;
        margin-top: 30px;
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1.2rem;
    }
    
    .cta-text {
        font-size: 1.2rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .intro-tagline {
        font-size: 1.2rem;
    }
    
    .intro-heading {
        font-size: 2.6rem;
    }
    
    .intro-text p {
        font-size: 1.4rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .intro-feature-badge {
        width: 85%;
        padding: 15px;
    }
    
    .badge-text {
        min-width: 0;
    }
    
    .badge-text span {
        font-size: 1rem;
    }
    
    .badge-text strong {
        font-size: 1.15rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-label {
        font-size: 1.15rem;
    }
    
    /* Manter as definições de cores também no mobile */
    [data-theme="light"] .intro-tagline {
        color: #d31b79;
    }
    
    [data-theme="light"] .intro-heading {
        color: #222222;
    }
    
    [data-theme="light"] .intro-text p {
        color: #333333;
    }
    
    [data-theme="light"] .badge-text span {
        color: #444444;
    }
    
    [data-theme="light"] .badge-text strong {
        color: #222222;
    }
    
    [data-theme="dark"] .stat-number {
        color: #e83e8c;
    }
    
    [data-theme="dark"] .stat-label {
        color: #ffffff;
    }
}

/* Estilos para os modais */
.course-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: 30px 0;
}

.course-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.course-modal {
    width: 85%;
    max-width: 720px;
    max-height: unset;
    background-color: white;
    border-radius: 15px;
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    margin: auto;
}

.course-modal-overlay.active .course-modal {
    transform: translateY(0);
    opacity: 1;
}

.course-modal-header {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.course-modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-modal-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.course-modal-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.course-modal-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.course-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 10;
    transition: all 0.3s ease;
}

.course-modal-close:hover {
    transform: rotate(90deg);
    background-color: #f8f8f8;
}

.course-modal-body {
    padding: 30px;
}

.course-modal-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 35px;
    background-color: #f9f7fc;
    padding: 25px;
    border-radius: 12px;
}

.course-modal-detail {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 200px;
}

.course-modal-detail i {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, rgba(111, 66, 193, 0.1), rgba(232, 62, 140, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #e83e8c;
    font-size: 1.2rem;
}

.course-modal-detail i.fas.fa-medal {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e83e8c;
    font-size: 1.3rem;
}

.course-modal-detail-label {
    color: #5d6778;
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 500;
}

.course-modal-detail-value {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.3rem;
}

.course-modal-info h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 18px;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 12px;
}

.course-modal-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #834cc4, #e93e93);
    border-radius: 3px;
}

.course-modal-info p {
    color: #5d6778;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.course-modal-topics {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0;
    background-color: #f9f7fc;
    padding: 25px;
    border-radius: 12px;
}

.course-modal-topic {
    display: flex;
    align-items: center;
}

.course-modal-topic i {
    color: #834cc4;
    margin-right: 10px;
    font-size: 0.9rem;
}

.course-modal-topic span {
    font-size: 1.3rem;
    color: #444;
}

.course-modal-actions {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-modal-whatsapp {
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
    color: white;
    padding: 16px 42px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.3);
}

.course-modal-whatsapp i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.course-modal-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(111, 66, 193, 0.4);
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Estilos dark mode para os modais */
[data-theme="dark"] .course-modal {
    background-color: #212121;
}

[data-theme="dark"] .course-modal-info h3, 
[data-theme="dark"] .course-modal-detail-value {
    color: #ffffff;
}

[data-theme="dark"] .course-modal-info p, 
[data-theme="dark"] .course-modal-detail-label {
    color: #cccccc;
}

[data-theme="dark"] .course-modal-close {
    background-color: #333333;
}

[data-theme="dark"] .course-modal-close i {
    color: #ffffff;
}

[data-theme="dark"] .course-modal-topic span {
    color: #e0e0e0;
}

[data-theme="dark"] .course-modal-details {
    background-color: #2a2432;
}

[data-theme="dark"] .course-modal-topics {
    background-color: #2a2432;
}

/* Animações para elementos */
.course-item, .intro-stats, .intro-feature-badge {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.course-item.animated, 
.intro-stats.animated, 
.intro-feature-badge.animated {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .course-modal-details {
        flex-direction: column;
        gap: 20px;
    }
    
    .course-modal-topics {
        grid-template-columns: 1fr;
    }
    
    .course-modal-header {
        height: 180px;
    }
    
    .course-modal-title {
        font-size: 2.2rem;
    }
    
    .course-modal-body {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .course-modal {
        width: 95%;
    }
    
    .course-modal-header {
        height: 150px;
    }
    
    .course-modal-whatsapp {
        padding: 14px 20px;
        font-size: 1.1rem;
        width: 100%;
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.hero-buttons a {
    min-width: 200px;
    text-align: center;
}

.btn-primary, .hero-outline-btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 5px;
}

.hero-outline-btn {
    color: white;
    background: transparent;
    border: 2px solid white;
}

.hero-outline-btn:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Ajustes dos botões para formato levemente arredondado */
.btn-primary, .hero-outline-btn, .btn-scroll, .course-modal-whatsapp {
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-scroll {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.course-modal-whatsapp {
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
    color: white;
    padding: 16px 42px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.3);
}

/* Ajuste de tamanho de fontes para mobile */
@media (max-width: 768px) {
    .intro-heading {
        font-size: 3rem;
    }
    
    .intro-text p {
        font-size: 1.5rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .intro-tagline {
        font-size: 1.3rem;
    }
    
    /* Modais no mobile */
    .course-modal-title {
        font-size: 2.2rem;
    }
    
    .course-modal-subtitle {
        font-size: 1.3rem;
    }
    
    .course-modal-detail-value {
        font-size: 1.3rem;
    }
    
    .course-modal-detail-label {
        font-size: 1.1rem;
    }
    
    .course-modal-info h3 {
        font-size: 1.8rem;
    }
    
    .course-modal-info p {
        font-size: 1.3rem;
        line-height: 1.6;
    }
    
    .course-modal-topic span {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .intro-text p {
        font-size: 1.4rem;
        line-height: 1.6;
    }
    
    .course-modal-whatsapp {
        padding: 14px 20px;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .course-modal-info p {
        font-size: 1.2rem;
    }
    
    .course-modal-topic span {
        font-size: 1.2rem;
    }
    
    .course-modal-info h3 {
        font-size: 1.6rem;
    }
} 