:root {
    --primary: #2d5a3d;
    --primary-dark: #1f3d2a;
    --primary-light: #e8f0eb;
    --charcoal: #1a1a1a;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e5e5e5;
    --gray-dark: #666666;
    --gray-text: #4a4a4a;
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.2s ease-in-out;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* Tipografia */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.5rem; }
p { font-size: 1rem; color: var(--gray-text); }

/* Botões */
.btn {
    padding: 0.75rem 1.5rem; border: none; border-radius: 0.5rem;
    font-family: var(--font-body); font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--charcoal); border: 2px solid var(--gray-medium); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--gray-medium); box-shadow: var(--shadow-sm); }
.topbar { width: 100%; background: var(--primary); color: white; padding: 8px 0; font-size: 14px; }
.topbar-content { display: flex; justify-content: flex-end; gap: 30px; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.topbar-content a { color: white; opacity: 0.9; }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.nav-links { display: none; list-style: none; gap: 2rem; }
.nav-links a { color: var(--charcoal); font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
@media (min-width: 768px) { 
    .nav-links { display: flex; }
    .navbar { padding: 0 2rem; }
}

/* ============================================
   HERO SECTION COM VÍDEO
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    /* Proteção */
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.85) 0%, 
        rgba(0, 0, 0, 0.65) 50%, 
        rgba(0, 0, 0, 0.45) 100%);
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    padding: 2rem;
    color: var(--white);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;

}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero section - números brancos */
.hero .stat-number {
    color: var(--white);
}
.hero .stat-label {
    color: rgba(255, 255, 255, 0.85);
}

/* Sobre section - números verdes */
.sobre .stat-number {
    color: var(--primary);
}
.sobre .stat-label {
    color: var(--charcoal);
}

/* Responsividade Hero */
@media (max-width: 1200px) {
    .hero-title { font-size: 2.5rem; }
    .hero-description { font-size: 1.15rem; }
}

@media (max-width: 992px) {
    .hero { max-height: 800px; }
    .hero-title { font-size: 2.2rem; }
    .hero-description { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .hero {
        height: 80vh;
        max-height: 700px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        background-color: #155724;
        color:#c3e6cb
    }
    
/* Hero section - números brancos */
.hero .stat-number {
    color: var(--white);
}
.hero .stat-label {
    color: rgba(255, 255, 255, 0.85);
}

/* Sobre section - números verdes */
.sobre .stat-number {
    color: var(--primary);
}
.sobre .stat-label {
    color: var(--charcoal);
}
    
    .hero-video {
        object-position: center 30%;
    }
}

@media (max-width: 480px) {
    .hero { 
        height: 70vh;
        max-height: 600px;
    }
    .hero-title { font-size: 1.5rem; }
    .hero-description { font-size: 0.95rem; }
    .hero-video { object-position: center 25%; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero { height: 100vh; }
    .hero-content { margin-top: 3rem; }
    .hero-video { object-position: center 40%; }
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */
section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-description { font-size: 1.1rem; max-width: 40rem; margin: 0 auto; }

/* Produtos */
.produtos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.produto-card { background: var(--white); border: 1px solid var(--gray-medium); border-radius: 0.5rem; padding: 2rem; transition: var(--transition); display: flex; flex-direction: column; }
.produto-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.produto-icon { width: 100%; height: 15rem; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; }
.produto-icon img { width: 100%; height: 100%; object-fit: contain; }
.produto-title { margin-bottom: 1rem; text-align: center; }
@media (max-width: 768px) { .produtos-grid { grid-template-columns: 1fr; } }

/* Sobre */
.sobre { background: var(--gray-light); }
.sobre-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.sobre-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
@media (max-width: 768px) { .sobre-content { grid-template-columns: 1fr; } }

/* Sobre Loja */
.sobre-loja { background: #f8f8f8; }
.sobre-list { list-style: none; padding: 20px 0; }
.sobre-list li { margin-bottom: 12px; font-size: 16px; color: #333; }

/* Marcas */
.marcas-section { text-align: center; background: #f8f8f8; }
.marcas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px; max-width: 1200px; margin: 40px auto; }
.marca-logo { max-width: 150px; height: auto; filter: grayscale(50%); transition: transform 0.3s ease; }
.marca-logo:hover { transform: scale(1.1); filter: grayscale(0%); }

/* Obras */
.obras-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 3rem 0; }
.obra-item { position: relative; overflow: hidden; border-radius: 0.75rem; box-shadow: var(--shadow-md); transition: var(--transition); }
.obra-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.obra-image { position: relative; width: 100%; height: 250px; overflow: hidden; border-radius: 0.75rem; }
.obra-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.obra-item:hover .obra-image img { transform: scale(1.05); }
.obra-overlay { position: absolute; inset: 0; background: rgba(45, 90, 61, 0); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s ease; }
.obra-item:hover .obra-overlay { background: rgba(45, 90, 61, 0.85); opacity: 1; }
.obra-overlay i { color: var(--white); font-size: 2rem; transform: scale(0.8); transition: transform 0.3s ease; }
.obra-item:hover .obra-overlay i { transform: scale(1); }
.obras-cta { text-align: center; margin-top: 3rem; }
@media (max-width: 1024px) { .obras-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .obras-grid { grid-template-columns: 1fr; } }

/* Clientes */
.client-logos { text-align: center; padding: 80px 0; background: #fdfdfd; }
.logo-container { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; }
.logo { flex: 0 0 calc(20% - 10px); margin: 10px; display: flex; justify-content: center; align-items: center; }
.logo img { width: 150px; height: auto; }

/* Contato Cards */
.contato-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.contato-card { background: var(--white); border: 2px solid transparent; border-radius: 0.75rem; padding: 2rem; text-align: center; transition: all 0.3s ease; position: relative; overflow: hidden; }
.contato-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.8); }
.contato-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--primary), transparent); transform: translateX(-100%); transition: transform 0.6s ease; }
.contato-card:hover::after { transform: translateX(100%); }
.contato-card:nth-child(1) { border-color: rgba(37, 211, 102, 0.1); }
.contato-card:nth-child(2) { border-color: rgba(66, 133, 244, 0.1); }
.contato-card:nth-child(3) { border-color: rgba(234, 67, 53, 0.1); }

/* Formulário */
.formulario-container { max-width: 800px; width: 100%; margin: 3rem auto 1rem; padding: 2rem; background: white; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.formulario { display: flex; flex-direction: column; gap: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: 600; margin-bottom: 0.5rem; color: var(--charcoal); font-size: 0.95rem; }
.form-group input, .form-group textarea, .form-group select { padding: 1rem; border: 2px solid var(--gray-medium); border-radius: 0.5rem; font-family: var(--font-body); font-size: 1rem; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1); }
.form-message { margin-top: 1.5rem; padding: 1rem; border-radius: 0.5rem; display: none; animation: fadeIn 0.3s ease; }
.form-message.success { display: block; background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
@media (max-width: 768px) { .form-row { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--charcoal); color: var(--white); padding: 3rem 0 1rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h4 { font-family: var(--font-display); font-weight: 700; margin-bottom: 1rem; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section a { color: rgba(255, 255, 255, 0.7); }
.footer-section a:hover { color: var(--white); }
.footer-description { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    section { padding: 3rem 0; }
    h1 { font-size: 1.75rem; } h2 { font-size: 1.5rem; } h3 { font-size: 1.25rem; }
    .topbar-content { flex-direction: column; gap: 0.25rem; text-align: center; padding: 0 1rem; }
    .logo img { height: auto; }
    .formulario-container { padding: 1.5rem; width: calc(100% - 2rem); }
    .contato-cards { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 480px) {
    h1 { font-size: 1.5rem; } h2 { font-size: 1.25rem; }
    .btn { padding: 0.625rem 1.25rem; font-size: 0.9rem; }
}