@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
   :root {
    /* Cores PrimÃ¡rias */
    --cream: #fcfbf8;
    --beige: #f2ebd9;
    --white-warm: #fffdfa;
    
    /* Cores SecundÃ¡rias */
    --olive: #6b705c;
    --red-soft: #a54646;
    --terracotta: #d4a373;
    --gold-matte: #c2a878;
    
    /* Cores de Texto */
    --text-dark: #3d3028;
    --text-gray: #4a4441;
    --text-light: #fcfbf8;
    
    /* Tipografia */
    --font-headline: 'Playfair Display', serif;
    --font-text: 'Inter', sans-serif;
    
    /* Sombras & Bordas */
    --shadow-soft: 0 10px 30px rgba(61, 48, 40, 0.05);
    --shadow-card: 0 8px 24px rgba(107, 112, 92, 0.08);
    --shadow-hover: 0 15px 40px rgba(107, 112, 92, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* EspaÃ§amentos */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-xxl: 100px;
    
    /* PadrÃ£o Costura */
    --stitch-border: 2px dashed rgba(194, 168, 120, 0.4);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: var(--text-gray);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

ul {
    list-style: none;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-spacing {
    padding: var(--spacing-xxl) 0;
}

.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-60 { margin-top: 60px; }
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.bg-cream {
    background:
        radial-gradient(ellipse at 12% 14%, rgba(212, 163, 115, 0.08), transparent 34rem),
        radial-gradient(ellipse at 88% 82%, rgba(107, 112, 92, 0.05), transparent 30rem),
        var(--cream);
}
.bg-white-warm {
    background:
        radial-gradient(ellipse at 82% 18%, rgba(194, 168, 120, 0.07), transparent 32rem),
        radial-gradient(ellipse at 14% 78%, rgba(212, 163, 115, 0.045), transparent 28rem),
        var(--white-warm);
}
.bg-olive { background-color: var(--olive); }
.bg-beige { background-color: var(--beige); }

.text-cream { color: var(--cream) !important; }
.opacity-90 { opacity: 0.9; }

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 700px;
    color: var(--text-gray);
}

.center-image {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.center-cta {
    display: flex;
    justify-content: center;
}

/* Ponto de costura decorativo */
.decorative-stitch {
    width: 100%;
    height: 1px;
    border-top: var(--stitch-border);
    opacity: 0.5;
}
.decorative-stitch.bottom {
    margin-top: -1px;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.cta-button {
    display: inline-block;
    padding: 18px 40px;
    border-radius: var(--radius-full);
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.primary-cta {
    background-color: var(--red-soft);
    color: var(--white-warm);
    border: 2px solid var(--red-soft);
}

.primary-cta:hover {
    background-color: #8f3c3c;
    color: var(--white-warm);
}

.secondary-cta {
    background-color: transparent;
    color: var(--olive);
    border: 2px solid var(--olive);
}

.secondary-cta:hover {
    background-color: var(--olive);
    color: var(--white-warm);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(165, 70, 70, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(165, 70, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(165, 70, 70, 0); }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

/* DOBRA 01: Hero */
.hero {
    position: relative;
    background-color: var(--beige);
    overflow: hidden;
    padding-top: calc(var(--spacing-xxl) + 20px);
}

.hero::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: var(--stitch-border);
    border-radius: var(--radius-lg);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.micro-headline {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gold-matte);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.hero .headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.hero .sub-headline {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
}

.hero-bullets {
    margin-bottom: var(--spacing-lg);
}

.hero-bullets li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.hero-bullets li i {
    width: 20px;
    height: 20px;
    background-color: var(--olive);
    border-radius: 50%;
    display: inline-block;
    margin-right: 12px;
    position: relative;
}

.hero-bullets li i::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    top: 3px;
    left: 7px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-badges img {
    height: 40px;
    object-fit: contain;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
}

/* DOBRA 02: O que vocÃª recebe */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background-color: var(--white-warm);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    text-align: center;
    position: relative;
    border: 1px solid rgba(194, 168, 120, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--beige);
    color: var(--olive);
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    border: 1px dashed var(--gold-matte);
}

.feature-card .card-title {
    font-size: 1.25rem;
}

.feature-card .card-text {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* DOBRA 03: DemonstraÃ§Ã£o */
.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.steps-vertical {
    margin-top: var(--spacing-lg);
    position: relative;
}

.steps-vertical::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 10px;
    bottom: 30px;
    width: 2px;
    border-left: var(--stitch-border);
}

.step-item {
    display: flex;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.step-marker {
    width: 24px;
    height: 24px;
    background-color: var(--terracotta);
    border-radius: 50%;
    margin-right: 20px;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px var(--white-warm);
}

.step-text h4 {
    font-family: var(--font-text);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.step-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* DOBRA 04: ColeÃ§Ãµes */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.collection-card {
    background-color: var(--white-warm);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-5px);
}

.collection-img {
    height: 150px;
    background-color: var(--beige);
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(194, 168, 120, 0.05) 10px, rgba(194, 168, 120, 0.05) 20px);
}

.collection-info {
    padding: var(--spacing-md);
    position: relative;
}

.project-count {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--olive);
    color: var(--white-warm);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.collection-info h3 {
    font-size: 1.3rem;
    color: var(--olive);
}

.collection-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* DOBRA 05: Como funciona */
.steps-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    font-family: var(--font-headline);
    font-size: 3rem;
    color: rgba(194, 168, 120, 0.3);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.step-card h4 {
    font-size: 1.1rem;
    font-family: var(--font-text);
}

.benefits-banner {
    background-color: var(--beige);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    border: 1px dashed var(--gold-matte);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
}

.benefits-list li {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.benefits-list li .icon-heart {
    width: 16px;
    height: 16px;
    background-color: var(--terracotta);
    display: inline-block;
    margin-right: 12px;
    clip-path: polygon(50% 100%, 0% 50%, 0% 0%, 50% 25%, 100% 0%, 100% 50%);
}

/* DOBRA 06: BÃ´nus */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.bonus-card {
    background-color: var(--white-warm);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    position: relative;
    border-top: 4px solid var(--terracotta);
}

.bonus-tag {
    position: absolute;
    top: -15px;
    left: 30px;
    background-color: var(--terracotta);
    color: var(--white-warm);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.bonus-content h3 {
    font-size: 1.3rem;
    margin-top: 10px;
}

.bonus-cover {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    box-shadow: var(--shadow-soft);
}

/* DOBRA 07: Oferta */
.offer-section {
    position: relative;
}

.offer-section::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    border: 1px dashed rgba(252, 251, 248, 0.2);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.offer-box-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: center;
    background-color: var(--white-warm);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-hover);
}

.offer-image-side img {
    width: 100%;
    border-radius: var(--radius-md);
}

.offer-card {
    padding: var(--spacing-lg);
    color: var(--text-dark);
}

.offer-card-header h3 {
    font-size: 1.8rem;
    color: var(--red-soft);
    margin-bottom: var(--spacing-md);
}

.offer-intro {
    font-weight: 600;
    font-size: 1.1rem;
}

.offer-list {
    margin-bottom: var(--spacing-lg);
}

.offer-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.icon-check-circle {
    width: 20px;
    height: 20px;
    background-color: var(--olive);
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    position: relative;
}

.icon-check-circle::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    top: 3px;
    left: 7px;
}

.price-container {
    text-align: center;
    background-color: var(--beige);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    border: 1px dashed var(--gold-matte);
}

.price-from {
    
    color: var(--text-gray);
    font-size: 0.95rem;
    display: block;
}

.price-current {
    color: var(--olive);
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    line-height: 1;
    margin: 10px 0;
}

.currency {
    font-size: 1.5rem;
    margin-top: 5px;
}

.value {
    font-size: 4rem;
    font-family: var(--font-headline);
}

.cents {
    font-size: 1.5rem;
    margin-top: 5px;
}

.price-installments {
    font-size: 0.95rem;
    font-weight: 500;
}

.offer-card .cta-button {
    width: 100%;
    display: block;
}

.secure-checkout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.secure-checkout .separator {
    color: var(--gold-matte);
}

/* DOBRA 08: Garantia e FAQ */
.guarantee-box {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    background-color: var(--beige);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(212, 163, 115, 0.3);
}

.guarantee-seal {
    width: 120px;
    flex-shrink: 0;
}

.guarantee-text h3 {
    font-family: var(--font-text);
    color: var(--terracotta);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.guarantee-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid rgba(194, 168, 120, 0.3);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 18px 24px;
    background-color: var(--white-warm);
    border: none;
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: var(--cream);
}

.accordion-header.active {
    background-color: var(--beige);
}

.icon-plus {
    position: relative;
    width: 14px;
    height: 14px;
}

.icon-plus::before, .icon-plus::after {
    content: '';
    position: absolute;
    background-color: var(--olive);
    transition: transform 0.3s ease;
}

.icon-plus::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

.icon-plus::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

.accordion-header.active .icon-plus::after {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion-content {
    background-color: var(--white-warm);
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content p {
    margin-bottom: 18px;
    margin-top: 10px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.bonus-cover {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    display: block;
}

.headline-final {
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.site-footer {
    background-color: var(--text-dark);
    color: var(--cream);
    padding: var(--spacing-lg) 0;
    font-size: 0.9rem;
}

.site-footer p {
    margin-bottom: 5px;
}

.site-footer .disclaimer {
    font-size: 0.75rem;
    color: rgba(252, 251, 248, 0.5);
    margin-top: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVO)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container,
    .demo-container,
    .offer-box-container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: var(--spacing-md);
    }
    
    .hero .headline {
        text-align: center;
    }
    
    .hero .sub-headline,
    .hero-bullets {
        text-align: center;
    }
    
    .hero-bullets li {
        justify-content: center;
    }
    
    .hero-badges {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .dual-offer-container {
        grid-template-columns: 1fr;
    }
    
    .offer-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .choose-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-badges img {
        height: auto;
        max-width: 250px;
    }
    
    .center-cta, .cta-button {
        display: block;
        text-align: center;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .demo-image {
        order: -1;
    }
    
    .offer-box-container {
        padding: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .steps-horizontal {
        grid-template-columns: 1fr 1fr;
    }
    
    .guarantee-box {
        flex-direction: column;
        text-align: center;
    }
    
    .section-spacing {
        padding: var(--spacing-xl) 0;
    }
    
    .offer-card {
        padding: var(--spacing-sm);
    }
    
    .bonus-grid.mobile-carousel {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
        scrollbar-width: none; /* Firefox */
    }
    .bonus-grid.mobile-carousel::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }

    .bonus-grid.mobile-carousel .bonus-card {
        min-width: 85%;
        scroll-snap-align: center;
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .steps-horizontal {
        grid-template-columns: 1fr;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
}
/*

DUAL

OFFER

LAYOUT

*/

/* Tabela de Comparacao */
.comparison-section { padding: var(--spacing-xxl) 0; background-color: var(--white-warm); }
.comparison-table-wrapper { overflow-x: auto; max-width: 900px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; }
.comparison-table th, .comparison-table td { padding: 15px 20px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.comparison-table th { background-color: var(--beige); color: var(--text-dark); font-family: var(--font-headline); font-size: 1.1rem; }
.comparison-table th.col-highlight { background-color: var(--olive); color: #fff; }
.comparison-table td.col-highlight { background-color: rgba(107, 112, 92, 0.05); font-weight: 600; }
.comparison-table tr:last-child td { border-bottom: none; font-weight: 700; font-size: 1.2rem; }

/* Sticky CTA Mobile */
.sticky-cta-mobile {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background-color: #fff; padding: 15px; box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 1000; display: none; text-align: center; justify-content: space-between; align-items: center;
    transform: translateY(100%); transition: transform 0.3s ease-in-out;
}
.sticky-cta-mobile.visible { transform: translateY(0); display: flex; }
.sticky-cta-text { font-family: var(--font-headline); color: var(--text-dark); font-size: 1rem; text-align: left; line-height: 1.2; font-weight: 600; }
.sticky-cta-mobile .cta-button { padding: 10px 20px; font-size: 0.9rem; }

@media (min-width: 769px) { .sticky-cta-mobile { display: none !important; } }

/* Carrossel Horizontal Genérico (Exemplos e Prova) */
.horizontal-carousel-wrapper {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.horizontal-carousel-wrapper::-webkit-scrollbar { display: none; }
.horizontal-carousel-item {
    flex: 0 0 32%; scroll-snap-align: start;
    background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); overflow: hidden;
}
.horizontal-carousel-item img { width: 100%; height: auto; display: block; }
.horizontal-carousel-content { padding: 15px; }

@media (max-width: 768px) {
    .horizontal-carousel-item { flex: 0 0 85%; scroll-snap-align: center; }
}

/* Bundle Visual */
.bundle-visual-box { text-align: center; padding: 40px 20px; background-color: var(--beige); border-radius: var(--radius-lg); max-width: 900px; margin: 0 auto 40px auto; border: 1px dashed var(--gold-matte); }
.bundle-visual-box h2 { font-size: 2rem; margin-bottom: 20px; color: var(--terracotta); }
.bundle-visual-box img { max-width: 100%; border-radius: var(--radius-sm); }


/* Estilos para Vimeo VSL na Dobra 4 */
.vsl-video { width: 100%; aspect-ratio: 9/16; border-radius: var(--radius-md) var(--radius-md) 0 0; display: block; background-color: #000; pointer-events: none; }
@media (min-width: 769px) { .vsl-video { aspect-ratio: 4/5; } }


/* ==========================================
   BARRA DE URGÊNCIA (TOP BAR)
   ========================================== */
.urgency-bar {
    background-color: var(--red-soft);
    color: #ffffff;
    padding: 12px 15px;
    width: 100%;
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.urgency-text {
    font-family: var(--font-headline);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 12px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.urgency-timer {
    font-family: monospace, sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    background: rgba(0,0,0,0.25);
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 2px;
}

@keyframes panicPulseText {
    0% { transform: scale(1); color: #fff; }
    50% { transform: scale(1.05); color: #ffeb3b; }
    100% { transform: scale(1); color: #fff; }
}

@keyframes panicPulseBox {
    0% { background-color: var(--red-soft); }
    50% { background-color: #d32f2f; }
    100% { background-color: var(--red-soft); }
}

.urgency-bar.panic-mode {
    animation: panicPulseBox 1s infinite;
}

.urgency-bar.panic-mode .urgency-text {
    color: #ffeb3b;
    animation: panicPulseText 1s infinite;
}

.urgency-bar.panic-mode .urgency-timer {
    color: #ffeb3b;
    background: rgba(0,0,0,0.5);
    animation: panicPulseText 1s infinite;
}

@media (max-width: 768px) {
    .urgency-text {
        font-size: 0.95rem;
        margin-right: 0;
        margin-bottom: 6px;
        width: 100%;
    }
    .urgency-timer {
        font-size: 1.3rem;
    }
}


/* FIXES: URGENCY BAR STICKY & MOBILE INLINE */
.urgency-bar {
    position: sticky;
    top: 0;
    z-index: 10000;
}
.urgency-bar .container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
@media (max-width: 768px) {
    .urgency-text {
        font-size: 0.75rem !important;
        width: auto !important;
        margin: 0 !important;
        white-space: nowrap;
    }
    .urgency-timer {
        font-size: 1.05rem !important;
        padding: 2px 6px !important;
    }
}

/* FIXES: BONUS IMAGE MOBILE SIZE */
.bonus-cover {
    max-width: 250px;
    margin: 0 auto 15px auto;
    display: block;
}

/* ==========================================
   FIXES DE RESPONSIVIDADE (MOBILE OVERFLOWS)
   ========================================== */
@media (max-width: 768px) {
    /* Ajuste do Carrossel de Bonus (Sangria Lateral) */
    .bonus-grid.mobile-carousel {
        padding-left: var(--spacing-md) !important;
        padding-right: var(--spacing-md) !important;
        margin-left: calc(var(--spacing-md) * -1) !important;
        margin-right: calc(var(--spacing-md) * -1) !important;
        width: calc(100% + (var(--spacing-md) * 2)) !important;
        gap: 15px !important;
    }
    .bonus-grid.mobile-carousel .bonus-card {
        min-width: 85% !important; /* Permite que o proximo card apareça um pouco */
        scroll-snap-align: center;
    }
    
    /* Ajuste da Tabela de Comparação (Caber na tela) */
    .comparison-table-wrapper {
        margin-left: calc(var(--spacing-md) * -1) !important;
        margin-right: calc(var(--spacing-md) * -1) !important;
        width: calc(100% + (var(--spacing-md) * 2)) !important;
        border-radius: 0 !important;
    }
    .comparison-table th, .comparison-table td {
        padding: 10px 6px !important;
        font-size: 0.85rem !important;
    }
    .comparison-table th {
        font-size: 0.9rem !important;
    }
    .comparison-table tr:last-child td {
        font-size: 1.05rem !important;
    }
}

.mobile-break { display: none; }
@media (max-width: 768px) {
    .mobile-break { display: block; }
}


/* ==========================================================================
   DUAL OFFER LAYOUT
   ========================================================================== */
.dual-offer-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.offer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    background-color: var(--white-warm);
    border-radius: var(--radius-lg);
    color: var(--text-dark);
}

.main-offer-card {
    border: 3px solid var(--gold);
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hook-offer-card {
    opacity: 0.95;
    transform: scale(0.98);
}

.offer-badge-top {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red-soft);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 3;
    white-space: nowrap;
}

.secondary-badge {
    background: var(--olive);
    border: 1px solid var(--gold-matte);
}

.choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.choose-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px dashed rgba(255,255,255,0.2);
    text-align: left;
}

.choose-card.highlight {
    background: rgba(201, 162, 39, 0.1);
    border-color: var(--gold-matte);
}

.choose-card h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.choose-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #eee;
}

.secondary-cta {
    background: transparent;
    border: 2px solid var(--gold-matte);
    color: var(--gold);
}

.secondary-cta:hover {
    background: var(--gold-matte);
    color: #111;
}

@media (max-width: 992px) {
    .dual-offer-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .main-offer-card, .hook-offer-card {
        transform: none;
    }
    
    .choose-grid {
        grid-template-columns: 1fr;
    }
}

/* Melhorias de Borda e Destaque para Ofertas */
.basic-offer {
    border: 2px solid var(--gold-matte);
}

.premium-offer {
    border: 3px solid var(--red-soft);
    box-shadow: 0 20px 45px rgba(165, 70, 70, 0.15);
    transform: scale(1.04);
    z-index: 2;
    background-color: #fff9f6; /* Um fundo bem suave para destacar mais */
}

@media (max-width: 992px) {
    .premium-offer {
        transform: none; /* Evitar que estoure a tela no mobile */
        border-width: 2px;
    }
}


/* ==========================================================================
   MODAL DE OFERTA / DOWNSELL / ORDER BUMP
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(61, 48, 40, 0.8);
    backdrop-filter: blur(5px);
}

.modal__caixa {
    position: relative;
    background-color: var(--white-warm);
    width: 90%;
    max-width: 650px;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    z-index: 2;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    max-height: 95vh;
    overflow-y: auto;
    border: 2px solid var(--gold-matte);
}

.modal.active .modal__caixa {
    transform: translateY(0) scale(1);
}

.modal__fechar {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal__fechar:hover {
    color: var(--red-soft);
}

.modal__header {
    text-align: center;
    margin-bottom: 20px;
}

.modal__badge {
    background-color: var(--red-soft);
    color: var(--white-warm);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

#modal-titulo {
    font-size: 1.8rem;
    color: var(--olive);
    margin-bottom: 10px;
    font-family: var(--font-headline);
    font-weight: 700;
}

/* NOVO: OPÇÕES GRID NO MODAL */
.modal-options-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
}

.modal-option-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-option-card.highlight {
    border: 2px solid var(--gold);
    background: var(--beige);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: scale(1.02);
}

.badge-upgrade {
    background: var(--gold);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    margin: -35px auto 10px auto;
}

.modal-option-card h4 {
    color: var(--olive);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.option-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    flex-grow: 1;
}

.option-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red-soft);
    margin-bottom: 15px;
}

.modal-option-card.highlight .option-price {
    font-size: 1.7rem;
}

@media (max-width: 600px) {
    .modal-options-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .modal-option-card.highlight {
        transform: none;
    }
    
    .badge-upgrade {
        margin: -30px auto 10px auto;
    }
}

/* ==========================================================================
   STORY CAROUSEL COMPONENT
   ========================================================================== */

.story-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    background: transparent;
}

/* ----------------------------------
   DESKTOP (4 COLUMNS)
----------------------------------- */
.story-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.story-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.story-slide {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* Soft dim on non-active desktop slides */
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    background: #000;
}

.story-slide.active {
    opacity: 1;
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.story-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 9/16; /* Typical story ratio */
}

/* Progress bar inside each card (Desktop) */
.story-progress-desktop {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    z-index: 10;
    overflow: hidden;
}

.story-progress-desktop .progress-segment {
    width: 100%;
    height: 100%;
}

.story-progress-desktop .progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 4px;
}

/* On Desktop we hide the global mobile progress and touch zones */
.story-progress-mobile {
    display: none;
}
.story-touch-zones {
    display: none;
}


/* ----------------------------------
   MOBILE (1 ITEM, INSTAGRAM STYLE)
----------------------------------- */
@media (max-width: 768px) {
    .story-container {
        position: relative;
        max-width: 400px;
        margin: 0 auto;
        border-radius: 16px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }

    .story-grid, .story-grid-5 {
        display: block; /* Stack slides completely on top of each other */
        position: relative;
        aspect-ratio: 9/16; /* Keeps mobile portrait layout */
    }

    .story-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transform: none !important;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    .story-slide.active {
        opacity: 1;
    }

    /* Hide individual desktop progress bars */
    .story-progress-desktop {
        display: none;
    }

    /* Show Global Mobile Progress Bars */
    .story-progress-mobile {
        display: flex;
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        gap: 5px;
        z-index: 20;
    }

    .story-progress-mobile .progress-segment {
        flex: 1;
        height: 3px;
        background: rgba(255,255,255,0.4);
        border-radius: 2px;
        overflow: hidden;
    }

    .story-progress-mobile .progress-fill {
        height: 100%;
        width: 0%;
        background: #fff;
        border-radius: 2px;
    }

    /* Completed segments stay full */
    .story-progress-mobile .progress-segment.completed .progress-fill {
        width: 100% !important;
        transition: none;
    }

    /* Touch Zones for clicking left/right */
    .story-touch-zones {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 15;
    }

    .touch-zone {
        height: 100%;
    }

    .touch-zone.left {
        width: 30%; /* Tapping left 30% goes back */
    }

    .touch-zone.right {
        width: 70%; /* Tapping right 70% goes forward */
    }
}
