/* ==========================================================================
   CSS Variables & Core Setup
   ========================================================================== */
   :root {
    /* Colors */
    --clr-bg-main: #FDFBF7; /* Off-white / light beige */
    --clr-bg-alt: #F4EFE6; /* Slightly darker sand for break */
    --clr-bg-bonus: #FDF4EB; /* Very soft earthy tone */
    
    --clr-text-main: #33312E; /* Charcoal/Dark Brown */
    --clr-text-light: #5C5853;
    
    --clr-accent: #A06D4F; /* Earthy/Terracotta/Matte Gold tone */
    --clr-accent-hover: #8B5C40;
    
    --clr-border: rgba(160, 109, 79, 0.2);
    --clr-shadow: rgba(51, 49, 46, 0.05);
    
    /* Typography */
    --ff-heading: 'Playfair Display', serif;
    --ff-body: 'Inter', sans-serif;
    
    /* Radii & Transitions */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--clr-text-main);
    background-color: var(--clr-bg-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--clr-text-main);
    margin-bottom: 0.5em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
    font-family: var(--ff-body);
    font-weight: 500;
}

p {
    margin-bottom: 1em;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   Layout Basics
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

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

.max-w {
    max-width: 800px;
    margin-inline: auto;
}

/* ==========================================================================
   Buttons & Micro-interactions
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--clr-accent);
    color: #fff;
    font-family: var(--ff-body);
    font-weight: 500;
    font-size: 1rem;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

@media (min-width: 768px) {
    .btn {
        width: auto;
    }
}

.btn:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(160, 109, 79, 0.2);
}

.btn-large {
    font-size: 1.125rem;
    padding: 1.5rem 3rem;
    max-width: 500px;
}

.cta-wrapper {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.micro-copy {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-text-main);
    opacity: 0.65;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.fade-in-up {
    opacity: 0;
    /* Animation handled by IntersectionObserver in JS */
}

.fade-in-up.visible {
    animation: fadeInUp 0.8s var(--transition) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.btn-pulse {
    animation: pulse 3s infinite 5s; /* Starts after 5s */
}

.highlight-soft {
    font-style: italic;
    color: var(--clr-accent);
}

/* ==========================================================================
   Sections
   ========================================================================== */

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 2rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 5rem;
    }
    .hero-content {
        padding-right: 2rem;
        text-align: left;
    }
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--clr-text-light);
    margin-top: 1.5rem;
}

.media-placeholder {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 40px var(--clr-shadow);
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-placeholder video {
    width: 100%;
    max-height: 85vh; /* Evita que o topo e a base sejam cortados em telas muito longas ou baixas */
    height: auto;
    object-fit: contain; /* Mantêm as proporções exatas de 720x1558 */
    border-radius: var(--radius-md);
}


/* Pain Section */
.pain-section {
    background-color: var(--clr-bg-alt);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-light);
    margin-bottom: 3rem;
}

.bullet-list {
    list-style: none;
    margin-bottom: 3rem;
    text-align: left;
}

.bullet-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--clr-bg-main);
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px var(--clr-shadow);
    opacity: 0;
    transform: translateY(20px);
}

.bullet-list li.visible {
    animation: fadeInUp 0.5s var(--transition) forwards;
}

.bullet-list .icon {
    color: var(--clr-accent);
    flex-shrink: 0;
}

.bullet-list p {
    margin: 0;
}

.pain-conclusion {
    text-align: center;
    font-size: 1.25rem;
    padding: 2rem;
}


/* Solution Section (Before / After) */
.solution-section {
    padding: 6rem 0;
}

.before-after-wrapper {
    max-width: 400px; /* Mobile size width */
    margin: 3rem auto;
    position: relative;
    box-shadow: 0 20px 50px var(--clr-shadow);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

@media (min-width: 768px) {
    .before-after-wrapper {
        max-width: 500px;
    }
}

.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    background: #e0e0e0;
}

.image-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-box.before {
    z-index: 1;
}

.image-box.after {
    z-index: 2;
    width: 50%; /* Default starting position */
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #fff;
    z-index: 3;
    transform: translateX(-50%);
    cursor: ew-resize;
}

.slider-handle .arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: var(--clr-accent);
}

.label {
    position: absolute;
    bottom: 20px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.before .label { right: 20px; }
.after .label { left: 20px; }


/* Features Section */
.features-section {
    background-color: var(--clr-bg-main);
    padding: 0 0 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.feature-card {
    background: var(--clr-bg-main);
    border: 1px solid var(--clr-border);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card.visible {
    animation: fadeInUp 0.5s var(--transition) forwards;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--clr-shadow);
    border-color: var(--clr-accent);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--clr-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--clr-text-light);
    margin: 0;
    font-size: 0.95rem;
}


/* Bonus Section */
.bonus-section {
    background-color: var(--clr-bg-bonus);
}

.bonus-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .bonus-container {
        grid-template-columns: 1fr 1fr;
    }
}

.badge {
    display: inline-block;
    background: var(--clr-accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.bonus-value {
    color: var(--clr-accent);
    font-weight: 500;
    margin-bottom: 2rem;
}

.bonus-list {
    list-style: none;
}

.bonus-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--clr-text-main);
}

.bonus-list svg {
    width: 20px;
    height: 20px;
    color: var(--clr-accent);
    flex-shrink: 0;
}


/* Offer Section */
.offer-section {
    background-color: #fff;
}

.guarantee-box {
    border: 2px dashed var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 3rem 1.5rem;
    max-width: 600px;
    margin: 4rem auto;
    background: var(--clr-bg-main);
}

.guarantee-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--clr-accent);
}

.guarantee-box h3 {
    margin-bottom: 1rem;
    font-family: var(--ff-heading);
}

/* FAQ Section */
.faq-section {
    background-color: var(--clr-bg-main);
}

.accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.accordion-item {
    border-bottom: 1px solid var(--clr-border);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--ff-body);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--clr-text-main);
    cursor: pointer;
}

.accordion-header .icon {
    font-size: 1.5rem;
    color: var(--clr-accent);
    transition: transform 0.3s ease;
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--clr-text-light);
    margin: 0;
}


/* Footer */
footer {
    background-color: var(--clr-bg-alt);
    padding: 3rem 0;
}

.footer-logo {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
}

.footer-links {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.footer-links a {
    color: var(--clr-text-light);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--clr-accent);
}

.separator {
    margin: 0 10px;
    color: var(--clr-border);
}

.contact, .copyright {
    font-size: 0.875rem;
    color: var(--clr-text-light);
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.75rem;
    color: var(--clr-text-light);
    opacity: 0.7;
    max-width: 600px;
    margin: 2rem auto 0;
}

/* ==========================================================================
   Sticky CTA (Mobile Only Logic)
   ========================================================================== */
.sticky-cta-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--clr-border);
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    justify-content: center;
}

.sticky-cta-container.show {
    transform: translateY(0);
}

.sticky-cta-container .btn {
    width: 100%;
    margin: 0;
    padding: 1rem;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .sticky-cta-container {
        display: none;
    }
}

/* ==========================================================================
   Marquee Section
   ========================================================================== */
.marquee-section {
    padding: 3rem 0;
    background-color: var(--clr-bg-main);
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--clr-border);
}

.marquee-row {
    width: 100vw;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
}

.mt-soft {
    margin-top: 1.5rem;
}

.marquee-track {
    display: flex;
    gap: 1.5rem;
    padding-left: 1.5rem;
    width: max-content; /* Ensure the track stretches fully */
}

.track-left {
    animation: scroll-left 25s linear infinite;
}

.track-right {
    animation: scroll-right 25s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 15px var(--clr-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.marquee-item img {
    height: 80%;
    object-fit: contain;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Shift by exactly half (one loop duplicate) */
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); } 
    100% { transform: translateX(0); }
}

/* Add mask for fading edges */
.marquee-section::before,
.marquee-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--clr-bg-main) 0%, transparent 100%);
}
.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--clr-bg-main) 0%, transparent 100%);
}
