* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-bg: #171e28;
    --dark-bg-alt: #1a222e;
    --teal-primary: #00b09b;
    --teal-hover: #008f7d;
    --text-light: #d1d5db;
    --text-white: #ffffff;
    --text-green: #0b4e45;
    --light-bg-alt: #f4f7f6;
    --capacitacao-bg: #2b5756;
    --font-main: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.fw-light {
    font-weight: 300;
}

.mt-4 {
    margin-top: 40px;
}

.btn-teal, .btn-play {
    display: inline-block;
    background-color: var(--teal-primary);
    color: var(--text-white);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
}

.btn-teal:hover, .btn-play:hover {
    background-color: var(--teal-hover);
    transform: translateY(-2px);
}

.btn-teal-small {
    display: inline-block;
    background-color: var(--teal-primary);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: background-color 0.3s;
}

.btn-teal-small:hover {
    background-color: var(--teal-hover);
}

.btn-teal-solid {
    display: inline-block;
    background-color: var(--teal-primary);
    color: var(--text-white);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-teal-solid:hover {
    background-color: var(--teal-hover);
}

.header {
    background-color: var(--dark-bg);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(23, 30, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header.scrolled .logo {
    height: 35px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 45px;
    transition: height 0.3s ease;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-white);
    font-size: 1.1rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--teal-primary);
    transform: translateY(-2px);
}

.hero-section {
    padding: 40px 0 80px;
    background-color: var(--dark-bg);
}

.hero-title {
    text-align: center;
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 40px;
    line-height: 1.3;
}

.video-container {
    width: 100%;
    margin-bottom: 40px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.video-container video {
    width: 100%;
    display: block;
    filter: brightness(0.7);
    transition: filter 0.3s;
}

.video-container:hover video {
    filter: brightness(0.5);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-play i {
    margin-right: 10px;
}

.hero-text-content {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-text-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-text-content strong {
    color: var(--text-white);
    font-weight: 600;
}

.divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 40px 0;
}

.highlight-text {
    text-align: center;
    color: var(--text-white);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 30px;
    padding: 0 20px;
}

.cbc-logo-wrapper {
    text-align: center;
}

.cbc-logo-wrapper img {
    height: 80px;
}

.banner-cta {
    position: relative;
    padding: 200px 0;
    text-align: center;
    overflow: hidden;
}

.carousel-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h2 {
    color: var(--text-white);
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.capacitacao-section {
    background-color: var(--capacitacao-bg);
    padding: 80px 0;
}

.capacitacao-title {
    color: var(--text-white);
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.capacitacao-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.capacitacao-card {
    background-color: var(--text-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.capacitacao-card h3 {
    color: var(--capacitacao-bg);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.capacitacao-card p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-section {
    background-color: var(--dark-bg-alt);
    padding: 80px 0;
}

.section-title-white {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 600;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.info-video-container {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.info-video-container video {
    width: 100%;
    display: block;
    filter: brightness(0.7);
    transition: filter 0.3s;
}

.info-video-container:hover video {
    filter: brightness(0.5);
}

.info-text p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.info-text strong {
    color: var(--text-white);
    font-weight: 600;
}

.beneficios-section {
    background-color: var(--text-white);
    padding: 80px 0;
    border: none;
}

.section-title-green {
    color: var(--text-green);
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.beneficios-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.beneficios-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.beneficio-item {
    display: flex;
    align-items: flex-start;
    padding: 10px;
}

.beneficio-item-icon {
    background-color: rgba(0, 176, 155, 0.1);
    color: var(--teal-primary);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 15px;
    font-size: 0.9rem;
}

.beneficio-item span {
    color: var(--text-green);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 5px;
}

.docentes-section {
    background-color: var(--light-bg-alt);
    padding: 80px 0;
    border: none;
}

.docentes-section .section-title-green {
    text-align: left;
    margin-bottom: 40px;
}

.docentes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    row-gap: 50px;
}

.docente-card {
    text-align: center;
    background-color: var(--text-white);
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.docente-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 4px solid var(--teal-primary);
}

.docente-card h3 {
    color: var(--text-green);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.docente-card .specialty {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.docente-card .credential {
    color: #888;
    font-size: 0.75rem;
    margin-bottom: 20px;
}

.docente-card .btn-teal-small {
    margin-top: auto;
    align-self: center;
}

.snaps-section {
    background-color: var(--dark-bg-alt);
    padding: 80px 0;
}

.snaps-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.snap-item {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    background-color: #000;
    aspect-ratio: 16 / 9;
}

.snap-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cronograma-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
}

.cronograma-intro {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 30px;
}

.cronograma-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.cronograma-item {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 2px solid rgba(0, 176, 155, 0.3);
    transition: border-color 0.3s;
}

.cronograma-item:hover {
    border-color: var(--teal-primary);
}

.cronograma-item h4 {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.cronograma-item p {
    color: var(--text-white);
    font-size: 1rem;
}

.cronograma-list {
    list-style: none;
    margin-top: 15px;
}

.cronograma-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.saiba-mais-text {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.faq-section {
    background-color: var(--dark-bg-alt);
    padding: 80px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--dark-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(255,255,255,0.02);
}

.faq-question i {
    color: var(--teal-primary);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.footer-section {
    background: linear-gradient(180deg, var(--teal-primary) 0%, #006b5e 100%);
    padding: 60px 0 30px;
    color: var(--text-white);
}

.footer-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.footer-info {
    margin-bottom: 40px;
}

.footer-info p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-credits {
    margin-top: 60px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--text-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    color: var(--text-white);
}

.scroll-banner {
    position: fixed;
    bottom: -200px;
    right: 110px;
    background-color: var(--text-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 999;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 300px;
    text-align: center;
}

.scroll-banner.show {
    bottom: 30px;
}

.scroll-banner h4 {
    color: var(--teal-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.scroll-banner p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.close-scroll-banner {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #999;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
}

.info-modal-content {
    max-width: 450px;
}

.exit-modal-content {
    background-color: var(--text-white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
}

.exit-title {
    color: var(--teal-primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.exit-text {
    color: #555;
    font-size: 1rem;
    margin-bottom: 30px;
}

.modal-content video {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.close-modal, .close-info-modal, .close-exit-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--text-white);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-exit-modal {
    top: 10px;
    right: 15px;
    color: #999;
}

.close-modal:hover, .close-info-modal:hover, .close-exit-modal:hover {
    color: var(--teal-primary);
}

@media (max-width: 992px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    .capacitacao-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .info-grid, .beneficios-images, .cronograma-grid {
        grid-template-columns: 1fr;
    }
    .snaps-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .docentes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 2rem;
    }
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    .scroll-banner {
        right: 20px;
        bottom: -200px;
    }
    .scroll-banner.show {
        bottom: 90px;
    }
}

@media (max-width: 768px) {
    .nav-actions {
        flex-direction: column;
    }
    .capacitacao-grid {
        grid-template-columns: 1fr;
    }
    .snaps-gallery {
        grid-template-columns: 1fr;
    }
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    .docentes-grid {
        grid-template-columns: 1fr;
    }
}