/* ==========================================================================
   DESIGN SYSTEM & CUSTOM STYLES: QUIZZ - CRISTIANE MARTINS
   Premium, Minimalist, Feminine & Conversion-Oriented CSS (Mobile-First)
   ========================================================================== */

/* Variables */
:root {
    --bg-main: #FAF9F8;        /* Off-white limpo moderno, sem bege apagado */
    --bg-card: #FFFFFF;        /* Branco puro para destacar elementos */
    --text-primary: #1F1A17;   /* Cinza escuro quase preto */
    --text-muted: #6B7280;     /* Cinza médio suave */
    --accent-gold: #ff2976;    /* Atualizado para rosa principal */
    --accent-gold-hover: #d91a5f;
    --accent-gold-light: #fff0f5;
    --accent-pink: #ff2976;    /* Rosa principal marcante */
    --accent-pink-hover: #d91a5f;
    --accent-pink-light: #fff0f5;
    --accent-coral: var(--accent-pink);
    --border-color: #E5E7EB;   /* Cinza suave para bordas limpas */
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.04); /* Sombra mais limpa e moderna */
    --shadow-focus: 0 0 0 3px rgba(255, 41, 118, 0.3);
    --font-serif: 'Montserrat', sans-serif;
    --font-sans: 'Montserrat', sans-serif;
    --max-width: 480px;
    --transition-speed: 0.35s;
}

/* Reset & Base Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 16px;
    font-weight: 500; /* Evita fontes muito finas */
}

/* Base Container - Mobile-first limits */
.quiz-container {
    width: 100%;
    max-width: var(--max-width);
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 24px 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

/* Progress Bar */
.progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: var(--accent-gold-light);
    border-radius: 10px;
    margin-bottom: 28px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-pink) 0%, #ff6b9d 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Transition Animations */
.quiz-screen {
    display: none;
    opacity: 0;
    transform: translateY(12px) scale(0.99);
    transition: opacity var(--transition-speed) ease, 
                transform var(--transition-speed) cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quiz-screen.active {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }

.title-primary {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 800; /* BOLD chamativo para títulos */
    line-height: 1.3;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.title-secondary {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 800; /* BOLD chamativo para títulos */
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 500; /* Evita fontes muito finas */
}

/* Images Styling */
.image-wrapper {
    margin: 0 auto 24px auto;
    display: flex;
    justify-content: center;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.rounded-circle-custom {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    box-shadow: var(--shadow-soft);
}

.mockup-img {
    max-height: 220px;
    border-radius: var(--border-radius-md);
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.1));
}

/* Option Cards (Preguntas) */
.question-step {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 8px;
}

.question-title {
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.question-tip {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: -12px;
    margin-bottom: 18px;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.option-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: all 0.25s ease;
}

.option-emoji {
    font-size: 20px;
    margin-right: 12px;
}

.option-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    flex-grow: 1;
}

/* States Hover/Active for Option Cards */
.option-card:hover {
    border-color: var(--accent-gold);
    background-color: var(--bg-main);
    transform: translateY(-1px);
}

.option-card:active {
    transform: scale(0.99);
}

/* Radio/Check Circle Indicator */
.option-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    margin-left: 12px;
    position: relative;
    transition: all 0.2s ease;
}

.option-card:hover .option-check {
    border-color: var(--accent-gold);
}

/* Selected State */
.option-card.selected {
    border-color: var(--accent-gold);
    background-color: var(--accent-gold-light);
}

.option-card.selected .option-check {
    border-color: var(--accent-gold);
    background-color: var(--accent-gold);
}

.option-card.selected .option-check::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--bg-card);
}

/* Multi-select styling */
.option-check-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1.5px solid var(--border-color);
    margin-left: 12px;
    position: relative;
    transition: all 0.2s ease;
}

.option-card.multi-select:hover .option-check-box {
    border-color: var(--accent-gold);
}

.option-card.multi-select.selected {
    border-color: var(--accent-gold);
    background-color: var(--accent-gold-light);
}

.option-card.multi-select.selected .option-check-box {
    border-color: var(--accent-gold);
    background-color: var(--accent-gold);
}

.option-card.multi-select.selected .option-check-box::after {
    content: '✓';
    position: absolute;
    color: var(--bg-card);
    font-size: 13px;
    font-weight: 700;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Buttons */
.action-wrapper {
    margin: 20px 0;
}

.btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    color: var(--bg-card);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-coral) 0%, #D87665 100%);
    box-shadow: 0 4px 15px rgba(230, 140, 124, 0.35);
    font-size: 15px;
    letter-spacing: 0.5px;
}

.btn-cta:hover {
    box-shadow: 0 6px 20px rgba(230, 140, 124, 0.45);
}

.icon-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.btn:hover .icon-arrow {
    transform: translateX(4px);
}

/* Informative & Discovery Cards */
.informative-card {
    background-color: var(--bg-card);
    padding: 12px 6px;
}

.discovery-badge {
    display: inline-block;
    background-color: var(--accent-gold-light);
    color: var(--accent-gold-hover);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.informative-text {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-align: left;
}

.informative-text.highlighted {
    border-left: 3px solid var(--accent-gold);
    padding-left: 14px;
    color: var(--text-primary);
    font-style: italic;
}

/* Loading Simulation Styling */
.spinner-container {
    margin: 40px auto;
    display: flex;
    justify-content: center;
}

.custom-spinner-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-spinner {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 4px solid var(--accent-pink-light);
    border-top: 4px solid var(--accent-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-percentage {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-pink);
    z-index: 2;
}

.loading-sub {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

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

/* Profiles Layout (Screen 10) */
.profile-pre-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold-hover);
    display: block;
    margin-bottom: 8px;
}

.profile-title {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.attention-level-container {
    background-color: var(--bg-main);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.attention-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.attention-bar {
    width: 100%;
    height: 10px;
    background-color: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.attention-bar-fill {
    height: 100%;
    background-color: var(--accent-coral);
    border-radius: 10px;
    width: 0%; /* Dynamic */
    transition: width 0.8s ease;
}

.attention-status {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-coral);
}

.profile-description p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-align: left;
}

.profile-description ul {
    list-style: none;
    margin-bottom: 24px;
    text-align: left;
}

.profile-description li {
    font-size: 14px;
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.profile-description li::before {
    content: "✦";
    position: absolute;
    left: 4px;
    color: var(--accent-gold);
    font-weight: bold;
}

/* History Text */
.story-text {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-align: left;
}

.story-text.highlighted {
    color: var(--text-primary);
    font-weight: 500;
    background-color: var(--accent-gold-light);
    padding: 14px;
    border-radius: var(--border-radius-md);
    border-left: 3px solid var(--accent-gold);
}

/* Product Presenting & Features List */
.product-description {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: var(--accent-gold-light);
    color: var(--accent-gold-hover);
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item strong {
    font-size: 14px;
    color: var(--text-primary);
    display: block;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.3;
}

/* Offer page and pricing details */
.offer-badge {
    display: inline-block;
    background-color: var(--accent-coral);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.pricing-card {
    background-color: var(--accent-gold-light);
    border-radius: var(--border-radius-md);
    padding: 24px 16px;
    margin: 20px 0;
    border: 1px dashed var(--accent-gold);
}

.price-old {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
    display: block;
    margin-bottom: 4px;
}

.price-new-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-weight: 700;
    margin-bottom: 4px;
}

.price-currency {
    font-size: 20px;
    margin-top: 6px;
    margin-right: 2px;
}

.price-value {
    font-size: 48px;
    line-height: 1;
}

.price-cents {
    font-size: 20px;
    margin-top: 6px;
}

.price-note {
    font-size: 12px;
    color: var(--text-muted);
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.small-disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: -8px;
    margin-bottom: 20px;
}

.guarantee-section {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-bottom: 24px;
}

.guarantee-badge {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 6px;
}

.guarantee-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Reinsurance Section */
.reinsurance-box {
    background-color: var(--bg-main);
    border-radius: var(--border-radius-md);
    padding: 20px 16px;
    margin-top: 30px;
    border: 1px solid var(--border-color);
}

.reinsurance-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    text-align: center;
}

.reinsurance-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reinsurance-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.reinforce-icon {
    font-size: 14px;
    flex-shrink: 0;
}

/* Security Badge & Footer */
.security-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 14px;
}

.icon-shield {
    width: 14px;
    height: 14px;
    color: var(--accent-gold);
}

.quiz-footer {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.quiz-footer p {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 6px;
}

/* Extra Tweaks for Inputs */
button:focus,
a:focus {
    outline: none;
    box-shadow: var(--shadow-focus);
}

/* ==========================================================================
   ESTILOS DE GRÁFICOS E COMPARATIVO VISUAL (RESULTADOS)
   ========================================================================== */

.visual-comparison-container,
.chart-wrapper-container {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px 16px;
    margin: 24px 0;
    text-align: center;
}

.comparison-section-title {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* Imagem Antes / Depois Placeholder */
.comparison-image-placeholder {
    display: flex;
    border: 1px dashed var(--accent-pink);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background-color: #FFFFFF;
    margin-bottom: 24px;
    min-height: 110px;
}

.comp-box {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.comp-before {
    background-color: #F9FAFB;
}

.comp-after {
    background-color: var(--accent-pink-light);
}

.comp-divider-line {
    width: 2px;
    background-color: var(--accent-pink);
    align-self: stretch;
}

.comp-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comp-before .comp-label {
    color: var(--text-muted);
}

.comp-after .comp-label {
    color: var(--accent-pink);
}

.comp-desc {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Colunas de Comparação Segmentadas */
.comparison-columns {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.comp-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comp-col-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: 2px solid;
    padding-bottom: 6px;
    margin-bottom: 4px;
}

.title-antes {
    color: var(--text-muted);
    border-color: var(--border-color);
}

.title-depois {
    color: var(--accent-pink);
    border-color: var(--accent-pink);
}

.comp-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.comp-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comp-item-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
}

.comp-item-status {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.status-red {
    color: #EF4444;
}

.status-green {
    color: #10B981;
}

/* Slider Segmentado */
.segmented-slider {
    position: relative;
    height: 14px;
    display: flex;
    align-items: center;
    width: 100%;
}

.slider-track {
    display: flex;
    gap: 3px;
    width: 100%;
    height: 6px;
}

.track-segment {
    flex: 1;
    background-color: #E5E7EB;
    border-radius: 2px;
}

.slider-red .track-segment.active {
    background-color: #EF4444;
}

.slider-green .track-segment.active {
    background-color: #10B981;
}

.slider-thumb {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #FFFFFF;
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.slider-red .slider-thumb {
    border: 3px solid #EF4444;
}

.slider-green .slider-thumb {
    border: 3px solid #10B981;
}

/* Gráficos em SVG */
.svg-chart-container {
    background-color: #FFFFFF;
    border-radius: var(--border-radius-sm);
    padding: 12px;
    border: 1px solid var(--border-color);
}

.svg-chart {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   TELA 9: NOVOS COMPONENTES DA ANÁLISE COMPLETA
   ========================================================================== */

/* Card de Padrão Encontrado */
.pattern-card {
    background-color: var(--accent-pink-light);
    border: 1px solid rgba(255, 41, 118, 0.15);
    border-radius: var(--border-radius-md);
    padding: 18px 14px;
    margin: 20px 0;
    text-align: center;
}

.pattern-small-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-pink);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 12px;
}

.pattern-equation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.eq-item {
    background-color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    white-space: nowrap;
}

.eq-plus {
    color: var(--accent-pink);
    font-size: 16px;
    font-weight: 800;
}

.pattern-result {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
    background-color: #FFFFFF;
    border-radius: var(--border-radius-sm);
    padding: 10px;
    display: inline-block;
    border-left: 3px solid var(--accent-pink);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Card da Imagem Notícia */
.news-image-card {
    margin: 24px 0;
    text-align: center;
}

.rounded-news-img {
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft), 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}

.news-caption {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.3;
}

/* Bloco de Autoridade */
.authority-note {
    background-color: #FFFFFF;
    border-left: 4px solid var(--accent-pink);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    padding: 16px;
    margin: 24px 0;
}

.authority-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.authority-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Mapa da Vitalidade Atual */
.vitality-map {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px 16px;
    margin: 24px 0;
}

.vitality-map-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin-bottom: 18px;
    text-align: center;
}

.vitality-row {
    margin-bottom: 14px;
}

.vitality-row:last-child {
    margin-bottom: 0;
}

.vitality-label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.vitality-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.vitality-status {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.red-text { color: #EF4444; }
.orange-text { color: #F59E0B; }

/* Segmented vitality bars */
.vitality-segmented-bar {
    display: flex;
    gap: 3px;
    width: 100%;
    height: 8px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.v-segment {
    flex: 1;
    background-color: #E5E7EB;
    border-radius: 2px;
}

.red-fill .v-segment.active {
    background: linear-gradient(90deg, #EF4444 0%, #F87171 100%);
}

.orange-fill .v-segment.active {
    background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 100%);
}

/* Pattern Equation Layout with Bracket/Arrow */
.pattern-equation-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 15px auto;
    max-width: 480px;
}

.eq-left-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.eq-row-item {
    background-color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    white-space: nowrap;
}

.eq-plus-sign {
    color: var(--accent-pink);
    font-size: 14px;
    font-weight: 800;
    align-self: center;
    line-height: 1;
    margin: -4px 0;
}

.eq-connector {
    display: flex;
    align-items: center;
    height: 100px;
}

.connector-bracket {
    width: 10px;
    height: 100%;
    border: 2px solid var(--accent-pink);
    border-left: none;
    border-radius: 0 6px 6px 0;
}

.connector-arrow {
    font-size: 18px;
    color: var(--accent-pink);
    margin-left: -2px;
}

.eq-right-column {
    flex: 1;
    display: flex;
    justify-content: center;
}

.pattern-result-box {
    background-color: #FFFFFF;
    border-left: 4px solid var(--accent-pink);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    line-height: 1.4;
}

/* Ampliar e-book */
.product-mockup .mockup-img {
    max-height: 380px !important;
    width: auto;
    margin: 0 auto;
    display: block;
}

/* CHECKOUT INSTANTÂNEO POPUP MODAL */
.checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.checkout-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.checkout-modal-container {
    background-color: #FFFFFF;
    width: 95%;
    max-width: 700px;
    height: 90%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.checkout-modal-overlay.active .checkout-modal-container {
    transform: translateY(0);
}

.checkout-modal-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-modal-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
}

.checkout-modal-close {
    background-color: var(--accent-pink);
    color: #FFFFFF;
    border: none;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.checkout-modal-close:hover {
    background-color: #e02064;
}

.checkout-modal-body {
    flex: 1;
    background-color: #F9FAFB;
    position: relative;
}

#checkout-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 480px) {
    .pattern-equation-flex {
        gap: 8px;
    }
    .eq-row-item {
        padding: 5px 10px;
        font-size: 10px;
    }
    .pattern-result-box {
        font-size: 11px;
        padding: 10px;
    }
}

