/* Reset & Base Variables */
:root {
    --bg-primary: #F4F2ED;
    --bg-dark: #111315;
    --primary-green: #24483D;
    --secondary-green: #3E7160;
    --text-gray: #5A6270;
    --white: #FFFFFF;
    
    --border-light: #E8E5DF;
    --border-dark: #2A2D30;

    --font-main: 'Manrope', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--bg-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-white {
    background-color: var(--white);
}

.dark-section {
    background-color: var(--bg-dark);
    color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 1rem; }

.subheadline {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 1rem;
}
.dark-section .subheadline {
    color: #A0A5AA;
}

.center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--secondary-green);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-dark);
    border: 1px solid var(--bg-dark);
}
.dark-section .btn-secondary {
    color: var(--white);
    border-color: var(--white);
}
.btn-secondary:hover {
    background-color: var(--bg-dark);
    color: var(--white);
}
.dark-section .btn-secondary:hover {
    background-color: var(--white);
    color: var(--bg-dark);
}

.btn-nav {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    padding: 1.25rem;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    background-color: rgba(244, 242, 237, 0.9);
    backdrop-filter: blur(8px);
    z-index: 100;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

/* Labels */
.label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary-green);
    margin-bottom: 1rem;
    border: 1px solid var(--primary-green);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}
.label-discrete {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 0.05em;
    margin: 1.5rem 0;
}

/* Hero Section */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.panel-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.panel-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
}
.panel-label {
    color: var(--text-gray);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.panel-value {
    font-size: 1.25rem;
}
.highlight-green .panel-value { color: var(--primary-green); }
.highlight-red .panel-value { color: #D64545; }

.panel-priority {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 8px;
    border-left: 3px solid var(--primary-green);
}
.priority-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.panel-priority p {
    font-size: 0.95rem;
    font-weight: 600;
    font-style: italic;
}
.illustrative-label, .illustrative-center {
    display: block;
    font-size: 0.65rem;
    color: #5A6270;
    margin-top: 1rem;
    text-align: right;
    letter-spacing: 0.05em;
}
.illustrative-center { text-align: center; margin-top: 2rem; }
/* Inside dark vision tabs wrapper the bg is light, so use dark text */
.vision-tabs-wrapper .illustrative-center,
.vision-tabs-wrapper .illustrative-label {
    color: #111315 !important;
    font-weight: 600;
}

/* Identificação */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.premium-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.card-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}
.card-conclusion {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}
.card-conclusion .question {
    display: block;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.card-conclusion p {
    font-size: 0.85rem;
    color: var(--text-gray);
}
.mt-auto { margin-top: auto; }

/* Micro visuals in cards */
.funnel-anim .funnel-step {
    padding: 0.75rem;
    background: var(--white);
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid var(--border-light);
}
.funnel-anim .funnel-arrow {
    text-align: center;
    color: var(--text-gray);
    padding: 0.25rem 0;
}
.funnel-anim .highlight { background: var(--bg-dark); color: var(--white); }

.product-comparison .prod-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}
.prod-name { font-size: 0.75rem; font-weight: 800; color: var(--text-gray); margin-bottom: 0.5rem; }
.prod-stat { font-weight: 700; font-size: 0.9rem; }
.prod-divider { text-align: center; font-size: 0.8rem; font-weight: 800; color: var(--text-gray); margin: 0.5rem 0; }

.clients-stats .stat-large {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
}
.stat-label { font-size: 0.85rem; font-weight: 600; color: var(--text-gray); display: block; }
.stat-alert {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    background: #FEECEB;
    color: #D64545;
    padding: 0.75rem;
    border-radius: 4px;
}
.alert-dot { width: 8px; height: 8px; background: #D64545; border-radius: 50%; }

/* Simulador */
.simulator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    overflow: hidden;
}
.sim-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-dark);
}
.sim-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-gray);
    padding: 1.25rem;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
}
.sim-tab.active {
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-bottom: 2px solid var(--primary-green);
}
.sim-content-area {
    padding: 3rem;
    background: rgba(255,255,255,0.02);
}
.sim-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}
.sim-panel.active { display: block; }
.sim-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}
.sim-data-row {
    margin-bottom: 1.5rem;
}
.sim-data-row span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}
.sim-data-row strong {
    font-size: 1.5rem;
    font-weight: 800;
}
.sim-alert {
    background: rgba(255,255,255,0.05);
    border-left: 3px solid var(--white);
    padding: 1.5rem;
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}
.sim-conclusion {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-style: italic;
}

/* Prioridade */
.priority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.priority-item {
    background: var(--white);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.priority-item.dim { opacity: 0.5; }
.pi-title { font-weight: 800; font-size: 0.95rem; }
.pi-metrics { display: flex; gap: 0.5rem; }
.badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}
.impact-high { background: #E8F5E9; color: #2E7D32; }
.impact-med { background: #FFF8E1; color: #F57F17; }
.impact-unc { background: #F5F5F5; color: #616161; }
.diff-low { background: #E8F5E9; color: #2E7D32; }
.diff-med { background: #FFF8E1; color: #F57F17; }
.diff-high { background: #FFEBEE; color: #C62828; }

.priority-recommendation {
    background: var(--bg-dark);
    color: var(--white);
    padding: 3rem;
    border-radius: 12px;
}
.rec-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}
.rec-text {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

/* -------------------------------------
   NEW: Sua Empresa pela Visão Klein
-------------------------------------- */
.positioning-statement {
    background: var(--bg-dark);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}
.positioning-statement strong { font-size: 1.25rem; display: block; margin-bottom: 0.5rem; }
.positioning-statement p { font-size: 0.95rem; color: #A0A5AA; }
.mt-6 { margin-top: 4rem; }
.mb-4 { margin-bottom: 2rem; }
.discrete { font-size: 0.85rem; color: var(--text-gray); }
.dark-section .discrete { color: #A8B0BA; }

.vision-tabs-wrapper {
    max-width: 1000px;
    margin: 4rem auto 0;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: var(--bg-primary);
    overflow: hidden;
}
.v-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    background: var(--white);
}
.v-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: #4A5260;
    padding: 1.25rem;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
}
.v-tab.active {
    background: var(--bg-primary);
    color: var(--primary-green);
    border-bottom: 3px solid var(--primary-green);
}
.v-content-area {
    padding: 3rem;
}
.v-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}
.v-panel.active { display: block; }
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}
.panel-header h3 { margin: 0; font-size: 1.1rem; }

/* Dashboard inside Visão */
.dash-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.d-metric {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}
.d-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #3A4047;
    margin-bottom: 0.5rem;
}
.d-value { font-size: 1.25rem; font-weight: 800; color: var(--bg-dark); }
.dash-insights { margin-bottom: 2rem; }
.insight-title { font-size: 0.85rem; color: #3A4047; font-weight: 700; margin-bottom: 1rem; }
.insight-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.insight-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}
.insight-item .icon { font-weight: 800; font-size: 0.8rem; display: block; margin-bottom: 1rem; color: var(--primary-green); }
.insight-item p { font-size: 0.9rem; font-weight: 700; color: var(--bg-dark); }

.dash-priority-card {
    background: var(--bg-dark);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}
.dp-label { display: block; font-size: 0.75rem; font-weight: 800; color: #FFFFFF !important; margin-bottom: 1rem; letter-spacing: 0.1em; }
.dash-priority-card p { font-size: 1.1rem; font-weight: 800; margin: 0; }

/* Jornada */
.journey-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}
.j-step {
    padding: 1rem 2rem;
    background: var(--bg-primary);
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.9rem;
    width: 100%;
    max-width: 250px;
    text-align: center;
    border: 1px solid var(--border-light);
}
.j-step span { display: block; font-size: 1.5rem; margin-bottom: 0.25rem; color: var(--primary-green); }
.j-arrow { padding: 0.5rem 0; font-weight: 800; color: #3A4047; }
.j-step.highlight-alert { border: 2px solid #D64545; }
.j-step.highlight-alert span { color: #D64545; }
.j-arrow.highlight-alert-text { color: #D64545; font-size: 0.8rem; }
.j-step.dim, .j-arrow.dim { opacity: 0.4; }

.journey-insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.j-insight, .j-action {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}
.j-insight strong, .j-action strong { display: block; font-size: 0.8rem; color: #3A4047; font-weight: 800; margin-bottom: 0.5rem; }
.j-action { border-left: 3px solid var(--primary-green); }

/* CRM */
.crm-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}
.c-step {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 800;
    background: var(--bg-primary);
    border-radius: 4px;
    border: 1px solid var(--border-light);
}
.c-step.highlight { background: var(--bg-dark); color: var(--white); border-color: var(--bg-dark); }
.c-step.dim { opacity: 0.5; }
.c-arrow { color: #3A4047; font-size: 0.85rem; font-weight: 800; }
.crm-disclaimer p { font-size: 0.85rem; color: #3A4047; font-style: italic; font-weight: 600; }

/* Playbook */
.playbook-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.playbook-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}
.playbook-card h4 { font-size: 0.75rem; color: #3A4047; font-weight: 800; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-light); padding-bottom: 0.5rem; }
.playbook-card h4 span { font-size: 1.25rem; color: var(--bg-dark); display: block; margin-top: 0.25rem; }
.playbook-card strong { display: block; font-size: 0.75rem; color: #3A4047; font-weight: 800; margin: 1rem 0 0.25rem 0; }
.playbook-card p, .playbook-card ul { font-size: 0.9rem; font-weight: 600; color: var(--bg-dark); }
.playbook-card ul { padding-left: 1.25rem; margin-top: 0.25rem; }

/* Build With Us */
.build-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.b-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}
.b-card h5 { font-size: 0.85rem; color: var(--primary-green); margin-bottom: 0.5rem; }
.b-card p { font-size: 0.85rem; font-weight: 600; color: var(--bg-dark); }

/* Structure vs Operation */
.structure-vs-operation {
    background: var(--bg-dark);
    color: var(--white);
    padding: 3rem;
    border-radius: 12px;
}
.svo-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.svo-col { flex: 1; text-align: center; }
.svo-title { font-size: 0.85rem; font-weight: 800; color: #A0A5AA; margin-bottom: 1rem; letter-spacing: 0.1em; }
.svo-words { font-size: 1rem; font-weight: 800; line-height: 1.6; }
.klein-side .svo-words { color: #6FCF97; }
.team-side .svo-words { color: var(--white); }
.svo-vs { font-weight: 800; font-size: 0.85rem; color: var(--text-gray); padding: 1rem; background: rgba(255,255,255,0.05); border-radius: 50px; }
.svo-conclusion { font-size: 0.9rem; color: #A0A5AA; font-style: italic; border-top: 1px solid #2A2D30; padding-top: 1.5rem; }

/* Practical Example */
.practical-example {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}
.pe-flow { display: flex; flex-direction: column; align-items: center; }
.pe-step {
    width: 100%;
    max-width: 600px;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-light);
}
.pe-step strong { display: block; font-size: 0.75rem; margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.pe-step p { font-size: 0.95rem; font-weight: 600; margin: 0; }
.pe-step.gray { background: var(--white); }
.pe-step.gray strong { color: var(--text-gray); }
.pe-step.dark { background: var(--bg-dark); color: var(--white); border-color: var(--bg-dark); }
.pe-step.dark strong { color: #A0A5AA; }
.pe-step.highlight { background: #E8F5E9; border-color: #C8E6C9; }
.pe-step.highlight strong { color: #2E7D32; }
.pe-arrow { padding: 0.5rem 0; color: var(--text-gray); font-weight: 800; }


/* Autoidentificação */
.self-id-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: 4rem;
    border-radius: 12px;
}
.self-id-card h3 { text-align: center; margin-bottom: 2rem; }
.check-list { list-style: none; margin-bottom: 2rem; }
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 800;
}
.self-id-conclusion {
    text-align: center;
    font-style: italic;
    font-weight: 600;
    color: var(--text-gray);
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

/* Projeto Klein — fundo escuro, cards em grafite médio */
.timeline {
    max-width: 620px;
    margin: 4rem auto;
    background: transparent;
}
.t-item {
    background: #1C2026;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-green);
    border-top: 1px solid #2A2D30;
    border-right: 1px solid #2A2D30;
    border-bottom: 1px solid #2A2D30;
    margin-bottom: 1rem;
}
.t-time { display: block; font-size: 0.75rem; color: #6FCF97; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: 0.08em; }
.t-title { display: block; font-size: 1.1rem; font-weight: 800; margin-bottom: 0.25rem; color: var(--white); }
.t-item p { font-size: 0.9rem; color: #A8B0BA; font-weight: 500; }
.t-arrow { text-align: center; color: #6FCF97; margin-bottom: 1rem; font-weight: 800; font-size: 1.2rem; }
.t-final { border-left-color: #6FCF97 !important; background: #162820 !important; }
.t-final .t-title { color: #6FCF97; }
.dark-section .label-discrete { color: #A8B0BA; }

/* Deliverables Enhancements */
.del-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; max-width: 800px; margin: 0 auto; }
.tag { font-size: 0.75rem; font-weight: 700; color: #D0D8E0; padding: 0.5rem 1rem; border: 1px solid #3A4047; border-radius: 50px; background: #1C2026; }

.presentation-sample {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 2rem auto;
}
.slide {
    background: var(--white);
    color: var(--bg-dark);
    padding: 1.5rem;
    width: 150px;
    min-width: 0;
    height: 100px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-top: 4px solid var(--primary-green);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 1;
}
.slide span { color: var(--text-gray); font-size: 0.65rem; margin-bottom: 0.5rem; }
/* Custom Revision Styles */
.highlight-insight { border-left: 3px solid var(--primary-green); }
.protagonist-block {
    background: var(--bg-dark);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}
.protagonist-block strong { color: #6FCF97; font-size: 0.9rem; letter-spacing: 0.05em; display: block; margin-bottom: 0.5rem; }
.protagonist-block p { font-size: 1rem; color: #D0D8E0; }
.j-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ba-col { padding: 1rem; background: var(--bg-primary); border-radius: 4px; }
.ba-col.after { background: #E8F5E9; border: 1px solid #C8E6C9; }
.ba-col.after strong { color: #2E7D32; }

.pe-main-title { font-size: 1.8rem; margin-bottom: 1rem; }
.protagonist-step { border: 2px solid var(--primary-green) !important; }
.process-before-after { max-width: 900px; margin: 4rem auto 0; padding: 3rem; background: var(--white); border-radius: 12px; border: 1px solid var(--border-light); }
.pba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.pba-col { padding: 2rem; border-radius: 8px; }
.pba-antes { background: var(--bg-primary); }
.pba-depois { background: var(--bg-dark); color: var(--white); }
.pba-col h4 { font-size: 0.9rem; margin-bottom: 1rem; }
.pba-depois h4 { color: #6FCF97; }
.pba-col ul { list-style: none; padding: 0; }
.pba-col ul li { padding: 0.5rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 0.9rem; font-weight: 600; }
.pba-depois ul li { border-bottom: 1px solid rgba(255,255,255,0.1); }

.self-id-wrapper { max-width: 900px; margin: 0 auto; }
.self-id-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.si-card { background: var(--bg-primary); padding: 1.5rem; border-radius: 8px; font-weight: 800; font-size: 0.85rem; border: 1px solid var(--border-light); display: flex; align-items: center; text-align: center; justify-content: center; min-height: 120px; line-height: 1.4; }
.si-card.highlight { background: var(--bg-dark); color: var(--white); border-color: var(--bg-dark); }
.protagonist-card { background: var(--bg-dark); border-radius: 12px; padding: 2rem; color: var(--white); border: 2px solid var(--primary-green); box-shadow: 0 10px 30px rgba(46, 125, 50, 0.15); }
.protagonist-card .svo-words { color: var(--white); }

/* Polishing Part 2 Classes */
.bridge-phrase { background: var(--bg-primary); padding: 1.5rem; border-radius: 8px; font-size: 1.1rem; color: var(--bg-dark); }
.bridge-phrase strong { color: var(--primary-green); font-weight: 800; display: block; }
.executive-title { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.5px; }

.pre-project-bridge { background: var(--bg-dark); color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.1); }
.bridge-title { font-size: 2rem; color: var(--white); }
.highlight-text { color: #6FCF97; display: block; margin-top: 0.5rem; }
.bridge-subtitle { font-size: 1.2rem; color: #C5CDD6; font-style: italic; max-width: 700px; margin: 1rem auto 0; }

/* Control Spacing between Turning Point and Vision Klein */
.turning-point {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
}
.turning-point + .vision-klein {
    padding-top: 2.5rem;
}

/* Macroseção: Como a Klein Atua */
.macro-section {
    padding: 5rem 0;
}
.macro-block {
    margin-bottom: 3.5rem;
}
.macro-block:last-child {
    margin-bottom: 0;
}
.macro-block-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.del-grouped { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1000px; margin: 2rem auto; text-align: left; }
.del-group h5 { font-size: 0.85rem; color: #6FCF97; font-weight: 800; margin-bottom: 1rem; border-bottom: 2px solid #3A4047; padding-bottom: 0.5rem; }
.del-group .del-tags { justify-content: flex-start; }
.del-group .tag { margin-bottom: 0.5rem; }

.custom-scope { max-width: 900px; margin: 4rem auto; padding: 3rem; background: #1A1D21; border-radius: 12px; border: 1px solid #2A2D30; }
.custom-scope h3 { color: var(--white); }
.custom-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; text-align: left; }
.c-item { background: #22262C; padding: 1rem; border-radius: 6px; font-size: 0.85rem; border: 1px solid #2A2D30; color: #A8B0BA; }
.c-item strong { display: block; margin-top: 0.25rem; font-size: 0.95rem; color: var(--white); }

.accomp-flow { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; font-size: 0.85rem; font-weight: 800; background: rgba(0,0,0,0.4); padding: 2rem; border-radius: 8px; color: #D8DFE8; }
.accomp-flow span { display: block; }
.accomp-flow .arr { color: #6FCF97 !important; }
.conclusion-strong { color: var(--white) !important; font-size: 1.1rem !important; }

.integration-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 2rem; }
.ig-card { background: var(--white); padding: 2rem 1.5rem; border-radius: 8px; border: 1px solid var(--border-light); font-size: 0.9rem; color: var(--bg-dark); box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.ig-card strong { font-size: 1.2rem; color: var(--primary-green); display: block; margin-bottom: 0.5rem; }

/* Investimento */
.investment-card {
    max-width: 600px;
    margin: 0 auto;
    background: #232830;
    border: 1px solid #383D44;
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    color: var(--white);
}
.investment-card h2 { margin-bottom: 0.5rem; color: var(--white); }
.inv-cycle { font-size: 0.85rem; font-weight: 800; color: #FFFFFF !important; margin-bottom: 2rem; letter-spacing: 0.05em; }
.inv-includes { font-size: 0.8rem; font-weight: 700; line-height: 1.8; padding: 1.5rem 0; border-top: 1px solid #383D44; border-bottom: 1px solid #383D44; margin-bottom: 2rem; color: #D0D8E4; }
.inv-price-area { margin-bottom: 2rem; }
.inv-label, .inv-from, .inv-per { display: block; font-size: 0.75rem; font-weight: 800; color: #B0BCC8; }
.inv-price { display: block; font-size: 4rem; font-weight: 800; color: #FFFFFF; line-height: 1; margin: 0.5rem 0; }
.inv-discrete { font-size: 0.85rem; color: #B0BCC8; margin-bottom: 2rem; font-style: italic; }
.objection-block { max-width: 600px; margin: 4rem auto 0; }

/* Sobre */
.about-content { max-width: 800px; }
.about-content p { font-size: 1.1rem; font-weight: 500; margin-bottom: 1rem; color: #4A5260; }
/* Dentro do protagonist-block, o p herda do block, não do about-content */
.about-content .protagonist-block p { color: #D0D8E0; }

/* Formulario */
.form-section { background: var(--bg-primary); }
.klein-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.5rem; }
.highlight-label { color: var(--primary-green); font-style: italic; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background: var(--bg-primary);
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: var(--white);
}

.cta-intermediary {
    background: rgba(36,72,61,0.06);
    border: 1px solid rgba(36,72,61,0.15);
    border-radius: 12px;
    padding: 2.5rem 2rem;
}
.cta-intermediary h3 { color: var(--bg-dark); }
.cta-intermediary p { margin: 0 0 1.75rem 0; }

/* CTA Final */
.cta-resume { margin-bottom: 3rem; }
.c-title { font-weight: 800; font-size: 1.5rem; }
.c-desc { font-size: 0.85rem; color: var(--text-gray); margin: 0.5rem 0; }
.c-price { font-weight: 800; color: var(--primary-green); }
.cta-actions { display: flex; justify-content: center; gap: 1rem; }

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-green);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-step {
    opacity: 0;
    animation: fadeInStep 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

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

/* Ensure light containers reset text color when inside dark sections */
.vision-tabs-wrapper,
.b-card,
.practical-example,
.process-before-after {
    color: var(--bg-dark);
}

/* ==========================================================================
   RESPONSIVE DESIGN — Progressive Breakpoints
   320 → 360 → 375 → 390 → 412 → 430 → 480 → 768 → 820 → 1024 → 1280 → 1366 → 1440 → 1920 → 2560+
   ========================================================================== */

/* ── Ultrawide & Large Desktops (above 1920px) ── */
@media (min-width: 1921px) {
    .container { max-width: 1400px; }
    body { font-size: 1.05rem; }
    .section-padding { padding: 8rem 0; }
    .hero-grid { gap: 6rem; }
    .investment-card { max-width: 700px; padding: 5rem; }
    .self-id-card { max-width: 800px; padding: 5rem; }
    .klein-form { max-width: 800px; }
    .vision-tabs-wrapper { max-width: 1100px; }
}

/* ── Large Desktop (1440px–1920px) ── already well covered by base styles */
@media (min-width: 1441px) and (max-width: 1920px) {
    .container { max-width: 1280px; }
}

/* ── Standard Desktop (1280px–1440px) ── */
@media (min-width: 1281px) and (max-width: 1440px) {
    .container { max-width: 1180px; }
}

/* ── Small Desktop / Large Tablet Landscape (1024px–1280px) ── */
@media (max-width: 1280px) {
    .container { max-width: 1060px; }
    .hero-grid { gap: 3rem; }
    .priority-grid { gap: 3rem; }
    .structure-vs-operation { padding: 2.5rem; }
    .custom-scope { padding: 2.5rem; }
}

/* ── Tablet Landscape & Small Desktop (992px–1024px) ── */
@media (max-width: 1024px) {
    .container { max-width: 940px; padding: 0 2rem; }
    .section-padding { padding: 5rem 0; }
    .section-header { margin: 0 auto 3rem auto; }
    
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .cards-grid-3 { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .cards-grid-3 > *:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
    
    .playbook-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .journey-insights { grid-template-columns: 1fr 1fr; }
    
    .sim-content-area { padding: 2rem; }
    .sim-grid { gap: 2rem; }
    
    .inv-price { font-size: 3.5rem; }
}

/* ── Tablet Portrait (768px–991px) ── */
@media (max-width: 991px) {
    .container { padding: 0 1.5rem; }
    .section-padding { padding: 4.5rem 0; }
    .section-header { margin: 0 auto 2.5rem auto; }
    
    /* Hero: stack on tablet portrait */
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-content { text-align: center; }
    .hero-actions { flex-direction: row; justify-content: center; }
    .hero-actions .btn { min-width: 200px; }
    
    /* Cards: 2 col on tablet */
    .cards-grid-3 { grid-template-columns: 1fr 1fr; }
    .cards-grid-3 > *:last-child { grid-column: 1 / -1; max-width: 60%; margin: 0 auto; }
    
    /* Priority */
    .priority-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    
    /* Simulator */
    .sim-grid { grid-template-columns: 1fr; }
    .sim-tabs { flex-direction: column; }
    .sim-tab { border-bottom: 1px solid var(--border-dark); text-align: left; padding: 1rem 1.25rem; }
    .sim-tab.active { border-left: 3px solid var(--primary-green); border-bottom: 1px solid var(--border-dark); }
    
    /* Vision tabs */
    .v-tabs { flex-direction: column; }
    .v-tab { border-bottom: 1px solid var(--border-light); text-align: left; padding: 1rem 1.25rem; }
    .v-tab.active { border-left: 3px solid var(--primary-green); border-bottom: 1px solid var(--border-light); }
    .v-content-area { padding: 2rem; }
    
    /* Playbook */
    .playbook-grid { grid-template-columns: 1fr; }
    
    /* SVO */
    .svo-grid { flex-direction: column; gap: 1.5rem; }
    .svo-vs { padding: 0.75rem; }
    
    /* Journey */
    .journey-insights { grid-template-columns: 1fr; }
    
    /* CRM */
    .crm-flow { flex-direction: column; }
    .c-arrow { transform: rotate(90deg); margin: 0.5rem 0; }
    
    /* Before/After */
    .pba-grid { grid-template-columns: 1fr; }
    .j-before-after { grid-template-columns: 1fr; }
    
    /* Deliverables */
    .del-grouped { grid-template-columns: 1fr 1fr; }
    
    /* Form */
    .form-grid { grid-template-columns: 1fr 1fr; }
    
    /* CTA */
    .cta-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 1rem; }
    
    /* Investment */
    .inv-price { font-size: 3rem; }
    .investment-card { padding: 3rem; }
    
    /* Process before/after */
    .process-before-after { padding: 2rem; }
    
    /* Custom scope */
    .custom-scope { padding: 2rem; margin: 3rem auto; }
    
    /* Practical example */
    .practical-example { padding: 2rem; }
    
    /* Self ID */
    .self-id-card { padding: 3rem; }
}

/* ── Large Phone / Small Tablet (480px–767px) ── */
/* =========================================================
   WHATSAPP MOBILE — BOTÃO CIRCULAR DEFINITIVO
   ========================================================= */

@media (max-width: 767px) {

    a.whatsapp-float {
        position: fixed !important;

        left: auto !important;
        right: 18px !important;
        top: auto !important;
        bottom: 18px !important;

        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;

        padding: 0 !important;
        margin: 0 !important;

        border: 0 !important;
        border-radius: 50% !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        background: #25D366 !important;
        color: #FFFFFF !important;

        font-size: 0 !important;
        line-height: 0 !important;

        overflow: hidden !important;

        box-shadow: 0 6px 18px rgba(0,0,0,0.24) !important;

        z-index: 99999 !important;
    }

    a.whatsapp-float > svg.whatsapp-svg {
        display: block !important;

        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;

        margin: 0 !important;
        padding: 0 !important;

        flex: none !important;
    }

    body {
        padding-bottom: 0 !important;
    }
}
    
@media (max-width: 767px) {
    /* Executive title */
    .executive-title { font-size: 1.6rem; }
    .bridge-title { font-size: 1.6rem; }
    .bridge-subtitle { font-size: 1rem; }
    
    /* Process before/after */
    .process-before-after { padding: 1.5rem; margin: 2rem auto 0; }
    .pba-col { padding: 1.5rem; }
    
    /* Protagonist block */
    .protagonist-block { padding: 1.5rem; }
    
    /* Positioning statement */
    .positioning-statement { padding: 1.5rem; }
    .positioning-statement strong { font-size: 1.1rem; }
    
    /* About */
    .about-content p { font-size: 1rem; }
    
    /* PE main title */
    .pe-main-title { font-size: 1.4rem; }
    
    /* Build grid */
    .build-grid { grid-template-columns: 1fr; }
}

/* ── Standard Phones (430px and below) ── */
@media (max-width: 430px) {
    .container { padding: 0 1.25rem; }
    .section-padding { padding: 3rem 0; }
    
    /* Typography */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.05rem; }
    .subheadline { font-size: 0.95rem; }
    
    /* Label */
    .label { font-size: 0.65rem; padding: 0.2rem 0.6rem; }
    .label-discrete { font-size: 0.7rem; }
    
    /* Panel */
    .panel-card { padding: 1.5rem; }
    .panel-item { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .panel-priority { padding: 1.25rem; }
    
    /* Priority items */
    .priority-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1.25rem; }
    .pi-metrics { flex-wrap: wrap; }
    
    /* Sim data */
    .sim-data-row strong { font-size: 1.1rem; }
    
    /* Journey steps */
    .j-step { max-width: 100%; font-size: 0.8rem; padding: 0.75rem; }
    .j-step span { font-size: 1.25rem; }
    
    /* Cards */
    .premium-card { padding: 1.75rem; }
    
    /* Investment */
    .investment-card { padding: 2rem 1.5rem; }
    .inv-price { font-size: 2.25rem; }
    .inv-cycle { font-size: 0.8rem; }
    .inv-includes { line-height: 1.6; }
    
    /* Slides */
    .presentation-sample { gap: 0.5rem; }
    .slide { width: 100px; height: 70px; padding: 0.75rem; font-size: 0.6rem; }
    .slide span { font-size: 0.55rem; }
    
    /* Self ID */
    .self-id-card { padding: 1.75rem; }
    .self-id-grid { grid-template-columns: 1fr; }
    .si-card { min-height: 80px; }
    
    /* Integration */
    .integration-grid { grid-template-columns: 1fr; }
    
    /* Bridge phrase */
    .bridge-phrase { font-size: 0.95rem; padding: 1.25rem; }
    
    /* Executive title */
    .executive-title { font-size: 1.4rem; }
    .bridge-title { font-size: 1.4rem; }
    .bridge-subtitle { font-size: 0.9rem; }
    
    /* Tabs text */
    .v-tab { font-size: 0.75rem; padding: 0.85rem 1rem; }
    .sim-tab { font-size: 0.75rem; padding: 0.85rem 1rem; }
    
    /* WhatsApp (Barra fixa herdada) */
    
    /* About protagonist */
    .about-content p { font-size: 0.95rem; }
    
    /* Objection block */
    .objection-block { margin: 3rem auto 0; }
    
    /* Form */
    .klein-form { padding: 1.5rem; }
}

/* ── Small Phones (375px and below) ── */
@media (max-width: 375px) {
    .container { padding: 0 1rem; }
    .section-padding { padding: 2.5rem 0; }
    
    h1 { font-size: 1.35rem; }
    h2 { font-size: 1.2rem; }
    
    .hero-actions .btn { font-size: 0.8rem; padding: 0.85rem 1rem; }
    
    .panel-card { padding: 1.25rem; }
    .panel-value { font-size: 1rem; }
    
    .sim-content-area { padding: 1.25rem; }
    .sim-alert { font-size: 0.9rem; padding: 1rem; }
    
    .premium-card { padding: 1.5rem; }
    
    .investment-card { padding: 1.5rem 1.25rem; }
    .inv-price { font-size: 2rem; }
    
    .structure-vs-operation { padding: 1.5rem; }
    .svo-words { font-size: 0.85rem; }
    .svo-vs { font-size: 0.75rem; }
    
    .klein-form { padding: 1.25rem; }
    
    .t-item { padding: 1rem 1.25rem; }
    
    .slide { width: 90px; height: 65px; }
    
    .btn { min-height: 44px; font-size: 0.8rem; }
    .btn-large { padding: 0.85rem 1.5rem; font-size: 0.85rem; }
    
    .check-list li { padding-left: 1.5rem; font-size: 0.9rem; }
    
    .pe-main-title { font-size: 1.2rem; }
    .executive-title { font-size: 1.2rem; }
    .bridge-title { font-size: 1.2rem; }
}

/* ── Extra Small Phones (320px) ── */
@media (max-width: 340px) {
    .container { padding: 0 0.75rem; }
    .section-padding { padding: 2rem 0; }
    
    h1 { font-size: 1.2rem; }
    h2 { font-size: 1.1rem; }
    h3 { font-size: 0.95rem; }
    
    .logo { font-size: 0.95rem; }
    .btn-nav { font-size: 0.7rem; padding: 0.4rem 0.75rem; }
    
    .label { font-size: 0.6rem; }
    
    .panel-card { padding: 1rem; }
    .premium-card { padding: 1.25rem; }
    .sim-content-area { padding: 1rem; }
    
    .investment-card { padding: 1.25rem 1rem; }
    .inv-price { font-size: 1.75rem; }
    .inv-cycle { font-size: 0.7rem; }
    
    .klein-form { padding: 1rem; }
    .form-group input, .form-group select, .form-group textarea { padding: 0.75rem; }
    
    .self-id-card { padding: 1.25rem; }
    
    .slide { width: 80px; height: 55px; font-size: 0.55rem; }
    
    /* WhatsApp (Barra fixa herdada) */
    
    .tag { font-size: 0.6rem; padding: 0.3rem 0.6rem; }
    
    .c-title { font-size: 1.1rem; }
    .bridge-title { font-size: 1.1rem; }
    .executive-title { font-size: 1.1rem; }
}

/* ── Landscape Phone ── */
@media (max-height: 500px) and (orientation: landscape) {
    .section-padding { padding: 2.5rem 0; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .hero-content { text-align: left; }
    .hero-actions { flex-direction: row; }
    .hero-actions .btn { width: auto; min-width: unset; }
    .navbar { padding: 0.75rem 0; }
    /* Em landscape, o botão WA não é barra fixa, volta ao canto */
    .whatsapp-float { 
        bottom: 1rem; 
        right: 1rem; 
        left: auto; 
        width: auto; 
        border-radius: 50px; 
        padding: 0.5rem 0.75rem; 
        font-size: 0.7rem; 
    }
    body { padding-bottom: 0; }
}

/* ── Touch device improvements ── */
@media (hover: none) and (pointer: coarse) {
    .btn { min-height: 48px; }
    .v-tab, .sim-tab { min-height: 48px; }
    .premium-card:hover { transform: none; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
    .whatsapp-float:hover { transform: none; }
    .form-group input, .form-group select, .form-group textarea {
        font-size: 1rem; /* prevent auto-zoom on iOS */
    }
}

/* ── New Component Styles (V3 Refinement) ── */

/* Hero Flow Panel */
.hero-flow-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}
.hero-flow-item.sub {
    padding-left: 1rem;
    color: var(--text-gray);
    font-size: 0.85rem;
}
.hero-flow-item.result {
    background: rgba(36, 72, 61, 0.08);
    padding: 0.85rem 1rem;
    border-radius: 6px;
    border-bottom: none;
    margin: 0.5rem 0;
}
.hero-flow-item.pipeline {
    background: #FFF8E1;
    border: 1px solid #FFE082;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    border-bottom: none;
}
.hero-flow-item.pipeline .panel-label { color: #856404; font-weight: 700; }
.hero-flow-item.pipeline .panel-value { color: #B78103; font-weight: 800; }

/* Investigation Steps */
.investigation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.inv-step-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}
.inv-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.inv-step-num {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary-green);
    background: rgba(36, 72, 61, 0.08);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 1rem;
}
.inv-step-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 0.5rem;
}
.inv-step-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
}
.inv-step-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
}
.inv-step-question {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bg-dark);
    background: var(--bg-primary);
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid var(--primary-green);
    margin-top: auto;
    font-style: italic;
}

/* Comparison Table (Produtos A vs B) */
.prod-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.85rem;
}
.prod-table th, .prod-table td {
    padding: 0.6rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}
.prod-table th {
    font-weight: 800;
    color: var(--text-gray);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}
.prod-table tr.highlight-b {
    background: rgba(36, 72, 61, 0.06);
    font-weight: 700;
}

/* Questions Executive Interface */
.questions-interface {
    background: #16191D;
    border: 1px solid #2D3239;
    border-radius: 14px;
    padding: 2.5rem;
    color: var(--white);
    margin-top: 3rem;
}
.q-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2D3239;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.q-title-area h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}
.q-subtitle {
    font-size: 0.75rem;
    color: #8A94A0;
    letter-spacing: 0.05em;
}
.q-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.q-filter-item {
    background: #22272E;
    border: 1px solid #373E47;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #ADB8C4;
    font-weight: 600;
}
.q-filter-item strong {
    color: var(--white);
    margin-left: 0.25rem;
}

.q-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.q-card {
    background: #1F242B;
    border: 1px solid #2D343F;
    border-radius: 10px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}
.q-card-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.q-tag-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #6FCF97;
}
.status-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}
.badge-alert { background: rgba(214, 69, 69, 0.2); color: #FF6B6B; border: 1px solid rgba(214, 69, 69, 0.4); }
.badge-opp { background: rgba(242, 201, 76, 0.2); color: #F2C94C; border: 1px solid rgba(242, 201, 76, 0.4); }
.badge-prio { background: rgba(111, 207, 151, 0.2); color: #6FCF97; border: 1px solid rgba(111, 207, 151, 0.4); }
.badge-info { background: rgba(45, 156, 219, 0.2); color: #56CCF2; border: 1px solid rgba(45, 156, 219, 0.4); }

.q-question {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.q-answer {
    font-size: 0.85rem;
    color: #C5CDD6;
    line-height: 1.5;
    background: rgba(0,0,0,0.25);
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #6FCF97;
    margin-top: auto;
}

/* Practice Steps Flow (9 passos) */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}
.p-step-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    border-top: 3px solid var(--primary-green);
}
.p-step-num {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}
.p-step-actor {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.75rem;
}
.actor-klein { background: rgba(36, 72, 61, 0.1); color: var(--primary-green); }
.actor-empresa { background: rgba(17, 19, 21, 0.08); color: var(--bg-dark); }
.p-step-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bg-dark);
    line-height: 1.4;
}

/* Before x After Grid */
.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.ba-box {
    padding: 2.5rem;
    border-radius: 12px;
}
.ba-before {
    background: #FAF9F6;
    border: 1px solid #E5E0D8;
}
.ba-before h4 {
    color: #D64545;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.ba-after {
    background: var(--bg-dark);
    color: var(--white);
    border: 1px solid var(--border-dark);
}
.ba-after h4 {
    color: #6FCF97;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.ba-list {
    list-style: none;
    padding: 0;
}
.ba-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ba-after .ba-list li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #D0D8E4;
}

/* Clarity Grid */
.clarity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.clarity-card {
    background: #1C2026;
    border: 1px solid #2A2D30;
    border-radius: 10px;
    padding: 1.75rem;
    border-top: 3px solid #6FCF97;
}
.clarity-card h5 {
    font-size: 0.8rem;
    color: #6FCF97;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}
.clarity-card p {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
}

/* Responsive Overrides for New Components */
@media (max-width: 991px) {
    .before-after-grid { grid-template-columns: 1fr; }
    .questions-interface { padding: 1.75rem; }
    .q-header-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
    .investigation-grid { grid-template-columns: 1fr; }
    .q-grid { grid-template-columns: 1fr; }
    .practice-grid { grid-template-columns: 1fr; }
    .clarity-grid { grid-template-columns: 1fr; }
    .questions-interface { padding: 1.25rem; }
    .q-card { padding: 1.25rem; }
    .ba-box { padding: 1.5rem; }
}

/* ── Refinement Polish Styles (V4) ── */

/* Hero Composition Bar */
.hero-bar-graphic {
    margin: 1.25rem 0 0.5rem 0;
}
.hero-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}
.hero-bar-track {
    height: 10px;
    background: #E8E5DF;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
}
.hero-bar-fill-costs {
    width: 84%;
    background: #5A6270;
}
.hero-bar-fill-result {
    width: 16%;
    background: #24483D;
}

/* Visão Klein Expanded (15-25% bigger on desktop) */
@media (min-width: 1025px) {
    .vision-tabs-wrapper {
        max-width: 1180px;
    }
    .v-content-area {
        padding: 3.5rem;
    }
}

/* Grouped Build Section */
.build-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.build-cat-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.75rem;
}
.build-cat-header {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: 0.08em;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.build-cat-list {
    list-style: none;
    padding: 0;
}
.build-cat-list li {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bg-dark);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.build-cat-list li span {
    color: var(--text-gray);
    font-weight: 500;
    display: block;
    font-size: 0.78rem;
    margin-top: 0.15rem;
}

/* Streamlined Practice Steps (7 Steps) */
.practice-flow-7 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2.5rem;
}
.p-step-pill {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.p-step-pill span.num {
    color: var(--primary-green);
    font-size: 0.75rem;
}
.p-step-arrow {
    display: flex;
    align-items: center;
    color: var(--text-gray);
    font-weight: 800;
}

/* Integrated Clarity Panel */
.clarity-panel-unified {
    background: #191D23;
    border: 1px solid #2C323B;
    border-radius: 14px;
    padding: 2.5rem;
    max-width: 950px;
    margin: 3rem auto 0;
    text-align: left;
}
.clarity-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.clarity-item {
    background: #21262E;
    border: 1px solid #2E3540;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.clarity-check {
    color: #6FCF97;
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1;
}
.clarity-item-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #6FCF97;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}
.clarity-item-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
}

/* FAQ Accordion (Compact) */
.faq-container {
    max-width: 800px;
    margin: 2.5rem auto 0;
    text-align: left;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--bg-dark);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-answer-panel {
    padding: 0 1.5rem 1.25rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Institutional Block */
.institutional-block {
    background: #F8F7F4;
    border: 1px solid #E8E5DF;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    max-width: 850px;
    margin: 4rem auto 0;
    text-align: center;
}
.institutional-block h3 {
    font-size: 1.25rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}
.institutional-block p {
    font-size: 0.95rem;
    color: var(--bg-dark);
    line-height: 1.6;
    font-weight: 500;
}

/* Risk Reduction Note */
.risk-reduction-note {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-style: italic;
    margin: 1.5rem auto 0;
    max-width: 650px;
    text-align: center;
}

/* ── Scale & Finishing Enhancements (V5) ── */

/* CRM Compact Executive Table */
.crm-table-compact {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}
.crm-tr {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 2fr 1.8fr;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.85rem;
    align-items: center;
}
.crm-tr.header {
    font-weight: 800;
    color: var(--primary-green);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 0.5rem;
}
.crm-tr:last-child {
    border-bottom: none;
}
.crm-tr div:first-child {
    font-weight: 800;
    color: var(--bg-dark);
}

/* Desktop Scale Boosts (15-25% bigger) */
@media (min-width: 1025px) {
    .inv-step-card {
        padding: 2.75rem !important;
    }
    .inv-step-value {
        font-size: 2.2rem !important;
    }
    .simulator-wrapper {
        max-width: 1050px !important;
    }
    .sim-content-area {
        padding: 4rem !important;
    }
    .sim-alert {
        font-size: 1.15rem !important;
        padding: 1.5rem 2rem !important;
    }
    .journey-flow {
        max-width: 980px !important;
    }
    .clarity-panel-unified {
        max-width: 1050px !important;
    }
}

/* ── Refinamento Final (V6): Funil Cônico, Timeline 90 Dias & Escala ── */

/* Funil em formato cônico real */
.funnel-shape-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
.f-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.75rem;
    border-radius: 8px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--bg-dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.f-bar-1 { width: 100%; }
.f-bar-2 { width: 84%; }
.f-bar-3 { width: 68%; border: 2px solid #D64545; background: #FFF5F5; }
.f-bar-4 { width: 54%; border: 2px solid #D64545; background: #FFF5F5; }
.f-bar-5 { width: 40%; background: #24483D; color: var(--white); border-color: #24483D; }

.f-bar .f-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-green);
}
.f-bar-3 .f-num, .f-bar-4 .f-num {
    color: #D64545;
}
.f-bar-5 .f-num {
    color: #6FCF97;
}

.f-arrow-drop {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-gray);
}
.f-arrow-alert {
    padding: 0.6rem 1rem;
    margin: 0.4rem 0;
    background: #FFF0F0;
    border: 1px dashed #D64545;
    border-radius: 6px;
    color: #D64545;
    font-weight: 800;
    font-size: 0.85rem;
    text-align: center;
}

/* Timeline do Projeto Klein — Linha de Jornada 90 Dias */
.timeline-journey {
    position: relative;
    max-width: 750px;
    margin: 2rem auto 0;
    padding-left: 2rem;
    border-left: 3px solid #6FCF97;
}
.tj-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    text-align: left;
}
.tj-item:last-child {
    margin-bottom: 0;
}
.tj-dot {
    position: absolute;
    left: -2.75rem;
    top: 0.2rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #6FCF97;
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 0 2px #6FCF97;
}
.tj-item.final .tj-dot {
    background: var(--white);
    box-shadow: 0 0 0 2px var(--white);
}
.tj-time {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #6FCF97;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}
.tj-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    margin-bottom: 0.25rem;
}
.tj-desc {
    font-size: 0.9rem;
    color: #C5CDD6;
    margin: 0;
}

/* Hierarquia do Simulador — Dominância do Resultado */
.sim-step-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary-green);
    background: rgba(111,207,151,0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.sim-dominant-result {
    background: rgba(111, 207, 151, 0.1);
    border: 2px solid #6FCF97;
    border-radius: 10px;
    padding: 1.75rem;
    text-align: center;
    margin-bottom: 1.25rem;
}
.sim-dominant-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    margin-top: 0.25rem;
}

/* Redução de Barriga (Ritmo de Seções do Meio) */
.funnel-section, .crm-section, .before-after-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

@media (max-width: 767px) {
    .f-bar {
        width: 100% !important;
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
    .timeline-journey {
        padding-left: 1.25rem;
    }
    .tj-dot {
        left: -1.9rem;
    }
}

/* ── Prevent horizontal scroll globally ── */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ── Safari specific fixes ── */
@supports (-webkit-touch-callout: none) {
    .btn { -webkit-appearance: none; }
    input, select, textarea { -webkit-appearance: none; border-radius: 4px; }
}

/* ── Print ── */
@media print {
    .whatsapp-float, .navbar { display: none; }
    .section-padding { padding: 2rem 0; }
    .reveal { opacity: 1; transform: none; }
}


/* ========================================================================== 
   FINAL HOSTINGER POLISH — 14/08/2026
   Safety-first overrides: contrast, responsive visibility and mobile usability.
   ========================================================================== */

/* Stronger readable secondary text without changing the visual identity */
:root {
    --text-gray: #4F5964;
}
.dark-section .subheadline,
.dark-section .discrete,
.dark-section .svo-conclusion,
.dark-section .tj-desc,
.dark-section .q-subtitle {
    color: #C5CDD6;
}
.dark-section .label-discrete,
.dark-section .inv-discrete {
    color: #B8C1CB;
}

/* Never allow reveal animation to permanently hide content on touch/mobile. */
@media (max-width: 768px) {
    .reveal,
    .reveal.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
    }

    /* Preserve all visual/demonstrative blocks, but make them fit narrow screens. */
    .hero-panel,
    .questions-interface,
    .clarity-panel-unified,
    .simulator-wrapper,
    .vision-tabs-wrapper,
    .practical-example,
    .process-before-after,
    .structure-vs-operation,
    .investment-card,
    .klein-form {
        width: 100%;
        max-width: 100%;
    }

    .questions-interface,
    .clarity-panel-unified,
    .sim-content-area,
    .v-content-area {
        padding: 1.25rem !important;
    }

    .q-grid,
    .clarity-panel-grid,
    .dash-metrics,
    .investigation-grid,
    .practice-grid,
    .before-after-grid,
    .integration-grid,
    .build-grid {
        grid-template-columns: 1fr !important;
    }

    /* CRM table becomes a readable stacked card instead of overflowing. */
    .crm-tr {
        grid-template-columns: 1fr !important;
        gap: 0.35rem;
        padding: 1rem 0;
    }
    .crm-tr.header { display: none; }

    /* Keep the fixed WhatsApp CTA without covering the final content. */
    body { padding-bottom: 82px; }
    .whatsapp-float {
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    /* Avoid tiny low-contrast support copy on phones. */
    .discrete,
    .illustrative-label,
    .illustrative-center,
    .inv-discrete,
    .risk-reduction-note {
        font-size: 0.78rem;
        line-height: 1.45;
    }
}

/* Accessibility / stability: users who request reduced motion still see everything. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Better keyboard visibility for conversion elements. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #6FCF97;
    outline-offset: 3px;
}

/* ========================================================================== 
   BALANCED CONTRAST PASS — 14/08/2026
   Preserve Klein's muted premium palette while improving real-world readability.
   ========================================================================== */
:root {
    --text-gray: #46515C;
    --text-soft: #66717C;
    --dark-text: #D6DCE2;
    --dark-text-soft: #B9C2CB;
    --green-readable: #2D5C4E;
    --green-light-readable: #86D6A7;
}

/* Light surfaces: readable, still soft — avoid harsh pure black for body copy. */
body,
.inv-step-desc,
.about-content p,
.discrete,
.c-desc,
.stat-label,
.prod-name,
.prod-divider,
.panel-label,
.label-discrete,
.illustrative-label,
.illustrative-center,
.prod-table th,
.crm-disclaimer p {
    color: var(--text-gray);
}

/* Important explanatory copy deserves a little more weight than tertiary notes. */
.inv-step-desc,
.about-content p,
.discrete,
.crm-disclaimer p,
.risk-reduction-note,
.sim-conclusion {
    font-weight: 500;
}

/* Muted notes remain visually secondary, but no longer look disabled. */
.illustrative-label,
.illustrative-center,
.label-discrete,
.inv-discrete,
.q-subtitle {
    color: var(--text-soft);
    opacity: 1;
}

/* Dark sections: lift secondary copy enough for comfortable reading without turning it bright white. */
.dark-section .subheadline,
.dark-section .discrete,
.dark-section .label-discrete,
.dark-section .svo-conclusion,
.dark-section .tj-desc,
.dark-section .sim-conclusion,
.dark-section .inv-discrete,
.dark-section .risk-reduction-note,
.t-item p,
.svo-title,
.positioning-statement p,
.bridge-subtitle,
.c-item,
.q-subtitle {
    color: var(--dark-text-soft) !important;
    opacity: 1;
}

/* Body/explanatory copy on dark cards gets one step more contrast. */
.protagonist-block p,
.ba-after .ba-list li,
.q-answer,
.inv-includes,
.accomp-flow,
.tag {
    color: var(--dark-text) !important;
}

/* Keep Klein green sophisticated but readable on light surfaces. */
.label,
.inv-step-num,
.inv-step-value,
.b-card h5,
.ig-card strong,
.bridge-phrase strong,
.actor-klein,
.card-tag {
    color: var(--green-readable);
}

/* On dark surfaces use the lighter brand green for contrast. */
.dark-section .label,
.dark-section .highlight-text,
.dark-section .t-time,
.dark-section .t-final .t-title,
.dark-section .del-group h5,
.dark-section .q-tag-label,
.dark-section .clarity-card h5,
.dark-section .protagonist-block strong,
.dark-section .ba-after h4 {
    color: var(--green-light-readable) !important;
}

/* Executive dashboard / recommendation copy: prevent pale-on-pale text. */
.d-label,
.insight-title,
.j-insight strong,
.j-action strong,
.playbook-card h4,
.playbook-card strong {
    color: #3F4953;
}

.insight-item p,
.playbook-card p,
.playbook-card ul,
.b-card p,
.p-step-text,
.inv-step-question {
    color: #20262C;
}

/* Forms must be unquestionably readable. */
.form-group label {
    color: #303840;
}
.form-group input,
.form-group select,
.form-group textarea {
    color: #1C2228;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #737D86;
    opacity: 1;
}

/* Investment card: hierarchy with restrained, non-neon contrast. */
.inv-label,
.inv-from,
.inv-per {
    color: #C8D0D8;
}
.inv-discrete {
    color: #B7C0C9 !important;
}

/* Preserve red/yellow alerts but slightly deepen light-background labels for readability. */
.hero-flow-item.pipeline .panel-label { color: #745A00; }
.hero-flow-item.pipeline .panel-value { color: #986C00; }
.highlight-red .panel-value { color: #B83E3E; }
.stat-alert { color: #B83E3E; }

/* Avoid dim states becoming unreadable on small screens. */
@media (max-width: 767px) {
    .priority-item.dim,
    .j-step.dim,
    .j-arrow.dim,
    .c-step.dim {
        opacity: 0.72;
    }

    .inv-step-desc,
    .discrete,
    .risk-reduction-note,
    .sim-conclusion,
    .crm-disclaimer p,
    .about-content p {
        color: #46515C;
    }

    .dark-section .discrete,
    .dark-section .sim-conclusion,
    .dark-section .risk-reduction-note,
    .dark-section .subheadline,
    .dark-section .label-discrete {
        color: #C2CAD2 !important;
    }
}

/* ==========================================================================
   KLEIN COMPANY — CONTRASTE GLOBAL FINAL
   Aplicar ao final do CSS. Preserva a identidade bege + grafite + verde,
   mas elimina textos "fantasma" em fundos claros e escuros.
   ========================================================================== */

:root {
    --kc-text-main: #20272D;
    --kc-text-secondary: #3F4952;
    --kc-text-muted: #58636D;

    --kc-dark-main: #F2F4F5;
    --kc-dark-secondary: #D1D7DC;
    --kc-dark-muted: #B8C0C7;

    --kc-green-light-bg: #285346;
    --kc-green-dark-bg: #85CDA2;

    --kc-red-light-bg: #9A3F3F;
    --kc-amber-light-bg: #765C13;
}

/* =========================================================
   1. FUNDOS CLAROS — REGRA GERAL
   ========================================================= */

/* Parágrafos e textos de apoio em seções claras */
body,
.bg-white,
.form-section,
.practical-example,
.process-before-after,
.vision-tabs-wrapper,
.premium-card,
.panel-card,
.journey-flow,
.crm-flow,
.playbook-card,
.b-card,
.ig-card,
.investigation-step,
.faq-item,
.institutional-card,
.ba-before,
.clarity-panel-unified {
    color: var(--kc-text-main);
}

/* Textos secundários que estavam claros demais */
.subheadline,
.description,
.label-discrete,
.panel-label,
.card-conclusion p,
.prod-name,
.prod-divider,
.stat-label,
.discrete,
.about-content p,
.crm-disclaimer p,
.inv-step-desc,
.risk-reduction-note,
.build-cat-list li span,
.faq-answer-panel,
.hero-flow-item.sub,
.sim-data-row span,
.sim-conclusion,
.rec-label,
.self-id-conclusion,
.slide span,
.c-desc,
.prod-table th,
.illustrative-label,
.illustrative-center {
    color: var(--kc-text-secondary) !important;
    opacity: 1 !important;
}

/* Legendas realmente terciárias continuam discretas, mas legíveis */
.illustrative-label,
.illustrative-center,
.label-discrete,
.risk-reduction-note,
.q-subtitle {
    color: var(--kc-text-muted) !important;
}

/* Labels e títulos pequenos em cards claros */
.d-label,
.insight-title,
.j-insight strong,
.j-action strong,
.playbook-card h4,
.playbook-card strong,
.prod-table th,
.clarity-item-title {
    color: #354049 !important;
}

/* Conteúdo de cards claros */
.insight-item p,
.playbook-card p,
.playbook-card ul,
.b-card p,
.inv-step-question,
.clarity-item-text,
.faq-answer-panel,
.ba-before .ba-list li {
    color: var(--kc-text-main) !important;
}

/* =========================================================
   2. MINI DASHBOARD / HERO — TODOS OS INDICADORES
   ========================================================= */

.hero-panel .panel-label,
.hero-flow-item .panel-label,
.hero-panel .stat-label {
    color: #354049 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

.hero-panel .panel-value,
.hero-flow-item .panel-value,
.hero-panel .stat-large {
    color: #1E262C !important;
    font-weight: 800 !important;
    opacity: 1 !important;
}

/* Resultado positivo */
.hero-flow-item.result .panel-label,
.highlight-green .panel-label {
    color: var(--kc-green-light-bg) !important;
}

.hero-flow-item.result .panel-value,
.highlight-green .panel-value {
    color: #234D40 !important;
}

/* Propostas sem fechamento — âmbar elegante, não apagado */
.hero-flow-item.pipeline .panel-label {
    color: #62501C !important;
}

.hero-flow-item.pipeline .panel-value {
    color: var(--kc-amber-light-bg) !important;
}

/* Alertas vermelhos */
.highlight-red .panel-label,
.stat-alert {
    color: #7A3B3B !important;
}

.highlight-red .panel-value {
    color: var(--kc-red-light-bg) !important;
}

/* =========================================================
   3. DIAGNÓSTICO / INVESTIGAÇÃO / PORTFÓLIO
   ========================================================= */

.inv-step-desc,
.inv-step-question,
.prod-table th,
.build-cat-list li span {
    color: var(--kc-text-secondary) !important;
}

.inv-step-value,
.inv-step-num,
.actor-klein,
.macro-block-title,
.b-card h5,
.ig-card strong,
.bridge-phrase strong,
.label,
.card-tag {
    color: var(--kc-green-light-bg) !important;
}

/* =========================================================
   4. FUNIL / CRM / PROCESSOS EM FUNDO CLARO
   ========================================================= */

.f-bar,
.f-bar .f-label,
.f-bar .f-num,
.c-step,
.j-step,
.p-step-text,
.p-step-arrow,
.crm-disclaimer p {
    opacity: 1 !important;
}

.f-bar .f-label,
.c-step,
.j-step,
.p-step-text {
    color: var(--kc-text-main);
}

.f-arrow-drop,
.c-arrow,
.j-arrow {
    color: #4B5660 !important;
}

/* Estados visualmente "dim" não podem parecer desabilitados */
.priority-item.dim,
.j-step.dim,
.j-arrow.dim,
.c-step.dim {
    opacity: 0.78 !important;
}

/* =========================================================
   5. FUNDOS ESCUROS — REGRA GERAL
   ========================================================= */

.dark-section,
.structure-vs-operation,
.protagonist-block,
.custom-scope,
.investment-card,
.ba-after,
.q-card,
.timeline,
.project-klein {
    color: var(--kc-dark-main);
}

/* Textos secundários em fundos escuros */
.dark-section .subheadline,
.dark-section .discrete,
.dark-section .label-discrete,
.positioning-statement p,
.svo-title,
.svo-conclusion,
.t-item p,
.c-item,
.bridge-subtitle,
.q-subtitle,
.q-answer,
.ba-after .ba-list li,
.inv-includes,
.inv-discrete,
.dark-section .sim-data-row span,
.dark-section .sim-conclusion,
.dark-section .rec-label,
.dark-section .risk-reduction-note {
    color: var(--kc-dark-secondary) !important;
    opacity: 1 !important;
}

/* Terciários em fundo escuro */
.dark-section .illustrative-label,
.dark-section .illustrative-center,
.inv-discrete,
.q-subtitle {
    color: var(--kc-dark-muted) !important;
}

/* Verde em fundo escuro: claro, elegante, sem neon */
.dark-section .label,
.dark-section .highlight-text,
.dark-section .t-time,
.dark-section .t-final .t-title,
.dark-section .del-group h5,
.dark-section .q-tag-label,
.dark-section .clarity-card h5,
.dark-section .protagonist-block strong,
.dark-section .ba-after h4,
.t-time,
.t-final .t-title,
.protagonist-block strong {
    color: var(--kc-green-dark-bg) !important;
}

/* Texto principal em cards escuros */
.protagonist-block p,
.ba-after .ba-list li,
.q-answer,
.inv-includes,
.accomp-flow,
.tag,
.c-item {
    color: var(--kc-dark-secondary) !important;
}

/* =========================================================
   6. SIMULADOR
   ========================================================= */

.dark-section .sim-tab {
    color: #C3CBD2;
}

.dark-section .sim-tab.active {
    color: #FFFFFF;
}

.dark-section .sim-data-row span {
    color: #C8CFD5 !important;
}

.dark-section .sim-data-row strong,
.dark-section .sim-alert,
.dark-section .rec-text {
    color: #F4F5F6 !important;
}

/* =========================================================
   7. PROJETO KLEIN / TIMELINE
   ========================================================= */

.t-item p {
    color: #CED4D9 !important;
    font-weight: 500;
}

.t-title {
    color: #F4F5F6 !important;
}

.t-time {
    color: var(--kc-green-dark-bg) !important;
}

/* =========================================================
   8. INVESTIMENTO
   ========================================================= */

.inv-label,
.inv-from,
.inv-per {
    color: #D3D9DE !important;
}

.inv-cycle,
.inv-price {
    color: #FFFFFF !important;
}

.inv-includes {
    color: #E0E4E7 !important;
}

.inv-discrete {
    color: #C8CFD5 !important;
}

/* =========================================================
   9. FORMULÁRIO
   ========================================================= */

.form-group label {
    color: #29323A !important;
}

.form-group input,
.form-group select,
.form-group textarea {
    color: #182027 !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #66727C !important;
    opacity: 1 !important;
}

/* =========================================================
   10. MOBILE
   ========================================================= */

@media (max-width: 767px) {
    /* Textos em fundo claro */
    .subheadline,
    .description,
    .panel-label,
    .card-conclusion p,
    .prod-name,
    .stat-label,
    .discrete,
    .about-content p,
    .crm-disclaimer p,
    .inv-step-desc,
    .risk-reduction-note,
    .build-cat-list li span,
    .faq-answer-panel,
    .hero-flow-item.sub,
    .sim-conclusion {
        color: #39434C !important;
    }

    /* Hero mobile */
    .hero-panel .panel-label,
    .hero-flow-item .panel-label {
        color: #303A43 !important;
        font-weight: 700 !important;
    }

    .hero-panel .panel-value,
    .hero-flow-item .panel-value {
        color: #182026 !important;
        font-weight: 800 !important;
    }

    .hero-flow-item.pipeline .panel-label {
        color: #594815 !important;
    }

    .hero-flow-item.pipeline .panel-value {
        color: #6E560F !important;
    }

    .highlight-red .panel-label {
        color: #703838 !important;
    }

    .highlight-red .panel-value {
        color: #913B3B !important;
    }

    /* Escuros mobile */
    .dark-section .subheadline,
    .dark-section .discrete,
    .dark-section .label-discrete,
    .dark-section .sim-conclusion,
    .dark-section .risk-reduction-note,
    .dark-section .tj-desc,
    .t-item p,
    .q-answer,
    .c-item,
    .inv-discrete {
        color: #CFD5DA !important;
    }

    /* Estados apagados continuam diferenciados, mas legíveis */
    .priority-item.dim,
    .j-step.dim,
    .j-arrow.dim,
    .c-step.dim {
        opacity: 0.82 !important;
    }
}
/* =========================================================
   KLEIN — CORREÇÃO DEFINITIVA DE CONTRASTE
   ========================================================= */

/* ---------- FUNDOS CLAROS ---------- */

body,
.bg-white,
.form-section,
.practical-example,
.process-before-after,
.vision-tabs-wrapper {
    color: #1F272D;
}

.subheadline,
.description,
.discrete,
.label-discrete,
.card-conclusion p,
.about-content p,
.crm-disclaimer p,
.inv-step-desc,
.risk-reduction-note,
.build-cat-list li span,
.faq-answer-panel,
.stat-label,
.prod-name,
.prod-table th,
.illustrative-label,
.illustrative-center {
    color: #3F4952 !important;
    opacity: 1 !important;
}

/* MINI DASHBOARD */
.hero-panel .panel-label,
.hero-flow-item .panel-label,
.hero-panel .stat-label {
    color: #313B43 !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

.hero-panel .panel-value,
.hero-flow-item .panel-value,
.hero-panel .stat-large {
    color: #192126 !important;
    opacity: 1 !important;
    font-weight: 800 !important;
}

/* propostas */
.hero-flow-item.pipeline .panel-label {
    color: #604B0F !important;
}

.hero-flow-item.pipeline .panel-value {
    color: #755A0C !important;
}

/* clientes sem recompra */
.highlight-red .panel-label,
.stat-alert {
    color: #833D3D !important;
}

.highlight-red .panel-value {
    color: #9C3C3C !important;
}

/* CARDS / DASHBOARDS CLAROS */
.d-label,
.insight-title,
.j-insight strong,
.j-action strong,
.playbook-card h4,
.playbook-card strong,
.inv-step-question,
.prod-table th {
    color: #303941 !important;
}

.insight-item p,
.playbook-card p,
.playbook-card li,
.b-card p,
.inv-step-desc,
.build-cat-list li span {
    color: #273038 !important;
}

/* DIVISÃO DE RESPONSABILIDADES */
.structure-vs-operation .svo-title {
    color: #53606B !important;
    opacity: 1 !important;
}

.structure-vs-operation .svo-words {
    color: #182027 !important;
}

/* =========================================================
   FUNDOS ESCUROS
   ========================================================= */

.dark-section {
    color: #F4F5F6;
}

.dark-section .subheadline,
.dark-section .discrete,
.dark-section .label-discrete,
.dark-section .sim-conclusion,
.dark-section .risk-reduction-note,
.dark-section .positioning-statement p,
.dark-section .bridge-subtitle,
.dark-section .rec-label {
    color: #D0D6DB !important;
    opacity: 1 !important;
}

/* SIMULADOR */
.dark-section .sim-data-row span {
    color: #D3D8DD !important;
}

.dark-section .sim-data-row strong {
    color: #FFFFFF !important;
}

/* aqueles rótulos verdes pequenos que estavam quase invisíveis */
.simulator .label,
.simulator .step-label,
.simulator .sim-label,
.simulator .result-label,
.simulator [class*="label"] {
    color: #8FD2AA !important;
    opacity: 1 !important;
}

/* Títulos tipo "1. DADOS DE ENTRADA" */
.simulator h4,
.simulator h5,
.simulator .sim-step-title,
.simulator .sim-result-title {
    color: #8FD2AA !important;
    opacity: 1 !important;
}

/* Projeto Klein */
.t-item p {
    color: #D1D6DB !important;
}

.t-title {
    color: #F5F6F7 !important;
}

.t-time {
    color: #8FD2AA !important;
}

/* =========================================================
   PAINEL DE CLAREZA
   ========================================================= */

.clarity-item-title,
.clarity-card h5 {
    color: #8FD2AA !important;
    opacity: 1 !important;
}

.clarity-item-text,
.clarity-card p {
    color: #F0F2F3 !important;
    opacity: 1 !important;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.cta-final .c-title {
    color: #FFFFFF !important;
}

.cta-final .c-desc {
    color: #D0D6DB !important;
    opacity: 1 !important;
}

.cta-final .c-price {
    color: #8FD2AA !important;
    opacity: 1 !important;
}

.cta-final .cta-email,
.cta-final .cta-email a {
    color: #A8DDBB !important;
}

/* =========================================================
   INVESTIMENTO
   ========================================================= */

.inv-label,
.inv-from,
.inv-per {
    color: #D4DADF !important;
}

.inv-cycle {
    color: #F4F5F6 !important;
}

.inv-price {
    color: #FFFFFF !important;
}

.inv-includes {
    color: #E2E6E9 !important;
}

.inv-discrete {
    color: #C8CFD5 !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
    .subheadline,
    .description,
    .discrete,
    .card-conclusion p,
    .stat-label,
    .prod-name,
    .inv-step-desc,
    .risk-reduction-note {
        color: #374149 !important;
    }

    .dark-section .subheadline,
    .dark-section .discrete,
    .dark-section .label-discrete,
    .dark-section .sim-conclusion,
    .dark-section .risk-reduction-note,
    .t-item p {
        color: #D3D8DD !important;
    }
}
/* =========================================================
   KLEIN — ÚLTIMOS 4 PONTOS DE CONTRASTE
   Não altera mais nenhuma outra área.
   ========================================================= */


/* =========================================================
   1. MINI DASHBOARD INICIAL
   Força números que ainda ficam invisíveis
   ========================================================= */

.hero-panel .panel-card .panel-value,
.hero-panel .panel-card [class*="value"],
.hero-panel .panel-card [class*="number"],
.hero-panel .panel-card [class*="amount"],
.hero-panel .hero-flow-item span:last-child {
    color: #182126 !important;
    -webkit-text-fill-color: #182126 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Propostas sem fechamento */
.hero-panel .hero-flow-item.pipeline .panel-value,
.hero-panel .hero-flow-item.pipeline span:last-child {
    color: #72570D !important;
    -webkit-text-fill-color: #72570D !important;
}

/* Clientes sem recompra / alerta */
.hero-panel .highlight-red .panel-value,
.hero-panel .highlight-red span:last-child {
    color: #973D3D !important;
    -webkit-text-fill-color: #973D3D !important;
}

/* Caso esses dois indicadores estejam em containers próprios */
.hero-panel [class*="pipeline"] strong,
.hero-panel [class*="pipeline"] b,
.hero-panel [class*="client"] strong,
.hero-panel [class*="client"] b {
    opacity: 1 !important;
    visibility: visible !important;
}


/* =========================================================
   2. FAIXA "RECOMENDAÇÃO ESTRATÉGICA KLEIN"
   Fundo claro = texto escuro
   ========================================================= */

.dash-priority-card,
[class*="recommendation"][class*="strateg"],
[class*="strategic-recommendation"] {
    color: #1F312B !important;
}

.dash-priority-card .dp-label,
.dash-priority-card span,
.dash-priority-card strong {
    color: #2B604F !important;
    -webkit-text-fill-color: #2B604F !important;
    opacity: 1 !important;
}

.dash-priority-card p {
    color: #24312D !important;
    -webkit-text-fill-color: #24312D !important;
    opacity: 1 !important;
}


/* =========================================================
   3. SIMULADOR
   "1. DADOS DE ENTRADA"
   "2. RESULTADO DOMINANTE"
   ========================================================= */

.simulator .sim-panel [class*="label"],
.simulator .sim-panel [class*="step-title"],
.simulator .sim-panel [class*="result-title"],
.simulator .sim-panel h4,
.simulator .sim-panel h5 {
    color: #94D9AE !important;
    -webkit-text-fill-color: #94D9AE !important;
    opacity: 1 !important;
}

/* Se esses títulos estiverem dentro de badges */
.simulator .sim-panel [class*="label"] {
    background-color: rgba(111, 207, 151, 0.12) !important;
}


/* =========================================================
   4. CTA FINAL
   Ciclo + preço
   ========================================================= */

.cta-final .c-desc,
.cta-final .cta-resume .c-desc {
    color: #D0D6DB !important;
    -webkit-text-fill-color: #D0D6DB !important;
    opacity: 1 !important;
}

.cta-final .c-price,
.cta-final .cta-resume .c-price {
    color: #8FD2AA !important;
    -webkit-text-fill-color: #8FD2AA !important;
    opacity: 1 !important;
}

/* Segurança caso a versão nova tenha nomes diferentes */
.cta-final [class*="cycle"],
.cta-final [class*="price"],
.cta-final [class*="investment"] {
    opacity: 1 !important;
}

.cta-final [class*="cycle"] {
    color: #D0D6DB !important;
    -webkit-text-fill-color: #D0D6DB !important;
}

.cta-final [class*="price"],
.cta-final [class*="investment"] {
    color: #8FD2AA !important;
    -webkit-text-fill-color: #8FD2AA !important;
}

/* =========================================================
   ÚLTIMO AJUSTE — SOMENTE OS 2 PONTOS RESTANTES
   ========================================================= */

/* 1. MINI DASHBOARD INICIAL */

/* força os valores dos dois indicadores a aparecerem */
.hero-panel .panel-card .pipeline-value,
.hero-panel .panel-card .inactive-value,
.hero-panel .panel-card .opportunity-value,
.hero-panel .panel-card .client-value {
    color: #1D252B !important;
    -webkit-text-fill-color: #1D252B !important;
    opacity: 1 !important;
}

/* como segurança, força qualquer strong/span dentro
   dos dois blocos pequenos */
.hero-panel .hero-flow-item.pipeline strong,
.hero-panel .hero-flow-item.pipeline .panel-value,
.hero-panel .hero-flow-item.pipeline span:not(.panel-label) {
    color: #755A0C !important;
    -webkit-text-fill-color: #755A0C !important;
    opacity: 1 !important;
}

.hero-panel .highlight-red strong,
.hero-panel .highlight-red .panel-value,
.hero-panel .highlight-red span:not(.panel-label) {
    color: #913D3D !important;
    -webkit-text-fill-color: #913D3D !important;
    opacity: 1 !important;
}

/* elimina qualquer transparência herdada */
.hero-panel .hero-flow-item.pipeline,
.hero-panel .highlight-red {
    opacity: 1 !important;
}


/* 2. SIMULADOR — rótulos das etapas */

.simulator .sim-panel .sim-step-label,
.simulator .sim-panel .step-label,
.simulator .sim-panel .result-label,
.simulator .sim-panel .sim-label {
    color: #A1DEB8 !important;
    -webkit-text-fill-color: #A1DEB8 !important;
    opacity: 1 !important;

    background: rgba(111, 207, 151, 0.14) !important;
    border: 1px solid rgba(111, 207, 151, 0.18) !important;

    font-weight: 800 !important;
}

/* fallback para os pequenos badges verdes */
.simulator .sim-panel [class*="step"][class*="label"],
.simulator .sim-panel [class*="result"][class*="label"] {
    color: #A1DEB8 !important;
    -webkit-text-fill-color: #A1DEB8 !important;
    opacity: 1 !important;
}

/* =========================================================
   CORREÇÃO EXATA — MINI DASHBOARD + SIMULADOR
   ========================================================= */

/* MINI DASHBOARD INICIAL */
.hero-panel .panel-card > div[style*="grid-template-columns"] > div:nth-child(1) > span:nth-child(2) {
    color: #755A0C !important;
    -webkit-text-fill-color: #755A0C !important;
}

.hero-panel .panel-card > div[style*="grid-template-columns"] > div:nth-child(2) > span:nth-child(2) {
    color: #913D3D !important;
    -webkit-text-fill-color: #913D3D !important;
}

.hero-panel .panel-card > div[style*="grid-template-columns"] > div:nth-child(2) > span:nth-child(2) small {
    color: #59636D !important;
    -webkit-text-fill-color: #59636D !important;
}

/* SIMULADOR */
.sim-step-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #D7F0E0;
    -webkit-text-fill-color: #D7F0E0;
    background: #254438;
    border: 1px solid #4F806B;
    padding: 0.28rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 0.65rem;
    opacity: 1;
}
/* AJUSTE FINAL — BADGES DO SIMULADOR */
.simulator .sim-step-badge {
    color: #C5E8D2 !important;
    -webkit-text-fill-color: #C5E8D2 !important;

    background: rgba(111, 207, 151, 0.14) !important;
    border: 1px solid rgba(143, 210, 170, 0.40) !important;

    opacity: 1 !important;
    font-weight: 800 !important;
}

/* garante contraste mesmo dentro do painel ativo */
.sim-panel.active .sim-step-badge {
    color: #C5E8D2 !important;
    -webkit-text-fill-color: #C5E8D2 !important;
}
/* =========================================================
   AJUSTE MOBILE — MATRIZ DE PRIORIDADES + BOTÃO FLUTUANTE
   Não altera desktop
   ========================================================= */

@media (max-width: 767px) {

    /* Evita qualquer estouro horizontal */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    /* Painel Visão Klein */
    .vision-tabs-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: hidden !important;
    }

    .v-content-area {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.25rem !important;
    }

    /* =====================================================
       MATRIZ DE PRIORIDADES
       ===================================================== */

    #v-prioridades,
    #v-prioridades .priority-cards,
    #v-prioridades .priority-grid,
    #v-prioridades .matrix-grid {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Tudo passa para uma coluna */
    #v-prioridades .priority-cards,
    #v-prioridades .priority-grid,
    #v-prioridades .matrix-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Cards de prioridade */
    #v-prioridades .p-card,
    #v-prioridades .priority-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    /* Card preto da recomendação */
    #v-prioridades .p-recommendation,
    #v-prioridades .priority-recommendation,
    #v-prioridades .protagonist-block {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 1rem 0 0 0 !important;

        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;

        padding: 1.5rem !important;

        overflow: hidden !important;
    }

    /* Impede texto de sair do card */
    #v-prioridades .p-recommendation *,
    #v-prioridades .priority-recommendation *,
    #v-prioridades .protagonist-block * {
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    /* Cabeçalho da matriz */
    #v-prioridades .panel-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    #v-prioridades .panel-header h3 {
        width: 100% !important;
    }

    /* =====================================================
       BOTÃO FLUTUANTE MOBILE
       ===================================================== */

    .whatsapp-float {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;

        width: auto !important;
        max-width: none !important;

        padding: 0.9rem 1rem !important;
        min-height: 52px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        border-radius: 10px !important;
        font-size: 0.85rem !important;
    }

    /* Espaço para o botão não cobrir o final do conteúdo */
    body {
        padding-bottom: 85px !important;
    }
}
/* =========================================================
   MOBILE — CORREÇÃO DEFINITIVA DA MATRIZ DE PRIORIDADES
   ========================================================= */

@media (max-width: 767px) {

    /* Qualquer container da matriz que contenha a recomendação
       deixa de funcionar em duas colunas */
    #v-prioridades div:has(> .p-recommendation),
    #v-prioridades div:has(> .priority-recommendation),
    #v-prioridades div:has(> .protagonist-block) {
        display: block !important;
        grid-template-columns: 1fr !important;
        flex-direction: column !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        overflow: visible !important;
    }

    /* Lista de prioridades */
    #v-prioridades .priority-cards {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 1rem !important;
    }

    #v-prioridades .p-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    /* Recomendação Klein SEMPRE abaixo dos cards */
    #v-prioridades .p-recommendation,
    #v-prioridades .priority-recommendation {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 1.25rem 0 0 !important;
        padding: 1.5rem !important;

        position: relative !important;
        inset: auto !important;
        transform: none !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #v-prioridades .p-recommendation p,
    #v-prioridades .priority-recommendation p {
        width: 100% !important;
        max-width: 100% !important;

        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;

        font-size: 1rem !important;
        line-height: 1.55 !important;
    }
}

/* ==========================================================================
   WHATSAPP FLOAT — REGRA FINAL E DEFINITIVA
   Mantém o botão circular em desktop e mobile e vence overrides antigos.
   ========================================================================== */
a.whatsapp-float {
    position: fixed !important;
    left: auto !important;
    right: 18px !important;
    top: auto !important;
    bottom: 18px !important;

    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #25D366 !important;
    color: #FFFFFF !important;

    border: 0 !important;
    border-radius: 50% !important;

    font-size: 0 !important;
    line-height: 0 !important;
    text-decoration: none !important;

    overflow: hidden !important;
    box-sizing: border-box !important;

    box-shadow: 0 6px 18px rgba(0,0,0,0.24) !important;
    z-index: 99999 !important;
}

a.whatsapp-float > svg.whatsapp-svg {
    display: block !important;

    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;

    padding: 0 !important;
    margin: 0 !important;

    flex: 0 0 30px !important;
    color: #FFFFFF !important;
}

a.whatsapp-float:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 9px 22px rgba(0,0,0,0.26) !important;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 0 !important;
    }

    a.whatsapp-float {
        right: 16px !important;
        bottom: 16px !important;
    }
}

/* ==========================================================================
   REFINAMENTO FINAL DE COPY / PRODUTO — 15/08/2026
   ========================================================================== */

/* Visão antecipada do Projeto Klein */
.project-preview {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.project-preview-header {
    max-width: 900px;
    margin-bottom: 2.5rem;
}

.project-preview-scope {
    max-width: 820px;
    margin: 1rem auto 0;
    padding: 1rem 1.25rem;
    background: rgba(36,72,61,0.06);
    border: 1px solid rgba(36,72,61,0.12);
    border-radius: 8px;
    color: #4F5963;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.55;
}

.project-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1050px;
    margin: 0 auto;
}

.project-preview-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.5rem;
    min-width: 0;
}

.project-preview-card .preview-num {
    display: block;
    color: var(--primary-green);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
}

.project-preview-card strong {
    display: block;
    font-size: 0.86rem;
    color: var(--bg-dark);
    line-height: 1.35;
    margin-bottom: 0.6rem;
}

.project-preview-card p {
    color: #56606A;
    font-size: 0.84rem;
    line-height: 1.55;
    margin: 0;
}

.project-preview-cta {
    max-width: 850px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.project-preview-cta p {
    color: #414B55;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Nota de escopo na seção detalhada de entregáveis */
.deliverables-scope-note {
    max-width: 820px;
    margin: -0.5rem auto 1.75rem;
    color: #66707A;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.55;
}

/* Âncora de valor antes do preço */
.investment-value-anchor {
    max-width: 820px;
    margin: 0 auto 3rem;
}

.investment-value-anchor h3 {
    color: var(--white);
    max-width: 760px;
    margin: 0 auto 1rem;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    line-height: 1.3;
}

.investment-value-anchor p {
    max-width: 760px;
    margin: 0 auto 0.75rem;
    color: #C5CDD6;
    font-size: 0.95rem;
    line-height: 1.65;
}

.investment-value-anchor small {
    display: block;
    max-width: 720px;
    margin: 0 auto;
    color: #8E98A4;
    font-size: 0.72rem;
    line-height: 1.5;
}

/* Padroniza subtítulos secundários das quatro abas */
.vision-tabs-wrapper .panel-header .illustrative-label {
    color: #66707A !important;
    -webkit-text-fill-color: #66707A !important;
    opacity: 1 !important;
    font-weight: 600 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.05em !important;
}

/* Correção final de largura no mobile */
@media (max-width: 767px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
    }

    .navbar {
        padding: 1rem 0 !important;
    }

    .navbar .container {
        gap: 0.75rem !important;
    }

    .logo {
        font-size: 0.9rem !important;
        line-height: 1.25 !important;
        letter-spacing: 0.08em !important;
        white-space: nowrap !important;
    }

    .btn-nav {
        padding: 0.65rem 0.8rem !important;
        font-size: 0.68rem !important;
        width: auto !important;
        min-width: 0 !important;
        white-space: nowrap !important;
    }

    .hero-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 2rem !important;
    }

    .hero-content,
    .hero-panel {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .hero-content {
        text-align: center !important;
    }

    .hero-content h1 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1.65rem !important;
        line-height: 1.14 !important;
        overflow-wrap: normal !important;
    }

    .hero-content .subheadline,
    .hero-content .description {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 0.98rem !important;
        line-height: 1.55 !important;
    }

    .hero-content > .label {
        max-width: 100% !important;
        white-space: normal !important;
        line-height: 1.35 !important;
        text-align: center !important;
        overflow-wrap: break-word !important;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.75rem !important;
        margin-top: 1.5rem !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .panel-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 1.25rem !important;
        box-sizing: border-box !important;
    }

    .hero-panel *,
    .panel-card * {
        max-width: 100%;
        box-sizing: border-box;
    }

    img,
    svg,
    table {
        max-width: 100%;
    }

    .project-preview-grid {
        grid-template-columns: 1fr !important;
    }

    .project-preview-card {
        padding: 1.25rem;
    }

    .project-preview-header h2 {
        font-size: 1.35rem;
    }

    .project-preview-cta .btn {
        width: 100%;
    }

    .investment-value-anchor {
        margin-bottom: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .project-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

