/* Course Landing Page - High Conversion Styles */

/* Global Overrides for this page */
:root {
    --section-padding-y: 64px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-large {
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(56, 182, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(56, 182, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 182, 255, 0); }
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Hero Section */
.course-hero {
    background: linear-gradient(135deg, rgba(179, 210, 243, 0.88) 0%, #fafcff 100%);
    padding: 64px 0 72px;
    position: relative;
    color: var(--text-primary);
    overflow: hidden;
}

.course-hero .hero-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: center;
    text-align: left;
    max-width: 100%;
    margin: 0 auto;
}

.course-hero .hero-text {
    max-width: 650px;
}

.hero-badge {
    background: rgba(56, 182, 255, 0.15);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid rgba(56, 182, 255, 0.3);
}

.course-hero .hero-text h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.course-hero .hero-text .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-promise {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    max-width: 540px;
}

.hero-cta-group {
    margin-bottom: 1.75rem;
}

.trust-badges {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    align-items: center;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 2px;
}

.trust-badges span i {
    color: var(--success-color);
    font-size: 1.1rem;
}

/* Hero Video */
.course-hero .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(5, 10, 48, 0.12);
    background: #000;
    width: 100%;
    border: 1px solid rgba(5, 10, 48, 0.08);
}

.hero-video {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.course-hero .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Social Proof Bar */
.social-proof-bar {
    background: white;
    color: var(--primary-blue-dark);
    padding: 25px 0;
    text-align: center;
    border-bottom: 1px solid var(--bg-gray);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    position: relative;
    z-index: 10;
}

.social-proof-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-proof-bar p {
    margin: 0;
    font-weight: 600;
    color: var(--primary-blue-dark);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-proof-bar .stars {
    color: #f1c40f;
    font-size: 1.1rem;
    display: flex;
    gap: 4px;
}

/* Two Pillars Section */
.two-pillars {
    padding: 60px 0 52px;
    background: linear-gradient(180deg, #f9fcff 0%, #ffffff 100%);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin: 2rem auto 0;
    max-width: 1100px;
}

/* Estilos específicos para os cards da seção Two Pillars */
.pain-card.pillar-card {
    border: 1px solid var(--secondary-blue);
    display: grid;
    grid-template-columns: min-content 1fr;
    gap: 0 20px;
    align-items: center;
}

.pain-card.pillar-card .pain-icon {
    margin-bottom: 0;
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
    grid-row: 1;
    grid-column: 1;
}

.pain-card.pillar-card h3 {
    margin-bottom: 0;
    margin-top: 0;
    grid-row: 1;
    grid-column: 2;
    font-size: 1.15rem;
    text-align: left;
}

.pain-card.pillar-card p {
    grid-column: 1 / -1;
    margin-top: 20px;
    width: 100%;
}

/* Pain Points */
.pain-points {
    padding: 60px 0px;
    background: var(--bg-gray);
}

.pain-card {
    padding: 25px;
    background: white;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid rgba(56, 182, 255, 0.1);
    height: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 20px;
    align-items: start;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(5, 10, 48, 0.08);
    border-color: var(--secondary-blue);
    background: white;
}

.pain-icon {
    font-size: 2rem;
    color: var(--secondary-blue);
    margin-bottom: 0;
    background: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(56, 182, 255, 0.15);
    grid-row: 1 / span 2;
}

.pain-card h3 {
    margin-bottom: 5px;
    color: var(--primary-blue-dark);
    font-size: 1.2rem;
    font-weight: 700;
    grid-column: 2;
    margin-top: 5px;
}

.pain-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    grid-column: 2;
}

.pain-conclusion {
    text-align: center;
    font-size: 1.3rem;
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.15) 0%, rgba(56, 182, 255, 0.08) 100%);
    border-radius: 16px;
    border: 2px solid var(--secondary-blue);
    box-shadow: 0 15px 40px rgba(56, 182, 255, 0.15);
    color: var(--primary-blue-dark);
    font-weight: 600;
}

.pain-conclusion strong {
    color: var(--secondary-blue);
    font-weight: 800;
}

/* Modules */
.modules-section {
    padding: 64px 0;
    background: white;
}

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

.module-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(5, 10, 48, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.module-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(5, 10, 48, 0.08);
}

.module-header {
    background: #ffffff;
    color: var(--text-primary);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 4px solid rgba(56, 182, 255, 0.28);
}

.module-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-blue);
    line-height: 1;
    opacity: 0.9;
}

.module-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.module-content {
    padding: 30px;
}

.module-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-content li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.module-content li::before {
    content: '\f00c'; /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--success-color);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9em;
}

.module-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.featured-module {
    border: 2px solid var(--secondary-blue);
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(56, 182, 255, 0.15);
    z-index: 1;
}

.featured-module:hover {
    transform: scale(1.02) translateY(-5px);
}

.featured-module .module-header {
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.18) 0%, rgba(56, 182, 255, 0.08) 100%);
    border-bottom: 4px solid var(--accent-blue);
}

.badge {
    background: white;
    color: var(--primary-blue-dark);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: 800;
    text-transform: uppercase;
}

.cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Testimonials */
.testimonials-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-gray);
}

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

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: none;
    border: 1px solid rgba(56, 182, 255, 0.1);
    height: 100%;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 15px;
}

.author-info strong {
    display: block;
    color: var(--primary-blue-dark);
    font-size: 1.1rem;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.rating {
    color: #f1c40f;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Instructor */
.instructor-section {
    padding: var(--section-padding-y) 0;
    background: white;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.instructor-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.instructor-img img {
    width: 100%;
    border-radius: 20px;
    border: 5px solid rgba(56, 182, 255, 0.18);
    box-shadow: 0 16px 40px rgba(5, 10, 48, 0.16);
    aspect-ratio: 9/16;
    object-fit: cover;
    object-position: center top;
}

.instructor-content h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.instructor-content h3 {
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    font-size: 1.3rem;
    font-weight: 500;
}

.instructor-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.credentials {
    list-style: none;
    padding: 0;
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.credentials li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.credentials li i {
    color: var(--success-color);
    margin-top: 4px;
}

/* Offer Section */
.offer-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-gray);
}

.offer-box {
    max-width: 960px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(5, 10, 48, 0.12);
    overflow: hidden;
    border: 1px solid rgba(56, 182, 255, 0.2);
}

.offer-header {
    background: linear-gradient(135deg, rgba(185, 213, 241, 0.7) 0%, #ffffff 100%);
    color: var(--text-primary);
    padding: 40px;
    text-align: center;
}

.offer-header h2 {
    margin: 0;
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.offer-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.offer-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 30px;
    gap: 30px;
    align-items: center;
}

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

.benefits-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.benefits-list i {
    color: var(--success-color);
    font-size: 1.2rem;
    background: rgba(56, 182, 255, 0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.right-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8fbfe;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.03);
}

.promo-label {
    background: var(--secondary-blue);
    color: white;
    display: inline-block;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    align-self: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing {
    margin-bottom: 2rem;
}

.from {
    display: block;
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
}

.to {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
    margin: 10px 0;
    white-space: nowrap;
    flex-wrap: wrap;
}

.to .price-small {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 8px; /* Align visually with baseline if needed */
}

.to .price-big {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
}

.payment-methods {
    display: block;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

.cta-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    width: 100%;
}

.btn-block {
    display: flex;
    width: 100%;
    padding: 18px 10px;
    justify-content: center;
    white-space: nowrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-blue);
    color: var(--secondary-blue);
    font-size: 0.95rem;
}

.btn-outline:hover {
    background: var(--bg-gray);
    border-color: var(--primary-blue-dark);
    color: var(--primary-blue-dark);
}

.guarantee-seal {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    background: white;
    padding: 15px;
    border-radius: 12px;
    font-size: 0.85rem;
    border: 1px solid rgba(56, 182, 255, 0.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.guarantee-seal i {
    font-size: 2rem;
    color: var(--primary-blue-dark);
}

/* FAQ - Accordion Style */
.faq-section {
    padding: var(--section-padding-y) 0;
    background: #f8fbfe;
}

.faq-section .section-title {
    margin-bottom: 40px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(56, 182, 255, 0.1);
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(5, 10, 48, 0.08);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-blue-dark);
    font-weight: 600;
}

.faq-toggle-icon {
    font-size: 1.2rem;
    color: var(--secondary-blue);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding-bottom: 25px;
    max-height: 300px; /* Altura máxima suficiente para o conteúdo */
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-whatsapp-faq {
    background: #25D366;
    color: white;
    font-weight: 700;
    border-radius: 50px;
    padding: 14px 35px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-faq:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-whatsapp-faq i {
    font-size: 1.2rem;
}

@media (min-width: 1024px) {
    .pain-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .course-hero {
        padding: 56px 0 60px;
    }

    .hero-promise {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .instructor-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .instructor-img {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .credentials {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .credentials li {
        width: 100%;
        justify-content: center;
    }

    .offer-body {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
    }

    .right-col {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding-y: 48px;
    }

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

    .course-hero {
        padding: 40px 0 48px;
    }
    
    .course-hero .hero-text h1 {
        font-size: 2.2rem;
    }

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

    .offer-body {
        padding: 30px 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .pain-grid {
        gap: 20px;
    }
    
    .pain-conclusion {
        padding: 20px;
        font-size: 1.1rem;
        margin-top: 30px;
    }

    .pain-card.pillar-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
        padding: 30px 20px;
    }

    .pain-card.pillar-card .pain-icon {
        grid-row: 1;
        grid-column: 1;
        margin: 0 auto;
    }

    .pain-card.pillar-card h3 {
        grid-row: 2;
        grid-column: 1;
        text-align: center;
    }

    .pain-card.pillar-card p {
        grid-column: 1;
        margin-top: 10px;
    }

    .modules-container {
        grid-template-columns: 1fr;
    }

    .btn-large {
        width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    .trust-badges {
        flex-wrap: wrap;
        gap: 10px 20px;
    }
    
    .instructor-img {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding-y: 40px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .course-hero .hero-text h1 {
        font-size: 1.9rem;
    }

    .to .price-big {
        font-size: 2.8rem; /* Adjusted for mobile */
    }
    
    .to .price-small {
        font-size: 1.2rem;
    }

    .instructor-img {
        max-width: 280px;
    }
    
    .offer-header {
        padding: 30px 20px;
    }
    
    .offer-body {
        padding: 20px 15px;
    }
    
    .benefits-list li {
        font-size: 0.95rem;
        align-items: flex-start;
    }
    
    .benefits-list i {
        min-width: 30px; /* Prevent shrinking */
    }
}