:root {
    --primary-dark: #031021;
    --primary-medium: #061e3d;
    --accent-cyan: #09cbe4;
    --accent-yellow: #ffd700;
}

* {
    font-family: "Inter", sans-serif;
}

body {
    background: linear-gradient(
        135deg,
        var(--primary-dark) 0%,
        var(--primary-medium) 100%
    );
    color: white;
}

/* Estilos para o container do vídeo */
.video-container {
    position: relative;
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.video-container:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    display: block;
    width: 100%;
    height: auto;
    min-height: 300px;
}

/* Aspect ratio para manter proporção 16:9 */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.hero-gradient {
    background: linear-gradient(
        135deg,
        var(--primary-dark) 0%,
        var(--primary-medium) 50%,
        var(--accent-cyan) 100%
    );
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(9, 203, 228, 0.3);
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-yellow), #ffa500);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.6);
}

.btn-whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.section-bg {
    background: rgba(6, 30, 61, 0.8);
    backdrop-filter: blur(10px);
}

.number-highlight {
    color: var(--accent-cyan);
    font-size: 1.8rem;
    font-weight: 900;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.video-testimonial {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: var(--primary-medium);
}

/* Estilos para os cards de cursos */
.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.course-seal img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.course-card:hover .course-seal img {
    transform: scale(1.05);
}

.teacher-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.teacher-photo-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.teacher-photo-mini {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.professor-info h4 {
    color: white;
}

.professor-info p {
    color: #93c5fd;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
}

.approved-badge {
    position: absolute;
    top: 4px;
    right: 3px;
    background: #00ff00;
    color: var(--primary-dark);
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.swiper-pagination-bullet-active {
    background: var(--accent-cyan) !important;
}

.form-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(9, 203, 228, 0.3);
    color: white;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(9, 203, 228, 0.2);
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Estilos para os boxes de benefícios */
.benefit-box {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.benefit-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.benefit-box:hover::before {
    transform: translateX(100%);
}

.benefit-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.benefit-icon-container {
    flex-shrink: 0;
}

.benefit-icon {
    transition: all 0.4s ease;
    position: relative;
}

.benefit-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
}

.benefit-box:hover .benefit-icon::after {
    transform: translate(-50%, -50%) scale(1.2);
}

.benefit-box h3 {
    flex-shrink: 0;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-box p {
    flex-grow: 1;
    display: flex;
    align-items: center;
    hyphens: auto;
    word-break: break-word;
}

/* Animações de entrada escalonadas */
.benefit-box {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: fadeInUpScale 0.8s ease forwards;
}

.benefit-box:nth-child(1) {
    animation-delay: 0.1s;
}
.benefit-box:nth-child(2) {
    animation-delay: 0.2s;
}
.benefit-box:nth-child(3) {
    animation-delay: 0.3s;
}
.benefit-box:nth-child(4) {
    animation-delay: 0.4s;
}
.benefit-box:nth-child(5) {
    animation-delay: 0.5s;
}
.benefit-box:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUpScale {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Estilos para FAQ */
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.faq-item.faq-active {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.faq-question {
    cursor: pointer;
    outline: none;
    border: none;
    background: transparent;
}

.faq-question:focus {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    outline-offset: -2px;
}

.faq-answer {
    transition: max-height 0.5s ease-in-out;
}

.faq-icon svg {
    transition: transform 0.3s ease;
}

/* Animação de entrada das FAQs */
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}
.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}
.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}
.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}
.faq-item:nth-child(5) {
    animation-delay: 0.5s;
}
.faq-item:nth-child(6) {
    animation-delay: 0.6s;
}
.faq-item:nth-child(7) {
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito de hover suave */
@media (hover: hover) {
    .faq-question:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}

/* Responsividade */
@media (max-width: 1024px) {
    .benefit-box {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .benefit-box {
        min-height: 280px;
        padding: 1.5rem;
    }

    .benefit-icon {
        width: 4rem;
        height: 4rem;
    }

    .benefit-icon svg {
        width: 2rem;
        height: 2rem;
    }

    .benefit-box h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .benefit-box p {
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
    }

    .faq-answer div {
        padding: 1rem;
        padding-top: 0;
    }

    .faq-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

@media (max-width: 640px) {
    .benefit-box {
        min-height: auto;
        padding: 1.25rem;
    }

    .benefit-icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .benefit-icon svg {
        width: 1.75rem;
        height: 1.75rem;
    }
}

/* Efeito de brilho no hover para dispositivos desktop */
@media (hover: hover) {
    .benefit-box:hover {
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.15),
            rgba(255, 255, 255, 0.05)
        );
    }
}

@media (max-width: 768px) {
    .video-container iframe {
        min-height: 200px;
    }

    .number-highlight {
        font-size: 1.4rem;
    }

    .course-seal img {
        width: 120px;
        height: 120px;
    }

    .professor-info h4 {
        font-size: 1rem;
    }

    .professor-info p {
        font-size: 0.875rem;
    }
    .benefit-card {
        flex-direction: column;
        text-align: center;
        space-x: 0;
    }

    .benefit-card .benefit-icon-wrapper {
        margin-bottom: 1rem;
        align-self: center;
    }

    .benefit-card h3 {
        font-size: 1.5rem;
    }

    .benefit-card p {
        font-size: 1rem;
        text-align: justify;
    }
}

@media (max-width: 480px) {
    .video-container iframe {
        min-height: 180px;
    }

    .benefit-icon {
        width: 3rem;
        height: 3rem;
    }

    .benefit-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}
