/* Variáveis CSS (Paleta de Cores e Fontes) */
:root {
    --bg-dark: #050505; /* Preto Fundo */
    --bg-card: #121212; /* Preto um pouco mais claro para os cards */
    --text-white: #f8f9fa; /* Branco para textos */
    --text-gray: #a1a1aa; /* Cinza para parágrafos */
    --accent: #f59e0b; /* Amarelo Alaranjado */
    --accent-hover: #d97706; /* Amarelo Escuro para Hover */
    --font-main: 'Inter', sans-serif;
    --shadow-soft: 0 10px 30px rgba(245, 158, 11, 0.05);
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
}

/* --- HEADER & NAVBAR --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.4s ease, padding 0.4s ease;
}

header.scrolled {
    background-color: rgba(5, 5, 5, 0.95);
    padding: 12px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.logo span {
    color: var(--accent);
}

/* Menu Mobile First Oculto */
nav {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

nav.active {
    display: block;
}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-btn {
    display: none; /* Oculta botão zap no header mobile para dar espaço */
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
    display: block;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--accent);
}

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

/* --- SEÇÕES GENÉRICAS --- */
section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* --- SERVIÇOS --- */
.card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow-soft);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

/* --- DIFERENCIAIS --- */
.features {
    background-color: #080808;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* --- GALERIA / PROJETOS --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    border-left: 3px solid var(--accent);
    padding-left: 10px;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- FOOTER --- */
footer {
    background-color: var(--bg-card);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo p {
    color: var(--text-gray);
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: #000;
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* --- BOTÃO FLUTUANTE WHATSAPP --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}


/* ====== MEDIA QUERIES (DESKTOP) ====== */
@media (min-width: 768px) {
    /* Navbar Desktop */
    .mobile-menu-btn {
        display: none;
    }
    
    nav {
        display: block;
        position: static;
        background: none;
        padding: 0;
        box-shadow: none;
    }

    .nav-links {
        flex-direction: row;
        gap: 30px;
    }

    .nav-btn {
        display: inline-block;
    }

    /* Hero Desktop */
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }

    /* Grids Desktop */
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}