:root {
    --navy: #071a33;
    --navy-2: #0b2648;
    --blue: #123f70;
    --gold: #c8a35a;
    --gold-light: #e0c47c;
    --white: #ffffff;
    --cream: #f7f4ed;
    --light: #f4f6f8;
    --text: #273444;
    --muted: #718096;
    --border: #e5e9ee;
    --shadow: 0 20px 60px rgba(7, 26, 51, .12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    margin-left: 50px !important;
    margin-right: 50px !important;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-family: sans-serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    color: var(--navy);
}

.section-subtitle {
    color: var(--muted);
    max-width: 650px;
    margin-top: 18px;
    font-size: 17px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    background: var(--gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    transition: .3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: rgba(255, 255, 255, .4);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: white;
    color: var(--navy);
}

/* MODAL PASTOR */
.modal-overlay {
    display: none;
    /* Inicia oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

/* =========================
   TELA DE BOAS-VINDAS
========================= */
* {
    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;
}

/* Animação de Flutuação */
@keyframes flutuar {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

.efeito-flutuar {
    animation: flutuar 4s ease-in-out infinite;
}

/* Seção Sobre */
.sobre-container {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.sobre-conteudo {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sobre-texto {
    flex: 1;
    min-width: 300px;
}

.badge {
    background-color: #e3f2fd;
    color: #0d47a1;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.sobre-texto h2 {
    font-size: 32px;
    color: #0a2540;
    margin: 15px 0;
}

.historia-destaque {
    font-size: 18px;
    color: var(--navy);
    background-color: #eef2ff;
    padding: 15px;
    border-left: 4px solid var(--navy);
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Card Ilustrativo */
.sobre-imagem {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
}

.icone-destaque {
    font-size: 60px;
    margin-bottom: 15px;
    color: #ffca28;
}

/* Seção Pilares */
.pilares-container {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.titulo-secao {
    font-size: 28px;
    color: #0a2540;
    margin-bottom: 40px;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pilar-card {
    background-color: #f8f9fa;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pilar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.pilar-icone {
    font-size: 36px;
    color: #0d47a1;
    margin-bottom: 15px;
}

.pilar-card h3 {
    margin-bottom: 10px;
    color: #0a2540;
}

/* =========================
   TELA DE BOAS-VINDAS
========================= */

#welcome-loader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

#welcome-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.welcome-content {
    text-align: center;
    animation: welcomeFade 0.8s ease;
}

.loader-logo img {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 25px;
}

.welcome-content h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #222;
}

.welcome-content p {
    margin: 8px 0 25px;
    font-size: 15px;
    color: #777;
}

.loading-line {
    width: 180px;
    height: 3px;
    background: #eeeeee;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-line span {
    display: block;
    width: 40%;
    height: 100%;
    background: #222;
    border-radius: 10px;
    animation: loading 1.2s infinite ease-in-out;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(450%);
    }
}

@keyframes welcomeFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* =========================
           HEADER
        ========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: .3s;
}

header.scrolled {
    background: rgba(7, 26, 51, .97);
    box-shadow: 0 5px 25px rgba(0, 0, 0, .15);
}

.navbar {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.logo-symbol {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-family: sans-serif;
    font-size: 20px;
}

.logo-text strong {
    display: block;
    font-size: 17px;
    letter-spacing: 1px;
}

.logo-text span {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--gold-light);
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    font-weight: 600;
    transition: .3s;
}

nav a:hover {
    color: var(--gold-light);
}

.nav-button {
    background: #C8A35A;
    background: linear-gradient(90deg, rgba(200, 163, 90, 1) 0%, rgba(224, 196, 124, 1) 50%, rgba(255, 211, 107, 1) 100%);
    color: var(--navy) !important;
    padding: 11px 18px;
    border-radius: 4px;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

/* =========================
           HERO
        ========================= */

.hero {
    min-height: 760px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url("../static/img/banner.jpeg");
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    right: -450px;
    bottom: -600px;
    width: 650px;
    height: 650px;
    border: 200px solid rgba(200, 163, 90, 0.13);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding-top: 30px;
}

.hero .eyebrow {
    margin-bottom: 22px;
}

.hero h1 {
    color: white;
    font-family: sans-serif;
    font-size: 42px;
    line-height: 1.02;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero p {
    color: rgba(255, 255, 255, .75);
    max-width: 650px;
    font-size: 18px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, .18);
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.hero-stat {
    padding: 22px 30px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.hero-stat strong {
    display: block;
    color: white;
    font-family: sans-serif;
    font-size: 22px;
}

.hero-stat span {
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
}

/* =========================
           SOBRE
        ========================= */

.about {
    background: var(--cream);
}

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

.about-visual {
    position: relative;
    min-height: 510px;
}

.about-card-main {
    width: 82%;
    height: 450px;
    background-image: url("../static/img/homem.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    border-radius: 30px 0px 30px 30px;
}

.about-card-main::before {
    content: "REDE";
    position: absolute;
    right: -20px;
    bottom: 15px;
    font-family: sans-serif;
    font-size: 110px;
    font-weight: bold;
    color: rgba(255, 255, 255, .04);
}

.about-card-main .cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, .12);
    font-family: sans-serif;
    font-size: 130px;
}

.about-card-small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 230px;
    padding: 30px;
    background: #C8A35A;
    background: linear-gradient(90deg, rgba(200, 163, 90, 1) 0%, rgba(224, 196, 124, 1) 50%, rgba(255, 211, 107, 1) 100%);
    color: var(--navy);
    box-shadow: var(--shadow);
    border-radius: 0px 30px 30px 30px;
}

.about-card-small strong {
    font-family: sans-serif;
    font-size: 22px;
    display: block;
    margin-bottom: 5px;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    margin: 28px 0;
}

.check-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 13px;
    font-weight: 600;
    color: var(--navy);
}

.check-list li::before {
    content: "✓";
    color: var(--gold);
    font-weight: bold;
}

/* =========================
           CURSOS
        ========================= */

.courses {
    background: white;
}

.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 50px;
}

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

.course-card {
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: .3s;
    background: white;
    max-width: 350px;
    box-shadow: 1px 1px 5px #c8a35a8a;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(200, 163, 90, .4);
    cursor: pointer;
}

.course-top {
    height: 190px;
    position: relative;
    display: flex;
    align-items: end;
    padding: 25px;
}

.primeiro {
    background-image: url("../static/img/primeiro.png");
    background-position: center;
    background-size: cover;
}

.segundo {
    background-image: url("../static/img/segundo.png");
    background-position: center;
    background-size: cover;
}

.terceiro {
    background-image: url("../static/img/terceiro.png");
    background-position: center;
    background-size: cover;
}

.quarto {
    background-image: url("../static/img/quarto.png");
    background-position: center;
    background-size: cover;
}

.quinto {
    background-image: url("../static/img/quinto.png");
    background-position: center;
    background-size: cover;
}

.sexto {
    background-image: url("../static/img/sexto.png");
    background-position: center;
    background-size: cover;
}

.cursos {
    display: flex;
    flex-wrap: wrap;
}

.course-number {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 50px;
    font-family: sans-serif;
    color: rgba(255, 255, 255, .08);
}

.course-icon {
    font-size: 40px;
    color: var(--gold);
}

.course-body {
    padding: 28px;
}

.course-body h3 {
    font-family: sans-serif;
    color: var(--navy);
    font-size: 25px;
    margin-bottom: 12px;
}

.course-body p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.course-link {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

/* =========================
           DIFERENCIAIS
        ========================= */

.features {
    background: var(--navy);
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: center;
}

.features .section-title {
    color: white;
}

.features .section-subtitle {
    color: rgba(255, 255, 255, .62);
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.feature {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 5px;
    background: rgba(255, 255, 255, .025);
    transition: .3s;
}

.feature:hover {
    background: rgba(255, 255, 255, .06);
    transform: translateY(-4px);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(200, 163, 90, .5);
    display: grid;
    place-items: center;
    color: var(--gold);
    margin-bottom: 18px;
}

.feature h3 {
    font-family: sans-serif;
    margin-bottom: 7px;
}

.feature p {
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
}

/* =========================
           MISSÃO
        ========================= */

.mission {
    background: var(--cream);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 55px;
}

.mission-card {
    background: white;
    padding: 40px 32px;
    border-bottom: 3px solid transparent;
    transition: .3s;
}

.mission-card:hover {
    border-bottom-color: var(--gold);
    transform: translateY(-5px);
}

.mission-card span {
    color: var(--gold);
    font-family: sans-serif;
    font-size: 45px;
}

.mission-card h3 {
    font-family: sans-serif;
    font-size: 26px;
    color: var(--navy);
    margin: 10px 0;
}

.mission-card p {
    color: var(--muted);
    font-size: 14px;
}

/* =========================
           CTA
        ========================= */

.cta {
    background:
        radial-gradient(circle at 80% 50%, rgba(200, 163, 90, .18), transparent 30%),
        var(--blue);
    padding: 85px 0;
    color: white;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta h2 {
    font-family: sans-serif;
    font-size: clamp(35px, 4vw, 55px);
    line-height: 1.1;
    max-width: 700px;
}

.cta p {
    color: rgba(255, 255, 255, .65);
    margin-top: 15px;
}

/* =========================
           DEPOIMENTOS
        ========================= */

.testimonials {
    background: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.testimonial {
    padding: 35px;
    border: 1px solid var(--border);
    position: relative;
}

.testimonial::before {
    content: "“";
    position: absolute;
    top: 8px;
    right: 25px;
    font-family: sans-serif;
    font-size: 80px;
    color: rgba(200, 163, 90, .2);
}

.testimonial p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.student {
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    display: grid;
    place-items: center;
    color: var(--gold);
    font-weight: bold;
}

.student strong {
    display: block;
    color: var(--navy);
    font-size: 13px;
}

.student span {
    color: var(--muted);
    font-size: 11px;
}

/* =========================
           FAQ
        ========================= */

.faq {
    background: var(--light);
}

.faq-list {
    max-width: 850px;
    margin: 50px auto 0;
}

.faq-item {
    background: white;
    margin-bottom: 10px;
    border: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    border: none;
    background: white;
    padding: 22px 25px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: "DM Sans";
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
}

.faq-answer {
    display: none;
    padding: 0 25px 22px;
    color: var(--muted);
    font-size: 14px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.faq-question span {
    font-size: 25px;
    color: var(--gold);
    transition: .3s;
}

/* =========================
           CONTATO
        ========================= */

.contact {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.contact-info {
    margin-top: 35px;
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background: var(--navy);
    color: var(--gold);
    display: grid;
    place-items: center;
    border-radius: 4px;
}

.contact-item strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
}

.contact-item span {
    color: var(--muted);
    font-size: 13px;
}

.contact-form {
    background: white;
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-family: sans-serif;
    font-size: 30px;
    color: var(--navy);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border);
    outline: none;
    font-family: "DM Sans";
    border-radius: 3px;
    transition: .2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* =========================
           FOOTER
        ========================= */

footer {
    background: #041326;
    color: white;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 55px;
}

.footer-brand p {
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    max-width: 330px;
    margin-top: 18px;
}

.footer-column h4 {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
    margin-bottom: 10px;
    transition: .2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 22px 0;
    color: rgba(255, 255, 255, .35);
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* =========================
           ANIMAÇÃO
        ========================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: .7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
           ANIMAÇÃO
        ========================= */

@keyframes flutuar {
    0% {
        transform: translateY(0px);

    }

    50% {
        transform: translateY(-10px);
        /* Distância que ele sobe */
        box-shadow: 2px 10px 10px rgba(0, 0, 0, 0.377);
    }

    100% {
        transform: translateY(0px);

    }
}

.efeito-flutuar {
    animation: flutuar 3s ease-in-out infinite;
}

/* =========================
           RESPONSIVO
        ========================= */

@media(max-width: 900px) {

    nav {
        position: fixed;
        top: 84px;
        left: 0;
        width: 100%;
        background: var(--navy);
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        transform: translateY(-150%);
        transition: .3s;
    }

    nav.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
    }

    .about-grid,
    .features-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        min-height: 450px;
    }

    .course-grid,
    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media(max-width: 600px) {

    .section {
        padding: 70px 0;
    }

    .hero {
        min-height: 700px;
    }

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

    .hero p {
        font-size: 15px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .hero-stat {
        padding: 15px 10px;
    }

    .hero-stat strong {
        font-size: 16px;
    }

    .hero-stat span {
        font-size: 9px;
    }

    .about-card-main {
        width: 90%;
        height: 380px;
    }

    .about-card-small {
        width: 190px;
        padding: 22px;
    }

    .courses-header {
        display: block;
    }

    .course-grid,
    .testimonial-grid,
    .feature-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}