/* 
    Negócio Protagonista — Design System 
    Author: Antigravity
*/

:root {
    /* Colors */
    --primary: #00C2CB;
    --primary-dark: #0097A7;
    --accent: #EC407A;
    --text-main: #1A202C;
    --text-muted: #4A5568;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: clamp(60px, 10vh, 100px) 0;
    
    /* Fluid Typography */
    --h1-size: clamp(2.4rem, 8vw, 3.5rem);
    --h2-size: clamp(1.8rem, 5vw, 2.5rem);
    --h3-size: clamp(1.3rem, 4vw, 1.8rem);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

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

/* Header */
.main-header {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo-text .highlight {
    color: var(--primary);
}

.nav-desktop ul {
    display: flex;
    gap: 30px;
}

.nav-desktop a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-desktop a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 194, 203, 0.2);
}

.btn:active, .segment-pill:active {
    transform: scale(0.96);
    filter: brightness(0.9);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin: 20px 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-cyan {
    background-color: rgba(0, 194, 203, 0.1);
    color: var(--primary);
}

.social-proof-mini {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

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

.max-width-600 {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 20px;
}

/* Problem Cards */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.problem-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-card h3 {
    margin: 20px 0 10px;
}

.problem-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.icon-accent {
    color: var(--accent);
    width: 32px;
    height: 32px;
}

/* Segmentos Tabs & Details */
.segments-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.segment-pill {
    padding: 10px 22px;
    background-color: var(--white);
    border: 1px solid rgba(0, 194, 203, 0.3);
    color: var(--text-muted);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.segment-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(0, 194, 203, 0.05);
}

.segment-pill.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 194, 203, 0.2);
    transform: translateY(-2px);
}

.segment-details-container {
    background-color: var(--bg-light);
    border-radius: 24px;
    padding: 50px 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.segment-detail-content {
    display: none;
    animation: fadeIn 0.5s ease-out forwards;
}

.segment-detail-content.active {
    display: block;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--accent);
    position: relative;
    padding-bottom: 10px;
}

.detail-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
    opacity: 0.3;
}

.detail-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 0;
}

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

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Method Steps */
.bg-dark {
    background-color: #111827;
}

.text-white {
    color: var(--white);
}

.method-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step-item:last-child {
    border-bottom: none;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
    flex-shrink: 0;
}

.step-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.step-info p {
    opacity: 0.7;
    font-size: 1rem;
}

.opacity-80 {
    opacity: 0.8;
}

/* Responsive Content */
@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .step-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        align-items: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Specialist Section */
.specialist-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.specialist-img-box {
    background-color: var(--bg-light);
    border-radius: 50%; /* Formato oval/elipse */
    aspect-ratio: 0.8; /* Proporção de retrato */
    max-width: 380px; /* Reduz o tamanho geral */
    margin: 0 auto; /* Centraliza no grid box */
    overflow: hidden;
    position: relative;
    border: 12px solid var(--white); /* Moldura */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1); /* Sombra de quadro antigo */
}

.specialist-bio h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.specialist-bio p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.pillar-card {
    padding: 20px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.pillar-card h4 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.pillar-card p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimony-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimony-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.testimony-author {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.turma-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 5px;
    font-style: normal;
}

/* Mercado Stats */
.market-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.market-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-list {
    margin-top: 40px;
}

.faq-item {
    background-color: var(--white);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 194, 203, 0.02);
}

.faq-answer {
    padding: 0 25px; /* Remover padding vertical no estado fechado */
    color: var(--text-muted);
    font-size: 0.95rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px; 
    padding-bottom: 25px;
    padding-top: 10px; /* Adicionar espaço após abrir */
}

.faq-item.active .faq-question {
    color: var(--primary);
}

/* Contact & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: flex-start;
}

.contact-perks {
    margin-top: 40px;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 500;
}

.icon-cyan {
    color: var(--primary);
}

.contact-form-box {
    background-color: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

input, select, textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-full {
    width: 100%;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 15px;
}

/* Footer */
.main-footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-logo {
    margin-bottom: 20px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0 10px;
}

/* Final Responsive Extras */
/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

/* Telas Grandes e Laptops (1024px) */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .hero-container, 
    .specialist-container, 
    .contact-grid {
        gap: 40px;
    }
}

/* Tablets e Mobile Landscape (768px) */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }

    /* Navegação */
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background-color: var(--bg-light);
    }

    /* Hero */
    .hero-section {
        padding: 60px 0 40px;
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* Seção Especialista */
    .specialist-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .specialist-img-box {
        max-width: 320px;
    }

    /* Seção Problemas e Depoimentos */
    .problem-grid, 
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Seção Método */
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 25px 0;
    }

    /* Mercado */
    .market-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .market-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Contato e Formulário */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .perk-item {
        justify-content: center;
    }

    .contact-form-box {
        padding: 40px 25px;
    }
}

/* Mobile Portrait (480px) */
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        padding: 16px 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Mobile Menu Overlay Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 2000;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu-close {
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background-color: #FEE2E2;
    color: var(--accent);
}

.mobile-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    text-align: center;
}

.mobile-nav-list a {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
    transition: all 0.3s ease;
}

.mobile-nav-list a:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.mobile-nav-cta {
    margin-top: 20px;
}

.mobile-menu-footer {
    padding: 30px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--bg-light);
}

.mobile-menu-footer .copyright {
    margin-bottom: 0;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Mobile Sticky CTA (Thumb Zone) */
.mobile-sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0, 194, 203, 0.4);
    display: none; /* Inicia oculto, JS mostra */
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-sticky-cta:active {
    transform: scale(0.95);
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 24px; /* Margem padrão mobile premium */
    }
}
