/* ===== TRIPÉ MISSÃO, VISÃO E VALORES ===== */
.gp-tripod {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--surface) 0%, var(--muted) 100%);
}

.tripod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tripod-card {
    background: var(--background);
    border-radius: 24px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tripod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.tripod-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tripod-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

.tripod-card:hover .card-icon {
    transform: scale(1.05);
}

.missao .card-icon {
    background: var(--primary);
}

.visao .card-icon,
.valores .card-icon {
    background: var(--secondary);
}

.tripod-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
}

.tripod-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.tripod-card:hover h3::after {
    width: 60px;
}

.card-content {
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.card-content p {
    text-align: center;
    font-size: 1rem;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.value-item:last-child {
    border-bottom: none;
}

.value-icon i {
    color: var(--secondary);
    font-size: 1rem;
    margin-top: 2px;
}

.value-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.value-text strong {
    color: var(--primary);
}

/* ===== EMPRESAS DO GRUPO ===== */
.gp-companies {
    padding: 60px 0;
    background: var(--background);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.company-card {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 40px 20px 30px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.company-card:hover {
    transform: translateY(-8px);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.company-card>*:not(.card-overlay) {
    position: relative;
    z-index: 2;
}

.company-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 12px;
    transition: all 0.3s ease;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-card:hover .company-logo {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.company-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.company-sector {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.company-link:hover {
    gap: 12px;
    background: var(--secondary);
    color: white;
}

.company-link:hover i {
    transform: translateX(5px);
}

/* ===== MODELOS DE NEGÓCIO ===== */
.gp-business {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--surface) 0%, var(--muted) 100%);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0 40px;
}

.business-card {
    height: 450px;
    perspective: 2000px;
    cursor: pointer;
}

.business-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.business-card:hover .business-card-inner {
    transform: rotateY(180deg);
}

.business-card-front,
.business-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.business-card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.business-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.business-card-front>* {
    position: relative;
    z-index: 2;
}

.business-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.business-card:hover .business-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.business-card-front h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.business-card-front p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin-bottom: 15px;
}

.business-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.business-tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.business-card-back {
    background: var(--surface);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
}

.back-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.business-card-back h4 {
    font-size: 1.3rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.business-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex: 1;
}

.business-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.business-features li i {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.business-features li span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.business-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.business-btn:hover {
    transform: translateY(-3px);
    gap: 12px;
    box-shadow: 0 5px 15px rgba(233, 113, 19, 0.3);
}

.business-differentials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding: 30px;
    background: var(--surface);
    border-radius: 30px;
    border: 1px solid var(--border);
}

.differential-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.differential-icon {
    width: 55px;
    height: 55px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.differential-item:hover .differential-icon {
    background: var(--secondary);
    transform: rotate(360deg);
}

.differential-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text);
}

.differential-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== RESPONSIVIDADE ===== */
@media screen and (max-width: 1200px) {
    .companies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media screen and (max-width: 992px) {
    .tripod-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .business-differentials {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .differential-item {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .business-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .business-card {
        height: 420px;
    }
}

@media screen and (max-width: 576px) {
    .companies-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .company-logo {
        width: 70px;
        height: 70px;
    }
    
    .business-card-front h3 {
        font-size: 1.5rem;
    }
    
    .business-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gp-tripod,
.gp-companies,
.gp-business,
.gp-partners {
    animation: fadeIn 0.8s ease-out;
}