/* --- Variáveis Globais --- */
:root {
    --primary-color: #d4af37; /* Dourado Premium */
    --primary-hover: #b8962e;
    --dark-bg: #0a0f16;
    --darker-bg: #05080c;
    --light-text: #f5f5f5;
    --gray-text: #a0aab5;
    --card-bg: #141b24;
    
    --font-main: 'Outfit', sans-serif;
    --font-accent: 'Playfair Display', serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Resets e Configurações Básicas --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.gold-text {
    color: var(--primary-color);
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Botões --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--darker-bg);
}

.btn-block {
    width: 100%;
}

.icon-small {
    width: 18px;
    height: 18px;
    margin-left: 8px;
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(5, 8, 12, 0.85);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-family: var(--font-accent);
    font-weight: 700;
}

.logo i {
    color: var(--primary-color);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a:not(.btn) {
    font-weight: 500;
    position: relative;
}

.desktop-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.desktop-nav a:not(.btn):hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 10s ease;
}

.hero:hover .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(10,15,22,1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-accent);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #e0e0e0;
}

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

/* --- About Section --- */
.about {
    background-color: var(--dark-bg);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
}

/* --- Portfolio Section --- */
.portfolio {
    background-color: var(--dark-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-img-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(0deg, rgba(5,8,12,0.9) 0%, rgba(5,8,12,0) 100%);
    transform: translateY(20px);
    opacity: 0.8;
    transition: var(--transition);
}

.card-overlay h3 {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.card-overlay p {
    font-size: 0.9rem;
    color: var(--light-text);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.portfolio-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.portfolio-card:hover .card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-card:hover .card-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* --- Contact Section --- */
.contact {
    background-color: var(--darker-bg);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.contact-info p {
    color: var(--gray-text);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.detail-item i {
    color: var(--primary-color);
}

.contact-form-container {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--gray-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: var(--light-text);
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255,255,255,0.06);
}

/* --- Footer --- */
.footer {
    background-color: #030508;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-family: var(--font-accent);
}

.footer-logo i {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
}

.footer p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--gray-text);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--darker-bg);
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 992px) {
    .contact-wrapper,
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none; /* Implementar mobile menu em projeto real */
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
