@charset "UTF-8";

/* ==========================================================================
   FSUBI - MASTER STYLESHEET (ELITE MOTORSPORT)
   Cores Oficiais: Azul (#021c37), Amarelo (#ffcc00), Branco (#ffffff)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   BLOCO 1: GLOBAIS (VARIÁVEIS, TIPOGRAFIA E COMPONENTES COMUNS)
   ========================================================================== */
:root {
    /* Cores da Marca */
    --primary: #021c37;
    --primary-light: #032a52;
    --accent: #ffcc00;
    --accent-glow: rgba(255, 204, 0, 0.4);
    
    /* Fundos Escuros */
    --dark: #010811;
    --darker: #000408;
    
    /* Texto */
    --white: #ffffff;
    --text-main: #cccccc;
    --text-muted: #888888;
    
    /* Escala Tipográfica Universal */
    --font-xs: 0.85rem;
    --font-sm: 1rem;
    --font-md: 1.15rem;
    --font-lg: 1.5rem;
    --font-xl: 2.2rem;
    --font-xxl: clamp(2.5rem, 5vw, 3.5rem);
    --font-hero: clamp(3rem, 8vw, 6rem);
    
    /* Transições e UI */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --glass-bg: rgba(2, 28, 55, 0.3);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* --- Reset e Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

/* ================= CURSORES PREMIUM GLOBAIS ================= */
body {
    font-family: 'Inter', sans-serif; background-color: var(--darker); color: var(--text-main);
    font-size: var(--font-sm); line-height: 1.8; overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 24 24"><path d="M4 2l6 19 3-8 8-3z" fill="%23ffffff" stroke="%23021c37" stroke-width="1"/></svg>') 0 0, auto;
}
a, button, .btn-primary, .btn-outline, .home-dept-card, .scroll-indicator, .tech-card, .about-card, .hero h1, .hero-about h1 {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="%23ffcc00" stroke="%23ffffff" stroke-width="1.5" stroke-linejoin="round"><path d="M2 2l7 20 3-8 8-3z"/></svg>') 2 2, pointer !important;
}

/* ================= SCROLLBAR COM ANIMAÇÃO ================= */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--darker); border-left: 1px solid var(--glass-border); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 5px; border: 1px solid var(--darker); transition: background-color 0.3s ease; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* --- Tipografia e Títulos Interativos Globais --- */
h1, h2, h3, h4, h5, h6 { font-family: 'Oswald', sans-serif; color: var(--white); text-transform: uppercase; letter-spacing: 1.5px; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.section-title { 
    font-size: var(--font-xxl); margin-bottom: 50px; text-align: center; 
    display: flex; flex-direction: column; align-items: center; width: 100%; 
    transition: var(--transition-bounce);
}
.section-title span { color: var(--accent); transition: var(--transition); }
.section-title::after { 
    content: ''; display: block; width: 80px; height: 3px; 
    background: var(--accent); margin-top: 15px; transition: var(--transition);
}
.section-title:hover { transform: scale(1.02); text-shadow: 0 0 20px rgba(255,255,255,0.2); }
.section-title:hover span { text-shadow: 0 0 20px var(--accent-glow); }
.section-title:hover::after { width: 140px; box-shadow: 0 0 15px var(--accent); }

.section-title.inline-title { display: block; text-align: left; }
.section-title.inline-title::after { margin: 15px 0 0 0; }
.section-title.inline-title:hover { transform: translateX(10px) scale(1.02); }

.custom-subtitle { max-width: 800px; color: var(--text-muted); font-size: var(--font-md); line-height: 1.7; margin: -30px auto 60px auto; text-align: center; font-weight: 300; }
.text-center { text-align: center; }

/* --- Estrutura, Grids e Padrões Globais --- */
.container { max-width: 1350px; margin: 0 auto; padding: 0 25px; width: 100%; }
.section-padding { padding: 100px 0; position: relative; }
.pt-0 { padding-top: 0 !important; } .pb-0 { padding-bottom: 0 !important; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.grid-stretch { align-items: stretch !important; }

.blueprint-bg { position: relative; }
.blueprint-bg::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px; z-index: -1; pointer-events: none;
}
.motorsport-pattern { position: relative; }
.motorsport-pattern::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.01) 0px, rgba(255,255,255,0.01) 1px, transparent 1px, transparent 8px);
    z-index: -1; pointer-events: none;
}

/* --- Botões Globais --- */
.btn-primary, .btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 35px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: var(--font-sm);
    text-transform: uppercase; letter-spacing: 1px; border-radius: 4px;
    transition: var(--transition); border: 2px solid var(--accent);
}
.btn-primary { background: var(--accent); color: var(--darker); }
.btn-primary:hover { background: transparent; color: var(--accent); box-shadow: inset 0 0 15px rgba(255,204,0,0.2); }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--darker); }
.btn-primary i, .btn-outline i { transition: 0.3s; }
.btn-primary:hover i, .btn-outline:hover i { transform: translateX(5px); }

/* --- Navbar Comum --- */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 25px 5%; position: fixed; width: 100%; top: 0; z-index: 2000; background: transparent; transition: var(--transition); border-bottom: 1px solid transparent; }
.navbar.scrolled { background: rgba(1, 8, 17, 0.95); backdrop-filter: blur(15px); border-bottom: 1px solid var(--glass-border); padding: 15px 5%; }
.logo-container img { height: 45px; transition: var(--transition); }
.logo-container img:hover { transform: scale(1.05); filter: drop-shadow(0 0 8px rgba(255,255,255,0.2)); }
.nav-links { display: flex; list-style: none; gap: 35px; align-items: center; }
.nav-links a { color: var(--white); font-weight: 500; font-size: var(--font-xs); text-transform: uppercase; letter-spacing: 1px; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.btn-nav { border: 1px solid var(--accent); padding: 10px 24px; color: var(--accent) !important; }
.btn-nav:hover { background: var(--accent); color: var(--darker) !important; }
.mobile-menu-toggle { display: none; background: transparent; border: none; flex-direction: column; gap: 6px; z-index: 2001; }
.hamburger-line { width: 30px; height: 2px; background: var(--white); transition: 0.3s; }

/* --- Footer Corporativo --- */
.fsubi-footer { background-color: #010811; padding-top: 80px; border-top: 1px solid var(--glass-border); position: relative; }
.fsubi-footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.5; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { height: 60px; margin-bottom: 25px; transition: 0.3s; }
.footer-logo:hover { transform: scale(1.05); filter: drop-shadow(0 0 10px rgba(255,255,255,0.1)); }
.social-icons { display: flex; gap: 15px; margin-top: 25px; }
.social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: var(--white); border-radius: 4px; transition: 0.3s; }
.social-icons a:hover { background: var(--accent); color: var(--darker); transform: translateY(-5px); }
.footer-title { font-size: var(--font-lg); margin-bottom: 25px; padding-bottom: 10px; position: relative; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; font-size: var(--font-sm); }
.footer-links a:hover { color: var(--accent); transform: translateX(5px); display: inline-block; }
.location-link { display: flex; gap: 15px; margin-bottom: 20px; font-size: var(--font-sm); transition: 0.3s; }
.location-link:hover { color: var(--white); }
.location-link i { color: var(--accent); font-size: 1.2rem; margin-top: 4px; }
.footer-bottom { background: #000; padding: 25px 0; border-top: 1px solid rgba(255,255,255,0.05); font-size: var(--font-xs); }

/* --- Utilidades Globais --- */
.badge-accent { display: inline-flex; align-items: center; background: rgba(255,204,0,0.08); color: var(--accent); padding: 8px 20px; border: 1px solid rgba(255,204,0,0.3); font-weight: 700; font-size: var(--font-xs); margin-bottom: 25px; letter-spacing: 1.5px; border-radius: 30px; text-transform: uppercase; }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.blink { animation: blink 1.5s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }

/* ==========================================================================
   BLOCO 2: COMPONENTES ESPECÍFICOS POR PÁGINA
   ========================================================================== */

/* -----------------------------------
   2.1 HEROES (Títulos com Animação Soft/Glow)
   ----------------------------------- */
.hero, .hero-about { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background-size: cover; background-position: center; position: relative; padding: 0 20px; }
.hero { min-height: 100vh; }
.hero-about { min-height: 65vh; padding-top: 80px; }
.hero-tech-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(1,8,17, 0.6), var(--darker)); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 900px; display: flex; flex-direction: column; align-items: center; }

/* Títulos base */
.hero h1, .hero-about h1 { 
    font-size: var(--font-hero); margin-bottom: 20px; text-shadow: 0 10px 30px rgba(0,0,0,0.8); 
    line-height: 1.1; transition: all 0.4s ease;
}

/* FIX: Animação suave e limpa ao passar o rato (Apenas acende e fica parado) */
.hero h1:hover, .hero-about h1:hover {
    color: var(--white);
    text-shadow: 
        0 5px 15px rgba(0,0,0,0.5), 
        0 0 35px var(--accent-glow),  
        0 0 65px rgba(255, 204, 0, 0.4);
}

.hero-subtitle-pro { font-size: var(--font-md); color: var(--white); margin-bottom: 40px; font-weight: 300; max-width: 750px; line-height: 1.8; text-align: center; }
.hero-cta-group { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.scroll-indicator { position: absolute; bottom: 30px; text-align: center; z-index: 2; animation: bounce 2s infinite; outline: none; }

/* -----------------------------------
   2.2 HOME (Componentes extra)
   ----------------------------------- */
.home-dept-card { background: linear-gradient(145deg, rgba(2, 28, 55, 0.3), rgba(1, 8, 17, 0.8)); border: 1px solid var(--glass-border); border-top: 3px solid transparent; padding: 45px 30px; border-radius: 12px; text-align: center; transition: var(--transition); position: relative; overflow: hidden; display: block; }
.home-dept-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top, rgba(255, 204, 0, 0.08), transparent 70%); opacity: 0; transition: var(--transition); z-index: 0; pointer-events: none; }
.home-dept-card:hover { transform: translateY(-12px); border-top-color: var(--accent); background: linear-gradient(145deg, rgba(2, 28, 55, 0.6), rgba(1, 8, 17, 0.95)); box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(255,204,0,0.1); }
.home-dept-card:hover::before { opacity: 1; }
.home-dept-card i.dept-icon { font-size: 3.2rem; color: rgba(255,255,255,0.3); margin-bottom: 25px; transition: var(--transition); position: relative; z-index: 1; display: block; }
.home-dept-card:hover i.dept-icon { color: var(--accent); transform: scale(1.15) translateY(-5px); filter: drop-shadow(0 10px 15px rgba(255,204,0,0.4)); }
.card-title { font-size: var(--font-lg); color: var(--white); margin-bottom: 15px; position: relative; z-index: 1; }
.home-dept-card p { position: relative; z-index: 1; margin-bottom: 10px; }
.dept-card-arrow { position: absolute; bottom: 20px; right: 25px; color: var(--accent); font-size: var(--font-md); opacity: 0; transform: translateX(-15px); transition: var(--transition); }
.home-dept-card:hover .dept-card-arrow { opacity: 1; transform: translateX(0); }

.marquee-container { width: 100%; overflow: hidden; white-space: nowrap; padding: 50px 0; background: var(--darker); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.marquee-content { display: inline-flex; align-items: center; gap: 40px; animation: scroll-left 40s linear infinite; }
.marquee-content:hover { animation-play-state: paused; }
.partner-plaque { width: 220px; height: 110px; display: inline-flex; justify-content: center; align-items: center; background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); border-radius: 8px; flex-shrink: 0; padding: 25px; transition: var(--transition); }
.partner-plaque:hover { background: #fff; border-color: var(--accent); box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
.partner-plaque img { max-height: 60px; max-width: 80%; object-fit: contain; filter: grayscale(100%) brightness(1.5); transition: var(--transition); }
.partner-plaque:hover img { filter: grayscale(0%) brightness(1); transform: scale(1.05); }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.stat-card { background: rgba(2, 28, 55, 0.2); border: 1px solid var(--glass-border); border-left: 3px solid var(--accent); padding: 40px 20px; border-radius: 8px; transition: 0.3s; }
.stat-card:hover { background: rgba(2, 28, 55, 0.5); transform: translateY(-5px); }
.stat-card h3 { font-size: 4.5rem; color: var(--white); margin-bottom: 5px; line-height: 1; }
.stat-card p { color: var(--accent); font-weight: 700; letter-spacing: 2px; margin: 0; font-size: var(--font-xs); }


/* -----------------------------------
   2.3 SOBRE NÓS (Missão, Valores, Timeline)
   ----------------------------------- */
.about-card { 
    background: linear-gradient(145deg, rgba(2, 28, 55, 0.4), rgba(1, 8, 17, 0.9)); 
    backdrop-filter: blur(10px); border: 1px solid var(--glass-border); 
    padding: 50px 40px; border-top: 4px solid var(--accent); border-radius: 8px; 
    transition: var(--transition); display: flex; flex-direction: column; height: 100%;
}
.about-card:hover { transform: translateY(-8px); border-color: rgba(255,204,0,0.4); box-shadow: 0 15px 35px rgba(0,0,0,0.5); }

/* FIX: Ícones Missão/Visão perfeitos e imóveis, apenas acendem (Glow) */
.about-card i { 
    font-size: 2.8rem; color: rgba(255,255,255,0.2); margin-bottom: 25px; 
    display: inline-block; transition: all 0.3s ease;
}
.about-card:hover i { 
    color: var(--accent); 
    /* Apenas iluminação sólida, sem transformações para garantir que o ícone não foge de posição */
    text-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent-glow); 
}

.about-card p { font-size: var(--font-md); line-height: 1.9; color: var(--text-main); font-style: italic; margin-bottom: 0; flex-grow: 1; }

.tech-card { 
    background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent); 
    border: 1px solid var(--glass-border); padding: 45px 35px; position: relative; 
    transition: var(--transition); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); 
}
.tech-card::after { content: ''; position: absolute; top: 0; right: 0; width: 21px; height: 21px; background: var(--glass-border); transition: var(--transition); }
.tech-card:hover { border-color: var(--accent); background: rgba(255,204,0,0.05); }
.tech-card:hover::after { background: var(--accent); }

/* FIX: Ícones Valores também imóveis e a acender suavemente */
.tech-card i { font-size: 2.5rem; color: var(--white); margin-bottom: 20px; display: inline-block; opacity: 0.5; transition: var(--transition); }
.tech-card:hover i { color: var(--accent); opacity: 1; text-shadow: 0 0 15px var(--accent-glow); }

.telemetry-timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 60px; }
.telemetry-timeline::before { content: ''; position: absolute; top: 0; left: 19px; width: 2px; height: 100%; background: linear-gradient(to bottom, var(--accent), rgba(255,204,0,0.1)); box-shadow: 0 0 10px var(--accent-glow); }
.telemetry-item { position: relative; margin-bottom: 70px; }
.telemetry-item::before { content: ''; position: absolute; left: -48px; top: 5px; width: 16px; height: 16px; background: var(--darker); border: 3px solid var(--accent); border-radius: 50%; transition: var(--transition); z-index: 2; }
.telemetry-item:hover::before { background: var(--accent); box-shadow: 0 0 20px var(--accent); transform: scale(1.3); }
.telemetry-year { font-family: 'Oswald', sans-serif; font-size: var(--font-lg); color: var(--accent); display: block; margin-bottom: 10px; letter-spacing: 2px; }
.telemetry-content { background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); border-radius: 8px; padding: 35px; transition: var(--transition); border-left: 2px solid transparent; }
.telemetry-item:hover .telemetry-content { background: rgba(2, 28, 55, 0.4); border-left-color: var(--accent); transform: translateX(10px); }

/* -----------------------------------
   2.4 PÁGINA EQUIPA & MODAIS TÉCNICOS (Alta Performance)
   ----------------------------------- */

/* Cartão do Team Leader */
.leader-card {
    background: linear-gradient(145deg, rgba(2, 28, 55, 0.4), rgba(1, 8, 17, 0.9));
    border: 1px solid var(--glass-border); border-top: 4px solid var(--accent);
    border-radius: 8px; padding: 50px; text-align: center; max-width: 700px; 
    margin: 0 auto; box-shadow: 0 20px 40px rgba(0,0,0,0.5); 
    transition: var(--transition); position: relative;
}
.leader-card:hover { transform: translateY(-8px); border-color: rgba(255,204,0,0.4); box-shadow: 0 25px 50px rgba(0,0,0,0.7), 0 0 25px rgba(255,204,0,0.1); }
.leader-frame { 
    width: 180px; height: 180px; border-radius: 50%; border: 3px solid var(--accent); 
    padding: 6px; margin: 0 auto 20px auto; box-shadow: 0 0 15px var(--accent-glow); 
    transition: var(--transition-bounce); background: var(--darker);
}
.leader-card:hover .leader-frame { transform: scale(1.05); box-shadow: 0 0 30px var(--accent); }
.leader-frame img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.leader-name { color: var(--white); font-family: 'Oswald', sans-serif; font-size: var(--font-xl); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.leader-role { color: var(--accent); font-size: var(--font-sm); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 20px; }

/* Botão LinkedIn Premium */
.btn-linkedin-premium { 
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 30px; 
    border: 1px solid rgba(255,255,255,0.2); border-radius: 50px; color: var(--white); 
    font-weight: 600; font-size: var(--font-xs); text-transform: uppercase; letter-spacing: 1px;
    transition: var(--transition); background: rgba(255,255,255,0.02);
}
.btn-linkedin-premium i { font-size: 1.3rem; color: #0077b5; transition: var(--transition); }
.btn-linkedin-premium:hover { background: #0077b5; color: var(--white); border-color: #0077b5; box-shadow: 0 10px 20px rgba(0, 119, 181, 0.4); }
.btn-linkedin-premium:hover i { color: var(--white); }

/* Cartões dos Departamentos */
.premium-dept-box { 
    background: linear-gradient(180deg, rgba(2, 28, 55, 0.3), rgba(1, 8, 17, 0.95)); 
    border: 1px solid var(--glass-border); border-radius: 8px; overflow: hidden; 
    display: flex; flex-direction: column; transition: var(--transition); 
    height: 100%; position: relative; cursor: pointer;
}
.premium-dept-box:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 20px var(--accent-glow); }
.box-img-container { height: 220px; overflow: hidden; position: relative; border-bottom: 2px solid rgba(255,255,255,0.05); }
.box-bg-image { 
    width: 100%; height: 100%; background-size: cover; background-position: center; 
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); filter: grayscale(100%) brightness(0.5); 
}
.premium-dept-box:hover .box-bg-image { transform: scale(1.1); filter: grayscale(0%) brightness(1); }
.box-gradient-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 70%; background: linear-gradient(to bottom, transparent, rgba(1,8,17,1)); }
.box-badge { 
    position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
    border: 1px solid var(--accent); color: var(--accent); padding: 6px 14px; border-radius: 20px; 
    font-size: 0.75rem; font-weight: bold; letter-spacing: 1px; z-index: 2; transition: var(--transition);
}
.premium-dept-box:hover .box-badge { background: var(--accent); color: var(--darker); }
.box-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 2; }
.box-title { font-size: var(--font-lg); color: var(--white); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; font-family: 'Oswald', sans-serif; text-transform: uppercase; }
.box-desc { color: var(--text-muted); font-size: var(--font-sm); line-height: 1.6; margin-bottom: 25px; }
.box-footer { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.box-mini-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.box-mini-tag { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: #aaa; font-size: 0.7rem; padding: 4px 8px; border-radius: 4px; font-family: monospace; letter-spacing: 1px; }
.box-action-btn { color: var(--accent); font-size: 0.85rem; font-weight: bold; text-transform: uppercase; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.premium-dept-box:hover .box-action-btn { gap: 15px; text-shadow: 0 0 10px var(--accent-glow); }

/* --- Modais (Fichas de Especificação HUD) --- */
.modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); align-items: center; justify-content: center; backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.3s ease; }
.modal-content.data-sheet { 
    background: linear-gradient(145deg, #021224, var(--darker)); padding: 50px; 
    border: 1px solid var(--accent); border-radius: 12px; width: 95%; max-width: 750px; 
    position: relative; box-shadow: 0 25px 60px rgba(0,0,0,0.9), inset 0 0 30px rgba(255,204,0,0.05); 
    transform: scale(0.95) translateY(20px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Padrão Blueprint no fundo do Modal */
    background-image: linear-gradient(145deg, rgba(2,18,36,0.95), rgba(0,4,8,0.98)), repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(255,255,255,0.02) 1px, rgba(255,255,255,0.02) 2px);
}
.modal[aria-hidden="false"] { opacity: 1; }
.modal[aria-hidden="false"] .modal-content { transform: scale(1) translateY(0); }

.close-btn { position: absolute; top: 20px; right: 25px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); width: 40px; height: 40px; border-radius: 50%; color: var(--white); font-size: 1.2rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.close-btn:hover { background: var(--accent); color: var(--darker); border-color: var(--accent); transform: rotate(90deg); }

.modal-header { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; border-bottom: 2px solid rgba(255,255,255,0.05); padding-bottom: 20px; }
.modal-main-icon { font-size: 2.5rem; color: var(--accent); filter: drop-shadow(0 0 10px var(--accent-glow)); }
.modal-header h2 { font-size: var(--font-xl); color: var(--white); margin: 0; letter-spacing: 2px; }

.modal-body p { font-size: var(--font-md); color: var(--text-main); line-height: 1.8; margin-bottom: 30px; }
.tech-stack-container { background: rgba(0,0,0,0.3); border: 1px solid var(--glass-border); padding: 20px; border-radius: 8px; margin-bottom: 30px; }
.tech-stack-title { font-family: 'Oswald', sans-serif; font-size: 1rem; color: var(--accent); margin-bottom: 15px; letter-spacing: 1px; }
.tech-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tech-tag { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--white); padding: 6px 15px; border-radius: 4px; font-family: monospace; font-size: 0.85rem; }

.task-list { list-style: none; padding: 0; margin: 0; }
.task-list li { display: flex; align-items: flex-start; gap: 15px; color: var(--text-main); margin-bottom: 15px; font-size: var(--font-sm); }
.task-list li i { color: var(--accent); font-size: 1rem; margin-top: 5px; }

/* ==========================================================================
   2.5 PÁGINA COMPETIÇÃO (TELEMETRIA DE ALTA PERFORMANCE)
   ========================================================================== */

/* Hero Competição (100vh estruturado exatamente como o Index) */
.hero-comp { 
    display: flex; flex-direction: column; justify-content: center; align-items: center; 
    min-height: 100vh; background-size: cover; background-position: center; 
    text-align: center; position: relative; padding: 0 20px;
    background-color: var(--darker);
}
.hero-comp h1 { 
    font-size: var(--font-hero); margin-bottom: 20px; color: var(--white); 
    text-shadow: 0 10px 30px rgba(0,0,0,0.8); line-height: 1.1; transition: all 0.4s ease;
}
.hero-comp h1:hover {
    color: var(--white);
    text-shadow: 0 5px 15px rgba(0,0,0,0.5), 0 0 35px var(--accent-glow), 0 0 65px rgba(255, 204, 0, 0.4);
}

/* Layout da Introdução (Desafio Global) */
.comp-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.comp-intro-stats { display: flex; gap: 50px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--glass-border); }
.comp-stat-box { border-left: 3px solid var(--accent); padding-left: 20px; }
.comp-stat-val { font-family: 'Oswald', sans-serif; font-size: 3.5rem; color: var(--white); line-height: 1; margin-bottom: 5px; }
.comp-stat-lbl { font-size: var(--font-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }

/* --- DASHBOARD INTERATIVO (RODA E LISTAS) --- */
.scoring-controls { display: flex; justify-content: center; gap: 20px; margin-bottom: 50px; flex-wrap: wrap; }
.btn-toggle { 
    background: rgba(255,255,255,0.02); border: 2px solid var(--glass-border); color: var(--text-main); 
    padding: 12px 35px; font-family: 'Oswald', sans-serif; font-size: 1.2rem; letter-spacing: 2px;
    border-radius: 4px; cursor: pointer; transition: var(--transition); backdrop-filter: blur(5px);
    position: relative; overflow: hidden;
}
.btn-toggle::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,204,0,0.2), transparent); transition: 0.5s; }
.btn-toggle:hover::before { left: 100%; }
.btn-toggle.active { background: var(--accent); color: var(--darker); border-color: var(--accent); box-shadow: 0 0 25px var(--accent-glow); }

.interactive-scoring-layout { 
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; 
    background: linear-gradient(145deg, #010a14, #021830);
    border: 1px solid var(--glass-border); border-top: 3px solid var(--accent);
    padding: 50px; border-radius: 8px; box-shadow: 0 25px 60px rgba(0,0,0,0.8); 
    position: relative; overflow: hidden;
}
.interactive-scoring-layout::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px);
    pointer-events: none; z-index: 0;
}

/* O Gráfico Circular Dinâmico */
.wheel-container { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; margin: 0 auto; z-index: 1; }
.wheel { 
    width: 100%; height: 100%; border-radius: 50%; 
    background: conic-gradient(#021c37 0% 100%); 
    position: relative; transition: background 0.4s ease-in-out; 
    box-shadow: 0 0 40px rgba(0,0,0,0.9), inset 0 0 30px rgba(0,0,0,0.8);
}
.wheel::after {
    content: ''; position: absolute; top: 15%; left: 15%; width: 70%; height: 70%;
    background: var(--darker); border-radius: 50%; box-shadow: inset 0 0 30px rgba(0,0,0,1);
    border: 1px solid rgba(255,255,255,0.05);
}
.wheel-inner-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; text-align: center; display: flex; flex-direction: column; width: 100%; }
.wheel-pts { font-family: 'Oswald', sans-serif; font-size: 5rem; color: var(--white); line-height: 1; text-shadow: 0 0 20px rgba(255,204,0,0.3); transition: color 0.3s; }
.wheel-lbl { font-size: var(--font-xs); color: var(--accent); letter-spacing: 4px; font-weight: 700; margin-top: 5px; transition: color 0.3s; text-transform: uppercase; }

/* Lista de Provas Interativa (Em Grelha para melhor acomodação) */
.scoring-list { 
    list-style: none; padding: 0; margin: 0; display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; 
    position: relative; z-index: 1; 
}
.score-row { 
    display: flex; justify-content: space-between; align-items: center; 
    background: rgba(0,0,0,0.4); border: 1px solid var(--glass-border); 
    padding: 12px 15px; border-radius: 4px; transition: var(--transition);
    border-left: 4px solid var(--row-color, var(--accent)); cursor: pointer;
}
.score-row:hover { 
    background: rgba(255,255,255,0.05); transform: translateY(-3px); 
    border-color: var(--row-color); box-shadow: 0 5px 15px rgba(0,0,0,0.4); 
}
.score-row-name { font-size: 0.9rem; color: var(--white); font-weight: 500; display: flex; align-items: center; gap: 10px; transition: var(--transition); }
.score-row:hover .score-row-name { color: var(--row-color, var(--accent)); }
.score-row-name i { width: 18px; text-align: center; font-size: 1rem; color: var(--row-color, var(--accent)); }
.score-row-pts { font-family: 'Oswald', sans-serif; font-size: 1.2rem; color: var(--white); transition: var(--transition); }
.score-row:hover .score-row-pts { color: var(--row-color, var(--accent)); text-shadow: 0 0 10px var(--row-color, var(--accent)); }

/* --- ANÁLISE DINÂMICA (Cartões Laser) --- */
.dynamic-card {
    background: linear-gradient(180deg, rgba(2, 18, 36, 0.4), rgba(0, 4, 8, 0.8));
    border: 1px solid var(--glass-border); padding: 40px; position: relative; 
    transition: var(--transition); overflow: hidden; display: flex; flex-direction: column;
    border-radius: 8px;
}
.dynamic-card::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent); transition: 0.6s;
}
.dynamic-card:hover { 
    transform: translateY(-8px); border-color: rgba(255,204,0,0.2); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.6); background: linear-gradient(180deg, rgba(2, 28, 55, 0.6), rgba(0, 4, 8, 0.9)); 
}
.dynamic-card:hover::before { left: 100%; }
.dynamic-card i.watermark { position: absolute; right: 20px; top: 20px; font-size: 4rem; color: rgba(255,255,255,0.03); transition: 0.5s; pointer-events: none; }
.dynamic-card:hover i.watermark { color: rgba(255,204,0,0.05); transform: scale(1.2) rotate(15deg); }
.dyn-pts { display: inline-block; background: rgba(255,204,0,0.1); color: var(--accent); padding: 6px 15px; font-family: 'Oswald', sans-serif; font-size: var(--font-sm); border: 1px solid var(--accent); margin-bottom: 20px; box-shadow: 0 0 15px rgba(255,204,0,0.1); border-radius: 4px; }
.dynamic-card h3 { font-size: var(--font-xl); color: var(--white); margin-bottom: 15px; position: relative; z-index: 1; }
.dynamic-card p { color: var(--text-main); font-size: var(--font-sm); line-height: 1.8; margin-bottom: 30px; position: relative; z-index: 1; flex-grow: 1; }

/* Responsividade Mobile */
@media (max-width: 900px) { 
    .comp-intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .interactive-scoring-layout { grid-template-columns: 1fr; gap: 50px; padding: 30px 20px; }
    .wheel-container { max-width: 280px; }
    .wheel-pts { font-size: 3.5rem; }
    .scoring-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   2.6 PÁGINA PROTÓTIPO (MODELO 3D & BENTO GRID)
   ========================================================================== */

/* Hero do Protótipo */
.hero-car { 
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    min-height: 100vh; background-size: cover; background-position: center; 
    text-align: center; position: relative; padding: 0 20px;
}
.hero-car .hero-content { 
    margin-top: 120px; /* PUXA O TEXTO PARA BAIXO, LIVRANDO O MENU */
    z-index: 2; width: 100%; max-width: 1000px; display: flex; flex-direction: column; align-items: center; 
}

/* Título Stroke Moderno (Acende por dentro APENAS ao passar o rato nas letras) */
.car-codename { 
    font-family: 'Oswald', sans-serif; font-size: clamp(4rem, 12vw, 8rem); 
    color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.5); 
    line-height: 1; margin-bottom: 20px; transition: all 0.4s ease; cursor: default;
}
.car-codename:hover { 
    color: var(--white); 
    -webkit-text-stroke: 2px var(--white); 
    text-shadow: 0 0 15px rgba(255,255,255,0.8); 
}

/* O Botão de Ignição (Perfeitamente Centrado e Funcional) */
.power-start-container {
    margin-top: 110px; /* Aumentado de 60px para 110px para lhe dar espaço */
    transition: transform 0.3s ease;
    display: block;
}

.power-start-container:hover { transform: translateY(-5px); }
.power-start-container a { display: flex; flex-direction: column; align-items: center; text-decoration: none; outline: none; }
.power-btn-label { font-size: 0.85rem; letter-spacing: 3px; font-weight: 700; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block; }
.fa-power-off { font-size: 3.5rem; color: var(--accent); filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.4)); animation: pulseGlow 2s infinite; transition: 0.3s; }
.power-start-container:hover .fa-power-off { filter: drop-shadow(0 0 25px var(--accent)); color: #fff; }
@keyframes pulseGlow { 0% { filter: drop-shadow(0 0 5px var(--accent)); opacity: 0.8; } 50% { filter: drop-shadow(0 0 20px var(--accent)); opacity: 1; } 100% { filter: drop-shadow(0 0 5px var(--accent)); opacity: 0.8; } }

/* Top Stats (Performance Base) */
.car-top-stats { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    width: 100%; 
    max-width: 850px; /* Alinha perfeitamente a largura com o parágrafo de texto acima */
    margin: 60px auto 0 auto !important; /* Força o centramento do contentor */
    border-top: 1px solid var(--glass-border); 
    padding-top: 40px; 
}

.car-top-stat-box { 
    flex: 1; /* MAGIA: Obriga as 3 caixas a terem exatamente o mesmo tamanho (33%) */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; 
}

.car-top-val { font-family: 'Oswald', sans-serif; font-size: 3.5rem; color: var(--white); line-height: 0.4; margin-bottom: 5px; }
.car-top-val span { font-size: 1.5rem; color: var(--accent); margin-left: 5px; }
.car-top-lbl { font-size: var(--font-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }

/* HUD & 3D Viewer */
.model-viewer-container {
    background: radial-gradient(circle at center, rgba(4, 21, 40, 0.8) 0%, #010811 100%);
    border-radius: 12px; padding: 10px; border: 1px solid var(--glass-border); 
    position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.5); margin-bottom: 60px; overflow: hidden;
}
.hud-overlay { position: absolute; top: 20px; left: 20px; z-index: 10; pointer-events: none; text-align: left; }
.hud-data { color: #fff; font-family: monospace; font-size: 0.85rem; opacity: 0.7; margin-top: 10px; }

/* Stat Cards ao pé do Modelo 3D */
.stat-card {
    background: linear-gradient(145deg, rgba(2, 28, 55, 0.4), rgba(0, 4, 8, 0.9)); 
    border: 1px solid var(--glass-border); padding: 40px 15px; border-radius: 12px; 
    text-align: center; transition: var(--transition); display: flex; flex-direction: column; 
    align-items: center; justify-content: center; box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}
.stat-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.4); }
.stat-val { font-size: 3.5rem; font-family: 'Oswald', sans-serif; color: #fff; margin: 0; line-height: 1.1; }

/* Bento Grid (Organização Matemática em 3 Colunas) */
.car-bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-box {
    background: linear-gradient(145deg, rgba(2, 28, 55, 0.4), rgba(0, 4, 8, 0.9));
    border: 1px solid var(--glass-border); border-radius: 16px; padding: 40px;
    position: relative; overflow: hidden; transition: var(--transition);
    display: flex; flex-direction: column; justify-content: space-between;
}
.bento-box:hover { border-color: var(--accent); box-shadow: 0 15px 30px rgba(0,0,0,0.6); transform: translateY(-5px); }

/* Regras de Encaixe Perfeito */
.bento-span-2 { grid-column: span 2; }
.bento-span-3 { grid-column: span 3; }
.bento-span-row-2 { grid-row: span 2; }

/* Textos dentro do Bento */
.bento-title { font-family: 'Oswald', sans-serif; font-size: var(--font-xl); color: var(--white); margin-bottom: 10px; letter-spacing: 1px; z-index: 2; position: relative; }
.bento-desc { color: var(--text-muted); font-size: var(--font-sm); line-height: 1.6; z-index: 2; position: relative; }
.bento-icon { position: absolute; top: 30px; right: 30px; font-size: 2.5rem; color: var(--accent); opacity: 0.2; z-index: 2; transition: var(--transition); }
.bento-box:hover .bento-icon { opacity: 1; transform: scale(1.1) rotate(10deg); filter: drop-shadow(0 0 15px var(--accent-glow)); }

/* Imagens Blueprint dentro do Bento */
.bento-image-bg { 
    position: absolute; right: -10%; bottom: -20%; width: 70%; height: 100%; 
    background-size: contain; background-position: bottom right; background-repeat: no-repeat; 
    opacity: 0.1; transition: 0.6s ease; z-index: 1; filter: grayscale(100%);
}
.bento-box:hover .bento-image-bg { opacity: 0.3; transform: scale(1.05); filter: grayscale(0%); }

/* Listas de Especificações Técnicas */
.spec-list { list-style: none; padding: 0; margin-top: 30px; z-index: 2; position: relative; width: 100%; }
.spec-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); }
.spec-item:last-child { border-bottom: none; padding-bottom: 0; }
.spec-label { color: var(--text-main); font-size: 0.9rem; text-transform: uppercase; font-weight: 500; letter-spacing: 1px; }
.spec-value { color: var(--white); font-weight: 600; font-family: 'Oswald', sans-serif; font-size: 1.2rem; letter-spacing: 1px; text-align: right; }
.spec-value span { color: var(--accent); font-size: 0.8rem; margin-left: 3px; font-family: 'Inter', sans-serif; }

/* Responsividade do Carro */
@media (max-width: 1024px) { 
    .car-bento-grid { grid-template-columns: repeat(2, 1fr); } 
    .bento-span-3 { grid-column: span 2; }
    .bento-span-row-2 { grid-row: span 1; }
}
@media (max-width: 768px) {
    .car-bento-grid { grid-template-columns: 1fr; }
    .bento-span-2, .bento-span-3, .bento-span-row-2 { grid-column: span 1; grid-row: span 1; }
    .car-codename { font-size: 4rem; }
    .car-top-stats { flex-direction: column; gap: 40px; }
}

/* ==========================================================================
   2.7 PÁGINA PARCEIROS
   ========================================================================== */

/* Cartões de Benefícios B2B */
.partner-benefit-card {
    background: linear-gradient(145deg, rgba(2, 28, 55, 0.4), rgba(0, 4, 8, 0.9));
    border: 1px solid var(--glass-border); border-radius: 12px; padding: 50px 30px;
    text-align: center; transition: var(--transition); position: relative; overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5); height: 100%;
}
.partner-benefit-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,204,0,0.05); }
.partner-benefit-icon { font-size: 3.5rem; color: var(--accent); margin-bottom: 25px; transition: 0.3s; opacity: 0.8; }
.partner-benefit-card:hover .partner-benefit-icon { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 15px var(--accent-glow)); }

/* Títulos das Categorias (Platina, Ouro, etc.) */
.tier-header-container { display: flex; align-items: center; justify-content: center; gap: 25px; margin-bottom: 50px; }
.tier-line { height: 1px; flex-grow: 1; max-width: 250px; background: linear-gradient(90deg, transparent, var(--tier-color), transparent); opacity: 0.5; }
.tier-title { font-family: 'Oswald', sans-serif; font-size: 2.2rem; color: var(--tier-color); text-transform: uppercase; letter-spacing: 3px; text-shadow: 0 0 20px rgba(255,255,255,0.1); margin: 0; }

/* Grelhas de Parceiros (Base) */
.tier-grid { display: grid; gap: 30px; justify-items: center; }

/* Placas Premium Base (Sem altura fixa, adaptam-se à hierarquia) */
.premium-partner-plaque {
    background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border);
    border-radius: 12px; width: 100%; display: flex; align-items: center; justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer;
    position: relative; overflow: hidden; backdrop-filter: blur(5px);
}
.premium-partner-plaque img { 
    max-width: 85%; object-fit: contain; filter: grayscale(100%) brightness(1.5); 
    transition: 0.4s; position: relative; z-index: 1; 
}
.premium-partner-plaque:hover {
    background: #ffffff; transform: translateY(-8px); border-color: var(--tier-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 25px rgba(255,255,255,0.1);
}
.premium-partner-plaque:hover img { filter: grayscale(0%) brightness(1.1); transform: scale(1.08); }


/* =========================================
   HIERARQUIA DE TAMANHOS
   ========================================= */

/* 1. PLATINA (Gigante) */
.tier-platina .tier-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tier-platina .premium-partner-plaque { height: 180px; padding: 40px; }
.tier-platina .premium-partner-plaque img { max-height: 90px; }

/* 2. OURO (Grande) */
.tier-ouro .tier-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tier-ouro .premium-partner-plaque { height: 150px; padding: 30px; }
.tier-ouro .premium-partner-plaque img { max-height: 75px; }

/* 3. INSTITUCIONAL (Médio-Grande: Entre Ouro e Prata) */
.tier-inst .tier-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.tier-inst .premium-partner-plaque { height: 135px; padding: 25px; }
.tier-inst .premium-partner-plaque img { max-height: 65px; }

/* 4. PRATA (Médio) */
.tier-prata .tier-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.tier-prata .premium-partner-plaque { height: 120px; padding: 20px; }
.tier-prata .premium-partner-plaque img { max-height: 55px; }

/* 5. BRONZE (Pequeno) */
.tier-bronze .tier-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.tier-bronze .premium-partner-plaque { height: 100px; padding: 15px; }
.tier-bronze .premium-partner-plaque img { max-height: 45px; }

/* 6. GERAL (O Mais Pequeno) */
.tier-geral .tier-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; }
.tier-geral .premium-partner-plaque { height: 85px; padding: 10px; }
.tier-geral .premium-partner-plaque img { max-height: 35px; }


/* Cores Oficiais das Categorias (Gera o brilho da placa) */
.tier-platina { --tier-color: #e5e4e2; }
.tier-ouro { --tier-color: #ffcc00; }
.tier-prata { --tier-color: #c0c0c0; }
.tier-bronze { --tier-color: #cd7f32; }
.tier-geral { --tier-color: #0077b5; }
.tier-inst { --tier-color: #ffffff; }

/* Responsividade Mobile (Uniformiza os tamanhos nos telemóveis para não quebrar o ecrã) */
@media (max-width: 768px) {
    .tier-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important; gap: 15px; }
    .premium-partner-plaque { height: 100px !important; padding: 15px !important; }
    .premium-partner-plaque img { max-height: 50px !important; }
    .tier-line { max-width: 80px; }
}

/* ==========================================================================
   2.8 PÁGINA RECRUTAMENTO (FORMULÁRIO E PROCESSO)
   ========================================================================== */

/* Fundo Imersivo - Serra da Estrela (Otimizado contra bordas brancas do blur) */
.bg-mountain-container {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2;
    overflow: hidden; background-color: var(--darker);
}
.bg-mountain {
    position: absolute; top: -5%; left: -5%; width: 110%; height: 110%;
    background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?q=80&w=2070');
    background-size: cover; background-position: center; 
    filter: blur(8px) brightness(0.3);
}
.bg-mountain-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px; pointer-events: none;
}

/* Processo de Recrutamento (Bento Cards) */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-bottom: 20px; }
.process-card {
    background: linear-gradient(145deg, rgba(2, 28, 55, 0.4), rgba(0, 4, 8, 0.9));
    backdrop-filter: blur(10px); border: 1px solid var(--glass-border); 
    border-top: 3px solid var(--accent); padding: 40px 30px; 
    position: relative; transition: var(--transition); border-radius: 12px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5); height: 100%; display: flex; flex-direction: column;
}
.process-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.6); border-color: var(--accent); }
.process-step { font-family: 'Oswald', sans-serif; color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 20px; display: flex; align-items: center; gap: 15px; }
.process-step::after { content: ''; flex-grow: 1; height: 1px; background: rgba(255,255,255,0.15); }

/* Portal de Formulário (Terminal de Engenharia) */
.pro-form-container {
    background: linear-gradient(145deg, rgba(2, 18, 36, 0.8), rgba(0, 4, 8, 0.95));
    backdrop-filter: blur(20px); border: 1px solid var(--glass-border); 
    border-top: 4px solid var(--accent); border-radius: 12px;
    padding: 50px; box-shadow: 0 30px 60px rgba(0,0,0,0.8); margin-top: 20px;
}
.pro-form-header { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; margin-bottom: 40px; text-align: center; }
.input-group label { display: block; margin-bottom: 8px; color: var(--white); font-weight: 600; font-size: 0.95rem; }
.pro-input {
    width: 100%; background: rgba(0, 4, 8, 0.6); border: 1px solid rgba(255,255,255,0.15);
    color: var(--white); padding: 15px 20px; border-radius: 4px; font-family: 'Inter', sans-serif; 
    font-size: 1rem; transition: var(--transition);
}
.pro-input:focus { outline: none; border-color: var(--accent); background: rgba(2, 28, 55, 0.9); box-shadow: 0 0 15px rgba(255,204,0,0.2); }

select.pro-input { appearance: none; -webkit-appearance: none; cursor: pointer; }
.pro-select-wrapper { position: relative; }
.pro-select-wrapper::after {
    content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--accent); pointer-events: none;
}
.fieldset-divider { border-top: 1px dashed rgba(255,255,255,0.1); margin: 40px 0; }
.form-submit-btn { width: 100%; padding: 20px; font-size: 1.1rem; border-radius: 4px; cursor: pointer; text-transform: uppercase; font-family: 'Inter', sans-serif; font-weight: bold; letter-spacing: 1px; }

@media (max-width: 768px) { .pro-form-container { padding: 30px 20px; } }

/* ==========================================================================
   CORREÇÃO DEFINITIVA DE CENTRAMENTO E SOBREPOSIÇÃO (HEROES)
   ========================================================================== */

/* 1. Transforma os Heroes em contentores flexíveis e inteligentes */
.hero-comp, .hero-car { 
    display: flex !important; 
    flex-direction: column !important; 
    min-height: 100vh !important; 
    padding: 100px 20px 20px 20px !important; 
    background-size: cover; 
    background-position: center; 
    position: relative;
}

/* 2. A Magia do Centramento Absoluto */
.hero-comp .hero-content, .hero-car .hero-content {
    margin: auto !important; 
    z-index: 2; 
    width: 100%; 
    max-width: 1000px; 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    text-align: center;
}

/* 3. Botão DESCER genérico (Fica colado ao fundo) */
.scroll-indicator-wrapper {
    position: relative !important; 
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto 30px auto !important; 
    z-index: 10;
}

/* 4. BOTÃO INICIAR SISTEMAS (AQUI ESTÁ A CORREÇÃO DO ESPAÇO!) */
.power-start-container {
    position: relative !important; 
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 53px auto 0px auto !important; 
    z-index: 10;
}

.scroll-indicator-wrapper a {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    text-decoration: none; outline: none; animation: bounce 2s infinite; transition: opacity 0.3s;
}
.scroll-indicator-wrapper a:hover { opacity: 0.7; }
.scroll-indicator-wrapper span { font-size: 0.85rem; color: var(--accent); letter-spacing: 3px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.scroll-indicator-wrapper i { color: var(--white); font-size: 1.8rem; }

/* ==========================================================================
   BLOCO 3: RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 900px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 40px; }
    .section-padding { padding: 80px 0; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-title::after { content: ''; display: block; width: 40px; height: 2px; background: var(--accent); margin: 10px auto 0; }
    .social-icons, .location-link { justify-content: center; }
    .mobile-menu-toggle { display: flex; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 85%; height: 100vh; background: rgba(1,8,17,0.98); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; transition: 0.4s; border-left: 1px solid var(--glass-border); }
    .nav-links.nav-active { right: 0; box-shadow: -20px 0 50px rgba(0,0,0,0.8); }
}