/*
* Ventura Consultoria - Site Independente
* Alta performance, CRO e Design Estratégico
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700;800&display=swap');

:root {
    /* Paleta da Marca */
    --brand-primary: #8cc63e;
    --brand-dark: #606060;
    --brand-light: #f9fbf3;
    --brand-accent-1: #acce7d;
    --brand-gray: #a3a3a3;
    --brand-lightest: #e3f6c7;
    --brand-black: #222222;
    --brand-accent-2: #92bd53;

    /* Semantic Mappings - Light Theme */
    --bg-primary: var(--brand-light); 
    --bg-surface: #ffffff; 
    --text-primary: var(--brand-black); 
    --text-secondary: var(--brand-dark); 
    --text-muted: var(--brand-gray);
    
    --accent-primary: var(--brand-primary); 
    --accent-hover: var(--brand-accent-2); 
    
    /* Easing and Motion */
    --ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.15);
    
    /* Superfícies & Sombras */
    --shadow-ambient: 0 24px 48px -12px rgba(140, 198, 62, 0.15);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --border-hairline: 1px solid rgba(0, 0, 0, 0.05);
    --radius-large: 2rem;
    --radius-medium: 1.5rem;
    --radius-pill: 9999px;
}

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

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Outfit', sans-serif; 
    color: var(--text-primary); 
    line-height: 1.6; 
    background-color: var(--bg-primary); 
    padding-top: 40px; /* Compensa o top-bar */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 { 
    font-weight: 800; 
    line-height: 1.1; 
    letter-spacing: -0.02em; 
}

h1 { font-size: 4.5rem; }
h2.section-title { font-size: 3rem; margin-bottom: 1rem; color: var(--brand-black); }
p.section-subtitle { font-size: 1.25rem; color: var(--text-secondary); max-width: 65ch; line-height: 1.7; margin-bottom: 4rem; }

.container { 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

section { 
    padding: 5rem 0; 
    position: relative; 
}

.py-mega { padding: 7rem 0; }

a { 
    text-decoration: none; 
    color: inherit; 
}

/* --- TOP BAR --- */
.top-bar { 
    background-color: var(--brand-black); 
    color: var(--brand-lightest); 
    text-align: center; 
    padding: 10px 20px; 
    font-size: 0.85rem; 
    font-weight: 500; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 1002; 
    letter-spacing: 0.02em; 
}
.top-bar strong { color: var(--brand-primary); font-weight: 800; }
.top-bar a { color: var(--brand-primary); text-decoration: underline; font-weight: bold; }

/* --- HEADER / NAVBAR --- */
.main-header { 
    background: transparent; 
    padding: 30px 0; 
    position: fixed; 
    width: 100%; 
    top: 38px; 
    left: 0; 
    z-index: 1000; 
    transition: all 0.4s var(--ease-fluid); 
}
.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: var(--shadow-soft);
    border-bottom: var(--border-hairline);
}

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

/* Logo dinâmico */
.logo a {
    display: flex;
    align-items: center;
}
.logo img { 
    height: 75px; 
    width: auto; 
    transition: all 0.4s var(--ease-fluid); 
    filter: none; /* Colorido no estado inicial */
}
.main-header.scrolled .logo img {
    height: 50px;
    filter: grayscale(100%) brightness(30%); /* Fica cinza/preto escuro ao rolar para combinar com design minimalista */
}

/* Nav Links */
.main-nav ul { 
    list-style: none; 
    display: flex; 
    align-items: center; 
    gap: 2.5rem; 
}
.main-nav ul li a { 
    color: var(--text-primary); 
    font-weight: 600; 
    font-size: 1rem; 
    transition: color 0.3s ease; 
    position: relative;
}
.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px;
    left: 0;
    background-color: var(--brand-primary);
    transition: width 0.3s ease;
}
.main-nav ul li a:hover::after { width: 100%; }
.main-nav ul li a:hover { color: var(--brand-primary); }

.nav-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.nav-whatsapp::after { display: none !important; }
.nav-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.nav-cta {
    background: var(--brand-primary) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 15px rgba(140, 198, 62, 0.4);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(140, 198, 62, 0.6); }

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: var(--brand-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(140, 198, 62, 0.5);
    z-index: 9999;
    animation: pulse-whatsapp 2s infinite;
    transition: transform 0.3s var(--ease-spring);
}
.whatsapp-float svg { width: 35px; height: 35px; fill: currentColor; }
.whatsapp-float:hover { transform: scale(1.1); animation: none; }

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(140, 198, 62, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(140, 198, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(140, 198, 62, 0); }
}

/* --- BUTTONS --- */
.btn-primary {
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent-2));
    color: #ffffff;
    padding: 18px 45px;
    border-radius: var(--radius-pill);
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(140,198,62,0.4);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-spring);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(140,198,62,0.6);
}
.btn-primary:active {
    transform: translateY(1px);
}
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* --- HERO SECTION --- */
.hero-split {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 150px;
    background: linear-gradient(135deg, rgba(249,251,243,0.95), rgba(227,246,199,0.85)), url('https://images.unsplash.com/photo-1554224155-1696413565d3?q=80&w=2070&auto=format&fit=crop') center/cover fixed;
}
.hero-split .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(140, 198, 62, 0.15);
    color: var(--brand-dark);
    border: 1px solid rgba(140, 198, 62, 0.4);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
}

.hero-content h1 {
    color: var(--brand-black);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(255,255,255,0.5);
}
.hero-content h1 span {
    color: var(--brand-primary);
    text-shadow: none;
}
.hero-content p {
    font-size: 1.35rem;
    color: var(--brand-dark);
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* --- KPI SECTION --- */
.kpi-section {
    background: linear-gradient(45deg, var(--brand-dark), var(--brand-black));
    color: var(--brand-light);
    margin: 0;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}
.kpi-section::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(140,198,62,0.2) 0%, transparent 40%);
    pointer-events: none;
}
.kpi-section h2.section-title { color: var(--brand-light); }
.kpi-section p.section-subtitle { color: var(--brand-gray); margin: 0 auto; }
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    text-align: center;
    margin-top: 5rem;
    position: relative;
    z-index: 2;
}
.kpi-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--brand-primary);
    text-shadow: 0 4px 20px rgba(140,198,62,0.3);
}
.kpi-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-lightest);
    font-weight: 600;
}

/* --- DOUBLE-BEZEL CARDS (SERVIÇOS) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}
.doppelrand-wrapper {
    background: linear-gradient(135deg, var(--bg-surface), var(--brand-lightest));
    border: var(--border-hairline);
    padding: 0.75rem;
    border-radius: var(--radius-large);
    transition: transform 0.6s var(--ease-fluid), box-shadow 0.6s var(--ease-fluid);
    box-shadow: var(--shadow-soft);
}
.doppelrand-inner {
    background: var(--bg-surface);
    border-radius: var(--radius-medium);
    padding: 3.5rem 2.5rem;
    height: 100%;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(140,198,62,0.1);
}
.doppelrand-wrapper:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-ambient);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 2rem;
    background: var(--brand-lightest);
    color: var(--brand-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-icon svg { width: 32px; height: 32px; stroke-width: 2; }
.bento-grid h3 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--brand-black); }
.bento-grid p { color: var(--brand-dark); margin-bottom: 2rem; font-size: 1.1rem; }

.check-list { list-style: none; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1.05rem;
    color: var(--brand-dark);
    font-weight: 500;
}
.check-list li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--brand-primary);
    margin-top: 4px;
}

/* --- TRUST BADGES --- */
.trust-badges { 
    background-color: var(--bg-surface); 
    padding: 30px 0; 
    border-bottom: var(--border-hairline); 
}
.trust-badges p { 
    text-align: center; 
    font-size: 0.9rem; 
    font-weight: 700; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    margin-bottom: 20px; 
}
.badges-container { 
    display: flex; 
    justify-content: center; 
    gap: 50px; 
    flex-wrap: wrap; 
    opacity: 0.8; 
}
.badge-item { 
    font-family: 'Outfit', sans-serif; 
    font-weight: 800; 
    font-size: 1.25rem; 
    color: var(--text-secondary); 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

/* --- INFOGRAPHICS / DADOS --- */
.infographic-section { background-color: var(--bg-primary); position: relative; }
.infographic-grid { display: grid; grid-template-columns: 1fr; gap: 50px; margin-top: 4rem; }
.info-card { 
    background-color: var(--bg-surface); 
    padding: 60px; 
    border-radius: var(--radius-large); 
    box-shadow: var(--shadow-soft); 
    transition: all 0.4s var(--ease-fluid); 
    border: var(--border-hairline); 
}
.info-card-title { text-align: center; margin-bottom: 50px; color: var(--brand-black); font-size: 2.2rem; }
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 60px; }
.chart-title { text-align: center; font-weight: 700; margin-bottom: 15px; font-size: 1.5rem; color: var(--brand-primary); }
.chart-description { font-size: 1.1rem; text-align: center; max-width: 500px; margin: 0 auto 30px auto; color: var(--text-secondary); }
.chart-container { position: relative; width: 100%; max-width: 500px; margin: 0 auto; height: 350px; }

/* --- FLOW PROCESS (ETAPAS) --- */
.flow-process { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px 0; }
.flow-step { 
    border: var(--border-hairline); 
    background-color: var(--bg-primary); 
    padding: 2.5rem 1.5rem; 
    border-radius: var(--radius-medium); 
    text-align: center; 
    width: 100%; 
    max-width: 320px; 
    box-shadow: var(--shadow-soft); 
    position: relative; 
    z-index: 1; 
}
.flow-step:hover { 
    border-color: var(--brand-primary); 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-ambient); 
}
.flow-step strong { display: block; font-size: 1.3rem; color: var(--brand-black); margin-bottom: 10px; font-weight: 800; }
.flow-step p { font-size: 1rem; color: var(--text-secondary); }
.flow-step .step-icon { 
    font-size: 2.5rem; 
    margin-bottom: 15px; 
    color: var(--brand-primary); 
    display: flex;
    justify-content: center;
}
.flow-arrow { font-size: 2.5rem; color: var(--brand-gray); align-self: center; transform: rotate(90deg); transition: color 0.3s; }
.flow-process:hover .flow-arrow { color: var(--brand-primary); }

/* --- CTA SECUNDÁRIA --- */
.cta-secondary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent-2));
    padding: 100px 0;
    text-align: center;
    color: white;
}
.cta-secondary h2 { color: white; font-size: 3.5rem; margin-bottom: 1.5rem; }
.cta-secondary p { font-size: 1.4rem; max-width: 800px; margin: 0 auto 3rem auto; opacity: 0.95; }
.btn-white {
    background: white;
    color: var(--brand-primary);
    padding: 18px 45px;
    border-radius: var(--radius-pill);
    font-size: 1.15rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s var(--ease-spring);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-transform: uppercase;
}
.btn-white:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    color: var(--brand-accent-2);
}

/* --- CONTATO --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.form-wrapper {
    background: var(--bg-surface);
    padding: 4rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-ambient);
    border: var(--border-hairline);
    position: relative;
}
.form-input {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    background: var(--brand-light);
    border: 2px solid transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    border-radius: 12px;
    color: var(--brand-black);
}
.form-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(140,198,62,0.1);
}

/* Mensagens de feedback do formulário */
.form-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeIn 0.4s ease;
}
.form-message.success {
    background-color: #eafaf1;
    color: #27ae60;
    border: 1px solid #2ecc71;
}
.form-message.error {
    background-color: #fdeeed;
    color: #c0392b;
    border: 1px solid #e74c3c;
}

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

/* --- FOOTER --- */
.main-footer { 
    background: var(--brand-black); 
    color: var(--brand-gray); 
    padding: 80px 0 30px 0; 
    position: relative; 
}
.main-footer::before { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 6px; 
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent-1)); 
}
.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 50px; 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
    padding-bottom: 50px; 
    margin-bottom: 30px; 
}
.footer-logo { height: 60px; filter: brightness(0) invert(1); margin-bottom: 20px; opacity: 0.9; }
.footer-desc { font-size: 1rem; line-height: 1.7; max-width: 400px; }
.footer-col h4 { color: white; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: var(--brand-gray); transition: all 0.3s ease; font-size: 1rem; display: inline-block; }
.footer-col ul li a:hover { color: var(--brand-primary); transform: translateX(5px); }
.footer-contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; color: var(--brand-gray); font-size: 1rem; }
.footer-contact-item .icon { color: var(--brand-primary); font-size: 1.2rem; }
.footer-bottom { text-align: center; font-size: 0.9rem; color: #777; }

/* --- REVEAL ANIMATIONS --- */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(10px);
    transition: all 1s var(--ease-fluid);
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* --- RESPONSIVE --- */
@media (min-width: 992px) {
    .flow-process { flex-direction: row; justify-content: space-between; align-items: stretch; }
    .flow-arrow { transform: rotate(0deg); margin: 0 -20px; align-self: center; }
}

@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    .kpi-grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
    .form-wrapper { padding: 3rem 2rem; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    section { padding: 5rem 0; }
    .main-header { padding: 20px 0; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); }
    .main-header .logo img { height: 50px; filter: grayscale(100%) brightness(30%); }
    .main-header .container { flex-direction: column; gap: 1rem; }
    .main-nav ul { gap: 1rem; justify-content: center; flex-wrap: wrap; }
    .hero-split { padding-top: 180px; }
    .footer-grid { grid-template-columns: 1fr; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 60px; height: 60px; }
}
