/* Estilos específicos para a página do Instituto Liberato */

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F5F1EB 0%, #E8E0D0 100%);
}

.team-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #2C2C2C;
    font-size: 2.5rem;
    font-weight: 700;
}

.team-section .section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #6B6B6B;
    font-size: 1.125rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-content {
    padding: 2rem;
}

.team-content h3 {
    color: #2C2C2C;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-role {
    display: inline-block;
    background: linear-gradient(135deg, #834c1c 0%, #000000 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-content p {
    color: #6B6B6B;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.team-content ul {
    list-style: none;
    padding: 0;
}

.team-content ul li {
    color: #6B6B6B;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.team-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #834c1c;
    font-weight: bold;
}

.team-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.team-cta .cta-button {
    width: 100%;
    justify-content: center;
}

/* Structure Section */
.structure-section {
    padding: 5rem 0;
    background: white;
}

.structure-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2C2C2C;
    font-size: 2.5rem;
    font-weight: 700;
}

.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.structure-item {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #F5F1EB 0%, #E8E0D0 100%);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.structure-item:hover {
    transform: translateY(-5px);
}

.structure-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #834c1c 0%, #000000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.structure-item h3 {
    color: #2C2C2C;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.structure-item p {
    color: #6B6B6B;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F5F1EB 0%, #E8E0D0 100%);
}

.services-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2C2C2C;
    font-size: 2.5rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: #2C2C2C;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-content p {
    color: #6B6B6B;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content ul li {
    color: #6B6B6B;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #834c1c;
    font-weight: bold;
}

/* Why Choose Section */
.why-choose-section {
    padding: 5rem 0;
    background: white;
}

.why-choose-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2C2C2C;
    font-size: 2.5rem;
    font-weight: 700;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-choose-item {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #F5F1EB 0%, #E8E0D0 100%);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px);
}

.why-choose-item h3 {
    color: #2C2C2C;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.why-choose-item p {
    color: #6B6B6B;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F5F1EB 0%, #E8E0D0 100%);
}

.gallery-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #2C2C2C;
    font-size: 2.5rem;
    font-weight: 700;
}

.gallery-section .section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #6B6B6B;
    font-size: 1.125rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(131, 76, 28, 0.9) 0%, rgba(0, 0, 0, 0.9) 100%);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

.gallery-cta p {
    color: #6B6B6B;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Final CTA Section */
.final-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #834c1c 0%, #000000 100%);
    color: white;
    text-align: center;
}

.final-cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.final-cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.urgency-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.urgency-icon {
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-grid,
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .structure-grid,
    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .team-section .section-title,
    .structure-section .section-title,
    .services-section .section-title,
    .why-choose-section .section-title,
    .gallery-section .section-title,
    .final-cta-content h2 {
        font-size: 2rem;
    }
    
    .team-section,
    .structure-section,
    .services-section,
    .why-choose-section,
    .gallery-section,
    .final-cta-section {
        padding: 3rem 0;
    }
    
    .team-content,
    .service-content {
        padding: 1.5rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        padding: 1rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1.1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .structure-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .team-section .section-title,
    .structure-section .section-title,
    .services-section .section-title,
    .why-choose-section .section-title,
    .gallery-section .section-title,
    .final-cta-content h2 {
        font-size: 1.75rem;
    }
}
