/* -------------------------------------- */
/* 8. Estilos para Páginas Internas (Sobre Nós) */
/* -------------------------------------- */

/* Banner (Hero) Moderno */
.page-hero-banner {
    padding: 8rem 0 6rem 0;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

/* Elemento decorativo sutil */
.page-hero-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.page-hero-banner .container {
    position: relative;
    z-index: 1;
}

.page-hero-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--tmg-primary) 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.page-hero-banner p.lead {
    font-size: 1.4rem;
    color: var(--tmg-secondary);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* 9. Seção Principal Sobre a TMG */
.section-about-main {
    padding: 5rem 0;
}

.section-about-main h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.section-about-main p {
    font-size: 1.1rem;
    color: var(--tmg-secondary);
    margin-bottom: 1.5rem;
}

.section-about-main .img-fluid {
    border-radius: 20px;
    box-shadow: var(--tmg-shadow);
    transition: transform 0.3s ease;
}

.section-about-main .img-fluid:hover {
    transform: scale(1.02);
}

.btn-rounded {
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-width: 2px;
}

/* 10. Segmentos Atendidos (Cards Modernos) */
.section-segments {
    background-color: #f8fafc;
    padding: 6rem 0;
    position: relative;
}

.section-segments h2 {
    margin-bottom: 1rem;
}

.section-segments .lead {
    margin-bottom: 4rem;
}

.segment-box {
    background-color: white;
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.segment-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--tmg-primary), #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.segment-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.segment-box:hover::before {
    transform: scaleX(1);
}

.segment-box i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--tmg-primary), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.25rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.segment-box:hover i {
    transform: scale(1.1) rotate(5deg);
}

.segment-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tmg-dark);
}

/* 11. Compromisso ESG */
.section-esg {
    padding: 6rem 0;
}

.section-esg .p-4 {
    background: white;
    border-radius: 1.5rem !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 3rem !important;
}

.section-esg .p-4:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
    /* Verde sutil no hover */
}

.section-esg h3 {
    font-size: 1.5rem;
    color: var(--tmg-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.section-esg h3 i {
    font-size: 1.75rem;
    margin-right: 0.75rem;
    color: var(--tmg-accent);
    /* Verde ESG */
}

.section-esg p {
    color: var(--tmg-secondary);
    font-size: 1.05rem;
}

/* 7. Responsividade (Ajustes) */
@media (max-width: 768px) {
    .page-hero-banner {
        padding: 6rem 0 4rem 0;
    }

    .page-hero-banner h1 {
        font-size: 2.25rem;
    }

    .segment-box {
        padding: 2rem 1rem;
    }
}