/*
--- PALETA DE CORES & FONTES GLOBAIS ---
Inspirado na sua logo para uma identidade visual coesa.
*/
:root {
    --bg-dark: #1a1d24;          /* Cinza-chumbo escuro */
    --bg-light: #2a2d34;         /* Cinza um pouco mais claro para cards */
    --accent-color: #c59b76;     /* Cobre / Ouro Rosa */
    --text-light: #f0f0f0;       /* Branco suave */
    --text-dark: #1a1d24;
    --text-secondary: #a9a9a9;   /* Cinza para parágrafos secundários */
    --whatsapp-green: #25D366;
    
    --font-main: 'Poppins', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.3; font-weight: 600; color: var(--text-light); }
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--text-light); }
p { font-size: 1.1rem; color: var(--text-secondary); }

/* --- BOTÕES E LINKS DE CONTATO --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-weight: 600;
}
.btn-primary:hover {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* --- HEADER --- */
.header {
    background-color: rgba(26, 29, 36, 0.85);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky; top: 0; z-index: 1000;
    backdrop-filter: blur(8px);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 45px; }
.main-nav a { color: var(--text-light); font-weight: 500; margin-left: 35px; }
.main-nav a:hover { color: var(--accent-color); }

/* --- HERO SECTION COM LOGO --- */
.hero {
    text-align: center;
    padding: 120px 0;
    background: linear-gradient(rgba(26, 29, 36, 0.9), rgba(26, 29, 36, 1));
}
.hero-logo {
    height: 100px; /* Ajuste a altura da logo conforme necessário */
    margin-bottom: 2.5rem;
}
.hero-content p {
    max-width: 650px;
    margin: 1rem auto 2.5rem;
    font-size: 1.2rem;
}

/* --- SEÇÕES DE CONTEÚDO --- */
.content-section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 4rem; }

#sobre { background-color: var(--bg-light); }
.about-container { text-align: center; max-width: 800px; }
.about-container p { color: var(--text-light); }

/* --- SEÇÃO DE SERVIÇOS (CARDS) --- */
#servicos { background-color: var(--bg-dark); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; list-style: none; }
.service-card {
    background-color: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    border: 1px solid #333;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-10px); border-color: var(--accent-color); }
.service-icon-wrapper {
    display: inline-block;
    padding: 1rem;
    background-color: var(--bg-dark);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}
.service-icon { width: 40px; height: 40px; color: var(--accent-color); }
.service-card p { font-size: 1rem; }

/* --- SEÇÃO DE CONTATO --- */
.contact-section { background-color: var(--bg-light); }
#contato .container { text-align: center; }
.contact-subtitle { max-width: 500px; margin: -3.5rem auto 2.5rem; }
.contact-info { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}
.contact-link:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
    transform: translateY(-3px);
}
.contact-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* --- SEÇÃO DESENVOLVEDORA --- */
#desenvolvedora {
    background-color: var(--bg-dark);
}
.dev-container {
    text-align: center;
    max-width: 700px;
}
.dev-container h2 {
    margin-bottom: 1rem;
}
.dev-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
}
.dev-container p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}
.dev-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* --- FOOTER --- */
.footer { text-align: center; padding: 30px 0; border-top: 1px solid #333; margin-top: -1px; background: var(--bg-light); }
.footer p { font-size: 0.9rem; color: var(--text-secondary); }

/* --- WHATSAPP BUTTON --- */
.whatsapp-button {
    position: fixed; bottom: 25px; right: 25px;
    background-color: var(--whatsapp-green);
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.whatsapp-button:hover { transform: scale(1.1); }

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero { padding: 100px 20px; }
    .hero-logo { height: 80px; }
    .content-section { padding: 80px 0; }
    .header .container { flex-direction: column; gap: 20px; }
    .main-nav a { margin: 0 15px; }
}
