/* CEF Custom — Landing Page over the Minible theme */

:root {
    --cef-primary: #0d3b7a;
    --cef-primary-dark: #06224d;
    --cef-primary-rgb: 13, 59, 122;
    --cef-primary-soft: rgba(13, 59, 122, 0.08);
    /* Override Bootstrap/Minible primary */
    --bs-primary: #0d3b7a;
    --bs-primary-rgb: 13, 59, 122;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: #fff;
    padding-top: 70px;
    font-size: 17px;
}

/* Bump Minible font-size utilities */
.font-size-11 {
    font-size: 12px !important;
}

.font-size-12 {
    font-size: 13px !important;
}

.font-size-13 {
    font-size: 14px !important;
}

.font-size-14 {
    font-size: 15px !important;
}

.font-size-15 {
    font-size: 16px !important;
}

.font-size-18 {
    font-size: 20px !important;
}

.font-size-20 {
    font-size: 22px !important;
}

.font-size-24 {
    font-size: 26px !important;
}

.font-size-28 {
    font-size: 28px !important;
}


.form-label {
    font-size: 0.95rem;
}

.form-control,
.form-select,
.input-group-text {
    font-size: 0.95rem;
}

.btn {
    font-size: 0.95rem;
}

/* ── Bootstrap / Minible overrides ── */
.bg-primary {
    background-color: var(--cef-primary) !important;
}

.btn-primary {
    background-color: var(--cef-primary) !important;
    border-color: var(--cef-primary) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--cef-primary-dark) !important;
    border-color: var(--cef-primary-dark) !important;
}

.btn-outline-primary {
    color: var(--cef-primary) !important;
    border-color: var(--cef-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--cef-primary) !important;
    border-color: var(--cef-primary) !important;
    color: #fff !important;
}

.btn-soft-primary {
    color: var(--cef-primary) !important;
    background-color: var(--cef-primary-soft) !important;
}

.btn-soft-primary:hover {
    background-color: var(--cef-primary) !important;
    color: #fff !important;
}

.text-primary {
    color: var(--cef-primary) !important;
}

.badge.bg-primary {
    background-color: var(--cef-primary) !important;
}

.bg-soft-primary {
    background-color: var(--cef-primary-soft) !important;
}

.badge.bg-soft-primary {
    color: var(--cef-primary) !important;
}

.input-group-text {
    border-color: #d1d5db;
}

.progress-bar.bg-primary {
    background-color: var(--cef-primary) !important;
}

a {
    color: var(--cef-primary);
}

a:hover {
    color: var(--cef-primary-dark);
}

/* ── Navbar ── */
.cef-navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(13, 59, 122, 0.08);
    box-shadow: 0 1px 6px rgba(15, 34, 58, .06);
    min-height: 70px;
}

.cef-navbar .nav-link {
    color: #495057;
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

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

/* ── Hero ── */
.cef-hero {
    background: linear-gradient(135deg, var(--cef-primary) 0%, var(--cef-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cef-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cef-hero .carousel-item {
    min-height: 520px;
    display: flex;
    align-items: center;

    background: linear-gradient(rgba(0, 86, 179, 0.85), rgba(0, 40, 83, 0.9)), url('/assets/images/5.jpeg') no-repeat center center/cover;
}

.cef-hero .carousel-item .container {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.cef-slide-img {
    padding: 0 !important;
    min-height: 0 !important;
    display: block !important;
    align-items: unset !important;
}

.cef-slide-img img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.cef-hero .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    opacity: 1;
}

.cef-hero .carousel-indicators button.active {
    background: #fff;
    border-color: #fff;
}

.cef-hero .carousel-control-prev,
.cef-hero .carousel-control-next {
    width: 5%;
    opacity: 0.7;
}

.cef-hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.15;
}

.cef-hero-sub {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 580px;
}

.cef-hero-stats {
    display: inline-flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.cef-hero-stat h3 {
    font-size: 2rem;
    font-weight: 700;
}

.cef-hero-stat p {
    font-size: 0.95rem;
    opacity: 0.75;
    margin: 0;
}

/* ── Sections ── */
.section-title {
    font-size: 2rem;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ── Course Card ── */
.cef-course-card {
    border: 1px solid #eef0f5;
    border-radius: 12px;
    transition: box-shadow 0.3s, transform 0.3s;
    background: #fff;
    overflow: hidden;
}

.cef-course-card:hover {
    box-shadow: 0 8px 24px rgba(13, 59, 122, 0.12);
    transform: translateY(-4px);
}

.cef-course-card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #f0f2f7;
}

.cef-course-card-body {
    padding: 1.5rem;
}

.cef-course-card-body h5 {
    font-size: 1.1rem;
}

/* ── CTA Section ── */
.cef-cta {
    background: linear-gradient(135deg, var(--cef-primary) 0%, var(--cef-primary-dark) 100%);
    padding: 70px 0;
}

/* ── About / Contact cards ── */
.cef-contact-card {
    border: none;
    border-radius: 12px;
}

/* ── Footer ── */
.cef-footer {
    background: #f8f9fc;
    border-top: 1px solid #eef0f5;
    padding: 50px 0 30px;
}

.cef-footer h6 {
    color: #343a40;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cef-footer-links li a {
    text-decoration: none;
    transition: color 0.2s;
}

.cef-footer-links li a:hover {
    color: var(--cef-primary) !important;
}

/* ── Trabalhe Conosco page ── */
.tc-hero-sm {
    background: linear-gradient(135deg, var(--cef-primary) 0%, var(--cef-primary-dark) 100%);
    padding: 60px 0 40px;
}

.tc-otp-input {
    width: 54px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.dropzone {
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
}

.dropzone-sm {
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    padding: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
}

.dropzone:hover,
.dropzone-sm:hover {
    border-color: var(--cef-primary) !important;
    background-color: var(--cef-primary-soft);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .cef-hero {
        padding: 60px 0 50px;
        text-align: center;
    }

    .cef-hero-title {
        font-size: 2.2rem;
    }

    .cef-hero-sub {
        margin: 1rem auto;
    }

    .cef-hero-stats {
        justify-content: center;
    }

    .cef-navbar .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }
}

/* --- Configurações Gerais e Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Cabeçalho (Header) --- */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0056b3;
}

.logo span {
    color: #20c997;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    font-weight: 500;
    color: #555;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0056b3;
}

.btn-header {
    background-color: #20c997;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-header:hover {
    background-color: #1aa17a;
}

/* --- Banner Principal (Hero) --- */
.hero {
    background: linear-gradient(rgba(0, 86, 179, 0.85), rgba(0, 40, 83, 0.9)), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #20c997;
    color: white;
}

.btn-primary:hover {
    background-color: #1aa17a;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #0056b3;
}

/* --- Info Cards --- */
.info-section {
    margin-top: -40px;
    padding-bottom: 60px;
}

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

.info-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #0056b3;
}

.info-card h3 {
    font-size: 14px;
    color: #777;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-card p {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* --- Seções de Conteúdo --- */
section {
    padding: 0px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #0056b3;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #20c997;
    margin: 10px auto 0;
}

/* --- Sobre o Curso --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.about-list {
    list-style: none;
}

.about-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-weight: 500;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #20c997;
    font-weight: bold;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- Diferenciais --- */
.bg-light {
    background-color: #f1f3f5;
}

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

.diff-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s;
}

.diff-card:hover {
    transform: translateY(-5px);
}

.diff-card h4 {
    color: #0056b3;
    margin-bottom: 10px;
    font-size: 20px;
}

/* --- CTA Form --- */
.cta-section {
    background: #0056b3;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-form {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form input,
.cta-form select {
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    flex: 1;
    min-width: 200px;
    font-size: 16px;
}

.cta-form button {
    background-color: #20c997;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-form button:hover {
    background-color: #1aa17a;
}

/* --- Rodapé (Footer) --- */
footer {
    background-color: #111;
    color: #aaa;
    padding: 40px 0 20px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

.textoBrancoTitulo {
    color: white;

}