/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    text-align: center;
    color: #2E5D50;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2E5D50 0%, #1a3d33 100%);
    color: white;
    overflow: hidden;
    z-index: 1;
    padding-top: 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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="50" cy="50" r="0.5" fill="%23ffffff" fill-opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.highlight {
    color: #F2C94C;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #F2C94C;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: #E7BFB6;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.7;
    font-weight: 300;
}

/* Floating Elements */
.hero-visual {
    position: relative;
    /* height: 400px; */
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(247, 191, 182, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation: float 4s ease-in-out infinite reverse;
}

.circle-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 50%;
    animation: float 5s ease-in-out infinite;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(-45deg) translateY(0); }
    40% { transform: rotate(-45deg) translateY(-10px); }
    60% { transform: rotate(-45deg) translateY(-5px); }
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 36px;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: #E7BFB6;
    color: #2E5D50;
    box-shadow: 0 8px 32px rgba(231, 191, 182, 0.4);
}

.cta-button.primary:hover {
    background: #d9a89a;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(231, 191, 182, 0.5);
}

.cta-button.secondary {
    background: #F2C94C;
    color: #333333;
    box-shadow: 0 8px 32px rgba(242, 201, 76, 0.4);
    width: 100%;
    justify-content: center;
}

.cta-button.secondary:hover {
    background: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(242, 201, 76, 0.5);
}

.cta-button.large {
    padding: 28px 52px;
    font-size: 1.2rem;
    border-radius: 70px;
}

/* Pain Points Section */
.pain-points {
    padding: 6rem 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #F5F5F5 100%);
    position: relative;
    z-index: 2;
    margin-top: -1px;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.pain-item {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(231, 191, 182, 0.1);
}

.pain-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: rgba(231, 191, 182, 0.3);
}

.pain-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(20%);
}

.pain-item p {
    font-size: 1.15rem;
    font-weight: 400;
    color: #555;
    line-height: 1.7;
}

.transition-text {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(231, 191, 182, 0.1) 100%);
    border-radius: 24px;
    border: 2px solid rgba(46, 93, 80, 0.1);
    backdrop-filter: blur(10px);
}

.transition-text p {
    font-size: 1.4rem;
    color: #2E5D50;
    font-weight: 500;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    position: relative;
    z-index: 2;
}

.course-name {
    color: #F2C94C;
    font-style: italic;
}

.benefits-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #F8F9FA 0%, #ffffff 100%);
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.benefit-item:hover {
    border-color: rgba(231, 191, 182, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, rgba(231, 191, 182, 0.05) 100%);
    box-shadow: 0 8px 32px rgba(231, 191, 182, 0.15);
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 3rem;
    flex-shrink: 0;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.benefit-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #2E5D50;
    font-weight: 500;
}

.benefit-content p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

.value-proposition {
    text-align: center;
    padding: 3.5rem 2.5rem;
    background: linear-gradient(135deg, #2E5D50 0%, #1a3d33 100%);
    border-radius: 28px;
    color: white;
    box-shadow: 0 12px 48px rgba(46, 93, 80, 0.3);
}

.value-proposition p {
    font-size: 1.3rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Form Section */
.form-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(231, 191, 182, 0.8) 0%, rgba(217, 168, 154, 0.9) 100%);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.form-text h2 {
    font-size: 2.5rem;
    color: #2E5D50;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-text > p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 300;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.guarantee-icon {
    font-size: 1.8rem;
}

.guarantee p {
    color: #555;
    font-size: 1rem;
    font-weight: 400;
}

/* Lead Form */
.lead-form {
    background: white;
    padding: 3.5rem;
    border-radius: 28px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(231, 191, 182, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-group input {
    width: 100%;
    padding: 1.8rem 1.5rem 1.2rem;
    border: 2px solid #E8E8E8;
    border-radius: 16px;
    font-size: 1.1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    font-weight: 400;
}

.form-group input:focus {
    outline: none;
    border-color: #2E5D50;
    box-shadow: 0 0 0 4px rgba(46, 93, 80, 0.1);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: white;
    padding: 0 0.8rem;
    font-weight: 400;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.9rem;
    color: #2E5D50;
    font-weight: 500;
}

.form-disclaimer {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 2rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Button Loader */
.button-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* About Section */
.about {
    padding: 6rem 0;
    background: #E7BFB6;
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2E5D50;
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-text p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.about-visual {
    position: relative;
    height: 300px;
}

.about-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2E5D50, #F2C94C);
    border-radius: 50% 20% 50% 20%;
    animation: morphShape 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes morphShape {
    0%, 100% { border-radius: 50% 20% 50% 20%; transform: translate(-50%, -50%) rotate(0deg); }
    25% { border-radius: 20% 50% 20% 50%; transform: translate(-50%, -50%) rotate(90deg); }
    50% { border-radius: 50% 20% 50% 20%; transform: translate(-50%, -50%) rotate(180deg); }
    75% { border-radius: 20% 50% 20% 50%; transform: translate(-50%, -50%) rotate(270deg); }
}

/* Testimonial Section */
.testimonial {
    padding: 4rem 0;
    background: white;
    position: relative;
    z-index: 2;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: #F2C94C;
    margin-bottom: 2rem;
    font-family: serif;
}

.testimonial-content blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 300;
}

.testimonial-author {
    color: #2E5D50;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2E5D50 0%, #1a3d33 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
}

.final-cta-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 500;
}

.final-cta-content p {
    font-size: 1.35rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.7;
    font-weight: 300;
}

.final-guarantee {
    margin-top: 2rem;
}

.final-guarantee p {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.7;
    font-weight: 300;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: #1a1a1a;
    color: white;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: #F2C94C;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.footer-brand p {
    opacity: 0.7;
    font-weight: 300;
}

.footer-links p {
    opacity: 0.6;
    font-weight: 300;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 3.5rem;
    border-radius: 28px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(231, 191, 182, 0.1);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-header h3 {
    color: #2E5D50;
    font-size: 1.8rem;
    font-weight: 500;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #555;
    font-weight: 300;
    font-size: 1.05rem;
}

.modal-footer {
    text-align: center;
    margin-top: 2rem;
}

.modal-close {
    background: #2E5D50;
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: inherit;
}

.modal-close:hover {
    background: #1a3d33;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideInRight 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Intersection Observer Trigger */
.fade-in-up.visible,
.slide-in-right.visible {
    animation-play-state: running;
}

/* Enhanced Visual Effects */
.section-title {
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #F2C94C, #E7BFB6);
    border-radius: 2px;
}

/* Glass morphism effects */
.hero::before {
    backdrop-filter: blur(20px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-visual {
        /* height: 200px; */
        /* order: -1; */
    }
    
    /* Hide floating circles on mobile */
    .floating-circle {
        display: none !important;
    }
    
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
  .floating-elements {
    margin: 0 !important;
    padding: 0 !important;
  }
  .floating-circle {
    margin: 0 !important;
    /* Se houver padding ou gap, defina também como 0 */
    padding: 0 !important;
  }
}

@media (max-width: 480px) {
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pain-item {
        padding: 2rem 1.5rem;
    }
    
    .pain-icon {
        font-size: 3rem;
    }
    
    .benefit-item {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        align-items: center;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .form-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .final-cta-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .value-proposition {
        padding: 2.5rem 2rem;
    }
    
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .pain-item {
        padding: 1.5rem 1rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
    }
    
    .lead-form {
        padding: 2rem 1.5rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .final-cta-content h2 {
        font-size: 2.2rem;
    }
    
    .final-cta-content p {
        font-size: 1.1rem;
    }
}

/* Performance Optimizations */
.hero-visual,
.floating-elements,
.about-shape {
    will-change: transform;
}

.cta-button,
.pain-item,
.benefit-item {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator {
        display: none;
    }
}