/* Service Page Specific Styles */

/* Service Hero Section */
.service-hero {
    min-height: 60vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 80px;
}

.service-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto;
}

.service-icon-large {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Service Details Section */
.service-details {
    padding: 4rem 0;
    background: var(--background-light);
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-description h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-description h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
}

.service-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    border-left: 4px solid var(--gold-color);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Modules Grid (for leadership page) */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.module-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--light-gold);
}

.module-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
}

.module-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.module-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.module-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Lists */
.benefits-list,
.target-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.benefits-list li,
.target-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 2rem;
    color: var(--text-dark);
}

.benefits-list li::before,
.target-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Course Info */
.course-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.course-info h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-item {
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    font-size: 0.95rem;
}

.info-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.purchase-card,
.instructor-card,
.video-card,
.methodology-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.purchase-card {
    background: var(--gradient-primary);
    color: var(--text-primary);
    text-align: center;
}

.purchase-card h3 {
    color: var(--light-gold);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.purchase-card p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.btn-full {
    width: 100%;
    display: block;
    margin-bottom: 1.5rem;
}

.contact-info {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-link {
    color: var(--light-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: white;
}

/* Instructor Card */
.instructor-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.instructor-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.instructor-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.instructor-avatar::before {
    content: '👨‍💼';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
}

.instructor-details h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.instructor-details p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Video Card */
.video-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.video-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Methodology Card */
.methodology-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.methodology-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.methodology-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.methodology-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.methodology-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold-color);
    font-weight: bold;
}

/* Related Services */
.related-services {
    padding: 4rem 0;
    background: white;
}

.related-services h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.related-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #f0f0f0;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    color: var(--text-dark);
}

.related-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.related-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.related-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design for Service Pages */
@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-hero {
        min-height: 50vh;
        margin-top: 70px;
    }
    
    .service-hero-title {
        font-size: 2.5rem;
    }
    
    .service-icon-large {
        font-size: 3.5rem;
    }
    
    .benefits-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .instructor-info {
        flex-direction: column;
        text-align: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-hero-content {
        padding: 0 1rem;
    }
    
    .service-description h2 {
        font-size: 2rem;
    }
    
    .service-description h3 {
        font-size: 1.5rem;
    }
    
    .purchase-card,
    .instructor-card,
    .video-card,
    .methodology-card {
        padding: 1.5rem;
    }
    
    .benefit-item,
    .module-item {
        padding: 1.5rem;
    }
    
    .course-info {
        padding: 1.5rem;
    }
}

/* Animation for service pages */
.service-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.service-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grid items */
.benefit-item,
.module-item {
    animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

/* Loading state for purchase buttons */
.btn-purchase.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.btn-purchase.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}



/* Hero Background Image */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    z-index: 0;
}

.service-hero-background .hero-bg-image {
    filter: brightness(0.7) contrast(1.1);
}

/* Overlay removido - texto com sombra para legibilidade */
.service-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 3;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

.service-hero-title {
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 0, 0, 0.7);
}

.service-hero-subtitle {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    color: #ffffff !important;
}

.service-icon-large {
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.9));
}
