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

body {
    font-family: 'Inter', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #ffffff;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8fafc;
}

.bg-dark {
    background-color: #1e293b;
    color: #ffffff;
}

.section-title {
    font-size: 2rem;
    color: #0f172a;
    text-align: center;
    margin-bottom: 10px;
}

.bg-dark .section-title {
    color: #ffffff;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
}

/* ================= NAV BAR & MENU TOGGLE ================= */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
}

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

/* Ajuste no z-index da logo para ficar atrás do painel lateral */
.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    z-index: 99;
}

.logo span {
    font-size: 0.85rem;
    color: #2563eb;
    font-weight: 500;
}

/* Esconde o Checkbox */
.menu-toggle {
    display: none;
}

/* Ícone Hambúrguer com z-index alto para ficar acima do painel */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    cursor: pointer;
    z-index: 102;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #0f172a;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Painel do Menu com z-index intermediário (cobre a logo, fica atrás do X) */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 80%;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 90px 30px 30px 30px;
    transition: right 0.3s ease-in-out;
    z-index: 101;
}

.nav-menu ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    align-items: flex-start;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #2563eb;
}

/* Estado ativo do Toggle */
.menu-toggle:checked ~ .nav-menu {
    right: 0;
}

.menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ================= BOTÕES ================= */
.btn-primary {
    background-color: #2563eb;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background 0.3s;
}

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

.btn-secondary {
    background-color: #e2e8f0;
    color: #334155;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}

/* ================= HERO SECTION ================= */
.hero {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto 30px;
}

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

/* ================= LAYOUTS GRID ================= */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.highlights-card {
    background: #f1f5f9;
}

.highlights-card ul {
    margin-top: 15px;
    padding-left: 20px;
}

.highlights-card li {
    margin-bottom: 10px;
}

/* ================= PROFILE PHOTO ================= */
.about-text {
    overflow: hidden;
}

.profile-photo {
    float: left;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    shape-outside: circle(50%);
    margin: 5px 25px 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 3px solid #ffffff;
}

/* ================= RESOURCES ================= */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.resource-block {
    background: #f8fafc;
    padding: 25px;
    border-left: 4px solid #2563eb;
    border-radius: 4px;
}

.resource-block h3 {
    margin-bottom: 15px;
    color: #1e293b;
}

.resource-block ul {
    list-style: none;
}

.resource-block li {
    margin-bottom: 8px;
    color: #475569;
}

/* ================= TIMELINE ================= */
.timeline {
    border-left: 3px solid #2563eb;
    padding-left: 20px;
    margin: 30px 0;
}

.timeline-item {
    margin-bottom: 25px;
}

.timeline-item h4 {
    color: #0f172a;
}

.timeline-item span {
    color: #64748b;
    font-size: 0.9rem;
}

.licenses-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    border: 1px dashed #cbd5e1;
    text-align: center;
}

/* ================= CONTACT FORM ================= */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #475569;
    background: #334155;
    color: #ffffff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

/* ================= FOOTER ================= */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 20px 0;
    font-size: 0.9rem;
}

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

/* ================= RESPONSIVIDADE (LAYOUT DE CONTEÚDO) ================= */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

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

@media (max-width: 576px) {
    .profile-photo {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
        shape-outside: none;
    }

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