/* RESET & VARIABLES */
:root {
    --primary-green: #10B981;
    --primary-green-hover: #059669;
    --dark-green: #064E3B;
    --light-green-bg: #ECFDF5;
    --white: #FFFFFF;
    --gray-bg: #F3F4F6;
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #9CA3AF;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 12px;
    --max-width: 1200px;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--gray-bg);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* UTILITIES */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.23);
}

.btn-large {
    font-size: 1.25rem;
    padding: 1.2rem 2.5rem;
    width: 100%;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

h1 { font-size: 2.25rem; font-weight: 800; }
h2 { font-size: 1.875rem; font-weight: 700; text-align: center; margin-bottom: 2rem; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--text-medium); }

.subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.small-text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* SECTIONS */
section {
    padding: 4rem 0;
}

/* 1) HERO */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-green-bg) 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    margin-bottom: 2rem;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin: 0 auto;
}

/* 2) CLAREZA */
.clarity {
    background-color: var(--white);
}

.check-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-list .icon {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.clarity-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.visual-icon {
    font-size: 8rem;
}

/* 3) FEATURES */
.features {
    background-color: var(--gray-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.feature-card {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px; /* Pill shape */
    text-align: center;
    font-weight: 600;
    color: var(--dark-green);
    box-shadow: var(--shadow-sm);
    border: 1px solid #E5E7EB;
}

/* 4) BENEFITS */
.benefits {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid #F3F4F6;
}

.benefit-card .emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 5) STEPS */
.steps {
    background-color: var(--light-green-bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-number {
    background: var(--primary-green);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1rem auto;
}

/* 6) TESTIMONIALS CAROUSEL */
.testimonials {
    background-color: var(--white);
    text-align: center;
    overflow: hidden; /* Hide overflow */
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem; /* Space for arrows */
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%; /* Will be adjusted by JS if needed, but flex handles it */
}

.carousel-slide {
    min-width: 100%; /* Show 1 slide by default on mobile */
    padding: 1rem;
    box-sizing: border-box;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid #F3F4F6;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.testimonial-card .stars {
    color: #FBBF24; /* Amber 400 */
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.testimonial-card cite {
    font-weight: 700;
    color: var(--primary-green);
    font-style: normal;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--primary-green);
    cursor: pointer;
    z-index: 10;
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.carousel-indicator {
    border: none;
    width: 12px;
    height: 12px;
    background: #D1D5DB;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicator.current-slide {
    background: var(--primary-green);
}

.swipe-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* 7) OFFER */
.offer {
    background-color: var(--gray-bg);
    padding: 4rem 0;
}

.offer-card {
    background: linear-gradient(135deg, var(--dark-green) 0%, #047857 100%);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.offer-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    color: #A7F3D0;
    margin-bottom: 1rem;
    font-weight: 700;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.price-sub {
    color: #E5E7EB;
    margin-bottom: 2rem;
}

.offer-card .btn {
    background-color: var(--white);
    color: var(--dark-green);
    box-shadow: none;
}

.offer-card .btn:hover {
    background-color: #F3F4F6;
    transform: translateY(-2px);
}

.small-text-white {
    font-size: 0.875rem;
    color: #D1FAE5;
    margin-top: 1rem;
}

/* 8) GUARANTEE */
.guarantee {
    background-color: var(--gray-bg);
    text-align: center;
    padding-top: 0; /* Closer to offer */
}

.guarantee-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* 9) FOOTER */
footer {
    background-color: var(--dark-green);
    color: #D1FAE5;
    text-align: center;
    padding: 3rem 0;
}

footer h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.copyright {
    font-size: 0.875rem;
    color: #6EE7B7;
}

/* MEDIA QUERIES (DESKTOP) */
@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    
    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 2rem;
        text-align: left;
    }
    
    .hero-content {
        margin-bottom: 0;
    }
    
    .btn-large {
        width: auto;
        min-width: 300px;
    }

    .clarity-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 3rem;
    }
    
    .clarity-visual {
        margin-top: 0;
        justify-content: flex-end;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Carousel Desktop: Show 2 slides? Or keep 1 centered? 
       Prompt says "Desktop: pode mostrar 1 ou 2 por vez". 
       Let's stick to 1 centered for simplicity and focus, or adjust width.
       Let's try to show 2 if width allows, but JS logic needs to handle it.
       For simplicity and robustness with "simple JS", sticking to 1 slide per view is safer 
       unless we implement a more complex track calculation. 
       Let's stick to 1 slide per view but make it wider/nicer.
    */
    
    .offer-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
