@charset "utf-8";

:root {
    --bg: #050505;
    --bg2: #0a0a0a;
    --card: #111111;
    --border: #222222;
    --orange: #f97316;
    --orange-light: #fb923c;
    --text: #ededed;
    --text-muted: #888888;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.text-accent { color: var(--orange); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-sm { max-width: 24rem; }

/* ANIMAÇÕES */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }

/* BOTÕES */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--orange);
    color: #000;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}
.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* NAVBAR */
.navbar-wrapper {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 24px;
    transition: background 0.3s, backdrop-filter 0.3s;
}
.navbar-wrapper.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
    width: 36px; height: 36px;
    background: var(--orange);
    color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; color: var(--text); line-height: 1.1; }
.logo-subtitle { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--orange); font-weight: 700; margin-top: 2px; }

.nav-links-desktop { display: none; align-items: center; gap: 8px; }
.nav-links-desktop a:not(.btn-nav) {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s;
}
.nav-links-desktop a:not(.btn-nav):hover { color: var(--text); }
.btn-nav { padding: 10px 20px; background: var(--orange); color: #000; text-decoration: none; border-radius: 99px; font-size: 0.9rem; font-weight: 600; transition: background 0.3s; }
.btn-nav:hover { background: var(--orange-light); }
.nav-mobile-btn { background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; padding: 8px; }

/* MOBILE MENU */
.nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 101;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.nav-backdrop.active { opacity: 1; pointer-events: auto; }
.nav-sidebar {
    position: fixed; top: 0; right: -100%;
    width: 80%; max-width: 300px; height: 100vh;
    background: var(--bg2);
    border-left: 1px solid var(--border);
    z-index: 102;
    display: flex; flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-sidebar.active { right: 0; }
.nav-sidebar-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border); }
.nav-sidebar-links { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nav-link { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; padding: 12px; border-radius: 8px; transition: background 0.3s; }
.nav-link:hover { background: rgba(255,255,255,0.05); }
.nav-link i { color: var(--orange); width: 20px; text-align: center; }
.nav-sidebar-footer { padding: 20px; border-top: 1px solid var(--border); }

/* HERO */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 120px 24px 80px;
    overflow: hidden;
    isolation: isolate;
    background: var(--bg);
}

/* VÍDEO DE FUNDO */
.hero-bg-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
    pointer-events: none;
}

/* SOMBRA PARA LEGIBILIDADE */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        var(--bg) 0%,
        rgba(5, 5, 5, 0.5) 50%,
        rgba(5, 5, 5, 0.2) 100%
    );
    z-index: -1;
    pointer-events: none;
}

/* CONTEÚDO DO HERO */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* BADGE */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(10px);
    margin-bottom: 24px;
    color: var(--text);
}

.hero-badge i {
    color: var(--orange);
}

/* TÍTULO */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.15;
    font-weight: 600;
    margin-bottom: 32px;
    max-width: 700px;
    letter-spacing: -0.02em;
}

/* BOTÕES */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        min-height: 100svh;
        padding: 110px 20px 60px;
    }

    .hero-bg-video {
        object-position: center;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-overlay {
        background: linear-gradient(
            to top,
            var(--bg) 0%,
            rgba(5, 5, 5, 0.65) 55%,
            rgba(5, 5, 5, 0.3) 100%
        );
    }
}


/* SEÇÕES */
.section-pad { padding: 100px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-kicker {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--orange); display: flex; align-items: center; gap: 12px;
}
.section-kicker::before { content: ''; width: 30px; height: 1px; background: var(--orange); }
.center-kicker { justify-content: center; }
.center-kicker::before { display: none; }
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin-top: 16px; }
.section-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-top: 16px; max-width: 600px; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* SOBRE */
.about-grid { display: grid; gap: 48px; align-items: center; }
.arch-frame {
    width: 100%; max-width: 350px; aspect-ratio: 3/4;
    border-radius: 150px 150px 16px 16px;
    overflow: hidden; border: 1px solid var(--border);
    margin: 0 auto;
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.glass-panel {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px; padding: 32px; backdrop-filter: blur(10px);
}
.about-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.stats-row {
    display: flex; justify-content: space-between; gap: 16px;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 24px 0; margin-top: 32px;
}
.stat-number { font-family: var(--font-heading); font-size: 2rem; color: var(--orange); font-weight: 600; }
.stat-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-top: 4px; }
.about-links { display: flex; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.about-links a { color: var(--orange); text-decoration: none; font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: opacity 0.3s; }
.about-links a:hover { opacity: 0.7; }

/* HABILIDADES */
.skills-container {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 24px; padding: 40px; margin-top: 48px;
    display: flex; flex-direction: column; gap: 24px;
}
.skill-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.skill-name { font-weight: 600; display: flex; align-items: center; gap: 12px; font-size: 1rem; }
.skill-name i { font-size: 1.3rem; }
.skill-percent { color: var(--orange); font-weight: 700; font-size: 0.9rem; }
.skill-track { height: 6px; background: rgba(255,255,255,0.05); border-radius: 99px; overflow: hidden; }
.skill-bar { height: 100%; background: var(--orange); border-radius: 99px; width: 0; transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1); }

/* PROJETOS */
.projects-grid { display: grid; gap: 32px; }
.project-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 20px; overflow: hidden; transition: all 0.4s ease;
    display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(249,115,22,0.4); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.project-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-media img { transform: scale(1.05); }
.project-actions {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; gap: 16px;
    opacity: 0; transition: opacity 0.3s ease;
}
.project-card:hover .project-actions { opacity: 1; }
.btn-icon {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: transform 0.2s, background 0.2s;
}
.btn-icon.primary { background: var(--orange); color: #000; }
.btn-icon.secondary { background: var(--bg2); color: var(--text); border: 1px solid var(--border); }
.btn-icon:hover { transform: scale(1.15); }
.project-info { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-info h3 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--orange); margin-bottom: 12px; }
.project-info p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.project-tags span {
    padding: 4px 12px; border-radius: 99px; border: 1px solid var(--orange);
    color: var(--orange); font-size: 0.7rem; font-weight: 600;
    transition: all 0.3s;
}
.project-card:hover .project-tags span { background: var(--orange); color: #000; }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    /* Adicione essas duas linhas se não tiver */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-outline:hover { 
    border-color: var(--orange); 
    color: var(--orange); 
    background: rgba(249, 115, 22, 0.05); /* Um fundinho laranja bem sutil */
}

/* CONTATO */
.contact-grid { display: grid; gap: 48px; }
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.contact-info-list a, .contact-info-list div {
    display: flex; align-items: center; gap: 12px;
    color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
    transition: color 0.3s;
}
.contact-info-list a:hover { color: var(--text); }
.contact-info-list i { font-size: 1.2rem; width: 24px; text-align: center; }
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label { font-size: 0.85rem; font-weight: 600; }
.form-group input, .form-group textarea {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 12px; padding: 14px; color: var(--text);
    font-family: var(--font-body); font-size: 0.95rem; outline: none;
    transition: border-color 0.3s; resize: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--orange); }
.form-status { font-size: 0.9rem; text-align: center; color: var(--orange); min-height: 1.2em; }
/* FOOTER */
.site-footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 80px 0 32px; /* Espaçamento mais elegante em cima e embaixo */
    width: 100%;
    overflow: hidden;
}

/* Centraliza e limita a largura */
.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Estrutura do Grid */
.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px; /* Dá bastante espaço para o copyright lá embaixo */
}

/* Coluna 1: Marca e Texto */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: var(--text) !important;
    margin-bottom: 20px;
}

.footer-logo .logo-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text);
}

.footer-logo .logo-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--orange);
    font-weight: 700;
    margin-top: 6px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 350px; /* Impede que o texto cole na lateral ou fique muito esticado */
}

/* Colunas de Links (Navegar e Contato) */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: 24px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-list a, 
.footer-links-list span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links-list i {
    font-size: 1.1rem;
    width: 20px; /* Alinha todos os textos perfeitamente, independente do tamanho do ícone */
    text-align: center;
    color: var(--orange); /* Garante a cor laranja nos ícones */
}

.footer-links-list a:hover {
    color: var(--text);
}

/* COPYRIGHT (Base do Footer) */
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    display: flex;
    flex-direction: column; /* No mobile fica um embaixo do outro */
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* Responsividade (Telas maiores) */
@media (min-width: 768px) {
    .footer-top {
        /* Define 3 colunas: a primeira ocupa o dobro de espaço das outras */
        grid-template-columns: 2fr 1fr 1fr; 
        gap: 60px;
    }
    
    .footer-bottom {
        flex-direction: row; /* Coloca o copyright e a frase lado a lado */
        justify-content: space-between;
        text-align: left;
    }
}

/* RESPONSIVIDADE */
@media (min-width: 768px) {
    .form-row { grid-template-columns: 1fr 1fr; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { flex-direction: row; justify-content: space-between; }
    .footer-links-group { gap: 80px; }
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
    .nav-links-desktop { display: flex; }
    .nav-mobile-btn { display: none; }
    .about-grid { grid-template-columns: 0.8fr 1fr; gap: 80px; }
    .contact-grid { grid-template-columns: 0.8fr 1fr; align-items: center; }
}