/* ==========================================================================
   1. VARIÁVEIS DE DESIGN & PALETA DE CORES
   ========================================================================== */
:root {
    --primary: #1b4332;         /* Verde escuro industrial */
    --primary-light: #2d6a4f;   /* Verde médio */
    --primary-dark: #081c15;    /* Verde escuro profundo */
    --accent: #d8f3dc;         /* Verde claro de destaque */
    --accent-hover: #b7e4c7;   
    
    --dark: #12181b;           /* Texto escuro e fundos escuros */
    --light: #f8f9fa;          /* Fundo de seções de contraste */
    --white: #ffffff;
    --gray-100: #f1f3f5;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    
    --whatsapp-color: #25d366;
    --whatsapp-dark: #1da851;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 32px rgba(0,0,0,0.12);
}

/* ==========================================================================
   2. RESET & ESTILOS BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 80px 0;
}

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

/* Helper Classes */
.text-center { text-align: center; }
.text-muted { color: var(--gray-600); }
.text-small { font-size: 0.875rem; }
.text-white { color: var(--white); }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }

/* Grid Layout Systems */
.grid {
    display: grid;
    gap: 30px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ==========================================================================
   3. BOTÕES E COMPONENTES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-xl {
    padding: 18px 36px;
    font-size: 1.15rem;
    border-radius: var(--radius-md);
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--gray-800);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

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

.btn-outline-white {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

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

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

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Badges e Seções */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.825rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
}

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

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.25rem;
    color: var(--dark);
}

.section-description {
    max-width: 650px;
    margin: 15px auto 0;
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Cards Gerais */
.card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-hover);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 20px;
}

/* Listas Personalizadas */
.custom-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.custom-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ==========================================================================
   4. NAVBAR (ALINHAMENTO CORRIGIDO SEM ALTERAR O DESIGN ORIGINAL)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
}

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

.brand-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.brand-logo .logo-text span {
    color: var(--primary-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-800);
    white-space: nowrap;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}


/* ==========================================================================
   5. HERO SECTION (COM IMAGEM DE FUNDO E OVERLAY)
   ========================================================================== */
.hero {
    position: relative;
    padding: 140px 0 100px;
    /* Fundo com degradê preto transparente + imagem dos tijolos */
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), 
                url('../images/tijolo-01.avif') no-repeat center center / cover;
    color: var(--white);
}

.hero-text {
    max-width: 680px; /* Limita a largura do texto para facilitar a leitura */
}

.hero-title {
    font-size: 3rem;
    color: var(--white); /* Texto em branco para destacar no fundo escuro */
    margin-top: 15px;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Sombra leve para destacar as letras */
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9); /* Branco levemente suavizado */
    margin-bottom: 25px;
}

.hero-description strong {
    color: var(--white);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* ==========================================================================
   6. FRASES & DESTAQUES (QUOTE BANNER & HIGHLIGHTS)
   ========================================================================== */
.quote-banner {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 45px 40px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.quote-banner h2 {
    color: var(--white);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.5;
    font-style: sans-serif;
}

.solution-highlight-box {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: center;
    border: 1px solid var(--accent-hover);
    box-shadow: var(--shadow-sm);
}

.highlight-img img {
    border-radius: var(--radius-sm);
    max-height: 180px;
    width: 100%;
    object-fit: cover;
}

/* ==========================================================================
   7. SEÇÃO DE MERCADO (TAM, SAM, SOM)
   ========================================================================== */
.market-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.market-tag {
    align-self: flex-start;
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.market-stats {
    margin: 20px 0;
}

.stat-item {
    margin-bottom: 15px;
}

.stat-item strong {
    display: block;
    font-size: 1.6rem;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.stat-item span {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.primary-stat strong {
    font-size: 2rem;
    color: var(--primary);
}

.highlight-card {
    border: 2px solid var(--primary);
    background-color: rgba(216, 243, 220, 0.15);
}

.market-note {
    font-size: 0.8rem;
    color: var(--gray-600);
    border-top: 1px solid var(--gray-300);
    padding-top: 10px;
}

.info-alert {
    background-color: #e8f4f8;
    border: 1px solid #bbee33;
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

/* ==========================================================================
   8. CONCORRÊNCIA & TABELA COMPARATIVA
   ========================================================================== */
.comp-card {
    padding: 0;
    overflow: hidden;
}

.comp-header {
    padding: 20px;
    background-color: var(--gray-100);
    border-bottom: 1px solid var(--gray-300);
}

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

.comp-header.primary-bg h3, .comp-header.primary-bg p {
    color: var(--white);
}

.comp-list {
    padding: 25px;
}

.comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.circle-icon {
    margin-top: 4px;
    font-size: 0.8rem;
}

.circle-icon.green { color: #2b9348; }
.circle-icon.yellow { color: #e9c46a; }
.circle-icon.red { color: #e63946; }

.highlight-border {
    border: 2px solid var(--primary);
}

/* ==========================================================================
   9. CLIENTES & VALIDAÇÃO
   ========================================================================== */
.ideal-client-box {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
}

.ideal-client-box h4 {
    color: var(--accent);
    margin-bottom: 8px;
}

.val-card {
    display: flex;
    align-items: center;
    gap: 25px;
}

.val-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.timeline-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-steps::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--gray-300);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 0 10px;
    text-align: center;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-300);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 10px;
}

.step.active .step-icon {
    background-color: var(--primary);
    color: var(--white);
}

.step span {
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================================================
   10. MODELO DE NEGÓCIO & PRICE BOX
   ========================================================================== */
.price-box {
    background-color: var(--accent);
    padding: 20px;
    border-radius: var(--radius-sm);
}

.price-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.price-value {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-dark);
}

.price-value span {
    font-size: 1rem;
    font-weight: 400;
}

/* ==========================================================================
   11. EQUIPE
   ========================================================================== */
.team-card {
    display: flex;
    gap: 25px;
    align-items: center;
}

.team-img-wrapper {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-hover);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

/* ==========================================================================
   12. PLANO DE DESENVOLVIMENTO (ROADMAP)
   ========================================================================== */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.roadmap-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.roadmap-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 5px;
}

/* ==========================================================================
   13. FOOTER E CTA
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.cta-title {
    color: var(--white);
    font-size: 2.5rem;
}

.cta-description {
    color: var(--accent);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 15px auto 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer {
    background-color: var(--dark);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
/* ==========================================================================
   14. RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */

/* Tablet e telas médias (até 992px) */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; }
    .solution-highlight-box { grid-template-columns: 1fr; }
}

/* Celular e telas pequenas (até 768px) */
@media (max-width: 768px) {

    /* --- AJUSTE EXCLUSIVO DO TOPO (HEADER/NAVBAR) --- */
    .navbar .navbar-content {
        gap: 10px;
    }

    .navbar .brand-logo {
        white-space: nowrap;
    }

    .navbar .nav-actions .btn {
        padding: 6px 10px;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    /* ----------------------------------------------- */

    /* Grids e Layouts */
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .roadmap-grid { grid-template-columns: 1fr; }
    
    /* Menu Mobile */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Outros elementos no mobile */
    .hero-title {
        font-size: 2.2rem;
    }
    
    .team-card {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-steps {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .timeline-steps::before {
        display: none;
    }
    
    .step {
        display: flex;
        align-items: center;
        gap: 15px;
    }
}