/* Variáveis de Autoridade Corporativa */
:root {
    --bg-color: #050505;
    --surface-color: #0c0c0c;
    --surface-light: #151515;
    --primary-gold: #D4AF37;
    --gold-hover: #b5952f;
    --metallic-blue: #1A365D;
    --text-main: #F4F4F4;
    --text-dim: #A0A0A0;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body { background-color: var(--bg-color); color: var(--text-main); font-family: 'Inter', sans-serif; line-height: 1.6; }

/* NAVBAR */
.navbar { 
    padding: 1rem 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    background: rgba(5, 5, 5, 0.95); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15); 
    z-index: 1000; 
    transition: all 0.3s ease;
}
.logo-container { display: flex; align-items: center; gap: 15px; }

/* Logo com tamanho preservado e controle de proporção */
.logo-img { height: 60px; width: auto; object-fit: contain; filter: drop-shadow(0 0 5px rgba(212,175,55,0.2)); }

.logo-text { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--primary-gold); letter-spacing: 1px;}
.logo-text span { color: var(--text-main); font-weight: 300; }

nav a { color: var(--text-main); text-decoration: none; margin-left: 2rem; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
nav a:hover { color: var(--primary-gold); }
.nav-btn { background: var(--primary-gold); color: #000; padding: 10px 20px; border-radius: 4px; font-weight: 600; }
.nav-btn:hover { background: var(--gold-hover); color: #000; }

/* HERO */
.hero { position: relative; padding: 120px 5%; min-height: 80vh; display: flex; align-items: center; overflow: hidden; background: radial-gradient(circle at right, var(--metallic-blue), transparent 60%); }
.watermark-container { position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: 0; opacity: 0.05; pointer-events: none; }
.hero-watermark { width: 650px; filter: grayscale(100%); }
.hero-content { position: relative; z-index: 10; max-width: 750px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; color: #fff; }
.hero-subtitle { font-size: 1.3rem; color: var(--text-dim); margin-bottom: 2.5rem; font-weight: 300; }

/* BOTÕES GLOBAIS */
.btn-primary { background: var(--primary-gold); color: #000; padding: 1rem 2.5rem; text-decoration: none; font-weight: 600; border-radius: 4px; border: none; cursor: pointer; transition: 0.3s; display: inline-block; box-shadow: 0 4px 15px rgba(212,175,55,0.2); }
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,175,55,0.3); }
.btn-secondary { border: 1px solid var(--primary-gold); color: var(--primary-gold); padding: 1rem 2.5rem; text-decoration: none; border-radius: 4px; margin-left: 1rem; transition: 0.3s; display: inline-block;}
.btn-secondary:hover { background: rgba(212,175,55,0.1); }

/* SEÇÕES GENÉRICAS */
section { padding: 100px 5%; max-width: 1400px; margin: 0 auto; }
h2 { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: var(--primary-gold); margin-bottom: 3rem; text-align: center; }

/* QUEM SOMOS */
.about-section { background: var(--surface-color); border-top: 1px solid rgba(255,255,255,0.05); }
.about-content { max-width: 800px; margin: 0 auto; text-align: center; font-size: 1.1rem; color: var(--text-dim); line-height: 1.8; }
.about-content p { margin-bottom: 1.5rem; }

/* BENEFÍCIOS */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.benefit-item { background: var(--surface-light); padding: 2.5rem; border-radius: 8px; text-align: center; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.benefit-item:hover { transform: translateY(-5px); border-color: var(--metallic-blue); }
.benefit-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.benefit-item h3 { color: #fff; margin-bottom: 1rem; font-size: 1.3rem; }
.benefit-item p { color: var(--text-dim); font-size: 0.95rem; }

/* PORTFÓLIO & MOCKUPS (NOVA ESTRUTURA RESPONSIVA) */
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; max-width: 1200px; margin: 0 auto; }
.case-card { background: var(--surface-color); padding: 2rem; border-top: 3px solid var(--primary-gold); transition: 0.3s; display: flex; flex-direction: column;}
.case-card:hover { transform: translateY(-5px); background: #111; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* Correção Definitiva de Proporção (Aspect-Ratio) */
.case-mockup { 
    width: 100%; 
    height: auto; 
    aspect-ratio: 16 / 9; /* Força a imagem a manter proporção de tela em qualquer dispositivo */
    background: transparent; 
    border-radius: 4px; 
    margin-bottom: 1.5rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
}
.case-mockup img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; /* Não corta a imagem */
    opacity: 0.95; 
    transition: 0.5s; 
}
.case-card:hover .case-mockup img { opacity: 1; transform: scale(1.02); }

.case-badge { color: var(--primary-gold); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; font-weight: 600;}
.case-card h3 { font-size: 1.6rem; margin-bottom: 1rem; color: #fff; }
.case-card p { color: var(--text-dim); margin-bottom: 1.5rem; flex-grow: 1; }
.tech-stack { font-size: 0.85rem; color: #5D9CEC; font-weight: 600; letter-spacing: 0.5px; }

/* CONTATO */
.contact-section { background: var(--surface-light); text-align: center; }
.form-wrapper { max-width: 600px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-form input, .contact-form textarea { padding: 1.2rem; background: var(--bg-color); border: 1px solid #333; color: #fff; border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 1rem;}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary-gold); outline: none; }
.direct-contact { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #333; }
.contact-link { color: var(--primary-gold); font-size: 1.5rem; font-weight: bold; text-decoration: none; transition: 0.3s; }
.contact-link:hover { color: var(--gold-hover); }

/* FOOTER PROFISSIONAL */
.main-footer { background: #020202; padding: 80px 5% 100px; /* Padding bottom extra para o botão do whatsapp não cobrir texto */ border-top: 1px solid rgba(212,175,55,0.2); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; max-width: 1200px; margin: 0 auto 3rem; }
.footer-brand .footer-logo { height: 60px; margin-bottom: 1.5rem; object-fit: contain; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; }
.footer-links h4, .footer-legal h4 { color: #fff; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-links a, .footer-legal a { display: block; color: var(--text-dim); text-decoration: none; margin-bottom: 0.8rem; font-size: 0.9rem; transition: 0.3s; }
.footer-links a:hover, .footer-legal a:hover { color: var(--primary-gold); }
.security-badge { display: inline-block; margin-top: 1rem; border: 1px solid var(--primary-gold); color: var(--primary-gold); padding: 5px 10px; font-size: 0.8rem; border-radius: 4px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #222; color: #666; font-size: 0.85rem; }

/* FLOAT WHATSAPP */
.btn-whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.4); z-index: 1000; transition: transform 0.3s; }
.btn-whatsapp-float img { width: 35px; }
.btn-whatsapp-float:hover { transform: scale(1.1); }

/* RESPONSIVIDADE EXTREMA (MOBILE) */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 15px; padding: 1rem; }
    .logo-img { height: 50px; }
    nav a { margin: 0 10px; font-size: 0.85rem; display: inline-block; padding: 5px 0;}
    .nav-btn { display: none; }
    
    .hero { padding: 100px 5% 60px; }
    .hero h1 { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.1rem; }
    
    .btn-secondary { margin-left: 0; margin-top: 15px; display: block; text-align: center; width: 100%;}
    .btn-primary { display: block; text-align: center; width: 100%; }
    
    h2 { font-size: 2.2rem; }
    
    .case-mockup { aspect-ratio: 4 / 3; /* Ajuste sutil de proporção para celular */ }
    
    /* Afasta o botão do whatsapp para não sobrepor links em telas menores */
    .btn-whatsapp-float { bottom: 20px; right: 20px; width: 55px; height: 55px; }
    .btn-whatsapp-float img { width: 30px; }
}