/* CSS Variáveis - Baseadas nas referências do tema Porto */
:root {
    --primary-green: #28a745;
    --primary-green-hover: #218838;
    --bg-dark: #212529;
    --bg-darker: #1c1c1c;
    --bg-light: #f4f5f7;
    --text-dark: #333333;
    --text-gray: #777777;
    --text-light: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s ease-in-out;
}

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

html { scroll-behavior: smooth; font-family: var(--font-body); color: var(--text-dark); }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.mt-2 { margin-top: 1.5rem; }
.mt-4 { margin-top: 3rem; }
.text-center { text-align: center; }
.text-white { color: var(--text-light) !important; }
.text-gray { color: #aaaaaa; }
.bg-light { background-color: var(--bg-light); }
.w-100 { width: 100%; }

/* Tipografia */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--bg-dark); }
.section-title { font-size: 2rem; margin-bottom: 1.5rem; position: relative; }
.section-padding { padding: 5rem 0; }

/* Botões */
.btn {
    display: inline-block; padding: 12px 24px; font-size: 0.85rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer;
    transition: var(--transition); text-decoration: none; border-radius: 3px;
}
.btn-green { background-color: var(--primary-green); color: var(--text-light); }
.btn-green:hover { background-color: var(--primary-green-hover); }
.btn-outline-green { background-color: transparent; border: 2px solid var(--primary-green); color: var(--primary-green); }
.btn-outline-green:hover { background-color: var(--primary-green); color: var(--text-light); }

/* Header */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    background-color: var(--bg-dark); z-index: 1000;
    transition: var(--transition); padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header.scrolled { padding: 10px 0; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.nav-list { display: flex; list-style: none; gap: 2rem; }
.nav-list a {
    color: var(--text-light); text-decoration: none; font-size: 0.85rem;
    font-weight: 500; text-transform: uppercase; transition: var(--transition);
}
.nav-list a:hover, .nav-list a.active { color: var(--primary-green); }
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* Hero Section com Vídeo */
.hero {
    position: relative; height: 100vh; min-height: 600px;
    display: flex; align-items: center; overflow: hidden;
}
.hero-video {
    position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%;
    width: auto; height: auto; z-index: -2; transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(33, 37, 41, 0.75); z-index: -1;
}
.hero-content {
    position: relative; z-index: 1; max-width: 800px; padding-top: 80px;
}
.hero h1 {
    color: var(--text-light); font-size: 3.5rem; line-height: 1.2; margin-bottom: 1.5rem;
}
.hero p {
    color: #cccccc; font-size: 1.1rem; margin-bottom: 2rem; font-weight: 300;
}

/* Sobre Nós */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.check-list { list-style: none; margin: 1.5rem 0; }
.check-list li {
    position: relative; padding-left: 25px; margin-bottom: 10px; color: var(--text-gray);
}
.check-list li::before {
    content: '❯'; position: absolute; left: 0; color: var(--primary-green); font-size: 0.8rem; top: 2px;
}
.about-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; border-left: 1px solid #eee; padding-left: 2rem;
}
.stat-box h3 { font-size: 2.5rem; color: var(--primary-green); margin-bottom: 5px; font-family: var(--font-body); }
.stat-box p { font-size: 0.9rem; color: var(--text-gray); font-weight: 500; text-transform: uppercase; }

/* Expertises */
.expertise-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem;
}
.expertise-card { display: flex; gap: 1.5rem; align-items: flex-start; }
.icon-circle {
    width: 60px; height: 60px; border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); flex-shrink: 0;
}
.expertise-info h4 { font-size: 1.2rem; margin-bottom: 10px; font-family: var(--font-heading); }
.expertise-info p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.5; }

/* Footer / Contato */
.footer { background-color: var(--bg-darker); color: #aaaaaa; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px 15px; border: none; background: rgba(255,255,255,0.05);
    color: var(--text-light); font-family: var(--font-body); border-radius: 3px; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { background: rgba(255,255,255,0.1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.85rem; }

/* Animações Simples (PageSpeed Friendly) */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsivo */
@media (max-width: 992px) {
    .about-grid, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-stats { border-left: none; padding-left: 0; border-top: 1px solid #eee; padding-top: 2rem; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 2.2rem; }
}
