:root {
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --light: #ecf0f1;
    --dark: #1a252f;
    --accent: #3498db;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1504639725590-34d0984388bd?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.section-title {
    text-align: center;
    margin: 3rem 0;
    font-size: 2.2rem;
    color: var(--primary);
}

.cases {
    padding: 3rem 0;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.case-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.case-content .difficulty {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--accent);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.case-content p {
    margin-bottom: 1.5rem;
    color: #666;
}


.difficulty.easy {
    background-color: #2ecc71;
    color: white;
}

.difficulty.medium {
    background-color: #f39c12;
    color: white;
}

.difficulty.hard {
    background-color: #e74c3c;
    color: white;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.case-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.features {
    background-color: var(--light);
    padding: 4rem 0;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}
.feature-card ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555;
}

.feature-card {
    position: relative;
    overflow: visible;
}

.feature-card:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background-color: var(--secondary);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover:after {
    opacity: 1;
}




.testimonials {
    padding: 4rem 0;
    background-color: var(--dark);
    color: white;
}

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

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
}

.cta {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1510519138101-570d1dca3d66?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}


/* ====================================== */
/* ====================================== */

.carrossel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carrossel {
    position: relative;
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #2c3e50;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.carrossel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.prev-btn, .next-btn {
    background-color: rgba(231, 76, 60, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #e74c3c;
    transform: scale(1.1);
}

.dots-container {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: #e74c3c;
    transform: scale(1.2);
}

/* Esconde o carrossel que não é para o dispositivo atual */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
        height: 700px;
    }
    
    .carrossel-container {
        max-width: 100%;
        border-radius: 0;
    }
}



.immersion-features {
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.immersion-features::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.immersion-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.immersion-header i {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--secondary);
}

.immersion-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 3px solid var(--secondary);
}

.feature-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    color: var(--secondary);
    min-width: 24px;
    text-align: center;
}

.immersion-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed #ddd;
    text-align: center;
    font-style: italic;
    color: var(--primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .immersion-header {
        flex-direction: column;
        text-align: center;
    }
    
    .immersion-header i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}