/*
Theme Name:   Portal Midwest Brasil
Theme URI:    https://www.midwestbrasil.com
Author:       Lucas Barbosa da Silva
Author URI:   https://www.midwestbrasil.com
Description:  Plataforma Midwest Brasil.
Version:      Beta Teste
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org
* Data: 2026-02-22
*/

 /* RESET */

body{
margin:0;
font-family:Arial,Helvetica,sans-serif;
background:white;
color:#222;
}

	
/* =========================
MENU 1 (TOPBAR FIXO)
=========================*/

.topbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 220px;
border-bottom:1px solid #eee;
}

.logo-left img{height:42px;}

.topmenu a{
margin-left:22px;
text-decoration:none;
color:#333;
font-size:14px;
cursor:pointer;
}

.logo-right img{height:70px;}	
			
			
    header 
			{
			background-color: #004080;
			color: white; 
			padding: 30px 20px; 
			text-align: center;
			}

    header img 
			{
			max-height: 150px;
			margin-bottom: 0px;
			}

    nav 
			{
			background: #003060;
			padding: 12px;
			text-align: center;
			}

    nav a 
			{
			color: white; 
			margin: 0 15px; 
			text-decoration: none;
			font-weight: 500; 
			}
			
    nav a:hover 
			{
			text-decoration: underline;
			}

    section
			{
			padding: 60px 20px;
			max-width: 1100px;
			margin: auto;
			}
    
	section h2
			{
			color: #004080; 
			margin-bottom: 20px;
			}
    
	footer 
			{
			background-color: #004080;
			color: white; 
			text-align: center;
			padding: 25px; 
			}
			
	.team-grid {
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			gap: 40px 30px;
			margin-top: 40px;
			}


	.team-card {
			text-align: center;
			}


	.team-card img {
				width: 140px;
				height: 140px;
				border-radius: 100%;
				object-fit: cover;
				margin-bottom: 12px;
				}


	.team-card strong {
				display: block;
				font-size: 1rem;
				}


	.team-card span {
				font-size: 0.9rem;
				color: #555;
				}

	.team-member img { 
				width: 90px; 
				height: 90px; 
				border-radius: 50%; 
				margin-right: 18px; 
				object-fit: cover; 
				}			
    
    .empresas-logos
			{ 
			display: grid; 
			grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
			gap: 25px; 
			margin-top: 30px; 
			}
				
	.empresas-logos div
			{
			border: 1px solid #ddd;
			padding: 15px;
			display: flex; 
			align-items: center; 
			justify-content: center;
			height: 200px; /* altura padrão do “quadro” */ 
			background-color: #fff; 
			}
			
	.empresas-logos img 
			{ 
			max-width: 100%; 
			max-height: 100%;
			object-fit: contain; /* mantém proporção */ 
			}
			
	.empresas-logos2
			{ 
			display: grid; 
			grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
			gap: 70px; 
			margin-top: 30px; 
			}
				
	.empresas-logos2 div
			{
			border: 0px solid #ddd;
			padding: 15px;
			display: flex; 
			align-items: center; 
			justify-content: center;
			height: 200px; /* altura padrão do “quadro” */ 
			background-color: #fff; 
			}
			
	.empresas-logos2 img 
			{ 
			max-width: 150%; 
			max-height: 150%;
			object-fit: contain; /* mantém proporção */ 
			}		
			
	.social-link {
				color: #ffffff;
				font-weight: bold;
				text-decoration: none;
				}

	.social-link:hover {
				text-decoration: underline;
				}	
				
/* =========================
CAROUSEL
=========================*/

.carousel{
height:420px;
overflow:hidden;
position:relative;
background:#000; /* fallback visual */
}

.slide{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background-size:cover;
background-position:center;
will-change: opacity;
transform: translateZ(0);
opacity:0;
animation:slide 32s infinite;
}

/* Primeiro slide começa visível */
.slide:nth-child(1){
opacity:1;
}

/* Controle de camadas - Delay progressivo para 8 slides */
.slide:nth-child(1){animation-delay:0s;}
.slide:nth-child(2){animation-delay:4s;}
.slide:nth-child(3){animation-delay:8s;}
.slide:nth-child(4){animation-delay:12s;}
.slide:nth-child(5){animation-delay:16s;}
.slide:nth-child(6){animation-delay:20s;}
.slide:nth-child(7){animation-delay:24s;}
.slide:nth-child(8){animation-delay:28s;}

@keyframes slide{
0%{opacity:0;}
6%{opacity:1;}
18%{opacity:1;}
25%{opacity:0;}
100%{opacity:0;}
}

/* =========================
FIM DO CAROUSEL
=========================*/			
/*
<!--
.bbwrap{
width:100%;
background:#0a0a0a;
border-top:3px solid #f7b500;
border-bottom:3px solid #f7b500;
overflow:hidden;
font-family:Arial, sans-serif;
}

.bbtrack{
display:inline-block;
white-space:nowrap;
padding:12px 0;
animation:bbscroll 65s linear infinite;
}

.bbwrap:hover .bbtrack{
animation-play-state:paused;
}

@keyframes bbscroll{
from{transform:translateX(100%)}
to{transform:translateX(-100%)}
}

.bbitem{
margin-right:70px;
color:white;
font-size:15px;
}

.bbname{
color:#f7b500;
font-weight:bold;
margin-right:8px;
}

.bbup{color:#00ff9c;}
.bbdown{color:#ff4d4d;}
-->*/