/* reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: #fff;
    line-height: 1.6;
}

/* utilitários */
.interface {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 4%;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* tipografia */
.titulo-secao {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    text-transform: lowercase;
}

.titulo-secao span {
    color: #daa520;
    position: relative;
}

.titulo-secao span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #daa520, transparent);
    border-radius: 2px;
}

/* header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

header.header-scroll {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom-color: #333;
    padding: 15px 0;
}

header .interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 2rem;
    font-weight: 700;
    color: #daa520;
    text-decoration: none;
    letter-spacing: -1px;
}

/* menu desktop */
.menu-desktop ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.menu-desktop a {
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.menu-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #daa520;
    transition: width 0.3s ease;
}

.menu-desktop a:hover {
    color: #fff;
}

.menu-desktop a:hover::after {
    width: 100%;
}

/* botões */
.btn-contato button,
.btn-enviar {
    padding: 12px 32px;
    background: linear-gradient(135deg, #daa520, #b8860b);
    color: #000;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.btn-contato button:hover,
.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.3);
}

/* menu mobile */
.menu-mobile {
    display: none;
    position: relative;
}

.menu-mobile input[type="checkbox"] {
    display: none;
}

.menu-icone {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.menu-itens {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: #111;
    list-style: none;
    padding: 80px 40px;
    transition: right 0.3s ease;
    border-left: 1px solid #333;
}

.menu-itens li {
    margin-bottom: 25px;
}

.menu-itens a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    transition: color 0.3s;
}

.menu-itens a:hover {
    color: #daa520;
}

#menu-toggle:checked ~ .menu-itens {
    right: 0;
}

/* topo do site */
.topo-site {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

/* efeito de fundo sutil */
.topo-site::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.txt-topo-site {
    flex: 1;
}

.tag-disponivel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(218, 165, 32, 0.1);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #daa520;
    margin-bottom: 25px;
    font-weight: 500;
}

.ponto-pulse {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.txt-topo-site h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.txt-topo-site h1 span {
    color: #daa520;
    position: relative;
    display: inline-block;
}

.txt-topo-site h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(218, 165, 32, 0.3);
    z-index: -1;
    border-radius: 2px;
}

.descricao {
    color: #b0b0b0;
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 25px;
    line-height: 1.8;
}

.tecnologias {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 6px 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    border-color: #daa520;
    color: #daa520;
    transform: translateY(-2px);
}

/* imagem topo */
.img-topo-site {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.circulo-foto {
    position: relative;
    width: 350px;
    height: 350px;
}

.circulo-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #1a1a1a;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.decoracao-circulo {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px dashed rgba(218, 165, 32, 0.3);
    border-radius: 50%;
    animation: girar 20s linear infinite;
}

@keyframes girar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* especialidades */
.especialidades {
    padding: 100px 0;
    background: #0d0d0d;
}

.especialidades .flex {
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.box-especialidade {
    background: #161616;
    border: 1px solid #222;
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 350px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.box-especialidade::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #daa520, #b8860b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.box-especialidade:hover {
    transform: translateY(-10px);
    border-color: rgba(218, 165, 32, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.box-especialidade:hover::before {
    transform: scaleX(1);
}

.icone-esp {
    width: 60px;
    height: 60px;
    background: rgba(218, 165, 32, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #daa520;
    margin-bottom: 25px;
    border: 1px solid rgba(218, 165, 32, 0.2);
}

.box-especialidade h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.box-especialidade p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.tags-esp {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tags-esp span {
    padding: 4px 12px;
    background: rgba(218, 165, 32, 0.1);
    color: #daa520;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: lowercase;
}

/* sobre */
.sobre {
    padding: 100px 0;
}

.sobre .flex {
    gap: 80px;
}

.img-sobre {
    flex: 1;
    position: relative;
}

.img-sobre::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid #daa520;
    border-radius: 20px;
    z-index: 1;
}

.img-sobre img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.txt-sobre {
    flex: 1;
}

.txt-sobre h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 25px;
}

.txt-sobre h2 span {
    color: #daa520;
}

.txt-sobre p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.8;
}

.redes-sociais {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-social {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid #333;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-social:hover {
    border-color: #daa520;
    color: #daa520;
    transform: translateY(-2px);
}

/* portfolio */
.portfolio {
    padding: 100px 0;
    background: #0d0d0d;
}

.portfolio .flex {
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.projeto-card {
    width: 100%;
    max-width: 380px;
    background: #161616;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #222;
    transition: all 0.4s ease;
}

.projeto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    border-color: rgba(218, 165, 32, 0.2);
}

.img-projeto {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.overlay-projeto {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projeto-card:hover .overlay-projeto {
    opacity: 1;
}

.btn-ver {
    padding: 12px 28px;
    background: #daa520;
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.projeto-card:hover .btn-ver {
    transform: translateY(0);
}

.info-projeto {
    padding: 25px;
}

.info-projeto h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.info-projeto p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.techs-projeto {
    display: flex;
    gap: 8px;
}

.techs-projeto span {
    padding: 4px 12px;
    background: #222;
    border-radius: 15px;
    font-size: 0.75rem;
    color: #daa520;
}

/* contato */
.contato {
    padding: 100px 0;
}

.contato .flex {
    align-items: stretch;
    gap: 60px;
}

.infos-contato {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.item-contato {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #161616;
    border-radius: 15px;
    border: 1px solid #222;
    transition: all 0.3s ease;
}

.item-contato:hover {
    border-color: rgba(218, 165, 32, 0.3);
    transform: translateX(5px);
}

.item-contato i {
    width: 50px;
    height: 50px;
    background: rgba(218, 165, 32, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #daa520;
}

.item-contato h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.item-contato p {
    color: #888;
    font-size: 0.95rem;
}

.formulario {
    flex: 1;
    background: #161616;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #222;
}

.formulario form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formulario input,
.formulario textarea {
    width: 100%;
    padding: 15px 20px;
    background: #0d0d0d;
    border: 1px solid #333;
    border-radius: 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.formulario input:focus,
.formulario textarea:focus {
    outline: none;
    border-color: #daa520;
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
}

.formulario input::placeholder,
.formulario textarea::placeholder {
    color: #666;
}

.formulario textarea {
    resize: vertical;
    min-height: 120px;
}

/* footer */
footer {
    background: #050505;
    padding: 60px 0 30px;
    border-top: 1px solid #1a1a1a;
}

.flex-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.logo-footer span {
    font-size: 2rem;
    font-weight: 700;
    color: #daa520;
}

.logo-footer p {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

.links-footer {
    display: flex;
    gap: 30px;
}

.links-footer a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.links-footer a:hover {
    color: #daa520;
}

.social-footer {
    display: flex;
    gap: 15px;
}

.social-footer a {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.social-footer a:hover {
    background: #daa520;
    color: #000;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    color: #666;
    font-size: 0.85rem;
}

/* responsivo */
@media screen and (max-width: 1024px) {
    .flex {
        flex-direction: column;
        gap: 40px;
    }
    
    .menu-desktop,
    .btn-contato {
        display: none;
    }
    
    .menu-mobile {
        display: block;
    }
    
    .txt-topo-site h1 {
        font-size: 2.5rem;
    }
    
    .circulo-foto {
        width: 280px;
        height: 280px;
    }
    
    .sobre .flex {
        flex-direction: column-reverse;
    }
    
    .img-sobre::before {
        display: none;
    }
    
    .contato .flex {
        flex-direction: column;
    }
    
    .flex-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .links-footer {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .titulo-secao {
        font-size: 2rem;
    }
    
    .txt-topo-site h1 {
        font-size: 2rem;
    }
    
    .tecnologias {
        justify-content: center;
    }
    
    .descricao {
        text-align: center;
    }
    
    .btn-contato {
        text-align: center;
    }
    
    .topo-site .flex {
        flex-direction: column-reverse;
    }
    
    .txt-sobre h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .redes-sociais {
        justify-content: center;
    }
}