/**
 * ============================================================================
 * SEÇÃO DE OFERTA - CSS UNIFICADO E OTIMIZADO
 * ============================================================================
 * 
 * Consolidação dos arquivos:
 * - offer_styles.css (estilos base)
 * - offer-state-styles.css (estados condicionais)
 * 
 * CORREÇÕES APLICADAS:
 * - Removido conflito de especificidade
 * - Otimizado overflow e positioning
 * - Unificado sistema de animações
 * - Mobile-first mantido
 * - Estados ativos/inativos integrados
 * 
 * @version 2.0 - UNIFIED
 * @date 2025-01-15
 * ============================================================================
 */

/* ==========================================================================
   BASE DA SEÇÃO - MOBILE FIRST
   ========================================================================== */

.offer {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #fff5f0 100%);
    position: relative;
    overflow: visible; /* ✅ CORRIGIDO: Mudado de hidden para visible */
}

.offer::before {
    display: none; /* Mobile: desabilitado por padrão */
}

/* ==========================================================================
   HEADER DA OFERTA - MOBILE FIRST
   ========================================================================== */

.offer-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.offer-alert {
    background: linear-gradient(135deg, rgba(255,59,48,0.1) 0%, rgba(217,102,71,0.1) 100%);
    border: 2px solid var(--secondary);
    border-radius: 25px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(217,102,71,0.12);
    transition: all 0.3s ease; /* ✅ ADICIONADO: Transição suave */
}

/* ✅ NOVO: Animação condicional baseada no estado */
.offer--active .offer-alert {
    animation: alertPulse 2s ease-in-out infinite;
}

.offer--inactive .offer-alert {
    animation: none;
    background: rgba(128,128,128,0.1);
    border-color: var(--gray);
}

.alert-badge {
    background: var(--secondary);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    order: 1;
    transition: all 0.3s ease; /* ✅ ADICIONADO */
}

/* ✅ ESTADOS DO BADGE */
.offer--active .alert-badge {
    background: var(--secondary);
    animation: badgePulse 2s infinite;
}

.offer--inactive .alert-badge {
    background: var(--gray);
    animation: none;
}

.alert-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 2;
    transition: opacity 0.3s ease; /* ✅ ADICIONADO */
}

.offer--active .alert-timer {
    opacity: 1;
}

.offer--inactive .alert-timer {
    opacity: 0.7;
}

.timer-label {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 8px;
    text-align: center;
}

.countdown-inline {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
    justify-content: center;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 32px;
}

.time-value {
    font-size: 20px;
    font-weight: 900;
    color: var(--secondary);
    font-feature-settings: "tnum";
    line-height: 1;
    transition: all 0.3s ease; /* ✅ ADICIONADO */
}

/* ✅ ESTADO DO TIMER */
.offer--active .time-value {
    color: var(--secondary);
    animation: timerPulse 1s ease-in-out infinite;
}

.offer--inactive .time-value {
    color: var(--gray);
    animation: none;
}

.time-unit {
    font-size: 15px;
    color: var(--gray);
    text-transform: uppercase;
    margin-top: 2px;
}

.separator {
    font-size: 16px;
    color: var(--secondary);
    font-weight: 700;
    margin: 0 2px;
}

.offer--active .separator {
    animation: blink 1s infinite;
}

.offer--inactive .separator {
    animation: none;
    color: var(--gray);
}

.alert-spots {
    font-size: 15px;
    color: var(--dark);
    text-align: center;
    order: 3;
}

.alert-spots strong {
    color: var(--secondary);
    font-size: 16px;
    transition: all 0.3s ease; /* ✅ ADICIONADO */
}

.offer--active .alert-spots strong {
    animation: spotsPulse 2s infinite;
}

.offer--inactive .alert-spots strong {
    animation: none;
    color: var(--gray);
}

/* ==========================================================================
   CARDS DE OFERTA - MOBILE FIRST
   ========================================================================== */

.offer-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 60px;
}

.offer-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.offer-card.featured {
    border: 2px solid var(--secondary);
    transform: scale(1.01);
    transition: all 0.3s ease; /* ✅ ADICIONADO */
}

/* ✅ ESTADOS DO CARD FEATURED */
.offer--active .offer-card.featured {
    border-color: var(--secondary);
    box-shadow: 0 20px 60px rgba(217,102,71,0.15);
}

.offer--inactive .offer-card.featured {
    border-color: #e0e0e0;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.offer-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(217,102,71,0.02) 0%, rgba(242,176,59,0.02) 100%);
    pointer-events: none;
}

/* Ribbon - Mobile Optimized */
.offer-ribbon {
    position: absolute;
    top: 25px;
    right: -35px;
    background: linear-gradient(135deg, var(--secondary) 0%, #ff3b30 100%);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    box-shadow: 0 3px 15px rgba(217,102,71,0.25);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: all 0.3s ease; /* ✅ ADICIONADO */
}

/* ✅ CONTROLE DE VISIBILIDADE DO RIBBON */
.offer--active .offer-ribbon {
    display: flex !important;
}

.offer--inactive .offer-ribbon {
    display: none !important;
}

.ribbon-text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ribbon-percentage {
    font-size: 14px;
    font-weight: 900;
}

/* Card Header */
.card-header {
    padding: 30px 20px 25px;
    text-align: center;
    position: relative;
}

.card-header.premium {
    background: linear-gradient(135deg, rgba(42,91,127,0.05) 0%, rgba(102,124,77,0.05) 100%);
    border-bottom: 2px solid #f0f4f8;
}

.card-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.card-subtitle {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.4;
}

.card-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-item {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid rgba(42,91,127,0.2);
    min-height: 32px;
    display: flex;
    align-items: center;
}

/* Value Stack */
.value-stack {
    padding: 0 20px 25px;
}

.stack-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f4f8;
    line-height: 1.3;
}

.stack-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 15px 0;
    border-bottom: 1px dashed #e9ecef;
    transition: all 0.3s ease;
    min-height: 44px;
}

.stack-item:hover {
    background: rgba(42,91,127,0.02);
    margin: 0 -15px;
    padding: 15px;
    border-radius: 8px;
}

.item-check {
    color: var(--success);
    font-size: 18px;
    margin-top: 2px;
}

.item-content strong {
    display: block;
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.item-description {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.4;
}

.item-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    text-align: left;
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-left: 30px;
}

/* Stack Item Highlight (Bônus) */
.stack-item.highlight {
    background: linear-gradient(135deg, rgba(242,176,59,0.08) 0%, rgba(217,102,71,0.08) 100%);
    margin: 15px -15px;
    padding: 18px 15px;
    border-radius: 15px;
    border: 2px solid var(--accent);
    position: relative;
}

.offer--active .stack-item.highlight {
    animation: highlightPulse 3s ease-in-out infinite;
}

.offer--inactive .stack-item.highlight {
    animation: none;
}

.stack-item.highlight .item-check {
    color: var(--accent);
}

.stack-item.highlight .item-value.gift {
    color: var(--secondary);
    font-size: 16px;
    text-decoration: line-through;
    position: relative;
}

.stack-item.highlight .item-value.gift::after {
    content: 'GRÁTIS!';
    position: static;
    display: block;
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    width: fit-content;
    margin-top: 5px;
    text-decoration: none;
}

.offer--active .stack-item.highlight .item-value.gift::after {
    animation: giftPulse 2s infinite;
}

.offer--inactive .stack-item.highlight .item-value.gift::after {
    animation: none;
}

/* Total Value */
.total-value {
    padding: 18px 20px;
    background: #f8f9fa;
    border-top: 2px solid #e9ecef;
    border-bottom: 2px solid #e9ecef;
}

.value-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.value-label {
    font-size: 14px;
    color: var(--gray);
    order: 1;
}

.value-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    order: 2;
    transition: all 0.3s ease; /* ✅ ADICIONADO */
}

.value-amount.crossed {
    text-decoration: line-through;
    color: var(--gray);
}

/* ✅ CONTROLE DE PREÇO RISCADO */
.offer--active .value-amount.crossed {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 0.9em;
}

.offer--inactive .value-amount.crossed {
    text-decoration: none;
    opacity: 1;
    font-size: 1em;
}

/* Pricing */
.offer-pricing {
    padding: 25px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(217,102,71,0.05) 0%, rgba(242,176,59,0.05) 100%);
}

.price-tag {
    margin-bottom: 20px;
}

.price-label {
    display: block;
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 10px;
}

.price-main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.currency {
    font-size: 20px;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 8px;
}

.amount {
    font-size: 40px;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
    text-shadow: 1px 1px 3px rgba(217,102,71,0.1);
}

.price-installments {
    font-size: 14px;
    color: var(--dark);
    line-height: 1.3;
}

/* Savings Badge */
.savings-badge {
    background: rgba(255, 255, 255, 0);
    border: 2px solid var(--success);
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(102,124,77,0.15);
    transition: all 0.3s ease; /* ✅ ADICIONADO */
    color: #ac6604;
    font-size: 18px;
}

/* ✅ CONTROLE DE VISIBILIDADE DO SAVINGS BADGE */
.offer--active .savings-badge {
    display: flex !important;
    animation: fadeIn 0.5s ease-in-out;
}

.offer--inactive .savings-badge {
    display: none !important;
}

.savings-badge i {
    font-size: 24px;
    color: var(--success);
}

.savings-badge strong {
    display: block;
    font-size: 16px;
    color: var(--success);
    text-align: center;
}

.savings-badge span {
    font-size: 15px;
    color: var(--gray);
    text-align: center;
}

/* Garantia */
.guarantee-section {
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(102,124,77,0.05) 0%, rgba(42,91,127,0.05) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.guarantee-seal {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 8px 25px rgba(102,124,77,0.25);
    animation: rotateSlow 10s linear infinite;
    flex-shrink: 0;
}

.guarantee-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.3;
}

.guarantee-content p {
    color: var(--gray);
    line-height: 1.5;
    font-size: 15px;
}

/* Action Buttons */
.action-buttons {
    padding: 25px 20px 30px;
    text-align: center;
}

.btn-buy-now {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, var(--secondary) 0%, #ff3b30 100%);
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 12px 35px rgba(217,102,71,0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px;
    min-height: 44px;
}

/* ✅ ESTADOS DO BOTÃO CTA */
.offer--active .btn-buy-now {
    background: linear-gradient(135deg, var(--secondary) 0%, #ff3b30 100%);
    animation: pulseButton 2s infinite;
}

.offer--inactive .btn-buy-now {
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    animation: none;
}

.btn-buy-now::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateY(-50%);
    transition: left 0.6s ease;
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(217,102,71,0.3);
}

.btn-buy-now:hover::before {
    left: 100%;
}

.btn-secure {
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    opacity: 0.95;
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray);
    font-size: 13px;
    flex-wrap: wrap;
    text-align: center;
}

/* Urgency Notice */
.urgency-notice {
    margin: 20px 20px 25px;
    background: rgba(227, 227, 227, 55%);
    border-left: 4px solid var(--secondary);
    padding: 18px 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: all 0.3s ease; /* ✅ ADICIONADO */
}

/* ✅ CONTROLE DE VISIBILIDADE DO URGENCY NOTICE */
.offer--active .urgency-notice {
    display: flex !important;
    animation: fadeIn 0.5s ease-in-out;
}

.offer--inactive .urgency-notice {
    display: none !important;
}

.urgency-notice i {
    font-size: 22px;
    color: var(--secondary);
}

.offer--active .urgency-notice i {
    animation: shake 2s ease-in-out infinite;
}

.offer--inactive .urgency-notice i {
    animation: none;
}

.urgency-notice p {
    margin: 0;
    font-size: 16px;
    color: var(--dark);
    line-height: 1.5;
}

/* Card Básico */
.offer-card.basic {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
}

.basic-features ul {
    list-style: none;
    padding: 0;
}

.basic-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    min-height: 44px;
}

.basic-features li i {
    color: var(--success);
    font-size: 16px;
}

.basic-features li.disabled {
    opacity: 0.5;
    text-decoration: line-through;
}

.basic-features li.disabled i {
    color: var(--gray);
}

.basic-pricing {
    text-align: center;
    padding: 25px 0;
    border-top: 2px solid #f0f4f8;
    margin-top: auto;
}

.price-basic {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.1;
}

.price-condition {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.4;
}

.btn-basic {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    font-size: 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-basic:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   COMPARAÇÃO DETALHADA - MOBILE FIRST
   ========================================================================== */

.detailed-comparison {
    margin-bottom: 60px;
}

.comparison-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--dark);
    line-height: 1.3;
    padding: 0 20px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border-radius: 20px;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 15px 10px;
    text-align: center;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 2px solid #e9ecef;
    font-size: 13px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.comparison-table th.highlight-column {
    background: linear-gradient(135deg, rgba(42,91,127,0.1) 0%, rgba(102,124,77,0.1) 100%);
    position: relative;
}

.comparison-table td {
    padding: 15px 8px;
    text-align: center;
    border-bottom: 1px solid #f0f4f8;
    font-size: 13px;
    line-height: 1.4;
}

.comparison-table td.highlight-column {
    background: rgba(42,91,127,0.02);
    font-weight: 600;
}

.comparison-table .success {
    color: var(--success);
    font-size: 20px;
}

.comparison-table .danger {
    color: #ff3b30;
    font-size: 20px;
}

.comparison-table .total-row td {
    padding: 20px 8px;
    font-size: 14px;
    font-weight: 700;
    background: #f8f9fa;
}

.old-price {
    text-decoration: line-through;
    color: var(--gray);
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
}

.current-price {
    color: var(--secondary);
    font-size: 16px;
    font-weight: 700;
}

/* ==========================================================================
   SOCIAL PROOF DA OFERTA - MOBILE FIRST
   ========================================================================== */

.offer-social-proof {
    background: white;
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    margin-bottom: 40px;
}

.proof-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    min-width: 80px;
}

.proof-item i {
    font-size: 20px;
    color: var(--primary);
}

.proof-item span {
    font-size: 13px;
    color: var(--dark);
    line-height: 1.3;
}

/* ==========================================================================
   FAQ RÁPIDO - MOBILE FIRST
   ========================================================================== */

.offer-faq {
    margin-bottom: 60px;
}

.offer-faq h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--dark);
    line-height: 1.3;
    padding: 0 20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.faq-quick {
    background: white;
    padding: 20px 15px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    min-height: 44px;
}

.faq-quick:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.faq-quick h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}

.faq-quick h4 i {
    color: var(--primary);
    font-size: 20px;
}

.faq-quick p {
    color: var(--gray);
    line-height: 1.5;
    font-size: 13px;
}

/* ==========================================================================
   CTA FINAL - MOBILE FIRST
   ========================================================================== */

.offer-final-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, #ff3b30 100%);
    border-radius: 25px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(217,102,71,0.2);
}

.offer-final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.final-cta-content {
    position: relative;
    z-index: 1;
}

.final-cta-content h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.final-cta-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 25px;
    line-height: 1.5;
}

.cta-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 15px 10px;
    border-radius: 15px;
    min-width: 70px;
}

.count-number {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.count-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    margin-top: 5px;
}

.btn-final-offer {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: white;
    color: var(--secondary);
    padding: 22px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    width: 100%;
    max-width: 300px;
    min-height: 44px;
}

.btn-final-offer:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.btn-subtitle {
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    opacity: 0.9;
}

.final-disclaimer {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    line-height: 1.4;
}

.final-disclaimer i {
    margin: 0 5px;
}

/* ==========================================================================
   CREDENCIAIS EXCLUSIVAS - MOBILE FIRST
   ========================================================================== */

.exclusive-credentials {
    margin: 60px 0;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.exclusive-credentials::before {
    display: none;
}

.credentials-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.credentials-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    min-height: 44px;
}

.credentials-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.credentials-subtitle {
    font-size: 15px;
    color: var(--gray);
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.5;
}

.credentials-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.credential-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
}

.credential-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

.credential-item.featured {
    transform: scale(1.02);
    border: 2px solid var(--accent);
}

.credential-image {
    position: relative;
    height: 150px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.credential-stamp {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.credential-stamp.premium {
    background: linear-gradient(135deg, var(--accent) 0%, #ff9500 100%);
    color: white;
}

.exclusive-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--secondary) 0%, #ff3b30 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    min-height: 28px;
    display: flex;
    align-items: center;
}

.offer--active .exclusive-tag {
    animation: tagPulse 2s infinite;
}

.offer--inactive .exclusive-tag {
    animation: none;
}

.credential-info {
    padding: 20px 15px;
}

.credential-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.credential-info p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.credential-features {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.credential-features li {
    padding: 6px 0;
    font-size: 15px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
}

.credential-features i {
    color: var(--success);
    font-size: 15px;
}

.credential-item.featured .credential-features i {
    color: var(--accent);
}

.credential-value {
    background: linear-gradient(135deg, rgba(242,176,59,0.1) 0%, rgba(217,102,71,0.1) 100%);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-size: 13px;
    color: var(--dark);
}

.credential-value strong {
    color: var(--secondary);
    font-size: 16px;
}

.credentials-comparison {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.comparison-box {
    padding: 20px 15px;
    border-radius: 20px;
    text-align: center;
}

.comparison-box.negative {
    background: rgba(255,59,48,0.05);
    border: 2px dashed rgba(255,59,48,0.3);
}

.comparison-box.positive {
    background: rgba(102,124,77,0.05);
    border: 2px solid rgba(102,124,77,0.3);
}

.comparison-box h5 {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.3;
}

.comparison-box.negative h5 {
    color: #ff3b30;
}

.comparison-box.positive h5 {
    color: var(--success);
}

.comparison-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.comparison-box li {
    padding: 8px 0;
    font-size: 13px;
    color: var(--dark);
    line-height: 1.4;
    min-height: 32px;
    display: flex;
    align-items: center;
}

.comparison-box.negative li::before {
    content: '✗ ';
    color: #ff3b30;
    font-weight: 700;
    margin-right: 8px;
}

.comparison-box.positive li::before {
    content: '✓ ';
    color: var(--success);
    font-weight: 700;
    margin-right: 8px;
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    transform: rotate(90deg);
}

.vs-divider span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.credentials-cta {
    text-align: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, rgba(42,91,127,0.05) 0%, rgba(102,124,77,0.05) 100%);
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 14px;
    color: var(--dark);
    margin: 0;
    line-height: 1.5;
}

.cta-text i {
    color: var(--success);
    margin-right: 8px;
}

/* ==========================================================================
   ANIMAÇÕES OTIMIZADAS E UNIFICADAS
   ========================================================================== */

/* Animações básicas */
@keyframes alertPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1;
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.9;
    }
}

@keyframes timerPulse {
    0%, 100% { 
        transform: scale(1); 
        color: var(--secondary);
    }
    50% { 
        transform: scale(1.05); 
        color: #ff3b30;
    }
}

@keyframes spotsPulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes highlightPulse {
    0%, 100% { 
        box-shadow: 0 0 0 rgba(242,176,59,0); 
    }
    50% { 
        box-shadow: 0 0 15px rgba(242,176,59,0.25); 
    }
}

@keyframes giftPulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

@keyframes pulseButton {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 35px rgba(217,102,71,0.25);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 40px rgba(217,102,71,0.4);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-1px); }
    20%, 40%, 60%, 80% { transform: translateX(1px); }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes tagPulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS - TABLET E DESKTOP
   ========================================================================== */

/* Tablet Portrait (768px+) */
@media (min-width: 768px) {
    .offer {
        padding: 80px 0;
    }
    
    .offer::before {
        display: block;
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: 
            radial-gradient(circle at 20% 50%, rgba(217,102,71,0.03) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(242,176,59,0.03) 0%, transparent 50%);
        pointer-events: none;
    }
    
    .offer-header {
        margin-bottom: 60px;
        padding: 0;
    }
    
    .offer-alert {
        display: inline-flex;
        flex-direction: row;
        padding: 10px 30px;
        gap: 10px;
        border-radius: 60px;
        width: max-content;
    }
    
    .alert-badge {
        order: 0;
        font-size: 14px;
    }
    
    .alert-timer {
        order: 1;
    }
    
    .alert-spots {
        order: 2;
        text-align: left;
        font-size: 14px;
    }
    
    .alert-spots strong {
        font-size: 18px;
    }
    
    .time-value {
        font-size: 24px;
    }
    
    .time-unit {
        font-size: 10px;
    }
    
    .separator {
        font-size: 20px;
        margin: 0 3px;
    }
    
    .countdown-inline {
        gap: 5px;
    }
    
    .offer-cards-container {
        grid-template-columns: 2fr 1fr;
        gap: 30px;
    }
    
    .card-header {
        padding: 35px 35px 25px;
    }
    
    .card-title {
        font-size: 26px;
    }
    
    .card-subtitle {
        font-size: 16px;
    }
    
    .value-stack {
        padding: 0 35px 25px;
    }
    
    .stack-title {
        font-size: 18px;
    }
    
    .stack-item {
        grid-template-columns: auto 1fr auto;
        gap: 15px;
        padding: 18px 0;
    }
    
    .item-content strong {
        font-size: 15px;
    }
    
    .item-description {
        font-size: 13px;
    }
    
    .item-value {
        font-size: 16px;
        text-align: right;
        grid-column: auto;
        margin-top: 0;
        padding-left: 0;
    }
    
    .stack-item.highlight {
        margin: 15px -20px;
        padding: 20px;
    }
    
    .stack-item.highlight .item-value.gift::after {
        position: absolute;
        right: -30px;
        top: -35px;
        transform: translateY(-50%);
        display: inline-block;
        margin-top: 0;
    }
    
    .total-value {
        padding: 20px 35px;
    }
    
    .value-row {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .value-label {
        font-size: 16px;
    }
    
    .value-amount {
        font-size: 24px;
    }
    
    .offer-pricing {
        padding: 30px 35px;
    }
    
    .price-label {
        font-size: 16px;
    }
    
    .currency {
        font-size: 24px;
    }
    
    .amount {
        font-size: 66px;
    }
    
    .price-installments {
        font-size: 16px;
    }
    
    .savings-badge {
        flex-direction: row;
        gap: 15px;
        padding: 15px 25px;
    }
    
    .savings-badge strong {
        font-size: 18px;
        text-align: left;
    }
    
    .savings-badge span {
        font-size: 13px;
        text-align: left;
    }
    
    .guarantee-section {
        flex-direction: row;
        text-align: left;
        padding: 30px 35px;
        gap: 20px;
    }
    
    .guarantee-seal {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .guarantee-content h4 {
        font-size: 18px;
    }
    
    .guarantee-content p {
        font-size: 14px;
    }
    
    .action-buttons {
        padding: 30px 35px 35px;
    }
    
    .btn-buy-now {
        font-size: 18px;
        max-width: 500px;
        padding: 25px 50px;
    }
    
    .btn-secure {
        font-size: 13px;
    }
    
    .payment-methods {
        font-size: 14px;
        gap: 10px;
    }
    
    .urgency-notice {
        flex-direction: row;
        text-align: left;
        margin: 20px 35px 30px;
        gap: 15px;
    }
    
    .urgency-notice p {
        font-size: 14px;
    }
    
    .offer-card.basic {
        padding: 35px 30px;
    }
    
    .basic-features li {
        font-size: 15px;
    }
    
    .basic-pricing {
        padding: 30px 0;
    }
    
    .price-basic {
        font-size: 36px;
    }
    
    .price-condition {
        font-size: 14px;
    }
    
    .comparison-title {
        font-size: 28px;
        padding: 0;
    }
    
    .comparison-table th {
        padding: 18px 15px;
        font-size: 14px;
    }
    
    .comparison-table td {
        padding: 18px 12px;
        font-size: 13px;
    }
    
    .comparison-table .total-row td {
        padding: 25px 12px;
        font-size: 16px;
    }
    
    .old-price {
        font-size: 13px;
    }
    
    .current-price {
        font-size: 20px;
    }
    
    .offer-social-proof {
        padding: 30px;
    }
    
    .proof-items {
        gap: 30px;
    }
    
    .proof-item {
        flex-direction: row;
        gap: 12px;
        min-width: 120px;
    }
    
    .proof-item i {
        font-size: 24px;
    }
    
    .proof-item span {
        font-size: 16px;
    }
    
    .offer-faq h3 {
        font-size: 24px;
        padding: 0;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .faq-quick {
        padding: 25px;
    }
    
    .faq-quick h4 {
        font-size: 16px;
    }
    
    .faq-quick p {
        font-size: 14px;
    }
    
    .offer-final-cta {
        padding: 50px 35px;
        border-radius: 30px;
    }
    
    .final-cta-content h3 {
        font-size: 28px;
    }
    
    .final-cta-content p {
        font-size: 17px;
    }
    
    .cta-countdown {
        gap: 25px;
    }
    
    .countdown-item {
        padding: 18px 15px;
        min-width: 90px;
    }
    
    .count-number {
        font-size: 40px;
    }
    
    .count-label {
        font-size: 13px;
    }
    
    .btn-final-offer {
        font-size: 18px;
        padding: 26px 50px;
        display: inline-flex;
        width: auto;
        max-width: max-content;
    }
    
    .btn-subtitle {
        font-size: 13px;
    }
    
    .final-disclaimer {
        font-size: 14px;
    }
    
    .exclusive-credentials {
        padding: 50px 35px;
        border-radius: 30px;
    }
    
    .exclusive-credentials::before {
        display: block;
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(42,91,127,0.03) 0%, transparent 70%);
        animation: rotate 30s linear infinite;
    }
    
    .credentials-header {
        margin-bottom: 50px;
    }
    
    .credentials-title {
        font-size: 28px;
    }
    
    .credentials-subtitle {
        font-size: 17px;
        max-width: 700px;
    }
    
    .credentials-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .credential-image {
        height: 180px;
    }
    
    .credential-stamp {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .credential-info {
        padding: 25px 20px;
    }
    
    .credential-info h4 {
        font-size: 18px;
    }
    
    .credential-info p {
        font-size: 14px;
    }
    
    .credential-features li {
        font-size: 14px;
    }
    
    .credential-value {
        font-size: 14px;
    }
    
    .credential-value strong {
        font-size: 17px;
    }
    
    .credentials-comparison {
        grid-template-columns: 1fr auto 1fr;
        gap: 25px;
    }
    
    .comparison-box {
        padding: 25px 20px;
    }
    
    .comparison-box h5 {
        font-size: 17px;
    }
    
    .comparison-box li {
        font-size: 14px;
    }
    
    .vs-divider {
        margin: 0;
        transform: rotate(0deg);
    }
    
    .vs-divider span {
        width: 55px;
        height: 55px;
        font-size: 18px;
    }
    
    .credentials-cta {
        padding: 25px 20px;
    }
    
    .cta-text {
        font-size: 15px;
    }
}

/* Desktop (1200px+) */
@media (min-width: 1200px) {
    .offer {
        padding: 100px 0;
    }
    
    .card-header {
        padding: 40px 40px 30px;
    }
    
    .card-title {
        font-size: 28px;
    }
    
    .value-stack {
        padding: 0 40px 30px;
    }
    
    .total-value {
        padding: 20px 40px;
    }
    
    .offer-pricing {
        padding: 30px 40px;
    }
    
    .amount {
        font-size: 72px;
    }
    
    .guarantee-section {
        padding: 30px 40px;
    }
    
    .guarantee-seal {
        width: 80px;
        height: 80px;
        font-size: 30px;
    }
    
    .guarantee-content h4 {
        font-size: 20px;
    }
    
    .action-buttons {
        padding: 30px 40px 40px;
    }
    
    .btn-buy-now {
        font-size: 20px;
        padding: 28px 60px;
    }
    
    .urgency-notice {
        margin: 20px 40px 30px;
    }
    
    .offer-card.basic {
        padding: 40px;
    }
    
    .comparison-title {
        font-size: 32px;
    }
    
    .comparison-table th {
        padding: 20px;
        font-size: 15px;
    }
    
    .comparison-table td {
        padding: 20px 15px;
        font-size: 14px;
    }
    
    .comparison-table .total-row td {
        padding: 25px 15px;
        font-size: 18px;
    }
    
    .current-price {
        font-size: 24px;
    }
    
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .offer-final-cta {
        padding: 60px 40px;
    }
    
    .final-cta-content h3 {
        font-size: 32px;
    }
    
    .final-cta-content p {
        font-size: 18px;
    }
    
    .cta-countdown {
        gap: 30px;
    }
    
    .countdown-item {
        padding: 20px;
        min-width: 100px;
    }
    
    .count-number {
        font-size: 48px;
    }
    
    .count-label {
        font-size: 14px;
    }
    
    .btn-final-offer {
        font-size: 20px;
        padding: 15px 25px;
    }
    
    .exclusive-credentials {
        padding: 60px 40px;
    }
    
    .credentials-title {
        font-size: 32px;
    }
    
    .credentials-subtitle {
        font-size: 18px;
    }
    
    .credentials-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .credential-image {
        height: 200px;
    }
    
    .credential-stamp {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .credential-info {
        padding: 25px;
    }
    
    .credential-info h4 {
        font-size: 20px;
    }
    
    .credential-info p {
        font-size: 14px;
    }
    
    .credential-value strong {
        font-size: 18px;
    }
    
    .comparison-box {
        padding: 30px;
    }
    
    .comparison-box h5 {
        font-size: 18px;
    }
    
    .comparison-box li {
        font-size: 15px;
    }
    
    .vs-divider span {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .credentials-cta {
        padding: 25px;
    }
    
    .cta-text {
        font-size: 16px;
    }
}

/* ==========================================================================
   OTIMIZAÇÕES FINAIS
   ========================================================================== */

/* Print Optimization */
@media print {
    .offer {
        page-break-inside: avoid;
    }
    
    .offer::before,
    .offer-final-cta::before,
    .exclusive-credentials::before {
        display: none;
    }
    
    .btn-buy-now,
    .btn-final-offer {
        display: none;
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   ✅ CLASSES AUXILIARES PARA DEBUGGING (REMOVER EM PRODUÇÃO)
   ========================================================================== */

.debug-state-indicator {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    z-index: 999999;
    font-family: monospace;
}

.offer--active .debug-state-indicator::before {
    content: '🟢 ACTIVE';
}

.offer--inactive .debug-state-indicator::before {
    content: '🔴 INACTIVE';
}

/* Oculta indicador de debug em produção */
body:not(.debug-mode) .debug-state-indicator {
    display: none;
}

/* ============================================================================
   CONTROLE DE VISIBILIDADE DE PREÇOS
   ============================================================================ */

/* Esconder todos os preços por padrão (antes do JS carregar) */
.price-promotional,
.price-normal,
[data-price-promotional],
[data-price-normal] {
    display: none;
}

/* ============================================================================
   QUANDO PROMOÇÃO ATIVA (classe adicionada pelo JS)
   ============================================================================ */

body.promo-active .price-promotional,
body.promo-active [data-price-promotional] {
    display: block;
}

body.promo-active .price-normal[data-price-normal],
body.promo-active .price-installments.price-normal {
    display: none;
}

/* Mostrar preço normal riscado quando promoção ativa */
body.promo-active .price-normal .amount {
    display: inline;
    text-decoration: line-through;
    opacity: 0.6;
}

/* ============================================================================
   QUANDO PROMOÇÃO EXPIRADA (classe adicionada pelo JS)
   ============================================================================ */

body.promo-expired .price-normal,
body.promo-expired [data-price-normal] {
    display: block;
}

body.promo-expired .price-promotional,
body.promo-expired [data-price-promotional] {
    display: none;
}

/* Esconder badge de economia quando expirado */
body.promo-expired [data-savings] {
    display: none;
}

/* ============================================================================
   LOADING STATE (antes do JS carregar)
   ============================================================================ */

/* Opcional: mostrar skeleton ou placeholder */
body:not(.promo-active):not(.promo-expired) .offer-pricing {
    opacity: 0.5;
}

/* ============================================================================
   CONTROLE DE BÔNUS (aparecem apenas quando promoção ativa)
   ============================================================================ */

/* Esconder bônus por padrão */
.offer-bonus-item {
    display: none;
}

/* Mostrar bônus quando promoção ativa */
body.promo-active .offer-bonus-item {
    display: grid; /* ou block, dependendo do layout */
}

body.promo-expired .offer-bonus-item {
    display: none !important;
}

/* Esconder mensagem de urgência do bônus quando expirado */
body.promo-expired .urgency-notice {
    display: none;
}

/* Card secundário - preço normal quando expirado */
body.promo-expired .basic-pricing .price-basic.price-normal {
    display: block !important;
}

/* Card secundário - preço promocional quando ativo */
body.promo-active .basic-pricing .price-basic.price-promotional {
    display: block !important;
}

/* ==========================================================================
   ESTILOS PARA .installment-value (Parcelamento)
   Adicionar ao final do offer_styles.css E program_styles.css
   ========================================================================== */

/* Estilo base para valores de parcelamento */
.installment-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary, #2A5B7F);
    line-height: 1.3;
    display: inline;
}

/* Destaque maior para parcelamento promocional */
.installment-value.price-promotional {
    font-size: 20px;
    font-weight: 800;
    color: #006e05;
}

/* Parcelamento normal */
.installment-value.price-normal {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary, #2A5B7F);
}

/* ==========================================================================
   RESPONSIVO - DESKTOP
   ========================================================================== */

@media (min-width: 768px) {
    .installment-value {
        font-size: 20px;
    }
    
    .installment-value.price-promotional {
        font-size: 22px;
    }
    
    .installment-value.price-normal {
        font-size: 20px;
    }
}

@media (min-width: 1024px) {
    .installment-value {
        font-size: 22px;
    }
    
    .installment-value.price-promotional {
        font-size: 24px;
    }
    
    .installment-value.price-normal {
        font-size: 22px;
    }
}

/* ==========================================================================
   CONTROLE DE VISIBILIDADE - ELEMENTOS PROMOCIONAIS E NORMAIS
   ADICIONAR NO FINAL DO offer_styles_unified.css
   ========================================================================== */

/* ============================================================================
   TEXTOS INLINE - data-promo-text e data-normal-text
   ============================================================================ */

/* Textos promocionais - visíveis apenas quando promoção ativa */
body.promo-active [data-promo-text] {
    display: inline !important;
}

body.promo-expired [data-promo-text] {
    display: none !important;
}

/* Textos normais - visíveis apenas quando promoção expirada */
body.promo-active [data-normal-text] {
    display: none !important;
}

body.promo-expired [data-normal-text] {
    display: inline !important;
}

/* ============================================================================
   ELEMENTOS COMPLETOS - data-promo-element e data-normal-element
   ============================================================================ */

/* Elementos promocionais - visíveis apenas quando promoção ativa */
body.promo-active [data-promo-element] {
    display: block !important;
}

body.promo-expired [data-promo-element] {
    display: none !important;
}

/* Elementos normais - visíveis apenas quando promoção expirada */
body.promo-active [data-normal-element] {
    display: none !important;
}

body.promo-expired [data-normal-element] {
    display: block !important;
}

/* ============================================================================
   AJUSTES ESPECÍFICOS PARA ELEMENTOS FLEX/INLINE-FLEX
   ============================================================================ */

/* Botões e links que usam flex */
body.promo-active a[data-promo-element],
body.promo-active button[data-promo-element] {
    display: inline-flex !important;
}

body.promo-expired a[data-normal-element],
body.promo-expired button[data-normal-element] {
    display: inline-flex !important;
}

/* ============================================================================
   PARCELAMENTOS - installment-value
   ============================================================================ */

/* Parcelamento promocional */
.installment-value.price-promotional {
    font-size: 20px;
    font-weight: 800;
    color: #006e05;
    display: inline;
}

body.promo-active .installment-value.price-promotional {
    display: inline !important;
}

body.promo-expired .installment-value.price-promotional {
    display: none !important;
}

/* Parcelamento normal */
.installment-value.price-normal {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary, #2A5B7F);
    display: inline;
}

body.promo-active .installment-value.price-normal {
    display: none !important;
}

body.promo-expired .installment-value.price-normal {
    display: inline !important;
}

/* Responsivo para parcelamentos */
@media (min-width: 768px) {
    .installment-value.price-promotional {
        font-size: 22px;
    }
    
    .installment-value.price-normal {
        font-size: 20px;
    }
}

@media (min-width: 1024px) {
    .installment-value.price-promotional {
        font-size: 24px;
    }
    
    .installment-value.price-normal {
        font-size: 22px;
    }
}

/* ============================================================================
   TABELA DE COMPARAÇÃO - Ajustes específicos
   ============================================================================ */

/* Elementos promocionais na tabela */
body.promo-active .comparison-table [data-promo-element] {
    display: inline !important;
}

body.promo-expired .comparison-table [data-promo-element] {
    display: none !important;
}

/* Elementos normais na tabela */
body.promo-active .comparison-table [data-normal-element] {
    display: none !important;
}

body.promo-expired .comparison-table [data-normal-element] {
    display: inline !important;
}

/* Preço riscado na tabela */
body.promo-active .comparison-table .old-price {
    display: block !important;
}

body.promo-expired .comparison-table .old-price {
    display: none !important;
}

/* Preço atual promocional na tabela */
body.promo-active .comparison-table .current-price.price-promotional {
    display: block !important;
}

body.promo-expired .comparison-table .current-price.price-promotional {
    display: none !important;
}

/* Preço atual normal na tabela */
body.promo-active .comparison-table .current-price.price-normal {
    display: none !important;
}

body.promo-expired .comparison-table .current-price.price-normal {
    display: block !important;
}

/* Garantir que o preço normal tenha o mesmo estilo que o promocional */
.comparison-table .current-price.price-normal {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* ============================================================================
   CTA FINAL DO OFFER - Ajustes específicos
   ============================================================================ */

/* Countdown do CTA final */
body.promo-active .offer-final-cta .cta-countdown {
    display: flex !important;
}

body.promo-expired .offer-final-cta .cta-countdown {
    display: none !important;
}

/* Textos do CTA final */
body.promo-active .offer-final-cta [data-promo-text] {
    display: inline !important;
}

body.promo-expired .offer-final-cta [data-promo-text] {
    display: none !important;
}

body.promo-active .offer-final-cta [data-normal-text] {
    display: none !important;
}

body.promo-expired .offer-final-cta [data-normal-text] {
    display: inline !important;
}

