/* Estilos para a página de pacotes e consultorias */

/* Seção Hero com vídeo de fundo */
.packages-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.packages-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.packages-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: -1;
}

.packages-hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.packages-hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.packages-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Seção de pacotes aprimorada */
.packages-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.package-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.package-header {
    padding: 30px 20px;
    text-align: center;
    position: relative;
    background: linear-gradient(to right, var(--primary-color-dark), var(--primary-color));
    color: white;
}

.package-card.recommended {
    transform: scale(1.05);
    z-index: 1;
}

.package-card.recommended:hover {
    transform: translateY(-10px) scale(1.05);
}

.recommended-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--accent-color-gold);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.package-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.package-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
    font-weight: 700;
}

.package-price {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.package-content {
    padding: 30px 20px;
    flex-grow: 1;
}

.package-description {
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--accent-color-blue);
    margin-right: 10px;
    font-size: 1.1rem;
}

.package-footer {
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Seção de metodologia com timeline */
.methodology-section {
    padding: 100px 0;
    background-color: var(--bg-color-alt);
    position: relative;
}

.methodology-title {
    text-align: center;
    margin-bottom: 80px;
    color: var(--heading-color);
    position: relative;
}

.methodology-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color-blue);
}

.methodology-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.methodology-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--accent-color-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-content {
    width: 45%;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -15px;
    width: 30px;
    height: 30px;
    background-color: var(--card-bg);
    transform: rotate(45deg);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    top: 30px;
    left: -15px;
    width: 30px;
    height: 30px;
    background-color: var(--card-bg);
    transform: rotate(45deg);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-dot {
    position: absolute;
    top: 30px;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color-blue);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 0 0 5px var(--bg-color-alt);
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--heading-color);
    font-weight: 600;
}

.timeline-description {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* Seção de consultorias especializadas */
.consulting-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.consulting-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.consulting-card:hover {
    transform: translateY(-10px);
}

.consulting-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.consulting-card:hover .consulting-card-bg {
    transform: scale(1.1);
}

.consulting-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.consulting-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    color: white;
}

.consulting-card-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.consulting-card-description {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Seção CTA com vídeo de fundo */
.cta-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
    color: white;
}

.cta-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    z-index: -1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

/* Animações */
.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 992px) {
    .packages-hero-title {
        font-size: 2.5rem;
    }
    
    .methodology-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-start;
        padding-left: 80px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-item:nth-child(even) .timeline-content::after,
    .timeline-item:nth-child(odd) .timeline-content::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .packages-hero {
        height: 50vh;
    }
    
    .packages-hero-title {
        font-size: 2rem;
    }
    
    .packages-hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .package-card.recommended {
        transform: none;
    }
    
    .package-card.recommended:hover {
        transform: translateY(-10px);
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .packages-hero {
        height: 40vh;
        min-height: 400px;
    }
    
    .packages-hero-title {
        font-size: 1.8rem;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-dot {
        width: 24px;
        height: 24px;
        left: 28px;
    }
    
    .methodology-timeline::before {
        left: 28px;
    }
}
