/* --- VARIÁVEIS GLOBAIS (Emuladas de SCSS) --- */
:root {
    --color-brand: #3f2a75;
    --color-brand-hover: #2d1e55;
    --color-accent: #f4f1ea;
    --color-text-main: #222222;
    --color-text-body: #555555;
    --color-bg-gray: #f7f7f7;
    --color-white: #ffffff;
    --color-border: #e0e0e0;
    --container-max: 1140px;
    --radius-btn: 50px;
    --radius-card: 16px;
}

/* --- FLASH SALE BANNER --- */
.flash-sale-banner {
    background: var(--color-brand);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.flash-sale-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.flash-sale-text {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.countdown-timer {
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-text-main);
    line-height: 1.6;
    /* Increased for better readability */
    font-size: 1.125rem;
    /* Matches Lemonaid scale */
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.navbar__logo,
.btn {
    font-family: 'Outfit', sans-serif;
}

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

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

/* --- LAYOUT UTILS --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 2.5rem;
    /* Increased */
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-brand);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-body);
    font-size: 1.1rem;
    margin-top: -2.5rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title.text-left {
    text-align: left;
}

.section-title.text-left+.section-subtitle {
    text-align: left;
    margin-left: 0;
}

@media(max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
}

.section--gray {
    background-color: var(--color-bg-gray);
}

/* --- BUTTONS (Estilo Pill) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: var(--radius-btn);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    font-size: 1rem;
}

.btn--primary {
    background-color: var(--color-brand);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: var(--color-brand-hover);
    transform: translateY(-1px);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-brand);
}

.btn--secondary:hover {
    color: var(--color-brand-hover);
    text-decoration: underline;
}

.btn--large {
    padding: 16px 48px;
    font-size: 1.125rem;
}

@media(max-width: 768px) {
    .btn--block-mobile {
        width: 100%;
    }
}

/* --- NAVBAR --- */
.navbar {
    background: var(--color-white);
    height: 72px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar__container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-brand);
    letter-spacing: -0.5px;
}

.navbar__actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

@media(max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

/* --- HERO SECTION --- */
.hero {
    background-color: var(--color-accent);
    padding: 4rem 0 0 0;
    overflow: hidden;
}

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

@media(min-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr 1fr;
        padding-bottom: 4rem;
    }
}

.hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-brand);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

@media(min-width: 992px) {
    .hero__title {
        font-size: 4rem;
        /* Targeted Lemonaid Size */
    }
}

.hero__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-body);
    margin-bottom: 2rem;
    max-width: 480px;
}

/* --- LOGO TEXT STYLE --- */
.brand-logo-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
}

.logo-v {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-brand);
    letter-spacing: -1px;
}

.brand-logo-text--footer .logo-v {
    width: 35px;
    height: 35px;
    font-size: 1.8rem;
}

.brand-logo-text--footer .logo-text {
    font-size: 1.6rem;
    color: white;
    opacity: 0.9;
}

.hero__cta-wrapper {
    margin-bottom: 2rem;
}

.hero__price-text {
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-body);
}

.hero__img {
    width: 100%;
    max-width: 320px;
    /* Reduced size as requested */
    height: auto;
    border-radius: var(--radius-card);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: block;
    margin: 0 auto;
    /* Center on mobile if needed, or in col */
    mix-blend-mode: multiply;
    /* Blends out white background against the beige section */
}

/* --- VIDEO SHOWCASE --- */
.video-showcase {
    padding: 4rem 0;
    background-color: var(--color-white);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: #000;
}

#player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    pointer-events: none;
    z-index: 10;
}

.video-badge {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    color: var(--color-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}


.marketplace-section {
    padding: 4rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Padroniza altura */
}

.product-card--sale {
    border-color: var(--color-brand);
    box-shadow: 0 4px 15px rgba(63, 42, 117, 0.05);
}

.product-card__badge {
    position: absolute;
    top: 10px;
    left: -35px;
    background: var(--color-brand);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 40px;
    transform: rotate(-45deg);
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-card__timer-mini {
    background: #f0edf7;
    color: var(--color-brand);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.product-card__timer-mini .js-timer {
    font-family: monospace;
    font-size: 0.85rem;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.product-card__img-wrapper {
    height: 180px;
    /* Fixed height for image area */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.product-card__img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Blends out white background */
}

.product-card__tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-text-body);
    font-weight: 600;
    margin-bottom: 4px;
}

.product-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 8px;
    line-height: 1.3;
    min-height: 2.7rem;
    /* Fixes title area to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__price-wrapper {
    margin-top: auto;
    margin-bottom: 1rem;
}

.price-old {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: #999;
    font-weight: 500;
}

.product-card__price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-brand);
    /* Sale Price Color */
    margin: 0;
}

.product-card__shipping-badge {
    margin-top: -10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.product-card .btn {
    width: 100%;
    padding: 10px;
    font-size: 0.9rem;
}

/* --- FEATURES --- */
.features {
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
}

.features__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

@media(min-width: 768px) {
    .features__grid {
        justify-content: space-between;
    }
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.feature-item__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-item__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-brand);
}

.feature-item__desc {
    font-size: 0.9rem;
    color: var(--color-text-body);
}

/* --- STEPS SECTION --- */
.steps {
    padding: 5rem 0;
}

.steps__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media(min-width: 768px) {
    .steps__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-card);
    text-align: center;
}

.step-card__num {
    background: #e6e0f2;
    /* lighten($color-brand, 55%) approx */
    color: var(--color-brand);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem auto;
}

.step-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-brand);
}

.step-card__desc {
    font-size: 1rem;
    color: var(--color-text-body);
}

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

/* --- INFO BLOCK --- */
.info-block {
    padding: 5rem 0;
}

.info-block__container {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media(min-width: 768px) {
    .info-block__container {
        grid-template-columns: 1fr 1fr;
    }
}

.info-block__image img {
    border-radius: 24px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    mix-blend-mode: multiply;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    font-weight: 500;
}

.check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--color-brand);
}

/* --- FAQ --- */
.faq {
    padding: 5rem 0;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: var(--color-white);
    margin-bottom: 1rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.faq__item[open] summary {
    border-bottom: 1px solid var(--color-border);
    background-color: rgba(63, 42, 117, 0.03);
    /* rgba($color-brand, 0.03) */
}

.faq__question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.faq__question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
}

details[open] .faq__question::after {
    content: '-';
}

.faq__answer {
    padding: 1.5rem;
    color: var(--color-text-body);
    font-size: 1rem;
}

/* --- CONSULTANT PROFILE --- */
.consultant-profile {
    padding: 6rem 0;
    background: var(--color-white);
}

.consultant-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media(min-width: 768px) {
    .consultant-container {
        flex-direction: row;
        justify-content: center;
    }
}

.consultant-image-wrapper {
    flex: 0 0 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.consultant-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.5s ease;
}

.consultant-image:hover {
    filter: grayscale(0%);
}

.consultant-info {
    max-width: 500px;
    text-align: center;
}

@media(min-width: 768px) {
    .consultant-info {
        text-align: left;
    }
}

.consultant-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--color-brand);
    margin-bottom: 0.5rem;
}

.consultant-tagline {
    font-size: 1rem;
    color: var(--color-text-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.consultant-bio {
    list-style: none;
}

.consultant-bio li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--color-text-body);
}

.consultant-bio-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-body);
}

.consultant-bio-text strong {
    color: var(--color-brand);
    font-weight: 700;
}

/* --- FOOTER --- */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: #999;
    font-size: 0.875rem;
}

.footer__links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer__security {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.security-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.security-item svg {
    color: #27ae60;
}

/* --- CART STYLES --- */
.cart-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--color-brand);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(63, 42, 117, 0.3);
    cursor: pointer;
    z-index: 2000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-floating-btn:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    border: 2px solid white;
}

.cart-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 3000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-modal--active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.cart-overlay--active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-accent);
}

.cart-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-brand);
}

.cart-close {
    cursor: pointer;
    font-size: 1.5rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item__img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #f9f9f9;
    border-radius: 8px;
}

.cart-item__info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--color-text-main);
}

.cart-item__price {
    font-weight: 700;
    color: var(--color-brand);
    font-size: 1rem;
}

.cart-item__discount {
    font-size: 0.75rem;
    color: #27ae60;
    font-weight: 600;
}

.cart-item__remove {
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.cart-footer {
    padding: 2rem;
    background: #fcfcfc;
    border-top: 1px solid var(--color-border);
}

.cart-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.cart-summary-item--discount {
    color: #27ae60;
    font-weight: 600;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-brand);
}

.cart-checkout-btn {
    width: 100%;
    margin-top: 1.5rem;
    background: #25d366;
    /* WhatsApp Green */
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    transition: filter 0.2s;
}

.cart-checkout-btn:hover {
    filter: brightness(0.9);
}

.empty-cart-msg {
    text-align: center;
    padding: 3rem 0;
    color: #999;
}

/* --- SCROLL TO TOP --- */
.scroll-to-top {
    position: fixed;
    bottom: 110px;
    /* Above the cart button */
    right: 30px;
    background: white;
    color: var(--color-brand);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.scroll-to-top--active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--color-brand);
    color: white;
    transform: translateY(-5px);
}

/* --- COOKIE CONSENT --- */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--color-border);
    animation: slideUp 0.5s ease;
}

@media(min-width: 768px) {
    .cookie-consent {
        max-width: 400px;
        right: auto;
    }
}

.cookie-consent p {
    font-size: 0.875rem;
    color: var(--color-text-body);
    margin: 0;
}

.cookie-btn-group {
    display: flex;
    gap: 10px;
}

/* --- INSTALL PROMPT --- */
.install-prompt {
    position: fixed;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-brand);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(99, 71, 146, 0.4);
    z-index: 10001;
    display: none;
    align-items: center;
    gap: 15px;
    animation: slideUp 0.5s ease;
}

.install-prompt span {
    font-weight: 600;
    font-size: 0.9rem;
}

.install-btn {
    background: white;
    color: var(--color-brand);
    border: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.install-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

.install-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.install-close:hover {
    opacity: 1;
}

.cookie-btn-group .btn {
    padding: 8px 20px;
    font-size: 0.8rem;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        transform: translate(-50%, -50px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}