@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;600&display=swap');

:root {
    --roxo-profundo: #3b2447;
    --laranja-cobre: #d17a5d;
    --fundo-escuro: #0a080c;
    --texto-principal: #f8fafc;
    --gradiente-destaque: linear-gradient(135deg, #3b2447 0%, #d17a5d 100%);
}

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

body {
    background-color: var(--fundo-escuro);
    color: var(--texto-principal);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

/* Navegação */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.8rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 8, 12, 0.95);
    backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--laranja-cobre);
    text-decoration: none;
    letter-spacing: 0.04em;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 999px;
    background: var(--texto-principal);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:first-child {
    transform: translateY(9px) rotate(45deg);
}

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

.menu-toggle.open span:last-child {
    transform: translateY(-9px) rotate(-45deg);
}

.links-nav {
    display: flex;
    position: static;
    width: auto;
    background: transparent;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    border-radius: 0;
}

.links-nav a {
    color: var(--texto-principal);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s ease;
    margin: 0;
}

.links-nav a:hover { color: var(--laranja-cobre); }

/* Seções */
section {
    padding: 100px 10%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Início */
#inicio {
    text-align: center;
    min-height: 65vh;
    padding-top: 5rem;
}

#inicio h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--laranja-cobre));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-tag {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 0.95rem 1.4rem;
    font-size: 0.95rem;
    color: #d8dee9;
}

#inicio p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.botao {
    padding: 1rem 2.5rem;
    background: var(--gradiente-destaque);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    border: none;
}

.botao:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(59, 36, 71, 0.5); }

/* Serviços */
.grade-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cartao-servico {
    background: #120f16;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.cartao-servico h3 { color: var(--laranja-cobre); margin-bottom: 1rem; }

/* Portfólio */
.projeto-destaque {
    background: #08060a;
    border: 1px solid rgba(211, 122, 93, 0.2);
    padding: 40px;
    border-radius: 12px;
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.info-projeto { flex: 1; min-width: 300px; }
.imagem-projeto { flex: 1; min-width: 300px; background: #1a151f; height: 300px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #475569; }

/* Sobre Nós */
.sobre-conteudo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.sobre-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.team-card {
    background: #120f16;
    border: 1px solid rgba(209, 122, 93, 0.2);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #1a151f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    max-width: 100%;
}

.team-info {
    padding: 1.4rem;
    text-align: center;
}

.team-info h3 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
    color: var(--texto-principal);
}

.team-info p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.placeholder-card .team-info {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 1.4rem;
}

.placeholder-card {
    min-height: 340px;
    background: #130b17;
}

@media (max-width: 1024px) {
    .sobre-conteudo {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sobre-conteudo {
        gap: 30px;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-card {
        width: 100%;
    }
}

/* Orçamento / Contato */
.container-formulario {
    max-width: 900px;
    margin: 0 auto;
    background: #120f16;
    padding: 3rem;
    border-radius: 8px;
}

.campo { margin-bottom: 1.5rem; }
label { display: block; color: var(--laranja-cobre); font-size: 0.8rem; margin-bottom: 0.5rem; }
input, select, textarea {
    width: 100%;
    min-width: 0;
    padding: 0.8rem;
    background: #0a080c;
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 4px;
}

.form-feedback {
    display: none;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    background: rgba(209, 122, 93, 0.12);
    color: #f8d3c3;
    border: 1px solid rgba(209, 122, 93, 0.3);
    font-size: 0.95rem;
}

.form-feedback.visible {
    display: block;
}

.form-feedback.success {
    background: rgba(115, 210, 116, 0.14);
    border-color: rgba(115, 210, 116, 0.3);
    color: #d8f7d4;
}

.field-error {
    display: none;
    margin-top: 0.4rem;
    color: #f8d3c3;
    font-size: 0.88rem;
    line-height: 1.4;
}

.field-error.visible {
    display: block;
}

input[type="tel"] {
    letter-spacing: 0.15em;
}

.tipo-projeto input {
    display: none;
}

.project-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.9rem;
    margin-top: 0.8rem;
}

.project-card {
    border: 1px solid rgba(255,255,255,0.08);
    background: #120f16;
    border-radius: 12px;
    padding: 1rem;
    text-align: left;
    color: #e2e8f0;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.project-card strong {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--laranja-cobre);
}

.project-card span {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #94a3b8;
}

.project-card:hover,
.project-card.active {
    border-color: var(--laranja-cobre);
    background: rgba(209, 122, 93, 0.12);
    transform: translateY(-2px);
}

.select-helper {
    margin-top: 0.75rem;
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.5;
}

section { padding-top: 8rem; }

.section-titulo {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contato-section {
    min-height: auto;
    text-align: center;
    padding-bottom: 50px;
}

.contato-email {
    margin-top: 1rem;
    color: var(--laranja-cobre);
    font-weight: 600;
}

.contato-links {
    margin-top: 2rem;
    color: #94a3b8;
}

footer { text-align: center; padding: 3rem; border-top: 1px solid rgba(255,255,255,0.05); color: #475569; font-size: 0.8rem; }

@media (max-width: 1024px) {
    section { padding: 80px 8%; }
    .projeto-destaque { padding: 30px; gap: 30px; }
    .imagem-projeto { height: 260px; }
}

@media (max-width: 768px) {
    section { padding: 70px 6%; min-height: auto; }
    nav { padding: 0.85rem 5%; }
    .menu-toggle { display: flex; }
    .links-nav {
        display: flex;
        position: absolute;
        top: 100%;
        right: 5%;
        width: 220px;
        background: rgba(10, 8, 12, 0.98);
        flex-direction: column;
        align-items: flex-end;
        gap: 0.8rem;
        padding: 1.2rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        border-radius: 0 0 12px 12px;
    }
    .links-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .links-nav a { margin: 0; }
    .grade-servicos { gap: 1.5rem; }
    .projeto-destaque { flex-direction: column; padding: 30px 20px; }
    .sobre-conteudo { grid-template-columns: 1fr; gap: 30px; }
    .placeholder-foto { width: 120px; height: 150px; }
    .imagem-projeto { width: 100%; height: 220px; }
    .container-formulario { padding: 2rem; }
    footer { padding: 2rem 0; }
}

@media (max-width: 550px) {
    .hero-tag { font-size: 0.9rem; padding: 0.8rem 1rem; }
    .logo { font-size: 1.25rem; }
    .section-titulo { font-size: 2rem; }
}

@media (max-width: 550px) {
    .hero-tag { font-size: 0.9rem; padding: 0.8rem 1rem; }
    .links-nav a { margin-left: 0; }
    .links-nav { align-items: center; }
    .logo { font-size: 1.3rem; }
    .section-titulo { font-size: 2rem; }
}
