@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap');

:root {
    --primary-color: #BF8B2A; 
    --accent-color: #D9AB23;  
    --secondary-color: #1F438C; 
    --secondary-light: #1C71A6; 
    --text-color: #0D0D0D;    
    --text-light: #555555;    
    --bg-light: #f0f4f8;
    --white: #FFFFFF;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Nunito', sans-serif; color: var(--text-color); background-color: var(--white); overflow-x: hidden; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 120px 0; }
.bg-light { background-color: var(--bg-light); }
.relative { position: relative; }

.section-title {
    text-align: center; font-size: 3rem; color: var(--secondary-color);
    margin-bottom: 60px; font-weight: 900; position: relative;
    display: inline-block; left: 50%; transform: translateX(-50%);
}
.section-title::after {
    content: ''; position: absolute; bottom: -10px; left: 0;
    width: 60%; height: 6px; background-color: var(--accent-color);
    border-radius: 10px;
}

/* Botões Modernos e Animados */
.btn-primary, .btn-secondary, .nav-btn, .nav-btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 32px; border-radius: 50px; text-decoration: none;
    font-weight: 800; font-size: 1.1rem; transition: var(--transition); cursor: pointer;
}
.btn-primary, .nav-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white); border: none; box-shadow: 0 10px 20px rgba(217, 171, 35, 0.3);
}
.btn-primary:hover, .nav-btn:hover {
    transform: translateY(-5px) scale(1.02); box-shadow: 0 15px 25px rgba(217, 171, 35, 0.5);
}
.btn-secondary, .nav-btn-outline {
    background-color: var(--white); color: var(--secondary-color);
    border: 2px solid var(--secondary-color); box-shadow: 0 10px 20px rgba(31, 67, 140, 0.1);
}
.btn-secondary:hover, .nav-btn-outline:hover {
    background-color: var(--secondary-color); color: var(--white);
    transform: translateY(-5px);
}

/* Header Glassmorfismo */
.header {
    background: rgba(31, 67, 140, 0.85); /* Fundo azul translúcido */
    backdrop-filter: blur(12px); /* Efeito de vidro */
    -webkit-backdrop-filter: blur(12px);
    position: fixed; width: 100%; top: 0; z-index: 1000;
    height: 90px; display: flex; align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.header.scrolled { height: 75px; background: rgba(31, 67, 140, 0.95); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.header-content { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1500px; margin: 0 auto; padding: 0 3%; }
.logo-img { max-height: 60px; transition: var(--transition); }
.header.scrolled .logo-img { max-height: 50px; }

.nav-menu { display: flex; align-items: center; flex-grow: 1; justify-content: flex-end; }
.nav-list { display: flex; list-style: none; flex-grow: 1; justify-content: space-evenly; padding: 0 30px; }
.nav-list a { text-decoration: none; color: var(--white); font-weight: 700; font-size: 1.1rem; transition: var(--transition); position: relative; }
.nav-list a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 3px;
    background-color: var(--accent-color); transition: var(--transition); border-radius: 5px;
}
.nav-list a:hover::after { width: 100%; }
.nav-list a:hover { color: var(--accent-color); }
.nav-actions { display: flex; gap: 15px; }

/* Hero Section Disruptiva */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; }
.hero-bg-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(31,67,140,0.9) 0%, rgba(28,113,166,0.6) 100%); z-index: 2;
}
.hero-content { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; width: 100%; }
.hero-text-box {
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2); padding: 50px;
    border-radius: 30px 100px 30px 30px; /* Formato orgânico */
    max-width: 800px; text-align: center; box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.hero h1 { font-size: 4rem; color: var(--white); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: var(--accent-color); text-shadow: 2px 2px 0px rgba(0,0,0,0.2); }
.hero p { font-size: 1.3rem; color: rgba(255,255,255,0.9); margin-bottom: 40px; font-weight: 600; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; }

/* Divisor de Ondas em SVG */
.custom-shape-divider-bottom { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 4; }
.custom-shape-divider-bottom svg { position: relative; display: block; width: calc(100% + 1.3px); height: 100px; }
.custom-shape-divider-bottom .shape-fill { fill: var(--white); }

/* Seção Quem Somos (Assimetria) */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.organic-shape {
    background: var(--white); padding: 50px;
    border-radius: 20px 80px 20px 80px; /* Forma disruptiva */
    box-shadow: 0 20px 40px rgba(31,67,140,0.08);
    border: 2px solid transparent; transition: var(--transition);
}
.organic-shape:hover { transform: translateY(-10px); border-color: var(--accent-color); box-shadow: 0 30px 60px rgba(31,67,140,0.15); }
.card-icon { font-size: 4rem; margin-bottom: 20px; }
.about-card h2 { color: var(--secondary-color); font-size: 2rem; margin-bottom: 15px; font-weight: 900; }
.about-card p { font-size: 1.1rem; color: var(--text-light); line-height: 1.8; }
.methodology-card { border-radius: 80px 20px 80px 20px; background: linear-gradient(to bottom right, #ffffff, #f8fbff); margin-top: 60px; /* Cria a assimetria visual */ }

/* Infraestrutura */
.floating-shadow { box-shadow: 0 30px 60px rgba(0,0,0,0.1); border-radius: 40px; overflow: hidden; background: var(--white); transition: var(--transition); }
.floating-shadow:hover { transform: scale(1.02); box-shadow: 0 40px 80px rgba(31,67,140,0.2); }
.infra-content { display: grid; grid-template-columns: 1.2fr 1fr; }
.infra-content img { width: 100%; height: 100%; object-fit: cover; }
.infra-text { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.infra-text h3 { color: var(--secondary-color); font-size: 2.2rem; font-weight: 900; margin-bottom: 20px; }

/* Contato */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; border-radius: 40px; }
.contact-info h3 { color: var(--secondary-color); font-size: 1.8rem; margin-bottom: 20px; font-weight: 800; }
.contact-info p { font-size: 1.2rem; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }

/* Footer */
.footer { background-color: var(--secondary-color); color: var(--white); text-align: center; padding: 50px 0; border-top: 5px solid var(--accent-color); margin-top: 0; }

/* --- CLASSES DE ANIMAÇÃO DE SCROLL (JS vai ativar) --- */
.reveal { opacity: 0; transform: translateY(60px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.fade-left { transform: translateX(-60px); }
.reveal.fade-right { transform: translateX(60px); }
.reveal.active { opacity: 1; transform: translate(0, 0); }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217,171,35,0.7); } 70% { box-shadow: 0 0 0 20px rgba(217,171,35,0); } 100% { box-shadow: 0 0 0 0 rgba(217,171,35,0); } }
.pulse-anim { animation: pulse 2s infinite; }

/* Responsividade Mobile */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .about-grid, .infra-content { grid-template-columns: 1fr; }
    .methodology-card { margin-top: 0; } /* Remove assimetria no tablet/celular */
    .infra-content img { height: 350px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; color: var(--white); font-size: 2.5rem; }
    .nav-menu {
        display: none; flex-direction: column; position: absolute;
        top: 90px; left: 0; width: 100%; background: rgba(31, 67, 140, 0.98);
        backdrop-filter: blur(20px); padding: 30px; border-bottom-left-radius: 30px; border-bottom-right-radius: 30px;
    }
    .nav-menu.active { display: flex; }
    .nav-list { flex-direction: column; text-align: center; gap: 25px; margin-bottom: 30px; padding: 0; }
    .nav-actions { flex-direction: column; width: 100%; }
    .nav-btn, .nav-btn-outline { width: 100%; }
    .hero-text-box { padding: 30px; border-radius: 20px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; }
    .organic-shape { padding: 30px; border-radius: 20px; }
    .contact-wrapper { grid-template-columns: 1fr; }
}