/* =========================================
RESET
========================================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Montserrat',sans-serif;
background:#ffffff;
overflow-x:hidden;
color:#1e293b;
}


/* =========================================
VARIÁVEIS
========================================= */

:root{

--blue:#146ff8;
--dark:#00318a;
--light:#f4f8fd;
--white:#ffffff;
--text:#475569;
--border:rgba(0,0,0,.06);

/* Mantidas as variáveis extras do primeiro menu para compatibilidade */
--border-color: rgba(0,0,0,.05);
--shadow-light: 0 10px 30px rgba(0,0,0,.08);
--shadow-medium: 0 15px 40px rgba(0,0,0,.12);
--radius: 18px;

}


/* =========================================
CONTAINER
========================================= */

.container{
width:100%;
max-width:1400px;
margin:auto;
padding:0 25px;
}


/* =========================================
HEADER (ATUALIZADO)
========================================= */

.main-header{

position:sticky;
top:0;
z-index:9999;

background:
rgba(255,255,255,.96);

backdrop-filter:
blur(20px);

border-bottom:
1px solid var(--border);

transition:.3s;

}

.nav-container{

height:110px;

display:flex;
align-items:center;
justify-content:space-between;

}


/* =========================================
LOGO (ATUALIZADO)
========================================= */

.logo{
display:flex;
align-items:center;
}

.logo img{
height:90px;
width:auto;
}


/* =========================================
MENU (ATUALIZADO)
========================================= */

.nav-menu ul{

display:flex;
align-items:center;
gap:30px;

list-style:none;

}

.nav-menu a{

text-decoration:none;
font-size:15px;
font-weight:700;

color:#16306b;

display:flex;
align-items:center;

transition:.3s;
position:relative;

}

.nav-menu a:hover{
color:var(--blue);
}

/* LINHA ANIMADA DO MENU HOVER */
.nav-menu a::after{

content:'';

position:absolute;

left:0;
bottom:-8px;

width:0;
height:2px;

background:var(--blue);

transition:.3s;

}

.nav-menu a:hover::after{
width:100%;
}


/* =========================================
BOTÕES DO HEADER (ATUALIZADO)
========================================= */

.btn-header{

display:inline-flex;
align-items:center;
justify-content:center;

background:var(--dark);
color:#fff;

padding:14px 24px;

border-radius:14px;

font-size:15px;
font-weight:700;
text-decoration:none;

transition:.3s;

box-shadow:
0 10px 25px rgba(0,49,138,.15);

}

.btn-header:hover{

transform:translateY(-3px);
background:var(--blue);

}

.mobile-menu-btn{

display:none;

background:none;
border:none;

font-size:32px;
color:var(--blue);

cursor:pointer;
transition:.3s;

}

.mobile-menu-btn:hover{
transform:scale(1.05);
}


/* =========================================
HERO
========================================= */


/*  ---- */

.historia-hero {
    min-height: 850px; /* Mantém a altura imponente no desktop */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding:130px 0;
    text-align:center;
    
    /* O gradiente e a imagem continuam aqui */
    background: linear-gradient(
        90deg,
        rgb(0, 0, 0, 0.80) 0%,
        rgba(0, 0, 0, 0.10) 30%,
        rgba(0, 0, 0, 0.10) 70%,
        rgba(0, 0, 0, 0.50) 100%
    ),
    url('../img/historia/foto01.jpeg');
    
    background-repeat: no-repeat;
    

    background-position: center; 
    
  
    background-size: cover; 
}

@media (max-width: 768px) {
    .historia-hero {
        
        min-height: 550px; 
   
        background-position: center center; 
    }
}
/*  ---- */


.page-badge{

display:inline-block;

padding:12px 22px;

border-radius:50px;

background:#dbeafe;

color:#2563eb;

font-size:13px;
font-weight:700;

letter-spacing:2px;

margin-bottom:25px;

}

.historia-hero h1{

font-size:55px;
font-weight:800;

line-height:1.1;

color:#ffff;

max-width:900px;

margin:auto auto 25px;

}

.historia-hero p{

font-size:1.5rem;
font-weight: 500;
line-height:1.8;
color:#ffffff;
max-width:850px;
margin:auto;

}


/* =========================================
INTRODUÇÃO
========================================= */

.historia-section{

padding:100px 0;

background:#fff;

}

.historia-grid{

display:grid;

grid-template-columns:
1fr 1fr;

gap:70px;

align-items:center;

}

.historia-image img{

width:100%;

border-radius:30px;

box-shadow:
0 25px 60px rgba(0,0,0,.08);

}

.historia-text h2{

font-size:42px;

color:var(--dark);

margin-bottom:25px;

}

.historia-text p{

font-size:18px;

line-height:1.9;

color:var(--text);

margin-bottom:20px;

}


/* =========================================
TIMELINE
========================================= */

.timeline-section{

padding:110px 0;

background:#f8fbff;

}

.timeline-section h2{

text-align:center;

font-size:45px;

color:var(--dark);

margin-bottom:70px;

}

.timeline{

max-width:950px;

margin:auto;

position:relative;

}

.timeline::before{

content:'';

position:absolute;

left:50%;

top:0;
bottom:0;

width:4px;

background:#dbeafe;

transform:translateX(-50%);

}

.timeline-item{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:60px;

position:relative;

}

.timeline-year{

width:180px;

background:var(--blue);

color:#fff;

padding:18px;

text-align:center;

border-radius:16px;

font-weight:700;

box-shadow:
0 10px 25px rgba(20,111,248,.25);

}

.timeline-content{

width:45%;

background:#fff;

padding:30px;

border-radius:24px;

box-shadow:
0 10px 35px rgba(0,0,0,.06);

}

.timeline-content h3{

color:var(--dark);

margin-bottom:10px;

font-size:24px;

}

.timeline-content p{

line-height:1.8;
color:var(--text);

}


/* =========================================
NÚMEROS
========================================= */

.numeros-section{

padding:110px 0;

background:#fff;

}

.numeros-section h2{

text-align:center;

font-size:45px;

color:var(--dark);

margin-bottom:60px;

}

.numeros-grid{

display:grid;

grid-template-columns:
repeat(4,1fr);

gap:25px;

}

.numero-card{

background:#fff;

padding:40px;

text-align:center;

border-radius:28px;

border:1px solid #e2e8f0;

box-shadow:
0 15px 40px rgba(0,0,0,.04);

transition:.3s;

}

.numero-card:hover{

transform:translateY(-8px);

}

.numero-card h3{

font-size:50px;

color:var(--blue);

margin-bottom:10px;

}

.numero-card p{

font-weight:600;
color:var(--text);

}


/* =========================================
CTA
========================================= */

.historia-cta{

padding:120px 0;

background:
linear-gradient(
135deg,
#00318a,
#146ff8
);

text-align:center;

color:#fff;

}

.historia-cta h2{

font-size:50px;

margin-bottom:20px;

}

.historia-cta p{

font-size:20px;

max-width:700px;

margin:auto auto 35px;

line-height:1.8;

}

.cta-btn{

display:inline-flex;

padding:18px 35px;

background:#fff;

color:var(--dark);

border-radius:18px;

text-decoration:none;

font-weight:800;

transition:.3s;

}

.cta-btn:hover{

transform:translateY(-5px);

}


/* =========================================
RESPONSIVO SEÇÕES E NAVBAR (ATUALIZADO)
========================================= */

/* Novo Breakpoint intermediário do primeiro CSS para reorganizar a Navbar */
@media(max-width:1024px){

.mobile-menu-btn{
display:block;
}

.btn-header{
display:none;
}

.nav-container{
height:90px;
}

.logo img{
height:68px;
}

.nav-menu{

position:absolute;

top:90px;
left:0;

width:100%;

background:#fff;

display:none;

padding:25px;

box-shadow:
0 15px 40px rgba(0,0,0,.08);

max-height:80vh;
overflow-y:auto;

}

.nav-menu.open{
display:block;
animation:menuFade .3s ease;
}

.nav-menu ul{

flex-direction:column;
align-items:flex-start;

gap:0;

}

.nav-menu li{
width:100%;
border-bottom:1px solid rgba(0,0,0,.05);
}

.nav-menu li:last-child{
border:none;
}

.nav-menu a{

width:100%;
padding:18px 0;
justify-content:space-between;
font-size:16px;

}

.nav-menu a::after{
display:none;
}

}

@media(max-width:1100px){

.historia-grid{
grid-template-columns:1fr;
}

.numeros-grid{
grid-template-columns:1fr 1fr;
}

.timeline::before{
display:none;
}

.timeline-item{
flex-direction:column;
gap:20px;
}

.timeline-content{
width:100%;
}

}

@media(max-width:768px){

/* Ajustes finos do Header e Container para 768px */
.container{
padding:0 20px;
}

.nav-container{
height:90px;
}

.logo img{
height:60px;
}

.nav-menu{
top:90px;
}

/* Fim dos ajustes do Header */

.historia-hero{
padding:90px 0;
}

.historia-hero h1{

font-size:34px;

}

.historia-hero p{

font-size:18px;

}

.historia-text h2{
font-size:32px;
}

.timeline-section h2,
.numeros-section h2{

font-size:34px;

}

.numeros-grid{
grid-template-columns:1fr;
}

.historia-cta h2{

font-size:34px;

}

}

/* Novo Breakpoint para Mobile Pequeno adicionado da Navbar antiga */
@media(max-width:480px){

.logo img{
height:55px;
}

.mobile-menu-btn{
font-size:28px;
}

}


/* ======================================
FOOTER PREMIUM
====================================== */

.main-footer{

background:
linear-gradient(
180deg,
#05245f 0%,
#001b4d 100%
);

color:#fff;

margin-top:0;

overflow:hidden;

position:relative;

}

/* ======================================
TOPO
====================================== */

.footer-top{

padding:70px 0 50px;

border-bottom:
1px solid rgba(255,255,255,.08);

}

.footer-top-grid{

display:grid;

grid-template-columns:
1.4fr
1fr
1fr
1.1fr;

gap:50px;

}

/* ======================================
LOGO E DESCRIÇÃO
====================================== */

.footer-brand img{

height:95px;

margin-bottom:20px;

display:block;

}

.footer-brand p{

font-size:15px;

line-height:1.8;

color:
rgba(255,255,255,.75);

max-width:420px;

}

/* ======================================
TÍTULOS
====================================== */

.footer-top h3{

font-size:20px;

font-weight:700;

margin-bottom:25px;

position:relative;

}

.footer-top h3::after{

content:'';

position:absolute;

left:0;
bottom:-10px;

width:45px;
height:3px;

background:#146ff8;

border-radius:50px;

}

/* ======================================
LINKS
====================================== */

.footer-links{

display:flex;
flex-direction:column;

gap:14px;

}

.footer-links a{

text-decoration:none;

color:
rgba(255,255,255,.75);

font-size:15px;

transition:.3s;

}

.footer-links a:hover{

color:#4ac0fd;

padding-left:8px;

}

/* ======================================
CONTATO
====================================== */

.footer-contact{

display:flex;
flex-direction:column;

gap:18px;

}

.contact-item{

display:flex;

align-items:flex-start;

gap:14px;

font-size:15px;

line-height:1.7;

color:
rgba(255,255,255,.75);

}

.contact-item i{

width:42px;
height:42px;

min-width:42px;

display:flex;
align-items:center;
justify-content:center;

background:
rgba(255,255,255,.08);

border-radius:12px;

color:#4ac0fd;

font-size:17px;

}

/* ======================================
BOTTOM
====================================== */

.footer-bottom{

padding:25px 0;

background:
rgba(255,255,255,.03);

border-top:
1px solid rgba(255,255,255,.05);

}

.footer-bottom-content{

display:flex;

align-items:center;

justify-content:space-between;

gap:20px;

}

.footer-bottom p{

font-size:14px;

color:
rgba(255,255,255,.65);

}

.footer-bottom-links{

display:flex;

gap:25px;

flex-wrap:wrap;

}

.footer-bottom-links a{

text-decoration:none;

font-size:14px;

color:
rgba(255,255,255,.65);

transition:.3s;

}

.footer-bottom-links a:hover{

color:#4ac0fd;

}

/* ======================================
HOVER GERAL
====================================== */

.footer-links a,
.footer-bottom-links a,
.contact-item{

transition:.3s ease;

}

/* ======================================
RESPONSIVO TABLET
====================================== */

@media(max-width:1100px){

.footer-top-grid{

grid-template-columns:
1fr 1fr;

gap:40px;

}

}

/* ======================================
RESPONSIVO MOBILE
====================================== */

@media(max-width:768px){

.footer-top{

padding:50px 0 40px;

}

.footer-top-grid{

grid-template-columns:
1fr;

gap:40px;

}

.footer-brand{

text-align:center;

}

.footer-brand img{

height:85px;

margin:auto auto 20px;

}

.footer-brand p{

max-width:100%;

}

.footer-bottom-content{

flex-direction:column;

text-align:center;

}

.footer-bottom-links{

justify-content:center;

}

.footer-top h3{

margin-bottom:20px;

}

}

/* ======================================
MOBILE PEQUENO
====================================== */

@media(max-width:480px){

.footer-brand img{

height:75px;

}

.footer-top{

padding:40px 0 30px;

}

.footer-bottom{

padding:20px 0;

}

.contact-item{

font-size:14px;

}

.footer-links a{

font-size:14px;

}

}


/* =========================================
ANIMAÇÃO MENU (ADICIONADO)
========================================= */

@keyframes menuFade{

from{
opacity:0;
transform:translateY(-15px);
}

to{
opacity:1;
transform:translateY(0);
}

}



/* ======================================
   SCROLLBAR
   ====================================== */

::-webkit-scrollbar {
    width: 10px; /* Largura da barra */
}

::-webkit-scrollbar-track {
    background: #eef4f9; /* Cor do fundo da barra (cinza bem claro) */
}

/* É ESTE BLOCO AQUI QUE DEIXA O SCROLL AZUL: */
::-webkit-scrollbar-thumb {
    background: #146ff8; /* O azul principal do scroll */
    border-radius: 20px; /* Deixa as bordas arredondadas */
}

::-webkit-scrollbar-thumb:hover {
    background: #00318a; /* O azul escuro quando você passa o mouse por cima */
}