/* =========================================
           VARIÁVEIS E RESET
           ========================================= */
:root {
    --primary-color: #0284c7;
    --primary-dark: #0c4a6e;
    --accent-color: #10b981;
    --bg-light: #f0f9ff;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-radius: 16px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;

    /* Espaçamentos Responsivos */
    --container-padding: 24px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

/* =========================================
           COMPONENTES GERAIS
           ========================================= */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white !important; /* Força o texto branco */
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(2, 132, 199, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    padding: 0 10px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.25rem);
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.section-title p {
    color: var(--text-light);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

section {
    padding: 5rem 0;
}

/* =========================================
           NAVBAR
           ========================================= */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-dark);
    padding: 5px;
    border-radius: 5px;
}

/* =========================================
           HERO SECTION
           ========================================= */
#home {
    padding-top: 140px;
    padding-bottom: 5rem;
    display: flex;
    align-items: center;
    min-height: 90vh;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: #d1fae5;
    color: #065f46;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.15;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow);
    object-fit: cover;
    animation: float 6s ease-in-out infinite;
    max-height: 600px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================================
           COMPETÊNCIAS
           ========================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: #e0f2fe;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* =========================================
           ESTÁGIOS
           ========================================= */
#estagios {
    background-color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-content {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-role {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--accent-color);
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* =========================================
           CURSOS
           ========================================= */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.course-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Ajuste para espaçamento interno */
}

/* Título do Curso (ex: Bacharelado) */
.course-title {
    margin-bottom: 0.8rem; /* Espaço para afastar do texto */
    font-weight: 700;
    line-height: 1.3;
}

/* Texto da Instituição/Descrição */
.course-institution {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-light);
}

/* Aumentar o respiro entre os tópicos (listas em geral) */
ul li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Espaço para subtítulos em blocos de texto */
h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* =========================================
           FAQ
           ========================================= */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-dark);
}

.accordion-header:hover {
    background-color: #f8fafc;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
}

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

.accordion-item.active .icon-chevron {
    transform: rotate(180deg);
}

/* =========================================
           CONTATO
           ========================================= */
.contact-wrapper {
    background: white;
    padding: 3rem 1.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    word-break: break-all;
}

.contact-icon-circle {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}


/* =========================================
   FOOTER (VERSÃO CLEAN / UNIFICADA)
   ========================================= */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding-top: 4rem;
    margin-top: 4rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

/* Coluna 1: Identidade */
.footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.footer-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 300px;
}

.coren-badge {
    display: inline-block;
    background-color: #ecfdf5;
    color: #047857;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #d1fae5;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Títulos das Colunas */
.footer-col h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 700;
}

/* Linha decorativa abaixo do título */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Listas de Links */
.footer-links, .footer-contact {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Ícones de contato */
.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

.footer-legal {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

.footer-legal a {
    color: #64748b;
    text-decoration: none;
}

/* Barra Inferior (Créditos e Social) */
.footer-bottom {
    background-color: #f8fafc;
    padding: 1.5rem 0;
    border-top: 1px solid #f1f5f9;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Créditos */
.copyright-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dev-credits {
    font-size: 0.75rem;
    opacity: 0.8;
}

.dev-credits a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Social Links - Versão Clean */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--primary-color);
    background-color: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary-color);
}
/* Classe para elementos ocultos inicialmente */
.hidden-element {
    opacity: 0;
    transform: translateY(30px); /* Começa 30px para baixo */
    transition: all 0.8s ease-out; /* Demora 0.8s para aparecer */
}

/* Classe quando o elemento aparece */
.show-element {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
           MEDIA QUERIES (RESPONSIVIDADE TOTAL)
           ========================================= */

/* 1. Tablet e Laptops Pequenos (até 1024px) */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }
    .hero-text h1 {
        font-size: 2.8rem;
    }
    .nav-links {
        gap: 1.5rem;
    }
}

/* 2. Tablets (até 900px) */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-text p {
        margin: 0 auto 2rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}
/* 3. Mobile Padrão (até 768px) */
@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }
    .hamburger { display: block; }
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        transform: translateY(-150%);
        z-index: 999;
        opacity: 0;
        transition: all 0.3s ease;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    section { padding: 3.5rem 0; }

    /* === AJUSTES DA TIMELINE ALINHADA === */
    .timeline { 
        width: 100%; 
        padding: 0; 
    }
    .timeline::before { 
        left: 15px; /* Fixa a linha cinza com recuo da borda */
    }
    .timeline-marker { 
        left: 6px;  /* Centraliza a bolinha cirurgicamente em cima da linha */
    }
    .timeline-item { 
        padding-left: 45px; /* Empurra o cartão para não encostar na linha */
    }
    .timeline-content {
        padding: 1.2rem 1rem; /* Dá um respiro interno para os textos no mobile */
    }

    /* === FOOTER MOBILE === */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-logo { justify-content: center; }
    .footer-desc { margin: 0 auto 1.5rem; }
    .bottom-content {
        flex-direction: column;
        gap: 1rem;
    }
    .copyright-text {
        text-align: center;
        align-items: center;
    }
    .containerProfi{
        margin-left: 20px;
    }
}

/* 4. Mobile Pequeno (até 480px) */
@media (max-width: 480px) {
    .btn {
        width: 100%;
        padding: 12px 20px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-text h1 { font-size: 2.2rem; }
    .section-title h2 { font-size: 1.8rem; }
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .timeline-content { padding: 1rem; }
    .contact-wrapper { padding: 2rem 1rem; }
}