/* 
   Estilos para Landing Page - Curso de Manutenção de Baterias de Lítio
   Autor: Cascade
   Data: 15/04/2025
*/

:root {
    --primary-color: #ffbb00; /* Laranja mais vibrante */
    --secondary-color: #ffbb00; /* Amarelo mais vibrante */
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --success-color: #4ecd89; /* Verde */
    --text-color: #2d2d2d;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #ffbb00 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.navbar-brand:hover {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.highlight-nav {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 5px 15px !important;
}

.highlight-nav:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Cabeçalho */
.header {
    position: relative;
    background-color: #ffffff;
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.header h1 {
    color: var(--dark-color);
    line-height: 1.3;
}

.header h1 .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.header h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 187, 0, 0.3);
    z-index: -1;
}

.badge {
    background-color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
}

.benefits-container {
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

.benefit-item span {
    font-weight: 600;
    color: var(--dark-color);
}

.enrollment-info {
    color: #6c757d;
    font-size: 0.95rem;
}

.enrollment-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.video-wrapper {
    position: relative;
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.video-features {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.video-feature-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
}

.video-feature-item i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1.1rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.main-video {
    padding-bottom: 62%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--primary-color);
    border-radius: 12px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Botões */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 700;
    padding: 12px 24px;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 102, 0, 0.3);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: #ff5500;
    border-color: #ff5500;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.6);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    padding: 12px 24px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Seções */
.section-title {
    font-weight: 800;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.highlight-text {
    color: var(--primary-color);
    font-size: 1.8rem;
    line-height: 1.3;
}

/* Cards de Conteúdo */
.content-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 25px 20px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.module-title {
    background-color: var(--dark-color);
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.module-list {
    padding-left: 20px;
}

.module-list li {
    margin-bottom: 8px;
    position: relative;
}

/* Aulas Gratuitas */
.free-class-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.card-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.card-img img {
    transition: all 0.5s ease;
    width: 100%;
}

.card-img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.card-img:hover .overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Instrutores */
.instructor-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Depoimentos */
.testimonial-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

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

.testimonial-content {
    padding: 30px;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.testimonial-author {
    padding: 20px 30px;
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.author-info h4 {
    font-weight: 700;
    margin-bottom: 0;
}

.author-info p {
    color: #6c757d;
    margin-bottom: 0;
}

/* FAQ */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 600;
    padding: 20px 25px;
    background-color: var(--white);
    color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f8800b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 25px;
    background-color: #f8f9fa;
}

/* Garantia */
.guarantee-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.guarantee-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(circle at center, rgba(255, 102, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.guarantee-box {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    border: 2px solid var(--primary-color);
}

.guarantee-image-container {
    margin: 30px 0;
    position: relative;
    display: inline-block;
}

.guarantee-img {
    max-width: 500px;
    margin: 0 auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.guarantee-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.3));
}

.guarantee-note {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

/* CTA Final */
.cta-section {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-box {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.original-price {
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.current-price {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0;
}

.installments {
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Responsividade */
@media (max-width: 992px) {
    .header {
        text-align: center;
    }
    
    .benefits-list {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }
    
    .highlight-text {
        font-size: 1.5rem;
    }
    
    .content-card, 
    .free-class-card, 
    .testimonial-card {
        margin-bottom: 20px;
    }
    
    .current-price {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
}
