/* ==========================================================================
   CAJUCAP.COM.BR - DESIGN SYSTEM OFICIAL & FUNIL DE PREMIAÇÃO ROBUSTO
   ========================================================================== */

:root {
    --caju-green: #23a455;
    --caju-green-dark: #1b8744;
    --caju-green-darker: #136331;
    --caju-green-light: #e8f7ee;
    --caju-green-glow: rgba(35, 164, 85, 0.35);
    --caju-gold: #ffc700;
    --caju-gold-bright: #ffe500;
    --caju-gold-dark: #b45309;
    --caju-red: #d61822;
    --caju-red-light: #fee2e2;
    --caju-dark: #1a202c;
    --caju-text: #2d3748;
    --caju-text-muted: #64748b;
    --caju-bg: #f3f5f8;
    --caju-card: #ffffff;
    --caju-border: #e2e8f0;
    --caju-border-focus: #23a455;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --card-shadow-heavy: 0 20px 35px -10px rgba(35, 164, 85, 0.18), 0 10px 15px -5px rgba(0, 0, 0, 0.06);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset básico */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--caju-bg);
    color: var(--caju-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Canvas de Confetes da Celebração */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99999;
}

/* ==========================================================================
   1. FAIXA SUPERIOR PRETA (IDADE MÍNIMA)
   ========================================================================== */
.top-warning-bar {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 7px 16px;
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* ==========================================================================
   2. CABEÇALHO OFICIAL DO CAJUCAP.COM.BR
   ========================================================================== */
.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--caju-border);
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.header-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.header-brand-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-partner-logo .partner-logo {
    height: 44px;
    max-width: 120px;
    object-fit: contain;
}

.header-main-logo .cajucap-logo {
    height: 52px;
    max-width: 190px;
    object-fit: contain;
    transition: var(--transition);
}

.header-main-logo:hover .cajucap-logo {
    transform: scale(1.02);
}

/* Ícones Circulares Sociais Verdes Oficiais */
.header-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-circle-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--caju-green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 6px var(--caju-green-glow);
}

.social-circle-btn:hover {
    background-color: var(--caju-green-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   3. BANNER DA EDIÇÃO DO CAJU CAP
   ========================================================================== */
.edition-banner-section {
    background: linear-gradient(135deg, rgba(16, 90, 42, 0.94) 0%, rgba(24, 125, 62, 0.90) 50%, rgba(13, 75, 35, 0.94) 100%), 
                url('banner.webp') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px 58px;
    position: relative;
    border-bottom: 4px solid var(--caju-gold);
}

.edition-container {
    max-width: 860px;
    margin: 0 auto;
}

.campaign-banner-frame {
    width: 100%;
    max-width: 820px;
    margin: 12px auto 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    border: 3px solid var(--caju-gold);
    background-color: #0b3d1b;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.campaign-banner-frame:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
    border-color: var(--caju-gold-bright);
}

.campaign-banner-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1920 / 1200;
    object-fit: cover;
}

.edition-heading-wrap {
    margin-top: 8px;
}

.edition-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.live-dot {
    width: 9px;
    height: 9px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.edition-headline {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.highlight-yellow {
    color: var(--caju-gold-bright);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.highlight-green {
    color: var(--caju-green);
}

.edition-subheadline {
    font-size: 0.98rem;
    color: #f1f8f3;
    max-width: 640px;
    margin: 0 auto;
    font-weight: 400;
}

/* ==========================================================================
   5. CONTAINER PRINCIPAL DO FUNIL (ROBUSTO)
   ========================================================================== */
.funnel-wrapper {
    max-width: 680px;
    width: 92%;
    margin: -34px auto 50px;
    position: relative;
    z-index: 10;
}

.funnel-card {
    background: var(--caju-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow-heavy);
    border: 1px solid rgba(35, 164, 85, 0.18);
    overflow: hidden;
}

/* STEPPER INDICATOR DE 4 PASSOS */
.stepper-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 18px;
    background-color: #fafbfc;
    border-bottom: 1px solid var(--caju-border);
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: #64748b;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.step-name {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.step-line {
    flex: 1;
    height: 3px;
    background-color: #e2e8f0;
    margin: -18px 8px 0;
    transition: var(--transition);
}

/* Estados do Stepper */
.step-item.active .step-circle {
    background-color: var(--caju-green);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--caju-green-glow);
    border-color: #ffffff;
    transform: scale(1.08);
}

.step-item.active .step-name {
    color: var(--caju-green);
}

.step-item.completed .step-circle {
    background-color: var(--caju-green-dark);
    color: #ffffff;
}

.step-item.completed .step-name {
    color: var(--caju-green-dark);
}

.step-line.completed {
    background-color: var(--caju-green);
}

/* FAIXA TOPO DO CARD (ESTILO CARD DE PRÊMIO CAJU CAP) */
.card-ribbon-header {
    background: linear-gradient(90deg, var(--caju-green) 0%, #1e8845 100%);
    color: #ffffff;
    padding: 10px 24px;
    text-align: center;
    border-bottom: 2px solid var(--caju-gold);
}

.ribbon-text {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* ==========================================================================
   6. STEP PANELS (NOME, TELEFONE, NÚMERO, PREMIAÇÃO)
   ========================================================================== */
.step-panel {
    display: none;
    padding: 34px 30px 40px;
    animation: fadeInStep 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.step-panel.active {
    display: block;
}

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

.step-intro {
    text-align: center;
    margin-bottom: 28px;
}

.step-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    padding: 8px;
    border: 2px solid rgba(35, 164, 85, 0.28);
    box-shadow: 0 4px 14px rgba(35, 164, 85, 0.12);
    box-sizing: border-box;
    overflow: hidden;
}

.step-icon-badge .step-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--caju-dark);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.step-description {
    font-size: 0.94rem;
    color: var(--caju-text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ==========================================================================
   7. CONTROLES DE FORMULÁRIO (INPUTS & BOTÕES)
   ========================================================================== */
.input-control-wrap {
    margin-bottom: 22px;
    text-align: left;
}

.control-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

.input-inner {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--caju-green);
    pointer-events: none;
    z-index: 2;
}

.cajucap-input {
    width: 100%;
    height: 58px;
    padding: 12px 18px 12px 52px;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--caju-dark);
    background-color: #fafbfc;
    border: 2px solid var(--caju-border);
    border-radius: var(--radius-md);
    outline: none;
    transition: var(--transition);
}

.cajucap-input:focus {
    background-color: #ffffff;
    border-color: var(--caju-green);
    box-shadow: 0 0 0 4px var(--caju-green-glow);
}

.cajucap-input.bold-numbers {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--caju-green-dark);
}

.cajucap-input.error {
    border-color: var(--caju-red);
    box-shadow: 0 0 0 4px rgba(214, 24, 34, 0.15);
}

.control-error-msg {
    display: block;
    font-size: 0.82rem;
    color: var(--caju-red);
    font-weight: 600;
    margin-top: 6px;
    padding-left: 4px;
}

/* Botão Link de auxílio rápido */
.quick-auto-ticket {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -8px 0 22px;
}

.btn-link-help {
    background-color: #f0fdf4;
    border: 1.5px dashed #22c55e;
    color: #15803d;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    max-width: 100%;
    line-height: 1.25;
}

.btn-link-help:hover {
    background-color: #dcfce7;
    border-color: #16a34a;
    color: #166534;
    transform: translateY(-1px);
}

.btn-link-help svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    color: #16a34a;
    display: block;
}

.btn-link-help strong {
    font-weight: 800;
    color: #15803d;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* SISTEMA DE BOTÕES */
.step-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.btn-cajucap {
    width: 100%;
    min-height: 56px;
    height: auto;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    box-sizing: border-box;
}

.btn-cajucap:active {
    transform: scale(0.98);
}

.btn-icon,
.btn-cajucap svg {
    flex-shrink: 0;
}

.btn-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
}

.btn-label-main {
    font-family: var(--font-heading);
    font-size: 0.96rem;
    font-weight: 900;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.btn-label-sub {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.92;
    line-height: 1.1;
}

.btn-green {
    background: linear-gradient(180deg, #28b860 0%, #17783c 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px var(--caju-green-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-green:hover {
    background: linear-gradient(180deg, #2fc969 0%, #1c8e47 100%);
    box-shadow: 0 8px 24px rgba(35, 164, 85, 0.45);
    transform: translateY(-1px);
}

.btn-large {
    min-height: 60px;
    padding: 14px 22px;
}

.btn-ghost {
    background: transparent;
    color: #64748b;
    border: 1px solid var(--caju-border);
    min-height: 46px;
    height: 46px;
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-md);
}

.btn-ghost:hover {
    background: #f1f5f9;
    color: #334155;
}

.btn-whatsapp {
    background: linear-gradient(180deg, #25d366 0%, #1ba84e 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-whatsapp:hover {
    background: linear-gradient(180deg, #28e06d 0%, #1fa34c 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transform: translateY(-1px);
}

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

@keyframes btnGreenPulse {
    0% { box-shadow: 0 0 0 0 rgba(35, 164, 85, 0.7); }
    70% { box-shadow: 0 0 0 16px rgba(35, 164, 85, 0); }
    100% { box-shadow: 0 0 0 0 rgba(35, 164, 85, 0); }
}

.trust-notice-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #475569;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-pill);
    padding: 7px 18px;
    margin: 22px auto 0;
    width: fit-content;
    max-width: 100%;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.trust-notice-box svg {
    color: var(--caju-green);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: block;
}

.trust-notice-box span {
    font-weight: 600;
    line-height: 1.3;
}

/* ==========================================================================
   8. STEP 4: RESULTADO OFICIAL - TELA DE PREMIAÇÃO (PARABÉNS!)
   ========================================================================== */
.winner-consecration-header {
    text-align: center;
    margin-bottom: 26px;
}

.winner-trophy-gold {
    width: 86px;
    height: 86px;
    background: radial-gradient(circle, #fffbeb 0%, #fef3c7 70%, #fde68a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 3px solid var(--caju-gold);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.winner-trophy-gold svg {
    animation: trophyFloat 2.2s ease-in-out infinite;
}

@keyframes trophyFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.winner-status-tag {
    display: inline-block;
    background-color: var(--caju-green-light);
    color: var(--caju-green-dark);
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.7px;
    margin-bottom: 12px;
    border: 1px solid rgba(35, 164, 85, 0.25);
}

.winner-headline {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--caju-dark);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    line-height: 1.25;
}

.winner-lead {
    font-size: 1.05rem;
    color: #475569;
    max-width: 520px;
    margin: 0 auto 14px;
}

.winner-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid var(--caju-green);
    color: var(--caju-green-dark);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(35, 164, 85, 0.15);
    margin-bottom: 8px;
}

.winner-location-badge svg {
    color: var(--caju-green);
    animation: bouncePin 1.8s infinite;
    flex-shrink: 0;
}

@keyframes bouncePin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.winner-location-badge strong {
    color: #15803d;
    font-weight: 900;
}

/* CARD DE AUDITORIA DO GANHADOR */
.official-audit-card {
    background: #ffffff;
    border: 2px solid var(--caju-green);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    margin-bottom: 22px;
    box-shadow: var(--card-shadow);
    position: relative;
}

.audit-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px dashed var(--caju-border);
}

.audit-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.audit-title-wrap svg {
    flex-shrink: 0;
}

.audit-title-wrap h3 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--caju-green-dark);
    letter-spacing: 0.5px;
}

.stamp-verified {
    background-color: #22c55e;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.6px;
}

.audit-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 540px) {
    .audit-details-grid {
        grid-template-columns: 1fr;
    }
}

.audit-item {
    display: flex;
    flex-direction: column;
}

.audit-item.highlight-item {
    grid-column: 1 / -1;
    background: var(--caju-green-light);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(35, 164, 85, 0.2);
}

.item-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.item-val {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
}

.item-val.uppercase {
    text-transform: uppercase;
}

.item-val.green-bold {
    font-size: 1.25rem;
    color: var(--caju-green-dark);
    letter-spacing: 1px;
}

.item-val.status-ready {
    color: var(--caju-green);
}

.item-val.highlight-city {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--caju-green-dark);
    font-weight: 900;
}

.item-val.highlight-city svg {
    color: var(--caju-green);
    flex-shrink: 0;
}

/* CARD DO PRÊMIO CONQUISTADO (ESTILO SITE CAJUCAP.COM.BR) */
.official-prize-card {
    background: #ffffff;
    border: 2px solid var(--caju-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.15);
    margin-bottom: 24px;
}

.prize-card-header-bar {
    background: linear-gradient(90deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: center;
}

.prize-card-body {
    padding: 24px 22px;
}

/* BANNER OFICIAL COM INSERÇÃO DINÂMICA DO GANHADOR */
.cajucap-banner-container {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--caju-gold);
    background-color: #0b3d1b;
}

.banner-base-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
}

.banner-winner-overlay {
    position: absolute;
    top: 69.2%;
    left: 11.5%;
    width: 60%;
    height: 6.2%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    pointer-events: none;
    z-index: 5;
    padding-left: 2px;
    transform: rotate(-2.8deg);
    transform-origin: left center;
}

#overlay-name-text {
    font-family: 'Caveat', 'Dancing Script', 'Segoe Script', 'Segoe Print', cursive;
    font-size: clamp(1.2rem, 4.4vw, 1.95rem);
    font-weight: 700;
    color: #0b3d1b;
    letter-spacing: 0.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    line-height: 1.1;
    font-style: italic;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.prize-headline-block {
    text-align: center;
    margin-bottom: 18px;
    padding: 0 8px;
}

.prize-val-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--caju-green-dark);
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.prize-val-subtitle {
    font-size: 0.92rem;
    color: #475569;
    margin-top: 4px;
}

.prize-claim-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--caju-red-light);
    border: 1px dashed var(--caju-red);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 22px;
}

.alert-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-icon svg {
    flex-shrink: 0;
}

.alert-text p {
    font-size: 0.82rem;
    font-weight: 600;
    color: #991b1b;
}

.countdown-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--caju-red);
    letter-spacing: 1px;
}

.prize-cta-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.susep-regulatory-info {
    text-align: center;
    font-size: 0.74rem;
    color: #94a3b8;
    line-height: 1.45;
    padding: 10px;
}

/* ==========================================================================
   9. MODAL DE AUDITORIA EM TEMPO REAL (CARREGAMENTO ROBUSTO)
   ========================================================================== */
.audit-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.audit-modal-backdrop.active {
    display: flex;
}

.audit-modal-content {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: scaleModal 0.28s ease-out forwards;
}

@keyframes scaleModal {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.audit-spinner-box {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
}

.cajucap-spinner {
    width: 100%;
    height: 100%;
    border: 5px solid var(--caju-green-light);
    border-top: 5px solid var(--caju-green);
    border-radius: 50%;
    animation: spinCaju 0.85s linear infinite;
}

@keyframes spinCaju {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.audit-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--caju-dark);
    margin-bottom: 6px;
}

.audit-desc {
    font-size: 0.86rem;
    color: var(--caju-text-muted);
    margin-bottom: 22px;
    line-height: 1.4;
}

.audit-progress-container {
    width: 100%;
    height: 8px;
    background-color: #f1f5f9;
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin-bottom: 22px;
}

.audit-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--caju-green) 0%, var(--caju-gold-bright) 100%);
    border-radius: var(--radius-pill);
    transition: width 0.3s ease;
}

.audit-steps-checklist {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.audit-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: #94a3b8;
    font-weight: 600;
    transition: var(--transition);
}

.chk-status {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: inline-block;
    flex-shrink: 0;
    transition: var(--transition);
}

.audit-check-item.in-progress {
    color: var(--caju-green-dark);
}

.audit-check-item.in-progress .chk-status {
    border-color: var(--caju-green);
    border-top-color: transparent;
    animation: spinCaju 0.7s linear infinite;
}

.audit-check-item.completed {
    color: #0f172a;
}

.audit-check-item.completed .chk-status {
    background-color: var(--caju-green);
    border-color: var(--caju-green);
    position: relative;
}

.audit-check-item.completed .chk-status::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 4px;
    width: 4px;
    height: 7px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ==========================================================================
   10. RODAPÉ INSTITUCIONAL FIEL AO CAJUCAP.COM.BR
   ========================================================================== */
.main-footer {
    background-color: var(--caju-green);
    color: #ffffff;
    margin-top: auto;
    padding: 46px 20px 70px;
    border-top: 4px solid var(--caju-gold);
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
}

.footer-brand-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--caju-gold-bright);
}

.footer-description {
    font-size: 0.9rem;
    color: #e8f7ee;
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 780px;
    margin: 0 auto 38px;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 28px 0;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 22px;
    }
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
    color: var(--caju-gold-bright);
}

.footer-col p {
    font-size: 0.86rem;
    color: #f1f8f3;
    line-height: 1.5;
}

.footer-bottom-bar {
    text-align: center;
}

.footer-partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 26px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.footer-logo-img {
    height: 48px;
    max-width: 170px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   11. BARRA FIXA MOBILE E RESPONSIVIDADE TOTAL (< 768px e < 600px)
   ========================================================================== */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
    padding: 10px 16px;
    display: none;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    z-index: 999;
}

.sticky-btn-pill {
    flex: 1;
    height: 44px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.sticky-btn-pill.btn-primary-green {
    background-color: var(--caju-green);
    color: #ffffff;
}

.sticky-btn-pill.btn-outline-white {
    background-color: #25d366;
    color: #ffffff;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }
    
    .edition-headline {
        font-size: 1.6rem;
    }

    .funnel-wrapper {
        width: 95%;
        margin-top: -26px;
    }
}

@media (max-width: 600px) {
    body {
        padding-bottom: 78px; /* Evita sobreposição da barra fixa no rodapé e avisos */
    }

    /* Top Warning Bar */
    .top-warning-bar {
        font-size: 0.68rem;
        padding: 6px 10px;
    }

    /* Cabeçalho Compacto e Alinhado */
    .main-header {
        padding: 8px 12px;
    }

    .header-container {
        gap: 8px;
    }

    .header-brand-wrap {
        gap: 10px;
    }

    .header-partner-logo .partner-logo {
        height: 32px;
        max-width: 85px;
    }

    .header-main-logo .cajucap-logo {
        height: 40px;
        max-width: 140px;
    }

    .social-desktop-only {
        display: none !important;
    }

    .header-social-icons {
        gap: 6px;
    }

    .social-circle-btn {
        width: 32px;
        height: 32px;
    }

    /* Banner Edição */
    .edition-banner-section {
        padding: 18px 12px 38px;
    }

    .edition-badge {
        font-size: 0.70rem;
        padding: 4px 12px;
        margin-bottom: 8px;
    }

    .campaign-banner-frame {
        margin: 10px auto 14px;
        border-radius: 12px;
        border-width: 2.5px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    .edition-headline {
        font-size: 1.25rem;
        line-height: 1.25;
        margin-bottom: 6px;
    }

    .edition-subheadline {
        font-size: 0.84rem;
        line-height: 1.35;
    }

    /* Card Funnel Principal */
    .funnel-wrapper {
        width: 95%;
        margin: -24px auto 30px;
    }

    .funnel-card {
        border-radius: var(--radius-md);
    }

    /* Stepper Mobile */
    .stepper-indicator {
        padding: 14px 10px 10px;
    }

    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 0.80rem;
    }

    .step-name {
        font-size: 0.65rem;
        letter-spacing: 0.2px;
    }

    .step-line {
        margin: -14px 4px 0;
        height: 2px;
    }

    /* Ribbon Header */
    .card-ribbon-header {
        padding: 8px 12px;
    }

    .ribbon-text {
        font-size: 0.72rem;
        letter-spacing: 0.5px;
    }

    /* Painéis do Step */
    .step-panel {
        padding: 20px 14px 26px;
    }

    .step-panel#panel-step-winner {
        padding: 14px 8px 22px;
    }

    .step-intro {
        margin-bottom: 20px;
    }

    .step-icon-badge {
        width: 64px;
        height: 64px;
        padding: 7px;
        margin-bottom: 12px;
    }

    .step-title {
        font-size: 1.25rem;
        margin-bottom: 6px;
    }

    .step-description {
        font-size: 0.86rem;
        line-height: 1.4;
    }

    /* Inputs Mobile */
    .input-control-wrap {
        margin-bottom: 18px;
    }

    .control-label {
        font-size: 0.74rem;
        margin-bottom: 6px;
    }

    .cajucap-input {
        height: 52px;
        font-size: 1.02rem;
        padding: 10px 14px 10px 46px;
        border-radius: var(--radius-sm);
    }

    .input-icon {
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
    }

    .cajucap-input.bold-numbers {
        font-size: 1.25rem;
        letter-spacing: 1.5px;
    }

    .quick-auto-ticket {
        margin: -4px 0 18px;
    }

    .btn-link-help {
        font-size: 0.78rem;
        padding: 6px 14px;
        gap: 6px;
    }

    .btn-link-help svg {
        width: 14px;
        height: 14px;
    }

    .trust-notice-box {
        font-size: 0.72rem;
        padding: 6px 14px;
        gap: 6px;
        margin-top: 18px;
    }

    .trust-notice-box svg {
        width: 14px;
        height: 14px;
    }

    /* Botões Gerais */
    .btn-cajucap {
        min-height: 54px;
        padding: 10px 14px;
        font-size: 0.90rem;
        border-radius: 12px;
    }

    .btn-label-main {
        font-size: 0.88rem;
    }

    .btn-label-sub {
        font-size: 0.70rem;
    }

    /* Certificado de Contemplação (Card 1) */
    .official-audit-card {
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .audit-card-top {
        padding: 10px 12px;
    }

    .audit-title-wrap h3 {
        font-size: 0.78rem;
    }

    .stamp-verified {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .audit-details-grid {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 12px 10px;
    }

    .audit-item {
        padding: 8px 10px;
        font-size: 0.82rem;
    }

    .audit-item .item-label {
        font-size: 0.68rem;
    }

    /* Card Oficial de Premiação (Card 2) */
    .official-prize-card {
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .prize-card-header-bar {
        padding: 8px 10px;
        font-size: 0.74rem;
        letter-spacing: 0.5px;
    }

    .prize-card-body {
        padding: 14px 10px 18px;
    }

    .cajucap-banner-container {
        margin: 0 auto 14px;
        border-radius: 10px;
        border-width: 2.5px;
    }

    .prize-headline-block {
        margin-bottom: 14px;
        padding: 0 4px;
    }

    .prize-val-title {
        font-size: 1.45rem;
        line-height: 1.2;
    }

    .prize-val-subtitle {
        font-size: 0.84rem;
        line-height: 1.4;
    }

    .prize-claim-alert {
        padding: 10px 12px;
        margin-bottom: 16px;
        border-radius: 10px;
        gap: 8px;
    }

    .alert-text p {
        font-size: 0.76rem;
    }

    .countdown-text {
        font-size: 1.25rem;
    }

    .prize-cta-container {
        gap: 10px;
    }

    /* Barra Fixa Inferior Mobile */
    .mobile-sticky-bar {
        display: flex;
        padding: 8px 10px;
        gap: 8px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(8px);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
    }

    .sticky-btn-pill {
        height: 44px;
        border-radius: 12px;
        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: 0.3px;
    }

    .sticky-btn-pill.btn-claim-sticky {
        background: linear-gradient(180deg, #28b860 0%, #17753b 100%);
        color: #ffffff;
        flex: 1.6;
        box-shadow: 0 4px 12px rgba(35, 164, 85, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.3);
        animation: btnGreenPulse 1.8s infinite;
    }

    .sticky-btn-pill.btn-whatsapp-sticky {
        background: #25d366;
        color: #ffffff;
        flex: 1;
        box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
    }

    /* Informações SUSEP e Rodapé */
    .susep-regulatory-info {
        padding: 10px 8px 20px;
        font-size: 0.70rem;
        line-height: 1.4;
    }

    .main-footer {
        padding: 30px 14px 60px;
    }

    .footer-title {
        font-size: 1.2rem;
    }

    .footer-description {
        font-size: 0.82rem;
    }

    .footer-partner-logos {
        gap: 16px;
    }

    .footer-logo-img {
        height: 38px;
        max-width: 140px;
    }
}
