/* ===========================
   Reset e Base
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* tipografia fluida */
    --fs-xxl: clamp(1.8rem, 1.2rem + 2.2vw, 2.6rem);
    --fs-xl: clamp(1.4rem, 1.05rem + 1.5vw, 2.2rem);
    --fs-lg: clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem);
    --fs-md: clamp(1rem, 0.95rem + 0.3vw, 1.1rem);
    --fs-sm: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);

    /* espaçamentos fluidos */
    --space-xxl: clamp(56px, 5vw + 28px, 80px);
    --space-xl: clamp(48px, 4.2vw + 20px, 64px);
    --space-lg: clamp(36px, 3.2vw + 16px, 48px);
    --space-md: clamp(24px, 2.4vw + 12px, 32px);
    --space-sm: clamp(12px, 1.2vw + 8px, 20px);

    /* largura do container */
    --container-w: min(1200px, 100% - clamp(16px, 4vw, 40px)*2);

    /* sombras mais sutis em mobile */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.16);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.24);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

html,
body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #7a0a0a 0%, #b51b1b 100%);
    overflow-x: hidden;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.container {
    width: var(--container-w);
    margin-inline: auto;
}

/* Utilitários */
.hidden {
    display: none !important;
}

.highlight {
    color: yellow;
    font-weight: 700;
}

.strike {
    text-decoration: line-through;
    color: #ccc;
    font-size: 0.9em;
}

/* ===========================
   Headline
   =========================== */
.headline-section {
    padding: var(--space-lg) clamp(16px, 4vw, 20px) var(--space-md);
    text-align: center;
    background: linear-gradient(135deg, #7a0a0a 0%, #b51b1b 100%);
}

.main-headline {
    font-size: var(--fs-xxl);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: var(--space-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sub-headline {
    font-size: var(--fs-lg);
    color: #ffeaea;
    font-weight: 400;
    max-width: 60ch;
    margin: 0 auto;
}

/* ===========================
   VSL (mantido formato de celular)
   =========================== */
.vsl-section {
    padding: var(--space-lg) 20px;
    background: #ffffff;
    color: #2c2c2c;
}

/* ⚠️ NÃO ALTERADO: mantém proporção vertical (celular) */
.video-wrapper {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    /* default: mobile-first portrait 9:16 (keeps layout for small screens) */
    padding-bottom: 177.78%;
    height: 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* keep vibrant background on mobile; overridden on desktop below */
    background: linear-gradient(135deg, #ff4d4f 0%, #d9363e 100%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #d9363e;
    margin-bottom: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.video-placeholder:hover .play-button {
    background: #fff;
    transform: scale(1.1);
}

.video-text {
    color: #fff;
    font-size: var(--fs-md);
    font-weight: 600;
}

#vsl-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Desktop adjustments: use 16:9 on larger screens and force the third-party player to fill the container */
@media (min-width: 900px) {
    .video-wrapper {
        max-width: 500px;
        padding-bottom: 70%; /* 16:9 */
        background: #000; /* keep black background behind video */
        border-radius: 14px;
    }

    .video-placeholder {
        /* less aggressive red on desktop so the surrounding page doesn't feel 'red' */
        background: linear-gradient(135deg, #1f1f1f 0%, #2c2c2c 100%);
    }

    /* Force the vturb-smartplayer (and any iframes/embeds inside) to fill the wrapper
       and override inline width/max-width from the embed script. */
    vturb-smartplayer,
    vturb-smartplayer *,
    .video-placeholder > vturb-smartplayer,
    .video-placeholder iframe {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        display: block !important;
    }
}

/* ===========================
   Viewer Counter
   =========================== */
.viewer-counter-section {
    padding: var(--space-md) 20px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    color: #2c2c2c;
}

.viewer-counter {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--fs-md);
    color: #b51b1b;
    font-weight: 600;
    padding: 12px clamp(12px, 2.5vw, 16px);
    background: #ffe6e6;
    border-radius: 8px;
    border: 2px solid #ffb3b3;
}

.viewer-icon {
    font-size: 1.4rem;
    margin-right: 6px;
}

#viewer-count {
    font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.4rem);
    font-weight: 800;
    color: #930f0f;
}

/* ===========================
   Pitch / Timer
   =========================== */
.pitch-section {
    background: #f9f9f9;
    color: #2c2c2c;
}

.timer-section {
    padding: var(--space-xl) 20px;
    background: linear-gradient(135deg, #e11d2e 0%, #b31217 100%);
    text-align: center;
}

.timer-headline {
    font-size: var(--fs-xl);
    color: #fff;
    margin-bottom: var(--space-md);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse-text 2s infinite;
}

@keyframes pulse-text {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .85;
    }
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 1.8vw, 20px);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
    /* quebra melhor em telas pequenas */
}

.timer-box {
    background: #fff;
    padding: clamp(14px, 2.5vw, 24px) clamp(18px, 3vw, 30px);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    min-width: clamp(90px, 18vw, 130px);
}

.timer-number {
    display: block;
    font-size: clamp(2.2rem, 1.5rem + 3vw, 3.2rem);
    font-weight: 800;
    color: #d32f2f;
    line-height: 1;
}

.timer-label {
    display: block;
    font-size: var(--fs-sm);
    color: #666;
    text-transform: uppercase;
    margin-top: 8px;
    font-weight: 600;
}

.timer-separator {
    font-size: clamp(2.2rem, 1.5rem + 3vw, 3rem);
    color: #fff;
    font-weight: 700;
}

.timer-warning {
    color: #fff;
    font-size: var(--fs-md);
    font-weight: 700;
    margin-top: 12px;
}

/* ===========================
   Depoimentos
   =========================== */
.testimonials-section {
    padding: var(--space-xl) 20px;
    background: #fff;
    color: #2c2c2c;
}

.section-title {
    font-size: var(--fs-xl);
    text-align: center;
    margin-bottom: var(--space-lg);
    color: #7a0a0a;
    font-weight: 700;
}

.testimonials-container {
    width: min(800px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #f0c2c2;
    border-radius: 12px;
    padding: clamp(16px, 2.6vw, 24px);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4d4f 0%, #d9363e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 1rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 2px;
}

.post-time {
    font-size: .9rem;
    color: #999;
}

.testimonial-content p {
    font-size: var(--fs-md);
    line-height: 1.65;
    color: #333;
    margin-bottom: 12px;
}

.testimonial-footer {
    display: flex;
    gap: 20px;
    padding-top: 12px;
    border-top: 1px solid #f5d3d3;
    font-size: .95rem;
    color: #666;
}

.like-count,
.comment-count {
    font-weight: 600;
}

/* ===========================
   CTA + Cards
   =========================== */
.cta-section,
.final-cta-section {
    padding: var(--space-xl) 20px;
    background: linear-gradient(135deg, #fff 0%, #f7f7f7 100%);
    color: #2c2c2c;
}

.final-cta-section {
    background: linear-gradient(135deg, #7a0a0a 0%, #9b0d0d 100%);
    color: #fff;
}

.cta-headline,
.final-cta-headline {
    font-size: var(--fs-xl);
    text-align: center;
    margin-bottom: 10px;
    font-weight: 800;
    color: #7a0a0a;
}

.final-cta-headline {
    color: #ffecec;
}

.cta-subheadline,
.final-cta-subheadline {
    font-size: var(--fs-lg);
    text-align: center;
    margin-bottom: var(--space-lg);
    color: #d32f2f;
    font-weight: 600;
}

.final-cta-subheadline {
    color: #fff;
}

.urgency-text {
    text-align: center;
    font-size: clamp(1.1rem, 0.9rem + 1vw, 1.6rem);
    color: #d32f2f;
    font-weight: 700;
    margin-bottom: var(--space-md);
    animation: pulse-text 2s infinite;
}

#stock-count {
    font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem);
    color: #9a1212;
}

/* grid mais flexível e com gutters fluidos */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(16px, 2.6vw, 28px);
    width: min(1100px, 100%);
    margin: 0 auto var(--space-lg);
}

.pricing-card {
    grid-column: span 12;
    /* mobile: 1 por linha */
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
    border: 3px solid transparent;
}

@media (min-width: 640px) {
    .pricing-card {
        grid-column: span 6;
    }

    /* 2 colunas em tablets pequenos */
}

@media (min-width: 980px) {
    .pricing-card {
        grid-column: span 4;
    }

    /* 3 colunas no desktop */
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: #ffb3b3;
    transform: translateY(-2px) scale(1.02);
}

.pricing-card.featured:hover {
    transform: translateY(-4px) scale(1.04);
}

.best-value-badge {
    background: linear-gradient(135deg, #ffd9d9 0%, #ffc1c1 100%);
    color: #7a0a0a;
    text-align: center;
    padding: 10px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
}

.card-header {
    background: linear-gradient(135deg, #ff4d4f 0%, #d9363e 100%);
    padding: clamp(18px, 2.8vw, 26px);
    text-align: center;
    color: #fff;
}

.package-name {
    font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 4px;
}

.package-duration {
    font-size: var(--fs-sm);
    opacity: .95;
}

.card-body {
    padding: clamp(20px, 3vw, 28px) clamp(18px, 2.6vw, 26px);
    text-align: center;
    color: #2c2c2c;
}

.product-image {
    margin-bottom: 16px;
}

.product-image img {
    max-width: 100%;
    height: auto;
}

.bottle-placeholder {
    background: linear-gradient(135deg, #f2f2f2 0%, #ffffff 100%);
    padding: clamp(28px, 4vw, 40px) 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #7a7a7a;
}

.pricing {
    margin-bottom: 10px;
}

.price-symbol {
    font-size: 1.2rem;
    vertical-align: top;
    color: #2c2c2c;
    font-weight: 700;
}

.price-amount {
    font-size: clamp(2.2rem, 1.8rem + 2vw, 3.2rem);
    font-weight: 800;
    color: #2c2c2c;
    line-height: 1;
}

.price-period {
    display: block;
    font-size: .95rem;
    color: #666;
    margin-top: 4px;
}

.savings {
    color: #b31217;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.savings.biggest {
    color: #e11d2e;
    font-size: 1.15rem;
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 16px;
}

.features li {
    padding: 8px 0;
    color: #555;
    font-size: .95rem;
}

.card-footer {
    padding: 0 clamp(18px, 2.6vw, 26px) clamp(20px, 3vw, 28px);
}

.cta-button {
    width: 100%;
    padding: clamp(14px, 2.6vw, 18px) clamp(22px, 3.2vw, 30px);
    font-size: clamp(1rem, 0.95rem + 0.4vw, 1.15rem);
    font-weight: 800;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 12px;
    touch-action: manipulation;
}

.cta-button.primary {
    background: linear-gradient(135deg, #e11d2e 0%, #b31217 100%);
    color: #fff;
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.35);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #c81524 0%, #990f13 100%);
    box-shadow: 0 7px 20px rgba(204, 0, 0, 0.5);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #ff6b6b 0%, #e04545 100%);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 77, 79, 0.35);
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, #e04545 0%, #c93a3a 100%);
    box-shadow: 0 7px 20px rgba(255, 77, 79, 0.5);
    transform: translateY(-2px);
}

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

@keyframes pulse-button {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

.total-price {
    text-align: center;
    font-size: 1.05rem;
    color: #2c2c2c;
    font-weight: 600;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(12px, 2.6vw, 20px);
    margin-top: var(--space-md);
}

.badge {
    background: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    color: #7a0a0a;
    box-shadow: var(--shadow-sm);
    font-size: .95rem;
}

/* ===========================
   Garantia
   =========================== */
.guarantee-section {
    padding: var(--space-xl) 20px;
    background: #fff;
    color: #2c2c2c;
}

.guarantee-content {
    width: min(1000px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: clamp(20px, 4vw, 40px);
    align-items: center;
}

@media (max-width: 820px) {
    .guarantee-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .guarantee-features {
        text-align: left;
    }
}

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

.guarantee-badge img {
    max-width: 100%;
    height: auto;
}

.badge-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e11d2e 0%, #b31217 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    box-shadow: 0 5px 20px rgba(204, 0, 0, 0.35);
    border: 5px solid #fff;
    outline: 3px solid #e11d2e;
    margin-inline: auto;
}

.guarantee-title {
    font-size: var(--fs-xl);
    color: #7a0a0a;
    margin-bottom: 12px;
    font-weight: 700;
}

.guarantee-description {
    font-size: var(--fs-md);
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

.guarantee-features {
    list-style: none;
    margin-top: 16px;
}

.guarantee-features li {
    padding: 10px 0;
    font-size: 1.05rem;
    color: #b31217;
    font-weight: 600;
}

/* ===========================
   Final CTA
   =========================== */
.final-cta-headline {
    color: #ffecec;
}

.final-cta-subheadline {
    color: #fff;
}

.final-warning {
    width: min(900px, 100%);
    margin: var(--space-md) auto;
    padding: clamp(16px, 3vw, 24px);
    background: #ffe6e6;
    border: 3px solid #ffb3b3;
    border-radius: 12px;
    text-align: center;
}

.final-warning p {
    font-size: var(--fs-md);
    color: #7a0a0a;
    line-height: 1.6;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: #1a0000;
    color: #fff;
    padding: calc(var(--space-lg) + env(safe-area-inset-bottom)) 20px var(--space-lg);
    text-align: center;
}

.footer p {
    margin-bottom: 8px;
    font-size: var(--fs-sm);
}

.disclaimer {
    font-size: .9rem;
    color: #ffcccc;
    width: min(800px, 100%);
    margin: 16px auto 0;
    line-height: 1.6;
}

/* ===========================
   Breakpoints finos (apenas onde precisa)
   =========================== */
@media (max-width: 768px) {
    .timer-headline {
        letter-spacing: .5px;
    }

    .badge {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .viewer-counter {
        font-weight: 600;
    }

    .best-value-badge {
        font-size: .95rem;
        padding: 10px;
    }

    .features li {
        font-size: .95rem;
    }
}

/* mantém os ajustes antigos de tipografia para compatibilidade,
   mas agora a maioria é coberta por clamp() acima */