/* ========================================
   IMPORTS E VARIÁVEIS GLOBAIS
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --verde: #2CCB91;
    --verde-escuro: #1fa873;
    --azul: #2563EB;
    --azul-escuro: #1F2B3F;
    --cinza-claro: #F3F4F6;
    --cinza-medio: #E5E7EB;
    --branco: #ffffff;
    --sombra: 0 4px 24px rgba(0,0,0,0.08);
    --sombra-hover: 0 12px 40px rgba(44,203,145,0.18);
    --radius: 14px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET E BASE
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--cinza-claro);
    color: var(--azul-escuro);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   HEADER E MENU HAMBÚRGUER
   ======================================== */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    background: var(--branco);
    border-bottom: 3px solid var(--verde);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--azul);
    letter-spacing: 0.5px;
}

header h1 span {
    color: var(--verde);
}

/* MENU DESKTOP */
.menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu a {
    text-decoration: none;
    color: var(--azul-escuro);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
}

.menu a:hover {
    color: var(--verde);
    background: rgba(44,203,145,0.08);
}

.menu a.btn-menu {
    background: var(--verde);
    color: white;
    border-radius: 8px;
    padding: 9px 18px;
    font-weight: 600;
}

.menu a.btn-menu:hover {
    background: var(--verde-escuro);
    color: white;
    transform: translateY(-1px);
}

/* BOTÃO HAMBÚRGUER */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    background: none;
    border: none;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--azul-escuro);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.ativo span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.ativo span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.ativo span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* OVERLAY MOBILE */
.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-overlay.ativo {
    opacity: 1;
}

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

.hero {
    background: linear-gradient(135deg, #0f1f3d 0%, #1a3a6e 50%, #0f2d4a 100%);
    padding: 100px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(44,203,145,0.12) 0%, transparent 60%);
    animation: pulseGlow 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--cinza-claro);
    clip-path: ellipse(55% 100% at 50% 100%);
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

.hero-badge {
    display: inline-block;
    background: rgba(44,203,145,0.15);
    border: 1px solid rgba(44,203,145,0.4);
    color: var(--verde);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h2 .destaque {
    color: var(--verde);
    position: relative;
}

.hero h3 {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    margin: 0 auto 48px;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 70px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

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

.stat-numero {
    font-family: 'Syne', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--verde);
    display: block;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   BOTÕES
   ======================================== */

button, .btn-primary, .btn-secundario {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

button, .btn-primary {
    background: var(--verde);
    color: white;
}

button:hover, .btn-primary:hover {
    background: var(--verde-escuro);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44,203,145,0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-2px);
}

.btn-secundario {
    background: var(--cinza-medio);
    color: var(--azul-escuro);
}

.btn-secundario:hover {
    background: #d1d5db;
    transform: translateY(-2px);
}

/* ========================================
   SEÇÕES GERAIS
   ======================================== */

section {
    padding: 80px 60px;
    max-width: 1200px;
    margin: auto;
}

.section-titulo {
    text-align: center;
    margin-bottom: 60px;
}

.section-titulo h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: var(--azul-escuro);
    margin-bottom: 12px;
}

.section-titulo p {
    font-size: 17px;
    color: #6B7280;
    max-width: 500px;
    margin: 0 auto;
}

h2 {
    font-family: 'Syne', sans-serif;
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 40px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ========================================
   CARDS MENTORES
   ======================================== */

.mentores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.card {
    background: var(--branco);
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--sombra);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--verde), var(--azul));
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-hover);
    border-color: rgba(44,203,145,0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--verde), var(--azul));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
    color: white;
    font-weight: 700;
}

.card h4 {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--azul-escuro);
}

.card p {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 20px;
    font-weight: 500;
}

.card-tag {
    display: inline-block;
    background: rgba(44,203,145,0.1);
    color: var(--verde-escuro);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.curso-card {
    background: var(--branco);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: var(--transition);
}

.curso-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-hover);
}

.curso-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.curso-card-body {
    padding: 24px;
}

.curso-card-body h3 {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.curso-card-body p {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 16px;
}

/* LISTA SIMPLES (página curso.html original) */
main section img {
    border-radius: var(--radius);
    margin-top: 10px;
    max-width: 100%;
    height: auto;
}

main section h3 {
    margin-top: 24px;
    font-family: 'Syne', sans-serif;
}

main section p {
    margin-bottom: 15px;
    color: #6B7280;
}

/* ========================================
   FORMULÁRIOS
   ======================================== */

.form-principal {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-principal h3 {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--azul-escuro);
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--cinza-medio);
}

.form-principal h3:first-child {
    margin-top: 0;
}

.form-principal input,
.form-principal select,
.form-principal textarea {
    width: 100%;
    padding: 14px 16px;
    margin: 6px 0;
    border: 2px solid var(--cinza-medio);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--azul-escuro);
    background: var(--cinza-claro);
    transition: var(--transition);
}

.form-principal input:focus,
.form-principal select:focus,
.form-principal textarea:focus {
    border-color: var(--verde);
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(44,203,145,0.1);
}

.form-principal input.erro,
.form-principal select.erro,
.form-principal textarea.erro {
    border-color: #EF4444;
    box-shadow: 0 0 0 4px rgba(239,68,68,0.1);
}

.msg-erro {
    color: #EF4444;
    font-size: 12px;
    margin-top: -4px;
    margin-bottom: 6px;
    display: none;
}

.msg-erro.visivel {
    display: block;
}

/* CHECKBOXES */
.areas-ensino {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 12px 0;
}

.areas-ensino label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid var(--cinza-medio);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.areas-ensino label:hover {
    border-color: var(--verde);
    background: rgba(44,203,145,0.05);
}

.areas-ensino input[type="checkbox"]:checked + span,
.areas-ensino label:has(input:checked) {
    border-color: var(--verde);
    background: rgba(44,203,145,0.08);
    color: var(--verde-escuro);
}

/* BOTÕES DO FORM */
.form-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
    flex-wrap: wrap;
}

/* ========================================
   MODAL DE SUCESSO
   ======================================== */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.ativo {
    display: flex;
}

.modal-box {
    background: white;
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalEntrada 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalEntrada {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-icone {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.modal-box h3 {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--azul-escuro);
    margin-bottom: 10px;
}

.modal-box p {
    color: #6B7280;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ========================================
   PERFIS MENTORES
   ======================================== */

.perfil-mentor {
    max-width: 820px;
    margin: 2rem auto;
    padding: 2rem;
}

.perfil-cabecalho {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--sombra);
    border-left: 5px solid var(--verde);
}

.foto-mentor {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--verde);
    box-shadow: 0 4px 16px rgba(44,203,145,0.3);
    flex-shrink: 0;
}

.info-mentor h1 {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.info-mentor h2 {
    color: var(--azul);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
    text-align: left;
}

.info-mentor p {
    color: #6B7280;
    font-size: 14px;
}

.biografia, .habilidades, .disponibilidade {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--sombra);
}

.biografia h3, .habilidades h3, .disponibilidade h3 {
    font-family: 'Syne', sans-serif;
    margin-bottom: 16px;
    color: var(--azul-escuro);
}

.lista-habilidades {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.lista-habilidades li {
    background: rgba(44,203,145,0.07);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid var(--verde);
    font-size: 14px;
    font-weight: 500;
}

.botoes-acao {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

/* ========================================
   FILTRO MENTORES
   ======================================== */

.filtro-mentores {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filtro-btn {
    padding: 9px 20px;
    border-radius: 50px;
    border: 2px solid var(--cinza-medio);
    background: white;
    color: var(--azul-escuro);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filtro-btn:hover,
.filtro-btn.ativo {
    border-color: var(--verde);
    background: var(--verde);
    color: white;
    transform: none;
    box-shadow: none;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

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

footer {
    background: var(--azul-escuro);
    color: rgba(255,255,255,0.7);
    padding: 60px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.footer-marca h3 {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.footer-marca h3 span {
    color: var(--verde);
}

.footer-marca p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--verde);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-bottom span {
    color: var(--verde);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-marca {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    /* HEADER MOBILE */
    header {
        padding: 16px 20px;
        position: sticky;
        top: 0;
    }

    header h1 {
        font-size: 20px;
    }

    /* MENU MOBILE */
    .hamburger {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 40px;
        gap: 6px;
        box-shadow: -4px 0 30px rgba(0,0,0,0.12);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .menu.aberto {
        right: 0;
    }

    .menu-overlay {
        display: block;
        pointer-events: none;
    }

    .menu-overlay.ativo {
        pointer-events: all;
    }

    .menu a {
        width: 100%;
        padding: 13px 16px;
        font-size: 16px;
        border-radius: 10px;
    }

    .menu a.btn-menu {
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }

    /* HERO MOBILE */
    .hero {
        padding: 70px 24px 80px;
    }

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

    .hero-stats {
        gap: 30px;
        margin-top: 50px;
    }

    .stat-numero {
        font-size: 28px;
    }

    /* SEÇÕES MOBILE */
    section {
        padding: 50px 20px;
    }

    /* MENTORES MOBILE */
    .mentores {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* CARDS MOBILE */
    .card {
        padding: 24px 16px;
    }

    /* FORMULÁRIOS MOBILE */
    .form-principal {
        padding: 1.5rem;
        margin: 1rem;
    }

    .areas-ensino {
        grid-template-columns: 1fr;
    }

    .form-buttons {
        flex-direction: column;
    }

    /* PERFIL MOBILE */
    .perfil-cabecalho {
        flex-direction: column;
        text-align: center;
    }

    .info-mentor h2 {
        text-align: center;
    }

    /* FOOTER MOBILE */
    footer {
        padding: 40px 20px;
    }

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

    h1, h2, h3 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .mentores {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons a, .hero-buttons button {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   SEPARADOR DECORATIVO
   ======================================== */

hr {
    display: none;
}

/* ========================================
   LINKS GERAIS
   ======================================== */

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

nav a {
    text-decoration: none;
    color: var(--azul-escuro);
    font-weight: 500;
    transition: var(--transition);
}

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