:root {
    /* Bakery Palette - Adjusted to be "More Brown" (Less Red) */
    --seal-brown: #32221D;    /* Deep Coffee Brown (was #49120F) */
    --falu-red: #5D3A29;      /* Medium Chocolate (was #6F1D01) */
    --fire: #7B4E36;          /* Lighter Earthy Brown (was #854023) */
    --raw-sienna: #CD7A3E;    /* Kept same - nice golden accent */
    --new-tan: #EDBE97;       /* Kept same - nice light text */

    /* Semantic Mappings */
    --primary-yellow: var(--raw-sienna);      /* Gold/Orange accent */
    --primary-orange: var(--fire);            /* Secondary accent */
    --dark-bg: var(--seal-brown);             /* Main background */
    --dark-card: rgba(73, 18, 15, 0.95);      /* Seal Brown with opacity */
    --text-white: var(--new-tan);             /* Main Text (Light) */
    --text-muted: #C8B6A6;                    /* Warm Gray Text */
    --success-green: #4CAF50;
    --danger-red: #ff4444;

    /* Theme-specific variables (Default Dark) */
    --video-bg: var(--pricing-bg); /* Updated to match Pricing section background */
    --pricing-bg: linear-gradient(135deg, var(--falu-red) 0%, var(--seal-brown) 100%);
    --navbar-bg: #73401F; /* Updated per user request */
    --audience-bg: var(--seal-brown);
    --card-border: rgba(255, 255, 255, 0.2);
    
    /* Input Variables */
    --input-bg: rgba(50, 34, 29, 0.8); /* Seal Brown with opacity */
    --input-border: var(--raw-sienna);
    
    /* Headings */
    --heading-color: #FFFFFF;
    
    /* Button Variables */
    --btn-bg: white;
    --btn-text: var(--seal-brown);
    
    /* CTA Variables */
    --cta-bg: white;
    --cta-text: var(--seal-brown);

    /* Slider Dots */
    --dot-inactive: rgba(255, 255, 255, 0.3);
}

.hero-text-side {
    flex: 1;
    max-width: 600px;
}

[data-theme="light"] {
    --dark-bg: #FFFBF7; /* Creamy White Background */
    --dark-card: #FFFFFF; /* White Cards */
    --text-white: #32221D; /* Seal Brown Text */
    --text-muted: #5D3A29; /* Darker Chocolate for better contrast */

    --video-bg: var(--pricing-bg); /* Match pricing bg */
    --pricing-bg: linear-gradient(135deg, #FFF0E0 0%, #FFFFFF 100%); /* Soft Orange to White */
    --navbar-bg: #73401F; /* Updated per user request */
    --audience-bg: #F5E6D3; /* Darker Beige for Light Mode to contrast with White Cards */
    --card-border: rgba(50, 34, 29, 0.1); /* Darker border for light theme */

    /* Adjust input backgrounds for light theme */
    --input-bg: #FFFFFF;
    --input-border: rgba(50, 34, 29, 0.3);

    /* Headings in Light Mode */
    --heading-color: #32221D;

    /* Buttons in Light Mode */
    --btn-bg: white; /* Keep Navbar button white for contrast against dark navbar */
    --btn-text: var(--seal-brown);

    /* CTA in Light Mode (Needs to be dark on light background) */
    --cta-bg: var(--seal-brown);
    --cta-text: var(--new-tan);

    /* Slider Dots Light Mode */
    --dot-inactive: rgba(50, 34, 29, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--seal-brown) 0%, var(--falu-red) 100%);
    background-attachment: fixed;
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

[data-theme="light"] body {
    background: transparent;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('https://coreva-normal.trae.ai/api/ide/v1/text_to_image?prompt=white%20frosted%20cake%20with%20strawberries%20and%20white%20chocolate%20truffles%20on%20top%2C%20dark%20moody%20lighting%2C%20cinematic%2C%20high%20resolution%2C%20food%20photography%2C%20floating%20particles&image_size=square_hd');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

[data-theme="light"] body {
    background-color: transparent; /* Allow overlay to show */
}

[data-theme="light"] .background-overlay {
    opacity: 1;
    display: block;
    /* Light overlay on top of the cake image so dark text remains readable */
    background-image: linear-gradient(rgba(255, 251, 247, 0.85), rgba(255, 251, 247, 0.85)), url('https://coreva-normal.trae.ai/api/ide/v1/text_to_image?prompt=white%20frosted%20cake%20with%20strawberries%20and%20white%20chocolate%20truffles%20on%20top%2C%20dark%20moody%20lighting%2C%20cinematic%2C%20high%20resolution%2C%20food%20photography%2C%20floating%20particles&image_size=square_hd');
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem; /* Reduced vertical padding */
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 68px; /* Slightly smaller height */
}

.theme-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-white);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    transition: transform 0.2s;
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    color: var(--primary-yellow);
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%; /* Ensure container takes full height */
    position: relative; /* Context for absolute logo */
    overflow: visible; /* Allow logo to hang out */
    width: 150px; /* Reserve space so text doesn't overlap hidden logo area */
}

.nav-logo {
    height: 120px; /* Slightly smaller to match navbar */
    width: auto;
    object-fit: contain;
    position: absolute;
    top: -28px; /* Keep overlapping effect nicely */
    left: 20px; /* Moved right as requested */
    /* Since navbar is 80px and logo is 140px, it will hang down 60px */
    z-index: 1001; /* Ensure it stays on top */
}

.btn-primary {
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-left: auto; /* Push to the right */
}

.btn-primary.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    color: white;
}

/* Mobile navbar behaviors */
@media (max-width: 768px) {
    .theme-toggle-btn {
        display: none !important;
    }
    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.4rem;
        margin-left: 0.5rem;
        cursor: pointer;
        color: #ffffff;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.96);
        backdrop-filter: blur(8px);
        padding: 0.8rem 1rem 1rem;
        z-index: 1200;
        flex-direction: column;
        gap: 0.6rem;
        box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    }
    .nav-links a {
        color: #fff;
        text-decoration: none;
        font-weight: 800;
        padding: 0.6rem 0.8rem;
        border-radius: 10px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.08);
    }
}
/* Gift Bonus Icon Standardized */
.gift-bonus-icon {
    width: 24px !important;
    height: 24px !important;
    color: var(--primary-yellow);
    flex-shrink: 0;
}

/* Pricing Table Features - Dark Card Style */
.table-features {
    list-style: none;
    padding: 0;
    margin: 1.0rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.table-features li {
    background: var(--dark-card);
    border: 1px solid var(--card-border);
    padding: 0.3rem 0.5rem; /* Further reduced padding */
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: transform 0.2s;
}

.table-features li:hover {
    transform: translateX(5px);
    border-color: var(--primary-yellow);
}

.table-features li i {
    color: var(--primary-yellow);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Bonus Styling */
.highlight-feature {
    border: 2px solid var(--primary-yellow) !important;
    background: rgba(205, 122, 62, 0.1) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.bonus-label {
    display: block;
    font-weight: 800;
    color: var(--primary-yellow);
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
}

.bonus-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Standardize Gift Icons */
.lucide-gift {
    width: 24px !important;
    height: 24px !important;
    color: var(--primary-yellow);
}

.icon-large {
    width: 24px !important;
    height: 24px !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding: 10rem 4rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    background-color: #F5E6D3;
    color: var(--seal-brown);
}

.hero-content {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-header {
    width: 100%;
    text-align: center;
}

.hero-main-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

/* Force specific elements in Hero to be light regardless of theme */
.hero-section .main-title {
    color: var(--seal-brown) !important;
    text-transform: none !important;
    font-weight: 800 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
    letter-spacing: 0.2px !important; /* letras um pouco mais próximas */
    font-size: 1.6rem;
}

.hero-section .subtitle {
    color: var(--falu-red) !important; /* Changed to dark brown for contrast */
}

[data-theme="light"] .hero-section {
    background-color: #FFF5EA;
}

[data-theme="light"] .hero-section .main-title {
    color: var(--seal-brown) !important;
    text-shadow: none;
}

[data-theme="light"] .hero-section .subtitle {
    color: var(--falu-red) !important;
    text-shadow: none;
}

.main-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none;
    color: var(--new-tan);
}

.video-title,
.audience-title,
.who-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    letter-spacing: 0.2px;
}

.main-title .title-line-2 {
    display: block;
    font-size: 100%; /* mesmo tamanho da linha 1 */
    text-transform: none !important;
}
.main-title .title-line-1 {
    text-transform: capitalize !important;
    font-weight: 900 !important; /* 'Confeiteira' em negrito */
}

.highlight-yellow {
    color: var(--primary-yellow);
}

.subtitle {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    font-size: 1.1rem; /* Slightly reduced size */
    margin-bottom: 0.3rem;
    text-shadow: none;
    line-height: 1.5;
}

.hero-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 500px;
    position: relative; /* For absolute positioning of annotations */
}

.isa-image {
    max-width: 100%;
    height: auto;
    /* Removed border-radius and box-shadow for blending */
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%); /* Fade out bottom slightly */
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

/* Annotations */
.annotation {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary-yellow);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid var(--primary-yellow);
    white-space: nowrap;
    z-index: 10;
}

.annotation::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--primary-yellow);
}

.annotation.heart-icon span {
    display: none;
}

.annotation.left {
    top: 15%; /* Moved up slightly from 20% */
    left: 190px;
    transform: translateX(-100%);
}

.annotation.left::after {
    right: -20px;
    top: 50%;
}

.annotation.right {
    bottom: 50%;
    right: 90px;
    transform: translateX(100%);
}

.annotation.right::after {
    left: -20px;
    top: 50%;
}

.annotation.heart-icon {
    /* Heart: Bottom left, aligned horizontally with '26 years' (approx bottom 30%) */
    top: auto;
    bottom: 30%;
    left: 30px;
    right: auto;
    transform: translateX(-100%);
    display: flex;
    align-items: center;
    gap: 6px;
}

.annotation.heart-icon span {
    display: inline; /* Show text on desktop too */
}

/* Ensure heart icon has connecting line on desktop if desired, or keep floating */
.annotation.heart-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--primary-yellow);
    right: -20px;
    top: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--new-tan), transparent);
}

.pricing-card {
    background: var(--dark-card);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    text-align: center;
    backdrop-filter: blur(10px);
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 350px;
}

@keyframes pulse-animation {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 187, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 187, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 187, 0, 0); }
}

@keyframes pulse-border-only {
    0% { box-shadow: 0 0 0 0 rgba(255, 187, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 187, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 187, 0, 0); }
}

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

@media (max-width: 768px) {
    .pricing-tables-container .pricing-table.featured {
        margin-top: 0.6rem;
    }
    #por-que-escolher .why-us-slider-container {
        margin-top: 1.5rem;
    }
    .btn-cta.pulse {
        animation: pulse-border-only 2s infinite;
    }
}

.how-it-works-link {
    display: block;
    text-align: center;
    color: var(--text-white);
    margin-top: 1rem;
    text-decoration: underline;
    font-size: 0.95rem; /* Increased slightly */
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s;
}

.how-it-works-link:hover {
    color: var(--primary-yellow);
}

.section-badge {
    background: var(--primary-yellow);
    color: var(--seal-brown);
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
    /* text-transform: uppercase; Removed as requested */
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Added contrast */
}

/* Recommended Badge Styling */
.bonus-label {
    color: #FFFFFF;
    font-weight: 700;
}

[data-theme="light"] .bonus-label {
    color: var(--seal-brown);
}

.recommended-badge {
    position: absolute;
    top: -18px;
    right: 0;
    background: var(--primary-yellow);
    color: #FFFFFF;
    font-weight: 900;
    padding: 0.5rem 1.5rem;
    border-radius: 8px 8px 0 0; /* Rounded top only or fully rounded? Image usually has rounded corners */
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10;
}

.pricing-table.featured {
    border: 2px solid var(--primary-yellow);
    position: relative;
    overflow: visible; /* Allow badge to stick out */
}

/* Pricing Section Title - Increased Contrast */
.pricing-section h2 {
    color: var(--heading-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Shadow for contrast */
}

[data-theme="light"] .pricing-section h2 {
    color: var(--seal-brown); /* Dark color in light theme */
    text-shadow: none;
}

.card-headline {
    background: white; /* White background for dark mode */
    color: var(--seal-brown); /* Dark text for contrast */
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

[data-theme="light"] .card-headline {
    background: var(--primary-yellow); /* Yellow for light mode */
    color: white; /* White text for light mode as requested */
}

.price-header {
    margin-bottom: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.savings {
    color: var(--success-green);
    font-size: 0.9rem;
    font-weight: 700;
}

.main-price {
    font-size: 3rem; /* Slightly smaller */
    font-weight: 900;
    color: var(--success-green); /* Verde igual economize */
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: none; /* Removed shadow as requested */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.starting-at {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 0px;
}

.btn-cta {
    background: var(--cta-bg);
    color: var(--cta-text);
    border: none;
    width: 100%;
    padding: 0.8rem; /* Reduced padding */
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
    text-decoration: none; /* Ensure no underline for links */
}

.btn-cta:hover {
    transform: scale(1.02);
    background: var(--primary-yellow); /* Mais contraste */
    color: var(--seal-brown); /* Change text to dark for better contrast on yellow */
    font-weight: 900;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--seal-brown);
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid var(--primary-yellow);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal h2 {
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.modal p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-white);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--success-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #45a049;
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar {
        padding: 0.5rem 1.5rem;
        /* Increase z-index to stay on top */
        z-index: 2000;
    }
    
    .nav-logo {
        height: 60px; /* Reduce logo on mobile */
    }

    .hero-section {
        /* Account for fixed navbar without leaving large gap */
        padding-top: 56px; 
    }

    .hero-content {
        text-align: center;
        align-items: flex-start;
    }

    .hero-text-side {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        order: 1; /* Text first */
        margin-top: 0; 
    }
    
    .hero-image-side {
        order: 2; /* Image second */
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .annotation {
        display: block; /* Show annotations on mobile too as requested */
    }
    
    /* Adjust annotation positions for mobile */
    .annotation.left {
        /* Profissional: Top Center with Arrow Down */
        top: -15%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        font-size: 0.8rem;
        white-space: normal;
        text-align: center;
        width: max-content;
        max-width: 200px;
    }

    .annotation.left::after {
        /* Vertical line pointing down */
        width: 2px;
        height: 30px;
        top: 100%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .annotation.left::before {
        display: none;
    }
    
    .annotation.right {
        /* 26 anos: Move higher up */
        top: 25%;
        bottom: auto;
        right: 0;
        transform: translateX(10%);
        font-size: 0.8rem;
    }

    .annotation.right::after {
        /* Line connecting to image (to the left of the box) */
        left: -15px; /* Adjust length */
        right: auto;
        top: 50%;
        width: 15px;
        display: block;
    }

    .annotation.heart-icon {
        /* Heart: Opposite side (Left), aligned with 26 anos */
        top: 45%; /* Moved down from 35% */
        bottom: auto;
        left: 0;
        right: auto;
        transform: translateX(-10%);
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem; /* More padding for text */
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .annotation.heart-icon i {
        width: 13px;
        height: 13px;
    }

    .annotation.heart-icon span {
        display: inline;
    }
    
    /* Hide lines only for heart icon on mobile */
    .annotation.heart-icon::after {
        display: none;
    }

    /* Mobile Typography Adjustments - Removed to use correct media query at bottom */
}

/* Whatsapp Support Item Styling */
.whatsapp-support {
    background: #E8F5E9 !important;
    border: 1px solid #4CAF50 !important;
    color: #2E7D32 !important;
    font-weight: 600;
}

.whatsapp-support i, .whatsapp-support svg {
    color: #25D366 !important;
    fill: #25D366 !important;
    stroke: none !important;
}

/* Ensure SVG matches icon size */
.whatsapp-icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1.5rem;
    }
    
    .mobile-menu-btn {
        display: none; /* Hide hamburger menu */
    }
    
    .hero-section {
        padding: 72px 0.8rem 0.8rem;
        min-height: auto;
    }
    
    .hero-main-row {
        flex-direction: column;
        width: 100%;
        gap: 2rem;
    }
    
    .hero-section .btn-primary.small {
        display: inline-flex !important;
        margin: 0.1rem auto 0 !important;
    }
    
    .hero-section .subtitle {
        font-size: calc(1.2rem - 1px) !important;
        margin-bottom: 0 !important;
    }
    
    
    .main-title {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
        margin-top: 0.2rem;
    }
    
    .main-price {
        font-size: 2.5rem;
    }

    /* Responsive overrides moved to end of file to ensure they take precedence over generic styles */
}

@media (max-width: 768px) {
    .hero-gif {
        display: flex;
        justify-content: center;
        margin-top: -2.8rem !important;
        margin-bottom: 0 !important;
    }
    .hero-gif img {
        display: block;
        margin-bottom: 0 !important;
    }
}

/* Video Section */
.video-section {
    padding: 6rem 2rem;
    /* Transparent in dark mode to show body gradient */
    background: transparent;
    text-align: center;
    position: relative;
    z-index: 1;
}

[data-theme="light"] .video-section {
    background: var(--video-bg);
}

.video-title {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--heading-color);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: #000;

@media (max-width: 768px) {
    .video-container {
    .video-section {
        padding: 3rem 1rem;
    }
        aspect-ratio: 9/16;
        max-width: 360px;
    }
}
    background: #000;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--primary-yellow);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-placeholder {
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Audience Section */
/* Video Slider Styles */
.video-slider-container {
    position: relative;
    max-width: 600px; /* Reduced from default/inline huge size */
    margin: 0 auto;
    overflow: hidden;
    padding: 0 1rem;
}

.video-track::-webkit-scrollbar {
    display: none;
}

.video-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.video-slide {
    flex: 0 0 100%; /* Default to full width of container */
    scroll-snap-align: center;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    aspect-ratio: 16/9;
}

.audience-section {
    padding: 6rem 2rem;
    /* Transparent in dark mode to show body gradient */
    background: transparent;
    text-align: center;
    position: relative;
    z-index: 1;
}

[data-theme="light"] .audience-section {
    background: var(--audience-bg);
}

.section-badge {
    background: #C57435;
    color: #FFFFFF;
    padding: 0.35rem 1.1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.audience-title {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.audience-title .highlight {
    background: linear-gradient(120deg, var(--raw-sienna), var(--new-tan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dark mode override for VOCÊ highlight */
body:not([data-theme="light"]) .audience-title .highlight {
    background: none;
    -webkit-text-fill-color: initial;
    color: #FFFFFF;
}

.audience-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials-grid { /* legacy layout if needed */ 
    display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-top: 2rem;
}
.testimonials-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
}
.testimonial-item {
    flex: 0 0 360px;
    scroll-snap-align: start;
    width: 360px;
}
@media (max-width: 768px) {
    .testimonial-item { flex: 0 0 80vw; width: 80vw; }
}
.testimonial-item img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    border: none;
    display: block;
}

/* FAQ */
#faq .audience-title {
    margin-bottom: 0.4rem;
}

#faq .audience-subtitle {
    margin-bottom: 1.5rem;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--seal-brown);
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
}

.faq-question-text {
    flex: 1;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    color: var(--seal-brown);
    transition: transform 0.2s, color 0.2s;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 1.1rem 1rem;
    font-size: 0.95rem;
    color: #5D3A29;
    line-height: 1.5;
    display: none;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.faq-item.is-open .faq-question-text {
    color: var(--primary-orange);
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary-orange);
}

/* Slider Logic (Why Us - Hybrid CSS-First) */
.why-us-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: hidden;
}

.why-us-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding-bottom: 2rem;
    cursor: grab; /* Indicate draggable */
    user-select: none; /* Prevent text selection while dragging */
}

.why-us-track.active {
    cursor: grabbing;
    scroll-snap-type: none; /* Disable snap while dragging for smoothness */
}

.why-us-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.audience-card {
    background: white;
    color: var(--seal-brown); /* Always dark text on white card */
    padding: 2rem;
    border-radius: 16px;
    width: 350px;
    flex-shrink: 0;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-top: 4px solid var(--primary-orange);
    white-space: normal;
    /* Default: fully visible */
    opacity: 1;
    transition: opacity 0.3s ease;
}

.audience-card p {
    color: #5D3A29; /* Dark Chocolate - Good contrast on white */
    font-size: 0.95rem;
    line-height: 1.5;
}

.why-us-card {
    flex: 0 0 300px; /* Base width */
    scroll-snap-align: center;
    /* Keeping audience-card styles for visuals, this just handles layout */
}

/* Inherit visual styles from audience-card if they are not applied directly via class combination */
/* But since we have both classes in HTML, .audience-card styles will apply. 
   We just need to make sure flex: 0 0 300px overrides any width/flex from audience-card if present. */
.audience-card.why-us-card {
    flex: 0 0 28%;
    width: auto;
}

@media (max-width: 768px) {
    .audience-card.why-us-card {
        flex: 0 0 80%;
        box-shadow: none;
    }

    .nav-logo {
        height: 120px;
        top: -25px; /* Moved down slightly */
        left: -15px;
    }
}

.why-us-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.why-us-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dot-inactive);
    cursor: pointer;
    transition: background 0.3s;
}

.why-us-dot.active {
    background: var(--primary-yellow);
    transform: scale(1.2);
}

/* Old Slider Styles (Removed or kept for reference? Removed to avoid confusion) */
/* .slider-container { ... } */

/* Pricing Section */
.pricing-section {
    padding: 6rem 2rem;
    background: transparent;
    text-align: center;
}

.pricing-tables-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-table {
    background: var(--dark-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.pricing-table:hover {
    transform: translateY(-10px);
    border-color: var(--falu-red);
}

.highlight-feature {
    border: 2px dashed var(--primary-yellow); /* Dotted/dashed border */
    padding: 0.4rem; /* Reduced padding */
    border-radius: 12px; /* Match border radius */
    margin: 0.2rem 0;
    display: block !important; /* Force block to stack label and content */
    background: var(--dark-card); /* Ensure it has background */
}

.bonus-label {
    display: block;
    color: var(--primary-yellow);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.icon-large {
    width: 24px;
    height: 24px;
    color: var(--primary-yellow);
}

.pricing-table.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.table-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--heading-color); /* White in dark, Dark in light */
}

.table-price {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

/* Force white price in dark mode as requested - REMOVED PER USER REQUEST */
/* body:not([data-theme="light"]) .table-price {
    color: #FFFFFF;
} */

.table-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.table-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    width: 100%;
}

.table-features li {
    margin-bottom: 0.2rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-features li i {
    color: var(--success-green);
    width: 18px;
    flex-shrink: 0;
}

/* Highlight feature styles consolidated above */

.audience-card:hover {
    transform: translateY(-10px);
}

.audience-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--raw-sienna), var(--falu-red));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: white;
}

.audience-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--seal-brown);
}

/* Who Am I Section */
.who-am-i-section {
    padding: 6rem 2rem;
    /* Transparent in dark mode to show body gradient */
    background: transparent;
    position: relative;
    z-index: 1;
}

[data-theme="light"] .who-am-i-section {
    background: var(--audience-bg);
}

.who-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem; /* Reduced gap as requested */
    text-align: left;
}

.who-text {
    flex: 1;
    max-width: 500px;
}

.who-title {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.who-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.who-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    max-width: 480px;
}

.who-image {
    width: 100%;
    max-width: 420px;
    transform: scale(1.02);
    transform-origin: center center;
    height: auto;
    border-radius: 20px;
    /* Box shadow removed as requested */
    box-shadow: none;
    /* Border removed as requested */
}

/* Responsive adjustments for Who Am I */
@media (max-width: 900px) {
    .who-content {
        flex-direction: column; /* Text Top, Image Bottom */
        text-align: center;
        gap: 2rem;
    }
    
    .who-text {
        text-align: center;
        margin: 0 auto;
    }
    
    .who-image-container {
        margin: 0 auto;
    }
}

/* Generic Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    padding: 1rem;
}

.modal-content {
    background: #FFFFFF; /* Force White Background */
    padding: 2.5rem;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.1); /* Subtle border like index cards */
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    text-align: center;
    animation: modalFadeIn 0.3s ease;
    color: var(--seal-brown); /* Dark text for white background */
}

.modal-content .table-title,
.modal-content .table-price {
    color: #000000; /* Force black for titles/prices in modal */
}

.modal-content .table-features li,
.modal-content .bonus-content {
    color: var(--falu-red); /* Darker brown/text for readability */
}

.modal-content .table-price span {
    color: #666;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #999;
    cursor: pointer;
    width: 24px;
    height: 24px;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-yellow);
}

.modal-headline {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000000; /* Black as requested */
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.modal-btn-primary {
    background: linear-gradient(135deg, var(--success-green), #2E7D32);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.modal-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.4);
}

.modal-link-secondary {
    display: block;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-link-secondary:hover {
    color: #FFFFFF;
}

/* Footer Styles */
.site-footer {
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 0;
    background: transparent; /* Match Who Am I section in dark mode */
}

[data-theme="light"] .site-footer {
    background: var(--audience-bg); /* Match Who Am I section in light mode */
}

/* Base Video Slide Style */
.video-slide {
    aspect-ratio: 16/9; /* Default for desktop */
}

/* =========================================
   Desktop Specific Overrides
   ========================================= */
@media (min-width: 769px) {
    .mobile-bottom-cta {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding-bottom: 100px; /* Raise footer above sticky CTA */
    }

    .video-slide {
        aspect-ratio: 9/16 !important; /* Mobile vertical video */
    }

    .mobile-bottom-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--raw-sienna), var(--falu-red));
        color: white;
        padding: 0.3rem 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        font-weight: 800;
        z-index: 3000;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    }

    .mobile-bottom-cta button,
    .mobile-bottom-cta a {
        border: none;
        background: white;
        color: var(--seal-brown);
        padding: 0.5rem 1rem;
        border-radius: 5px;
        font-weight: 800;
        font-size: 0.85rem;
        text-decoration: none;
        margin-left: auto; /* Ensure button is pushed to right if space permits */
        white-space: nowrap;
    }
    
    .cta-left-content {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .cta-timer {
         font-family: 'Courier New', monospace;
        font-weight: 700;
        font-size: 0.9rem;
         color: #FFEB3B;
        background: rgba(0,0,0,0.2);
        padding: 2px 6px;
        border-radius: 4px;
    }

    .cta-prices {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
    }

    .cta-prices .old {
        font-size: 0.7rem;
        text-decoration: line-through;
        opacity: 0.8;
        font-weight: 400;
    }

    .cta-prices .new {
        font-size: 0.95rem;
        font-weight: 800;
    }

     [data-theme="light"] .cta-timer {
         color: #FFFFFF;
     }

    /* Slider - Wider Cards & Peek Effect */
    .why-us-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        gap: 1rem;
        padding-right: 1.5rem; /* Peek effect for carousel indication */
    }

    .why-us-card, .audience-card {
        min-width: 75vw !important; /* Adjusted to show part of next card */
        scroll-snap-align: start;
        flex: 0 0 auto;
        width: 75vw !important;
        margin-right: 1rem; /* Ensure spacing */
    }
    
    /* Remove grid behavior if present */
    .why-us-track {
        grid-template-columns: none !important;
    }

    /* Adjust section titles - Reduced size as requested */
    .audience-title, .video-title, .who-title {
        font-size: 1.4rem !important;
    }

    /* Reduce pricing card height (padding) but keep width */
    .pricing-table {
        padding: 1.5rem 1rem !important;
    }
    
    .pricing-tables-container {
        gap: 1.5rem !important; /* Reduced from 4rem for mobile */
    }
    
    .pricing-table .table-features {
        margin-bottom: 1.5rem !important;
    }

    /* Pricing Card Text Reductions (approx -1px equivalent) */
    .pricing-table .table-title {
        font-size: 1.4rem !important; /* Was 1.5rem */
    }

    .pricing-table .table-price {
        font-size: calc(2.4rem - 2px) !important;
    }
    
    .pricing-table .main-price {
        font-size: calc(2.4rem - 2px) !important;
    }

    .pricing-table .table-features li {
        font-size: 0.9rem !important; /* Reduced slightly */
    }
    
    .bonus-label {
        font-size: 0.75rem !important; /* Reduced */
    }

    /* Modal Mobile Improvements */
    .modal-content {
        padding: 1.5rem !important;
        width: 95% !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
    }

    .modal-close {
        top: 10px !important;
        right: 10px !important;
        background: rgba(255, 255, 255, 0.8) !important;
        border-radius: 50%;
        padding: 4px;
        width: 32px !important;
        height: 32px !important;
        color: #333 !important; /* Ensure X is visible against white bg */
    }
}

/* Hero Section Overrides */
.hero-section {
    background-color: #FFF5EA !important;
}

/* Mobile Bottom CTA - Revert & Fixes */
.mobile-bottom-cta button,
.mobile-bottom-cta a {
    font-weight: 800 !important;
    border-radius: 5px !important;
}

@media (max-width: 768px) {
    /* Hide Navbar Button on Mobile */
    .navbar .btn-primary, 
    .nav-menu .btn-primary { 
        display: none !important; 
    }
}

/* Section 'Mudança inteligente' */
#substitua-planilhas {
    background-color: #FFF5EA;
}

@media (max-width: 768px) {
    #substitua-planilhas { padding-top: 5.2rem !important; }
    .audience-section,
    .video-section {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }
}

/* Availability label under CTAs */
.availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--seal-brown);
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
}
.availability svg,
.availability i { width: 20px; height: 20px; }

@media (max-width: 768px) {
    .availability {
        margin-top: -1.8rem;
        margin-bottom: 0.2rem;
    }
}

@media (max-width: 768px) {
    #substitua-planilhas .audience-title {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
        max-width: 22ch;
        margin-left: auto;
        margin-right: auto;
    }
    #substitua-planilhas img.phone-gif {
        max-width: 96vw !important;
    }
}

.planilhas-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.planilhas-copy {
    text-align: left;
}

.planilhas-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (min-width: 769px) {
    .planilhas-layout {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
    .planilhas-copy {
        flex: 1;
        max-width: 480px;
    }
    .planilhas-image {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .planilhas-image {
        order: 1;
    }
    .planilhas-copy {
        order: 2;
    }
}
