/* ===== RESET E VARIÁVEIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #666666;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ===== TEMA ESCURO ===== */
body.dark-mode {
    --primary-color: #ffffff;
    --secondary-color: #cccccc;
    --dark-color: #ffffff;
    --light-color: #1a1a1a;
    --white: #000000;
    background-color: #000000;
    color: #ffffff;
}

body.dark-mode .navbar {
    background-color: #000000;
    border-bottom: 1px solid #333333;
}

body.dark-mode .nav-menu a {
    color: #ffffff;
}

body.dark-mode .nav-menu a:hover {
    color: #cccccc;
}

body.dark-mode .hero {
    background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
}

body.dark-mode .hero::before {
    background-color: rgba(255, 255, 255, 0.03);
}

body.dark-mode .sobre,
body.dark-mode .skills {
    background-color: #0a0a0a;
}

body.dark-mode .projetos,
body.dark-mode .contato {
    background-color: #000000;
}

body.dark-mode .tag {
    background-color: #2a2a2a;
    color: #ffffff;
}

body.dark-mode .projeto-card,
body.dark-mode .skill-category,
body.dark-mode .info-item {
    background-color: #1a1a1a;
    border: 1px solid #333333;
}

body.dark-mode .hero-shape {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-color: #333333;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background-color: #1a1a1a;
    border-color: #333333;
    color: #ffffff;
}

body.dark-mode .social-link {
    background-color: #1a1a1a;
    border: 1px solid #333333;
}

/* ===== ESTILO GERAL ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

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

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

/* ===== NAVEGAÇÃO ===== */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--secondary-color);
    border-bottom: #fff 2px solid;
}

/* ===== CONTROLES DA NAVBAR ===== */
.nav-controls {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.nav-toggle {
    display: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: var(--transition);
}

.nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.nav-toggle i {
    font-size: 1.25rem;
    color: var(--white);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 90;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Dark mode: garante contraste na navbar */
body.dark-mode .btn-control,
body.dark-mode .nav-toggle {
    border-color: #ffffff;
    color: #ffffff;
}

body.dark-mode .nav-toggle i {
    color: #ffffff;
}

body.dark-mode .nav-menu {
    background-color: #000000;
    border-bottom-color: #333333;
}

.btn-control {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.btn-control:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

.icon-tema {
    font-size: 1.3rem;
}

.icon-idioma {
    font-size: 0.85rem;
    font-weight: 700;
}

/* ===== SEÇÃO HERO ===== */
.hero {
    background: linear-gradient(180deg, var(--white) 0%, #fafafa 100%);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    width: fit-content;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-shape {
    position: relative;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
    border-radius: 50%;
    border: 2px solid #e5e5e5;
    animation: slideIn 0.8s ease-out;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* ===== SEÇÃO SOBRE ===== */
.sobre {
    padding: 80px 0;
    background-color: var(--light-color);
}

.sobre h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark-color);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sobre-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-color);
}

.sobre-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.info-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.info-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* ===== SEÇÃO EXPERIÊNCIAS ===== */
.experiencias {
    padding: 100px 0;
    background-color: var(--white);
}

.experiencias h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark-color);
}

.experiencias-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.experiencia-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    animation: slideIn 0.6s ease forwards;
    opacity: 0;
}

.experiencia-item:nth-child(1) {
    animation-delay: 0.1s;
}

.experiencia-item:nth-child(2) {
    animation-delay: 0.2s;
}

.experiencia-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.experiencia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.experiencia-period {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.badge-period {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge-duration {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.experiencia-content h3 {
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.company {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.location {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.description {
    color: var(--secondary-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tech-tag {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--primary-color);
    transition: var(--transition);
}

.tech-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

body.dark-mode .experiencia-item {
    background-color: #1a1a1a;
    border-left-color: #ffffff;
}

body.dark-mode .badge-period {
    background-color: #1a1a1a;
    color: #ffffff;
}

body.dark-mode .badge-duration {
    background-color: #ffffff;
    color: #000000;
}

body.dark-mode .tech-tag {
    background-color: #1a1a1a;
    color: #ffffff;
    border-color: #ffffff;
}

body.dark-mode .tech-tag:hover {
    background-color: #ffffff;
    color: #000000;
}

/* ===== SEÇÃO PROJETOS ===== */
.projetos {
    padding: 100px 0;
    background-color: var(--white);
}

.projetos h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark-color);
}

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

.projeto-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.projeto-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.projeto-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.projeto-image img.pokedex-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.projeto-info {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.projeto-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.projeto-info p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    flex: 1;
    line-height: 1.7;
}

.projeto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tag {
    background-color: #ebebeb;
    color: var(--dark-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.projeto-links {
    display: flex;
    gap: 1.25rem;
}

.link-btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 600;
    flex: 1;
    text-align: center;
    font-size: 1rem;
}

.link-btn:hover {
    background-color: #333333;
}

/* ===== BOTÃO CTA PROJETOS ===== */
.projetos-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

/* ===== SEÇÃO SKILLS ===== */
.skills {
    padding: 80px 0;
    background-color: var(--light-color);
}

.skills h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

.skill-list li {
    padding: 0.5rem 0;
    color: var(--secondary-color);
    position: relative;
    padding-left: 1.5rem;
}

.skill-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== SEÇÃO CERTIFICAÇÕES ===== */
.certificacoes {
    padding: 80px 0;
    background-color: var(--white);
}

.certificacoes h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark-color);
}

.certificacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.certificacao-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.certificacao-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.certificacao-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.certificacao-header h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
}

.certificacao-source {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
}

.certificacao-body {
    display: flex;
    flex-direction: column;
}

.certificacao-desc {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.certificacao-hours {
    margin-bottom: 1rem;
}

.hours-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.certificacao-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
}

.certificacao-status {
    color: #28a745;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* TEMA ESCURO - CERTIFICAÇÕES */
body.dark-mode .certificacoes {
    background-color: var(--light-color);
}

body.dark-mode .certificacao-item {
    background-color: #1a1a1a;
    border-left-color: #ffffff;
}

body.dark-mode .certificacao-item:hover {
    background-color: #2a2a2a;
}

body.dark-mode .certificacao-header h3 {
    color: #ffffff;
}

body.dark-mode .certificacao-source {
    background-color: #ffffff;
    color: #000000;
}

body.dark-mode .certificacao-desc {
    color: #cccccc;
}

body.dark-mode .hours-badge {
    background-color: #ffffff;
    color: #000000;
}

body.dark-mode .certificacao-footer {
    border-top-color: #333333;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .certificacoes-grid {
        grid-template-columns: 1fr;
    }
    
    .certificacao-header {
        flex-direction: column;
    }
    
    .certificacao-source {
        margin-left: 0;
        margin-top: 0.5rem;
        align-self: flex-start;
    }
}

/* ===== SEÇÃO CONTATO ===== */
.contato {
    padding: 80px 0;
    background-color: var(--white);
}

.contato h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contato-subtitle {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.formulario {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.contato-links h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    border-radius: 15px;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
    margin: 20px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    color: var(--dark-color);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.modal-header h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--secondary-color);
    font-size: 1rem;
}

.modal-body {
    padding: 2rem;
}

.modal-body h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modal-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.modal-body li {
    color: var(--secondary-color);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.modal-body li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.modal-body code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.modal-actions .btn {
    flex: 1;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
    }

    .navbar .container {
        padding: 0.75rem 16px;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem 1.25rem 1.5rem;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        z-index: 95;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu a {
        display: block;
        padding: 10px 8px;
        border-radius: 8px;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        border-bottom: none;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
        text-align: center;
    }

    .hero-label {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        height: auto;
    }

    .hero-shape {
        width: 260px;
        height: 260px;
    }

    .hero::before {
        width: 400px;
        height: 400px;
        opacity: 0.5;
    }

    .sobre-content,
    .contato-content {
        grid-template-columns: 1fr;
    }

    .skills-grid,
    .projetos-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        top: 68px;
        padding: 1rem 1rem 1.25rem;
    }

    .hero {
        padding: 56px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-visual {
        height: auto;
        margin-top: 0.5rem;
    }

    .hero-shape {
        width: 220px;
        height: 220px;
    }

    .projeto-links {
        flex-direction: column;
    }

    .link-btn {
        flex: 1;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-link {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}
