/* ==========================================
    PADRONIZAÇÃO E GERAL
   ========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { scroll-behavior: smooth; color: #1a1a1a; line-height: 1.6; background-color: #fff; }

/* ==========================================
    HEADER & NAV
   ========================================== */
header { padding: 20px 8%; position: fixed; width: 100%; top: 0; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(8px); z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { color: white; font-weight: 700; font-size: 1.4rem; }
.logo img { display: block; height: 25px; width: auto; }
nav ul { display: flex; list-style: none; gap: 30px; }
nav a { color: white; text-decoration: none; font-size: 14px; font-weight: 500; }

/* ==========================================
    HERO SECTION
   ========================================== */
.hero { 
    height: 95vh; background: #0d0d0d; display: flex; justify-content: space-between; 
    align-items: center; padding: 0 15%; 
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px); 
    background-size: 32px 32px; 
}
.hero-logo img {
    max-width: 400px; 
    width: 100%;      
    height: auto;
    margin-bottom: 20px;
}
.hero-content h1 { color: white; font-size: 90px; letter-spacing: -4px; line-height: 1; }
.hero-content p { color: #999; font-size: 1.6rem; margin-top: 15px; }

/* Gráfico na Hero */
.chart-container { background: white; padding: 35px; border-radius: 28px; width: 480px; box-shadow: 0 40px 80px rgba(0,0,0,0.6); }
.chart-header { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; font-weight: 600; font-size: 1.1rem; }
.chart-icon { background: #eefcf3; color: #3a833c; padding: 8px; border-radius: 10px; display: flex; }

/* ==========================================
    SEÇÕES GERAIS E CARDS
   ========================================== */
.light-section { background: #f9fafb; padding: 100px 8%; text-align: center; }
.white-section { background: white; padding: 0% 10%; text-align: center; }
.section-header h2 { font-size: 2.8rem; margin-bottom: 15px; }
.section-header p { color: #666; margin-bottom: 60px; }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 60px; }
.card { background: white; padding: 45px 35px; border-radius: 24px; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.card-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 14px; margin-bottom: 30px; }
.icon-yellow { background: #fffdf0; color: #facc15; }
.icon-blue { background: #eff6ff; color: #3b82f6; }
.icon-orange { background: #fff7ed; color: #f97316; }
.icon-green { background: #f0fdf4; color: #22c55e; }

.underline-title { font-size: 1.5rem; margin-bottom: 20px; position: relative; display: inline-block; }
.underline-title::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 40px; height: 3px; background: #1a1a1a; }

/* Quem Somos & Cultura */
.culture-card { background: #fff; border: 1px solid #eee; border-radius: 24px; padding: 45px; margin: 50px 0; text-align: left; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.culture-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.green-indicator { width: 4px; height: 28px; background: #3a833c; border-radius: 4px; }

/* Linha do Tempo */
.timeline { display: flex; align-items: center; justify-content: center; margin-top: 80px; gap: 20px; }
.timeline-item .year { font-size: 2.2rem; font-weight: 700; display: block; }
.timeline-item .label { color: #999; font-size: 0.9rem; }
.timeline-bar { height: 4px; width: 300px; background: linear-gradient(90deg, #facc15 0%, #3b82f6 50%, #22c55e 100%); border-radius: 10px; }

/* ==========================================
    CASES E VÍDEOS
   ========================================== */
.grid-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; }
.case-card { background: white; border-radius: 24px; overflow: hidden; text-align: left; box-shadow: 0 15px 35px rgba(0,0,0,0.05); border-top: 5px solid transparent; }
.border-green { border-top-color: #3a833c; }
.border-yellow { border-top-color: #facc15; }
.border-blue { border-top-color: #3b82f6; }

.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.case-info { padding: 30px; }
.case-info h3 { font-size: 1.4rem; margin-bottom: 15px; }
.case-info p { color: #555; font-size: 0.95rem; margin-bottom: 25px; }

.case-buttons { display: flex; gap: 12px; }
.btn-case { background: white; border: 1px solid #e0e0e0; padding: 10px 18px; border-radius: 12px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 0.9rem; transition: 0.3s; }
.btn-case:hover { background: #f8f9fa; border-color: #ccc; }

#mato_grosso {
    max-height: 100px;
}
#grio {
    max-height: 40px;
}
#Universitario {
    max-height: 350px;
}

#tribeca {
    max-height: 50px;
}
.video-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* efeito capa de vídeo */
    display: block;
}
/* ==========================================
    CONTATO
   ========================================== */
.dark-section { background: #0d0d0d; color: white; padding: 100px 10%; display: flex; flex-direction: column; align-items: center; }
.contact-header { text-align: center; margin-bottom: 50px; }
.contact-header h2 { font-size: 3rem; margin-bottom: 10px; }
.contact-form { width: 100%; max-width: 850px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 25px; display: flex; flex-direction: column; }
.form-group label { font-size: 0.9rem; margin-bottom: 8px; color: #ccc; }
.contact-form input, .contact-form textarea { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 18px; color: white; outline: none; }
.contact-form button { background: white; color: black; border: none; padding: 20px 40px; border-radius: 12px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 10px; margin-top: 20px; }

/* ==========================================
    CARROSSEL DE LOGOS
   ========================================== */
.partners-section { background: #fff; padding: 20px 0; text-align: center; border-top: 1px solid #eee; }
.partners-title { font-size: 0.8rem; color: #999; letter-spacing: 2px; margin-bottom: 40px; }
.logos-slider { overflow: hidden; white-space: nowrap; position: relative; padding: 20px 0; }
.logos-track { display: inline-flex; animation: scroll 25s linear infinite; gap: 30px; align-items: center; max-height: 10px; margin: 0 auto; }
.logo-item { font-weight: 700; color: #333; font-size: 1.2rem; opacity: 1.0; padding: 20px 40px;  border-radius: 12px; }

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ==========================================
    RODAPÉ (3 COLUNAS: INFO, FOTO, MAPA)
   ========================================== */
.main-footer { background: #f9fafb; padding: 80px 8%; border-top: 1px solid #eee; }

.footer-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    gap: 30px; 
    max-width: 1200px; 
    margin: 0 auto;
}

.footer-column { flex: 1; min-width: 0; }

.footer-info p { color: #666; margin-bottom: 8px; font-size: 0.95rem; }
.copyright { margin-top: 30px !important; font-size: 0.8rem !important; color: #aaa !important; }

/* Foto do Ambiente no Rodapé */
.img-ambiente { 
    width: 100%; 
    height: 251px; 
    object-fit: cover; 
    border-radius: 12px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    display: block;
}

/* Mapa no Rodapé */
.footer-map { 
    width: 100%; 
    height: 251px; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}
.footer-map iframe { display: block; border: 0; }

/* ==========================================
    RESPONSIVIDADE
   ========================================== */

/* Tablets (até 992px) */
@media (max-width: 992px) {
    .hero { 
        flex-direction: column; text-align: center; justify-content: center; 
        gap: 50px; height: auto; padding: 120px 5%; 
    }
    .hero-content h1 { font-size: 60px; }
    .chart-container { width: 100%; max-width: 450px; }
    
    .footer-container { flex-direction: column; text-align: center; gap: 40px; }
    .footer-column { width: 100%; }
    .img-ambiente, .footer-map { max-width: 500px; margin: 0 auto; }
}

/* Celulares (até 768px) */
@media (max-width: 768px) {
    nav { flex-direction: column; gap: 20px; }
    nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
    
    .hero-content h1 { font-size: 45px; }
    .hero-logo img { max-width: 250px; }

    .white-section { padding: 80px 8%; }
    .section-header h2 { font-size: 2rem; }
    .form-row { grid-template-columns: 1fr; } 
    
    .timeline { flex-direction: column; gap: 10px; }
    .timeline-bar { width: 4px; height: 50px; }

    .grid-cards, .grid-cases { grid-template-columns: 1fr; }
    .logos-track { animation-duration: 15s; }
}

/* Telas Pequenas (até 480px) */
@media (max-width: 480px) {
    header { padding: 15px 5%; }
    .hero-content h1 { font-size: 38px; }
    .hero-logo img { display: none; }
    #hero { padding: 100px 5%; }
    .light-section { padding: 50px 5%; }
    #areas { padding: 80px 8%; } 
    #sobre { padding: 60px 5%; } 
    #cases { padding: 80px 5%; } 
    .main-footer { padding: 50px 5%;}
    #contato { padding: 80px 5%; }
    .contact-header h2 { font-size: 2.2rem; }  
    #submit-button { margin-top: 20px;
    width: 100%;  justify-content: center;  }
}

.chart-container {
    background: #ffffff;
    border: 1px solid #e5e7eb; /* Borda fina cinza */
    padding: 20px;
}