/* ========================================
   LAYOUT COMPACTO E CLEAN - TODAS AS PÁGINAS
   ======================================== */

/* Hero Section Compacto */
.hero {
    padding: 110px 0 35px;
    min-height: auto;
    position: relative;
}

/* Overlay escuro para melhor contraste do texto */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(26px, 4vw, 34px);
    margin-bottom: 12px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 3px 8px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: clamp(14px, 2vw, 16px);
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    font-weight: 500;
}

/* Seções Compactas */
.section {
    padding: 40px 0;
}

.section:first-of-type {
    padding-top: 30px;
}

/* Cards Compactos */
.card {
    padding: 24px;
    margin-bottom: 20px;
}

.card-icon {
    margin-bottom: 14px !important;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 52px !important;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: 600;
}

.card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--cinza-medio, #666);
}

/* Títulos de Seção Compactos */
.section-title {
    font-size: clamp(24px, 3.5vw, 32px);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Row e Colunas */
.row {
    margin-bottom: 20px;
}

.col-4, .col-6, .col-12 {
    padding: 0 10px;
}

/* Espaçamentos Globais Reduzidos */
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-5 { margin-bottom: 20px !important; }

.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-5 { margin-top: 20px !important; }

.py-2 { padding-top: 8px !important; padding-bottom: 8px !important; }
.py-3 { padding-top: 12px !important; padding-bottom: 12px !important; }
.py-4 { padding-top: 16px !important; padding-bottom: 16px !important; }
.py-5 { padding-top: 20px !important; padding-bottom: 20px !important; }

/* Valores Cards Compactos */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.valor-card {
    background: var(--branco);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
}

.valor-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.valor-card h4 {
    font-size: 18px;
    margin: 12px 0 8px;
    color: var(--cinza-escuro);
}

.valor-card p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--cinza-medio);
    margin: 0;
}

.valor-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f8f5;
    border-radius: 50%;
    margin-bottom: 12px;
}

.valor-icon i {
    font-size: 24px;
    color: var(--verde-vibrante);
}

/* Timeline Compacta */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    padding: 15px 0 15px 40px;
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -20px;
    width: 2px;
    background: var(--cinza-claro);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-icon {
    position: absolute;
    left: -8px;
    top: 15px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--verde-vibrante);
    border: 3px solid var(--branco);
    box-shadow: 0 0 0 2px var(--verde-vibrante);
}

.timeline-content h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--verde-escuro);
}

.timeline-content p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* FAQ Compacto */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--cinza-claro);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: var(--branco);
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 14px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 500px;
}

/* Tabelas Compactas */
table {
    font-size: 14px;
}

table th {
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
}

table td {
    padding: 10px 12px;
    font-size: 14px;
}

/* Botões Compactos */
.btn {
    padding: 10px 20px;
    font-size: 14px;
}

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

.btn-lg {
    padding: 12px 24px;
    font-size: 15px;
}

/* Footer Compacto */
.footer {
    padding: 30px 0 20px;
}

.footer-content {
    padding: 20px 0;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.footer-section p,
.footer-section a {
    font-size: 13px;
    line-height: 1.6;
}

.footer-bottom {
    padding: 15px 0;
    font-size: 12px;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0 30px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .card {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .card-icon i {
        font-size: 40px !important;
    }
    
    .card h3 {
        font-size: 18px;
    }
    
    .card p {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Animações Suaves */
.animate-fade-in {
    animation: fadeIn 0.4s ease-in;
}

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

/* Remove Espaços Excessivos */
* + h1, * + h2, * + h3, * + h4, * + h5, * + h6 {
    margin-top: 20px;
}

h1:first-child, h2:first-child, h3:first-child, 
h4:first-child, h5:first-child, h6:first-child {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

/* Container Ajustado */
.container {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}
