/* ==========================================================================
   DESIGN SYSTEM - B8 ARQUITETURA E DESIGN
   Estética: Wayfinding, Sinalização de Alta Visibilidade e Tecnologia LED
   ========================================================================== */

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

:root {
    /* Cores do Logotipo B8 & Paleta de Sinalização */
    --color-yellow: #FED655;         /* Amarelo B8 Original */
    --color-yellow-dark: #C9A13B;    /* Sombra do Logo / Tom Escuro */
    --color-yellow-glow: rgba(254, 214, 85, 0.35);
    
    /* Tons Escuros (Tema Principal) */
    --bg-dark-pure: #08080a;         /* Fundo Preto Absoluto (estilo painel/túnel) */
    --bg-dark-card: #121216;         /* Placas e Cards */
    --bg-dark-card-hover: #191920;   /* Destaque ao pairar */
    --border-dark: rgba(254, 214, 85, 0.15); /* Bordas com brilho sutil */
    --text-dark-main: #F5F5F7;       /* Branco de sinalização */
    --text-dark-muted: #9E9EAF;      /* Cinza de suporte */
    
    /* Cores das Linhas de Transporte (Acentos de Destaque) */
    --line-blue: #0055A5;            /* Linha 1 - Azul */
    --line-green: #00824B;           /* Linha 2 - Verde */
    --line-red: #EE3124;             /* Linha 3 - Vermelho */
    --line-yellow: #FED655;          /* Linha 4 - Amarela (B8) */
    --line-lilac: #8C2D8C;           /* Linha 5 - Lilás */
    --line-silver: #A0A0A0;          /* Monotrilho - Prata */

    /* Variáveis Ativas (Padrão: Escuro) */
    --bg-primary: var(--bg-dark-pure);
    --bg-secondary: var(--bg-dark-card);
    --bg-secondary-hover: var(--bg-dark-card-hover);
    --border-color: var(--border-dark);
    --text-main: var(--text-dark-main);
    --text-muted: var(--text-dark-muted);
    
    /* Efeitos */
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 4px;                /* Cantos retos e técnicos estilo sinalização */
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* Modo Claro (Transição Suave para Acessibilidade) */
body.light-theme {
    --bg-primary: #F7F7FA;
    --bg-secondary: #FFFFFF;
    --bg-secondary-hover: #F0F0F5;
    --border-color: rgba(0, 0, 0, 0.1);
    --text-main: #1C1C1E;
    --text-muted: #686873;
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   RESET & CONFIGURAÇÕES GERAIS
   ========================================================================== */

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s, color 0.4s;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, textarea, select {
    font-family: inherit;
}

/* Scrollbar Personalizado (Estilo Linha de Trem) */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--color-yellow);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-yellow-dark);
}

/* ==========================================================================
   LAYOUT E ELEMENTOS ESTRUTURAIS
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 120px 0;
    position: relative;
}

/* Grade de Sinalização (Linha Vertical Guia) */
.transit-grid-guide {
    position: absolute;
    top: 0;
    left: calc(50% - 1px);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent, 
        var(--color-yellow) 10%, 
        var(--color-yellow) 90%, 
        transparent);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   LOGOTIPO E CABEÇALHO (HEADER)
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 8, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

body.light-theme .site-header {
    background: rgba(247, 247, 250, 0.85);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Logotipo B8 Recriado em CSS com Efeito 3D do Upload original */
.logo-b8 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-yellow);
    line-height: 1;
    letter-spacing: -0.05em;
    position: relative;
    display: inline-block;
    padding: 2px 4px;
    /* Efeito de Dupla Camada idêntico ao logotipo do usuário */
    text-shadow: 2px 2px 0px #000, 3.5px 3.5px 0px var(--color-yellow-dark);
}

body.light-theme .logo-icon {
    text-shadow: 2px 2px 0px #FFF, 3.5px 3.5px 0px var(--color-yellow-dark);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-main);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Menu de Navegação */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-yellow);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Botões e Ações */
.btn-header {
    background: transparent;
    color: var(--color-yellow);
    border: 1px solid var(--color-yellow);
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-header:hover {
    background: var(--color-yellow);
    color: #000;
    box-shadow: 0 0 15px var(--color-yellow-glow);
}

/* Botão Alternador de Tema (Estilo Interruptor Metroviário) */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: var(--transition-smooth);
}

.theme-toggle:hover {
    color: var(--color-yellow);
    transform: scale(1.1);
}

/* Menu Mobile Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   SEÇÃO HERO (INTRODUÇÃO DE IMPACTO)
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background-attachment: fixed;
    overflow: hidden;
}

/* Linhas Digitais Dinâmicas no Background */
.hero-bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.12;
}

.hero-bg-lines svg {
    width: 100%;
    height: 100%;
}

.hero-content {
    max-width: 780px;
    position: relative;
    z-index: 5;
}

.badge-legacy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254, 214, 85, 0.1);
    border: 1px solid var(--color-yellow);
    color: var(--color-yellow);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    animation: pulseGlow 3s infinite alternate;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-title span {
    color: var(--color-yellow);
    background: linear-gradient(to right, var(--color-yellow), #FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none !important;
}

body.light-theme .hero-title span {
    background: linear-gradient(to right, var(--color-yellow-dark), #000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--color-yellow);
    color: #000;
    border: 1px solid var(--color-yellow);
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 20px var(--color-yellow-glow);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-yellow);
    box-shadow: 0 0 30px var(--color-yellow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

/* Destaques Rápidos na Base do Hero */
.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
}

.highlight-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-yellow);
    line-height: 1;
    margin-bottom: 8px;
}

.highlight-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* ==========================================================================
   SEÇÃO LEGADO (LINHA DO TEMPO)
   ========================================================================== */

.section-header {
    margin-bottom: 60px;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-yellow);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Linha do Tempo Estilo Linha de Metrô */
.timeline-container {
    position: relative;
    margin-top: 60px;
    padding-left: 30px;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 8px;
    width: 4px;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 2px;
    overflow: hidden;
}

.timeline-line-fill {
    width: 100%;
    height: 0%;
    background: var(--color-yellow);
    transition: height 0.5s ease;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: -28px;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 4px solid var(--bg-secondary);
    z-index: 5;
    transition: var(--transition-smooth);
}

.timeline-item.active .timeline-node {
    border-color: var(--color-yellow);
    box-shadow: 0 0 10px var(--color-yellow-glow);
}

.timeline-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    border-color: rgba(254, 214, 85, 0.3);
    transform: translateX(5px);
}

.timeline-year {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-yellow);
    margin-bottom: 8px;
}

.timeline-role {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   SEÇÃO ESPECIALIDADES & SERVIÇOS
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    z-index: 2;
    position: relative;
}

.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

/* Cores de linha diferentes para os cards simulando linhas do metrô */
.service-card:nth-child(1)::before { background: var(--line-blue); }
.service-card:nth-child(2)::before { background: var(--line-green); }
.service-card:nth-child(3)::before { background: var(--line-yellow); }
.service-card:nth-child(4)::before { background: var(--line-red); }
.service-card:nth-child(5)::before { background: var(--line-silver); }

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(254, 214, 85, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-yellow);
    margin-bottom: 24px;
}

/* Destaque individual para as cores da linha do ícone */
.service-card:nth-child(1) .service-icon { color: var(--line-blue); }
.service-card:nth-child(2) .service-icon { color: var(--line-green); }
.service-card:nth-child(3) .service-icon { color: var(--line-yellow); }
.service-card:nth-child(4) .service-icon { color: var(--line-red); }
.service-card:nth-child(5) .service-icon { color: var(--line-silver); }

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.service-features li::before {
    content: '→';
    color: var(--color-yellow);
    font-weight: bold;
}

/* ==========================================================================
   PARCERIA UNILUMIN BRASIL
   ========================================================================== */

.unilumin-showcase {
    background: linear-gradient(135deg, #0f0f15 0%, #050508 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px;
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

body.light-theme .unilumin-showcase {
    background: linear-gradient(135deg, #FFFFFF 0%, #F4F4F9 100%);
}

/* Detalhe luminoso no fundo Unilumin */
.unilumin-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(254, 214, 85, 0.08) 0%, transparent 70%);
    right: -50px;
    top: -50px;
    pointer-events: none;
}

.unilumin-text {
    display: flex;
    flex-direction: column;
}

.unilumin-badge {
    background: #0055A5; /* Azul Unilumin */
    color: #FFF;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    width: fit-content;
    margin-bottom: 20px;
}

.unilumin-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.unilumin-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.unilumin-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bullet-icon {
    color: var(--color-yellow);
    font-size: 1.2rem;
    line-height: 1;
}

.bullet-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.bullet-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.unilumin-visual {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    aspect-ratio: 16/10;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.led-panel-mock {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.unilumin-visual:hover .led-panel-mock {
    transform: scale(1.05);
    opacity: 1;
}

/* ==========================================================================
   PORTFÓLIO E PROJETOS
   ========================================================================== */

.portfolio-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    z-index: 2;
    position: relative;
}

.filter-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-yellow);
    color: #000;
    border-color: var(--color-yellow);
    box-shadow: var(--shadow-premium);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    z-index: 2;
    position: relative;
}

.portfolio-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: rgba(254, 214, 85, 0.3);
    box-shadow: var(--shadow-premium);
}

.portfolio-image-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #15151b;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tag {
    background: var(--color-yellow);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.portfolio-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.portfolio-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    flex-grow: 1;
}

.portfolio-meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-yellow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
}

/* ==========================================================================
   FORMULÁRIO DE CONTATO E COTAÇÃO
   ========================================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    z-index: 2;
    position: relative;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-item {
    display: flex;
    gap: 20px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(254, 214, 85, 0.1);
    border: 1px solid var(--color-yellow);
    border-radius: var(--radius-sm);
    color: var(--color-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.detail-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.detail-text p, .detail-text a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.detail-text a:hover {
    color: var(--color-yellow);
}

.contact-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    outline: none;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FED655'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--color-yellow);
    box-shadow: 0 0 8px rgba(254, 214, 85, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    grid-column: span 2;
    justify-content: center;
    margin-top: 10px;
}

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */

.site-footer {
    background: #050507;
    color: #FFF;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
    position: relative;
    z-index: 2;
}

body.light-theme .site-footer {
    background: #1C1C1E;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info p {
    color: var(--text-dark-muted);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-yellow);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-dark-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-yellow);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-dark-muted);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-dark-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--color-yellow);
    color: #000;
    border-color: var(--color-yellow);
}

/* ==========================================================================
   ANIMAÇÕES E EFEITOS
   ========================================================================== */

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(254, 214, 85, 0.1);
    }
    100% {
        box-shadow: 0 0 15px rgba(254, 214, 85, 0.35);
    }
}

/* Responsividade Adaptável */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .unilumin-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    .nav-menu {
        display: none; /* Ativado via JS para mobile */
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-section {
        padding-top: 80px;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    .contact-form {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .form-group.full-width, .btn-submit {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   MARCOS DE INOVAÇÃO (MILESTONES)
   ========================================================================== */
.milestones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.milestone-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.milestone-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-yellow);
    box-shadow: 0 5px 20px rgba(254, 214, 85, 0.08);
}

.milestone-year-badge {
    background: rgba(254, 214, 85, 0.1);
    color: var(--color-yellow);
    border: 1px solid var(--color-yellow);
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 800;
    width: fit-content;
    border-radius: var(--radius-sm);
}

.milestone-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

.milestone-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   VIDEO PLAYER STYLE
   ========================================================================== */
.unilumin-video-container {
    width: 100%;
    margin-top: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid rgba(0, 85, 165, 0.3); /* Azul Unilumin */
    box-shadow: 0 8px 30px rgba(0, 85, 165, 0.15);
    background: #000;
    position: relative;
    aspect-ratio: 16/9;
    transition: var(--transition-smooth);
}

.unilumin-video-container:hover {
    border-color: #0055A5;
    box-shadow: 0 8px 30px rgba(0, 85, 165, 0.4);
}

.unilumin-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-caption {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0055A5; /* Azul Unilumin */
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.light-theme .video-caption {
    color: #0055A5;
}

/* ==========================================================================
   SEÇÃO PARCEIROS (PARTNERS)
   ========================================================================== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    z-index: 2;
    position: relative;
}

.partner-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-yellow);
    box-shadow: var(--shadow-premium);
}

.partner-logo-box {
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px dashed var(--border-color);
}

body.light-theme .partner-logo-box {
    background: rgba(0, 0, 0, 0.02);
}

.partner-text-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.partner-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.partner-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   PROTEÇÃO ANTI-SPAM (HONEYPOT)
   ========================================================================== */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* ==========================================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde oficial do WhatsApp para reconhecimento imediato */
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E; /* Verde mais escuro no hover */
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    animation: none; /* Pausa a animação ao passar o mouse */
}

/* Animação sutil de pulso para chamar atenção sem ser intrusiva */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Ajuste para mobile: não cobrir o rodapé ou ficar muito grande */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}