/*
Theme Name:   Portal Midwest Brasil
Theme URI:    https://www.midwestbrasil.com
Author:       Midwest Brasil / TI
Author URI:   https://www.midwestbrasil.com
Description:  Plataforma Midwest Brasil.
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org
Data: 2026-07-11
*/

/*
MIDWEST BRASIL
Investor Room - Mobile Optimized
* Data: 2026-06-11
*/

/* =========================
RESET
========================= */

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

html{
scroll-behavior:smooth;
-webkit-text-size-adjust:100%;
}

body{
font-family:'Inter',sans-serif;
background:#020617;
color:#fff;
overflow-x:hidden;
line-height:1.6;
}

/* =========================
OPENING CINEMATIC
========================= */

#opening{
position:fixed;
inset:0;
background:#000;
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
overflow:hidden;
transition:opacity 1.2s ease;
}

#opening video{
width:100%;
height:100%;
object-fit:cover;
}

/* =========================
HERO
========================= */

.hero{
position:relative;
min-height:100svh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:100px 20px;
overflow:hidden;
isolation:isolate;
}

.hero video{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
z-index:-2;
}

.hero::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
to bottom,
rgba(0,0,0,.55),
rgba(0,0,0,.88)
);
z-index:-1;
}

.hero h1{
font-size:clamp(2rem,5vw,4.5rem);
font-weight:800;
letter-spacing:2px;
margin-bottom:15px;
max-width:900px;
}

.hero p{
font-size:clamp(1rem,2vw,1.4rem);
opacity:.92;
max-width:800px;
}

/* =========================
COUNTER
========================= */

.counter{
font-size:clamp(2rem,5vw,4rem);
color:#facc15;
font-weight:800;
margin-top:30px;
}

/* =========================
SECTION
========================= */

.section{
padding:80px 20px;
max-width:1300px;
margin:auto;
}

.section h2{
font-size:clamp(1.6rem,4vw,2.5rem);
border-left:5px solid #facc15;
padding-left:16px;
margin-bottom:40px;
}

/* =========================
GRID
========================= */

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:25px;
}

.card{
background:#0f172a;
padding:30px;
border-radius:16px;
border:1px solid rgba(255,255,255,0.08);
font-size:1rem;
transition:0.3s;
}

.card:hover{
transform:translateY(-4px);
}

/* =========================
VIDEOS
========================= */

.video-wrapper{
width:100%;
display:flex;
justify-content:center;
}

.video-wrapper video{
width:100%;
max-width:950px;
border-radius:18px;
display:block;
}

/* =========================
MAP
========================= */

.map{
background:#0b1220;
border:1px solid rgba(255,255,255,0.08);
padding:40px;
text-align:center;
border-radius:18px;
font-size:1.1rem;
line-height:1.8;
}

/* =========================
TIMELINE
========================= */

.timeline{
display:flex;
flex-direction:column;
gap:18px;
}

.timeline div{
background:#0f172a;
padding:20px;
border-left:5px solid #facc15;
border-radius:10px;
}

/* =========================
BUTTONS
========================= */

.center{
text-align:center;
}

.button-group{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:18px;
margin-top:30px;
}

button{
background:#facc15;
color:#000;
border:none;
padding:18px 34px;
font-weight:800;
font-size:1rem;
border-radius:10px;
cursor:pointer;
transition:0.3s;
min-height:56px;
touch-action:manipulation;
}

button:hover{
transform:translateY(-2px);
}

/* =========================
FOOTER
========================= */

footer{
background:#000;
padding:40px 20px;
text-align:center;
opacity:.75;
font-size:0.95rem;
}

/* =========================
TABLETS
========================= */

@media(max-width:900px){

.hero{
padding:120px 24px 80px;
}

.section{
padding:65px 24px;
}

.grid{
grid-template-columns:1fr;
}

button{
width:100%;
max-width:420px;
}

}

/* =========================
SMARTPHONES
========================= */

@media(max-width:600px){

.hero{
min-height:85svh;
}

.hero h1{
letter-spacing:1px;
}

.section{
padding:55px 18px;
}

.card{
padding:24px;
}

.map{
padding:24px;
font-size:1rem;
}

.timeline div{
padding:16px;
font-size:0.95rem;
}

footer{
font-size:0.85rem;
padding:28px 16px;
}

}

/* =========================
LOW PERFORMANCE DEVICES
========================= */

@media(prefers-reduced-motion:reduce){

*{
animation:none !important;
transition:none !important;
scroll-behavior:auto !important;
}

}