:root {
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --surface-card: rgba(255, 255, 255, 0.85);
    --surface-card-hover: rgba(241, 249, 243, 0.95);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(80, 183, 72, 0.4);
    --header-bg: rgba(255, 255, 255, 0.85);
    
    --accent-green: #50b748;      
    --accent-green-dark: #007c3d; 
    --accent-gradient: linear-gradient(135deg, #50b748 0%, #044f29 100%);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-mode {
    --bg-color: #030508;
    --surface-color: #080c14;
    --surface-card: rgba(13, 19, 33, 0.8);
    --surface-card-hover: rgba(18, 26, 45, 0.95);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(80, 183, 72, 0.4);
    --header-bg: rgba(3, 5, 8, 0.85);
}

body.light-mode {
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --surface-card: rgba(255, 255, 255, 0.85);
    --surface-card-hover: rgba(242, 249, 241, 0.95);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(80, 183, 72, 0.4);
    --header-bg: rgba(255, 255, 255, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    transition: background-color 0.4s ease, color 0.4s ease;
}

img, video, svg {
    max-width: 100%;
    height: auto;
}

/* Header / Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 6%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.logo-nav {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
    align-items: center;
}

.logo-nav span {
    color: var(--accent-green);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
}

nav ul li a:hover,
nav ul li a.active-tab {
    color: var(--accent-green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}


/* Menu Padrão (Desktop) */
header nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
}

header nav ul li a:hover,
header nav ul li a.active-tab {
    color: var(--accent-green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Sistema de Abas (Visível / Invisível) */
.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding-top: 90px; /* Compensa a altura do header fixo */
    min-height: 100vh;
}

.tab-pane.active-pane {
    display: block;
    opacity: 1;
}

/* Botão Hambúrguer (Escondido por padrão no Desktop) */
.menu-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 5px;
    z-index: 1001;
}.logo-nav {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo-nav span {
    color: var(--accent-green);
}

/* Menu Padrão (Desktop) */
header nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
}

header nav ul li a:hover,
header nav ul li a.active-tab {
    color: var(--accent-green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Sistema de Abas (Visível / Invisível) */
.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding-top: 90px;
    min-height: 100vh;
}

.tab-pane.active-pane {
    display: block;
    opacity: 1;
}

/* Botão Hambúrguer (Escondido por padrão no Desktop) */
.menu-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 5px;
    z-index: 1001;
}

/* ==========================================
   RESPONSIVIDADE MOBILE (Abaixo de 900px)
   ========================================== */
@media (max-width: 900px) {
    .menu-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    header nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--header-bg);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.4s ease-in-out, visibility 0.4s ease, padding 0.4s ease;
    }

    header nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 6%;
    }

    header nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.05));
    }

    header nav ul li a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.05rem;
    }

    /* Ativado pelo script JavaScript */
    header nav.active-nav {
        max-height: 350px;
        visibility: visible;
        padding-bottom: 1rem;
    }
}
/* --- Seção Estilo Banner de Propósito (Baseada na Imagem) --- */
.purpose-hero-section {
    position: relative;
    min-height: 80vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6rem 8%;
    background: url('imagens/Institucional.png') center/cover no-repeat fixed; /* Imagem de fundo temática com efeito parallax */
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    margin-bottom: 4rem;
}

.purpose-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 5, 8, 0.617) 0%, rgba(3, 5, 8, 0.183) 100%);
    z-index: 1;
}

.purpose-content-box {
    position: relative;
    z-index: 2;
    max-width: 850px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.purpose-subtitle-top {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #cbd5e1;
}

.purpose-title-main {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.purpose-highlight-badge {
    background-color: var(--accent-green);
    color: #ffffff;
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 10px 25px rgba(80, 183, 72, 0.3);
}

@media (max-width: 768px) {
    .purpose-title-main, .purpose-highlight-badge {
        font-size: 2.2rem;
    }
    .purpose-hero-section {
        padding: 4rem 5%;
    }
}

/* Hero Section com Parallax (Aba 1) */
.hero-section {
    position: relative;
    height: calc(100vh - 90px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('imagens/Institucional.png') center/cover no-repeat fixed ;
}

.hero-section-quem-somos {
    position: relative;
    height: calc(100vh - 90px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: 
        linear-gradient(0deg, rgba(3, 5, 8, 0.95) 0%, rgba(3, 5, 8, 0.4) 60%, rgba(3, 5, 8, 0.1) 100%), 
        url('imagens/quem_somos (3).png') center / cover no-repeat fixed;
}




.hero-section-quem-somos h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff; /* Cor de fallback caso o navegador não suporte gradiente em texto */
    text-align: center;
    max-width: 800px;
    line-height: 1.2;
    margin: 0 auto 1rem auto; /* Centraliza o bloco e dá um respiro inferior */
    letter-spacing: -0.02em;
    
    
}

.hero-section-saude-seguranca {
    position: relative;
    height: calc(100vh - 90px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: 
        linear-gradient(0deg, rgba(3, 5, 8, 0.95) 0%, rgba(3, 5, 8, 0.4) 60%, rgba(3, 5, 8, 0.1) 100%), 
        url('imagens/saude_seguranca.png') center / cover no-repeat fixed;
}



.hero-section-saude-seguranca h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff; /* Cor de fallback caso o navegador não suporte gradiente em texto */
    text-align: center;
    max-width: 800px;
    line-height: 1.2;
    margin: 0 auto 1rem auto; /* Centraliza o bloco e dá um respiro inferior */
    letter-spacing: -0.02em;
    
}

.hero-section-meio-ambiente {
    position: relative;
    height: calc(100vh - 90px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: 
        linear-gradient(0deg, rgba(3, 5, 8, 0.95) 0%, rgba(3, 5, 8, 0.4) 60%, rgba(3, 5, 8, 0.1) 100%), 
        url('imagens/meio_ambiente.png') center / cover no-repeat fixed;
}



.hero-section-meio-ambiente  h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff; /* Cor de fallback caso o navegador não suporte gradiente em texto */
    text-align: center;
    max-width: 800px;
    line-height: 1.2;
    margin: 0 auto 1rem auto; /* Centraliza o bloco e dá um respiro inferior */
    letter-spacing: -0.02em;
    
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
    z-index: 1;
    pointer-events: none;
}

.center-logo-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
}

.center-logo {
    max-width: 380px;
    width: 100%;
    height: auto;
}

/* ==========================================
   NOVOS CARDS DE MÉTRICAS - PRESENÇA NACIONAL
   ========================================== */
.national-metrics-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.nat-metric-card {
    background: var(--surface-card, rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.nat-metric-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 20px 40px rgba(80, 183, 72, 0.12);
}

.nat-metric-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(80, 183, 72, 0.12);
    border: 1px solid rgba(80, 183, 72, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nat-metric-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-green);
}

.nat-metric-text-box h4 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-green);
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
}

.nat-metric-text-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0.2rem 0 0 0;
}

/* Suporte ao Modo Escuro para os novos cards */
body.dark-mode .nat-metric-card {
    background: rgba(13, 19, 33, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Responsividade para telas menores e celulares */
@media (max-width: 1024px) {
    .national-metrics-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   ESTILOS - SEÇÃO PRESENÇA NACIONAL (CLEAN & METRICS)
   ========================================== */
.map-section {
    padding: 7rem 6%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    width: 100%;
}

.map-container {
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.map-section-header {
    text-align: left;
    max-width: 700px;
}

.map-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-green);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.map-section-header h2 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.map-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* Split Layout: Esquerda (Métricas + Banner OE500) | Direita (Mapa) */
.map-metrics-split-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.25fr; /* Dá mais espaço para o mapa respirar na direita */
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.map-metrics-left-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Lista de Métricas Integradas */
.integrated-metrics-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.int-metric-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Ícones Circulares com Fundo Verde */
.int-metric-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(80, 183, 72, 0.15);
    border: 1px solid rgba(80, 183, 72, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.int-metric-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-green, #50b748);
}

.int-metric-text-box h4 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-green, #50b748);
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
}

.int-metric-text-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0.2rem 0 0 0;
}

/* Banner da Revista OE 500 (Estilo da Imagem de Referência) */
.oe500-banner-card {
    background: var(--accent-green, #166534); /* Fundo verde institucional forte */
    border-radius: 20px;
    padding: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 15px 35px rgba(22, 101, 52, 0.2);
    color: #ffffff;
}

.oe500-revista-img {
    width: 90px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.oe500-text-content h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 0.4rem 0;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.oe500-text-content p {
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Coluna Direita: O Mapa Limpo */
.map-graphics-right-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.box-mapa-clean {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mapa-img-fluid {
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.06));
}

/* ==========================================
   SUPORTE AO DARK MODE
   ========================================== */
body.dark-mode .oe500-banner-card {
    background: rgba(22, 101, 52, 0.85);
    border: 1px solid rgba(80, 183, 72, 0.3);
}

/* ==========================================
   RESPONSIVIDADE (MOBILE & TABLETS)
   ========================================== */
@media (max-width: 1024px) {
    .map-metrics-split-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .oe500-banner-card {
        padding: 1.4rem;
        flex-direction: column;
        text-align: center;
    }

    .oe500-revista-img {
        width: 110px;
    }
}

/* ==========================================
   SEÇÃO QUEM SOMOS (Card Sobreposto com Blur Esbranquiçado)
   ========================================== */
.quem-somos-section {
    position: relative;
    padding: 7rem 6%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
}

.quem-somos-wrapper {
    max-width: 1200px;
    width: 100%;
}

/* Container de Sobreposição */
.quem-somos-overlap-container {
    position: relative;
    width: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
}

/* Imagem Maior com Bordas Arredondadas */
.quem-somos-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 480px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    z-index: 1;
}

.quem-somos-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
}

/* Caixa de Texto Flutuante com Glassmorphism Esbranquiçado */
.quem-somos-floating-card {
    position: relative;
    z-index: 2;
    margin-left: 5%; /* Deslocada para dentro da imagem */
    margin-top: 140px; /* Sobrepõe a parte inferior da imagem */
    max-width: 680px;
    width: 100%;
    
    /* Estilo Glassmorphism Esbranquiçado e Elegante */
    background: rgba(255, 255, 255, 0.82); /* Fundo claro translúcido */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    
    padding: 3.5rem 3rem;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Suporte para o Modo Escuro mantendo o Blur sofisticado */
body.dark-mode .quem-somos-floating-card {
    background: rgba(13, 19, 33, 0.85); /* Tom escuro translúcido no dark mode */
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quem-somos-floating-card h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--accent-green);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.quem-somos-floating-card p {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 300;
}

/* Responsividade para Celulares e Tablets */
@media (max-width: 992px) {
    .quem-somos-overlap-container {
        min-height: auto;
        display: flex;
        flex-direction: column;
    }
    .quem-somos-bg-image {
        position: relative;
        height: 320px;
        width: 100%;
    }
    .quem-somos-floating-card {
        margin-left: 0;
        margin-top: -40px; /* Sobrepõe levemente a imagem em telas menores */
        padding: 2.5rem 2rem;
        max-width: 100%;
    }
}



/* ==========================================
   ESTILOS DA SEÇÃO DE DIFERENCIAIS
   ========================================== */
.diferenciais-section {
    position: relative;
    padding: 7rem 6%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.diferenciais-split-wrapper {
    max-width: 1300px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

/* Coluna Esquerda: Texto institucional limpo */
.diff-left-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.diff-breadcrumb {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-green);
    text-transform: uppercase;
}

.diff-header-content h2 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.diff-subheading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.diff-left-col p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

/* Coluna Direita: Caixa com Imagem de Fundo (Parallax) e Cards Empilhados */
.diff-right-col {
    position: relative;
    width: 100%;
    min-height: 580px;
    border-radius: 32px;
    background: url('imagens/diferenciais.png') center / cover no-repeat fixed; /* Parallax ativado */
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.021);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* Camada escura translúcida sobre a imagem para garantir leitura perfeita dos cards */
.diff-right-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    z-index: 1;
}

.diff-top-brand,
.diff-cards-stack {
    position: relative;
    z-index: 2;
}

.spengi-logo-text {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Pilha de Cards Translúcidos (Glassmorphism) */
.diff-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 2rem;
}

.diff-card-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1.1rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

.diff-card-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(6px);
    border-color: rgba(80, 183, 72, 0.6);
}

.diff-icon {
    width: 28px;
    height: 28px;
    background: rgba(80, 183, 72, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(80, 183, 72, 0.4);
    flex-shrink: 0;
}

/* Responsividade para Telas Menores e Celulares */
@media (max-width: 1024px) {
    .diferenciais-split-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .diff-right-col {
        min-height: auto;
        background-attachment: scroll; /* Desativa o fixed em mobile para melhor rolagem */
        padding: 2.5rem 1.5rem;
    }

}

/* ==========================================
   ESTILOS EXCLUSIVOS DA SEÇÃO DE ATITUDES
   ========================================== */
.atitudes-section {
    position: relative;
    padding: 7rem 6%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Coluna Direita Específica das Atitudes (Centralizada e Sem Fundo Poluído) */
.diff-right-col-atitudes {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.atitudes-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    max-width: 480px;
    margin-left: auto; /* Garante alinhamento na extremidade da coluna como na de cima */
}

/* Card Clean com Glassmorphism baseado nas variáveis do seu projeto */
.atitudes-card-clean {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    padding: 1.25rem 1.6rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s ease, 
                border-color 0.3s ease;
}

.atitudes-card-clean:hover {
    transform: translateX(6px); /* Efeito suave de deslizamento idêntico ao diff-card-item */
    border-color: var(--accent-green);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

/* Ícones das ISOs */
.atitudes-iso-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atitudes-iso-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Informações do Card */
.atitudes-card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.atitudes-badge {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-green);
    background: rgba(80, 183, 72, 0.12);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 0.4rem;
}

.atitudes-card-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.2rem 0;
    line-height: 1.2;
}

.atitudes-card-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}

/* ==========================================
   SUPORTE AO DARK MODE
   ========================================== */
body.dark-mode .atitudes-card-clean {
    background: rgba(22, 27, 34, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.dark-mode .atitudes-card-clean:hover {
    background: rgba(30, 38, 48, 0.85);
    border-color: var(--accent-green);
}

/* Responsividade Mobile */
@media (max-width: 1024px) {
    .atitudes-cards-stack {
        max-width: 100%;
        margin-left: 0;
    }
}

/* Blocos de Propósito e Métricas (Aba 1) */
.home-content-wrapper {
    padding: 6rem 6%;
    background: var(--surface-color);
}

.purpose-box {
    max-width: 800px;
    margin: 0 auto 5rem auto;
    text-align: center;
}

.purpose-box h2 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.purpose-box p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.metric-card {
    background: var(--surface-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-green);
}

.metric-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    box-shadow: 0 25px 50px rgba(80, 183, 72, 0.15);
}

.metric-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-green);
    margin-bottom: 1rem;
    display: inline-block;
}

.metric-card h3 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.metric-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Aba Sobre (Quem Somos, Certificações, Diferenciais) */
.about-page-container {
    padding: 6rem 6%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.about-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-weight: 300;
}
/* ==========================================
   BANNER E PAINEL VIVA (Segurança e Meio Ambiente)
   ========================================== */

.hero-section-sustentabilidade {
    position: relative;
    height: calc(100vh - 90px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: 
        linear-gradient(0deg, rgba(3, 5, 8, 0.95) 0%, rgba(3, 5, 8, 0.4) 60%, rgba(3, 5, 8, 0.1) 100%), 
        url('imagens/meio-ambiente.png') center / cover no-repeat fixed;
}

.hero-section-sustentabilidade h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff; /* Cor de fallback caso o navegador não suporte gradiente em texto */
    text-align: center;
    max-width: 800px;
    line-height: 1.2;
    margin: 0 auto 1rem auto; /* Centraliza o bloco e dá um respiro inferior */
    letter-spacing: -0.02em;
}
.safety-environment-container {
    padding: 4rem 6%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Banner de Fundo com Imagem em Parallax / Cover */
.safety-hero-banner {
    background: url('imagens/seguranca.png') center/cover no-repeat;
    border-radius: 28px;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* Cartão Branco Flutuante (Painel VIVA) */
.viva-white-panel {
    background: #ffffff;
    border-radius: 40px 16px 16px 16px; /* Canto superior esquerdo arredondado exclusivo */
    padding: 3rem 2.5rem;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    color: #222222;
    text-align: left;
}

/* ------------------------------------------
   CABEÇALHO FLEX (ESCUDO + TEXTO VIVA)
   ------------------------------------------ */
.panel-header-flex {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Tamanho e proporção do Escudo */
.panel-shield-sm {
    width: 75px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.panel-title-block {
    display: flex;
    flex-direction: column;
}

.panel-title-block h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #222222;
    margin: 0;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.panel-title-block span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333333;
    margin-top: 0.3rem;
    line-height: 1.2;
    display: block;
}

/* ------------------------------------------
   CORPO DE TEXTO E MÉTRICA
   ------------------------------------------ */
.panel-body-text p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 1rem;
    font-weight: 400;
}

.panel-body-text p:last-child {
    margin-bottom: 0;
}

.panel-footer-metric p {
    font-size: 1rem;
    line-height: 1.4;
    color: #10b981; /* Cor verde destaque */
    margin: 0;
}

.metric-value-green {
    font-weight: 800;
    color: #10b981;
}

/* Dark Mode: Mantém o cartão visível e elegante */
body.dark-mode .viva-white-panel {
    background: rgba(22, 27, 34, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

body.dark-mode .panel-title-block h2,
body.dark-mode .panel-title-block span {
    color: #ffffff;
}

body.dark-mode .panel-body-text p {
    color: #cccccc;
}

/* Responsividade Mobile */
@media (max-width: 600px) {
    .viva-white-panel {
        padding: 2rem 1.5rem;
        max-width: 100%;
        border-radius: 24px;
    }
    
    .panel-shield-sm {
        width: 60px;
    }

    .panel-title-block h2 {
        font-size: 2.4rem;
    }
}

/* ==========================================
   ESTILOS EXCLUSIVOS - SUSTENTABILIDADE
   ========================================== */
.spengi-sustentabilidade-section {
    position: relative;
    padding: 7rem 6%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Contentor Principal Dividido (Split) - Essencial para evitar cortes */
.diferenciais-split-wrapper {
    max-width: 1300px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    box-sizing: border-box;
    min-width: 0;
}

/* Coluna da Esquerda (Texto) */
.diff-left-col {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    min-width: 0;
}

/* Grid da Direita: 2 colunas de cards */
.sustentabilidade-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

/* Card Clean com Layout Flex Alinhado */
.sust-card-clean {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    padding: 1.4rem;
    border-radius: 18px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s ease, 
                border-color 0.3s ease;
}

.sust-card-clean:hover {
    transform: translateY(-4px);
    border-color: var(--accent-green);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Ícone SVG em Verde Accent */
.sust-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(80, 183, 72, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sust-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-green, #50b748);
}

/* Conteúdo Tipográfico Flexível */
.sust-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
    flex: 1;
}

.sust-card-content h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.sust-card-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.45;
    font-weight: 400;
    word-break: break-word;
}

/* Modo Escuro */
body.dark-mode .sust-card-clean {
    background: rgba(22, 27, 34, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.dark-mode .sust-card-clean:hover {
    background: rgba(30, 38, 48, 0.85);
    border-color: var(--accent-green);
}

/* ==========================================
   RESPONSIVIDADE (Tablets e Telemóveis)
   ========================================== */
@media (max-width: 1024px) {
    .diferenciais-split-wrapper {
        grid-template-columns: 1fr; /* Transforma em uma única coluna antes de cortar */
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .spengi-sustentabilidade-section {
        padding: 5rem 5%;
    }
    
    .sustentabilidade-cards-grid {
        grid-template-columns: 1fr; /* Cards empilhados um abaixo do outro no mobile */
        gap: 1rem;
    }
}

/* Aba Atividades (Blocos Verticais Alternados com Parallax) */

.hero-section-activities {
    position: relative;
    height: calc(100vh - 90px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: 
        linear-gradient(0deg, rgba(3, 5, 8, 0.95) 0%, rgba(3, 5, 8, 0.4) 60%, rgba(3, 5, 8, 0.1) 100%), 
        url('imagens/atividades.png') center / cover no-repeat fixed;
}

.hero-section-activities h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff; /* Cor de fallback caso o navegador não suporte gradiente em texto */
    text-align: center;
    max-width: 800px;
    line-height: 1.2;
    margin: 0 auto 1rem auto; /* Centraliza o bloco e dá um respiro inferior */
    letter-spacing: -0.02em;
    
    
}
/* ==========================================
   SEÇÃO NOSSAS ATIVIDADES (Estilo Split com Imagem)
   ========================================== */
.activities-section {
    padding: 7rem 6%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
}

.activities-container {
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Cabeçalho da Seção (Alinhado ao Padrão do Site) */
.activities-section-header {
    text-align: left;
    max-width: 700px;
}

.activities-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-green);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.activities-section-header h2 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.activities-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* ------------------------------------------
   NAVEGAÇÃO POR ABAS (TABS)
   ------------------------------------------ */
.activity-tabs-nav {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    padding-bottom: 1rem;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 0.8rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth, all 0.3s ease);
}

.tab-btn:hover {
    color: var(--accent-green);
    background: rgba(80, 183, 72, 0.08);
}

.tab-btn.active {
    background: var(--accent-green);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(80, 183, 72, 0.3);
}

/* ------------------------------------------
   CONTAINER DO PAINEL ATIVO (LAYOUT SPLIT)
   ------------------------------------------ */
.activity-panels-wrapper {
    width: 100%;
}

.activity-panel {
    display: none; /* Controlado via JS pelas abas */
    width: 100%;
}

.activity-panel.active {
    display: block;
    animation: fadeInTab 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estrutura de Duas Colunas (Imagem na Esquerda, Conteúdo na Direita) */
.activity-card-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr; /* Dividido como no modelo da foto */
    gap: 3.5rem;
    align-items: center;
    background: var(--surface-color, #ffffff);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.04);
}

/* Lado da Imagem (Inspirado no efeito do GIF) */
.activity-image-side {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border-radius: 20px;
    overflow: hidden;
}

.activity-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.activity-card-split:hover .activity-image-side img {
    transform: scale(1.03); /* Efeito suave de zoom ao passar o mouse */
}

.activity-logo-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.spengi-logo-text {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
}

/* ------------------------------------------
   LADO DO CONTEÚDO (DIREITA)
   ------------------------------------------ */
.activity-content-side {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.activity-title-box h3 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.subestacoes-top-subtitle {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-green);
    letter-spacing: 0.12em;
    display: block;
    margin-top: 0.4rem;
}

/* Lista de Recursos / Funcionalidades */
.activity-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-row {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.05));
}

.feature-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--accent-green);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 400;
}

/* ------------------------------------------
   RODAPÉ COM MÉTRICAS E COLUNAS DE SUBESTAÇÕES
   ------------------------------------------ */
.activity-metrics-footer {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.2rem;
    border-top: 2px dashed var(--border-color, rgba(0, 0, 0, 0.08));
    margin-top: 0.5rem;
}

.metric-box {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-green);
    line-height: 1;
}

.metric-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.3rem;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color, rgba(0, 0, 0, 0.1));
}

/* Colunas Específicas do Painel de Subestações */
.subestacoes-columns-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
}

.sub-col h4 {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.6rem 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sub-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.sub-col ul li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 12px;
}

.sub-col ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* ==========================================
   SUPORTE COMPLETO AO DARK MODE
   ========================================== */
body.dark-mode .activity-card-split {
    background: rgba(22, 27, 34, 0.75);
    backdrop-filter: blur(16px);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .feature-row {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .activity-metrics-footer,
body.dark-mode .subestacoes-columns-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================== */
@media (max-width: 1024px) {
    .activity-card-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.8rem;
    }

    .activity-image-side {
        min-height: 320px;
    }

    .subestacoes-columns-footer {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}



/* ==========================================
   ESTILOS - PAINEL DE CONTATO
   ========================================== */

.hero-section-contato {
    position: relative;
    height: calc(100vh - 90px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: 
        linear-gradient(0deg, rgba(3, 5, 8, 0.95) 0%, rgba(3, 5, 8, 0.4) 60%, rgba(3, 5, 8, 0.1) 100%), 
        url('imagens/contato.png') center / cover no-repeat fixed;
}

.hero-section-contato h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff; /* Cor de fallback caso o navegador não suporte gradiente em texto */
    text-align: center;
    max-width: 800px;
    line-height: 1.2;
    margin: 0 auto 1rem auto; /* Centraliza o bloco e dá um respiro inferior */
    letter-spacing: -0.02em;
    
    
}
.contact-section {
    padding: 5rem 6% 7rem 6%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-container {
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.contact-header {
    text-align: left;
    max-width: 700px;
}

.contact-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-green, #50b748);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-header h2 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* Grid Principal de Contato (Informações + Formulário) */
.contact-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: stretch;
}

/* Caixa de Informações (Glassmorphism) */
.contact-card-box {
    background: var(--surface-color, rgba(255, 255, 255, 0.75));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card-box h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.contact-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(80, 183, 72, 0.12);
    border: 1px solid rgba(80, 183, 72, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green, #50b748);
    flex-shrink: 0;
}

.contact-item strong {
    font-size: 0.95rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.2rem;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Formulário de Contato */
.contact-form {
    background: var(--surface-color, rgba(255, 255, 255, 0.75));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green, #50b748);
    box-shadow: 0 0 0 3px rgba(80, 183, 72, 0.15);
}

.submit-btn {
    margin-top: 0.5rem;
    padding: 1rem;
    background-color: var(--accent-green, #50b748);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #166534;
    transform: translateY(-2px);
}

/* ==========================================
   DARK MODE
   ========================================== */
body.dark-mode .contact-card-box,
body.dark-mode .contact-form {
    background: rgba(22, 27, 34, 0.75);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   RESPONSIVIDADE (MOBILE & TABLETS)
   ========================================== */
@media (max-width: 900px) {
    .contact-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-card-box,
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================
   ESTILOS DO RODAPÉ (FOOTER)
   ========================================== */
.footer-section {
    position: relative;
    padding: 6rem 6% 3rem 6%;
    background-color: var(--surface-color, #161b22);
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer-container {
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Moldura do Mapa no Rodapé */
.footer-map-wrapper {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.footer-map-wrapper iframe {
    display: block;
    width: 100%;
}

/* Grid de Informações */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-column h3 {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--accent-green, #50b748);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.footer-column p {
    font-size: 0.95rem;
    color: var(--text-secondary, #a0aec0);
    line-height: 1.5;
    margin: 0;
}

.footer-column p strong {
    color: var(--text-primary, #ffffff);
    font-weight: 600;
}

/* Redes Sociais */
.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(80, 183, 72, 0.12);
    border: 1px solid rgba(80, 183, 72, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green, #50b748);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-green, #50b748);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(80, 183, 72, 0.3);
}

/* Linha de Fechamento / Copyright */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================
   RESPONSIVIDADE (MOBILE & TABLETS)
   ========================================== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-section {
        padding: 4rem 6% 2rem 6%;
    }
}

/* ==========================================
   ESTILOS - SEÇÃO NOSSO TIME DE ESPECIALISTAS
   ========================================== */
.team-section {
    padding: 7rem 6%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    width: 100%;
}

.team-container {
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.team-section-header {
    text-align: left;
    max-width: 700px;
}

.team-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-green, #50b748);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.team-section-header h2 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.team-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* Wrapper e Trilho do Carrossel */
.team-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0 2rem 0;
    cursor: grab;
}

.team-carousel-wrapper:active {
    cursor: grabbing;
}

.team-carousel-track {
    display: flex;
    gap: 1.8rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Cartão do Integrante */
.team-card {
    flex: 0 0 calc(33.333% - 1.2rem); /* Exibe 3 cards simultâneos em telas grandes */
    min-width: 320px;
    background: var(--surface-color, rgba(255, 255, 255, 0.75));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 28px;
    padding: 2.2rem 1.8rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-green, #50b748);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Avatar / Foto */
.team-avatar-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-green, #50b748);
    box-shadow: 0 8px 20px rgba(80, 183, 72, 0.2);
    flex-shrink: 0;
}

.team-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Informações do Profissional */
.team-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.3rem 0;
}

.team-role {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-green, #50b748);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 1.2rem;
}

/* Lista de Detalhes / Qualificações */
.team-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.team-details-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.45;
    position: relative;
    padding-left: 16px;
    font-weight: 400;
}

.team-details-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-green, #50b748);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Dots de Navegação */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color, rgba(0, 0, 0, 0.2));
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot:hover {
    background: var(--accent-green, #50b748);
}

.carousel-dots .dot.active {
    width: 32px;
    border-radius: 20px;
    background: var(--accent-green, #50b748);
    box-shadow: 0 4px 12px rgba(80, 183, 72, 0.4);
}

/* ==========================================
   DARK MODE
   ========================================== */
body.dark-mode .team-card {
    background: rgba(22, 27, 34, 0.75);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

body.dark-mode .carousel-dots .dot {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   RESPONSIVIDADE
   ========================================== */
@media (max-width: 1024px) {
    .team-card {
        flex: 0 0 calc(50% - 1rem); /* 2 cards por tela no tablet */
    }
}

@media (max-width: 640px) {
    .team-card {
        flex: 0 0 100%; /* 1 card por tela no celular */
    }
}

/* ==========================================
   SEÇÃO PARCEIROS E CLIENTES
   ========================================== */
.partners-section {
    padding: 6rem 6%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    width: 100%;
}

.partners-container {
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.partners-header {
    text-align: left;
}

.partners-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-green);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.4rem;
}

.partners-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

/* Wrapper do Carrossel com efeito de transparência nas pontas */
.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.5rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scrollInfinite 25s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused; /* Pausa o carrossel ao passar o mouse */
}

.partner-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) opacity(0.6); /* Deixa as logos discretas e elegantes */
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

.partner-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: auto;
}

.partner-logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Animação Contínua do Carrossel */
@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================
   SEÇÃO LOCALIZAÇÃO (GOOGLE MAPS)
   ========================================== */
.localizacao-section {
    padding: 2rem 6% 6rem 6%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    width: 100%;
}

.localizacao-container {
    max-width: 1300px;
    width: 100%;
}

.map-iframe-wrapper {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    background: var(--surface-color);
}

.map-iframe-wrapper iframe {
    display: block;
    width: 100%;
}

/* Modo Escuro */
body.dark-mode .map-iframe-wrapper {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body.dark-mode .partner-logo {
    filter: grayscale(100%) opacity(0.5) invert(0.9);
}

body.dark-mode .partner-logo:hover {
    filter: grayscale(0%) opacity(1) invert(0);
}



.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.theme-toggle-btn {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn svg {
    position: absolute;
    transition: all 0.3s ease;
}

body.dark-mode .sun-icon { opacity: 1; transform: scale(1); }
body.dark-mode .moon-icon { opacity: 0; transform: scale(0); }
.sun-icon { opacity: 0; transform: scale(0); }
.moon-icon { opacity: 1; transform: scale(1); }

/* Responsividade */
@media (max-width: 1024px) {
    .metrics, .about-text-grid, .activity-page-grid {
        grid-template-columns: 1fr;
    }
    nav ul {
        display: none;
    }
}

/* --- Efeito Suave de Entrada (Fade In & Slide Up) --- */
@keyframes smoothFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplica a animação padrão ao carregar qualquer painel ou aba */
.tab-pane.active-pane {
    animation: smoothFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Elementos internos do Hero e seções para entrada em cascata opcional */
.hero-section, .purpose-hero-section, .about-page-container, .safety-environment-container {
    animation: smoothFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* ==========================================
   EFEITO SCROLL REVEAL (Estilo MWDT - Suave e Fluido)
   ========================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px); /* Começa ligeiramente mais abaixo */
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cascatas de atraso para os elementos entrarem em harmonia (Stagger) */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ==========================================
   BOTÃO DISCRETO & TRANSPARENTE (GHOST BUTTON)
   ========================================== */
.ghost-specialist-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.335);
    color: var(--text-primary); /* Usa a cor de texto discreta do teu tema */
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid var(--border-color); /* Borda subtil alinhada ao tema */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth); /* Utiliza as transições do teu CSS */
}

/* Ícone integrado no botão */
.ghost-specialist-btn svg {
    stroke: var(--text-primary);
    transition: stroke 0.3s ease, transform 0.3s ease;
}

/* Efeito Hover discreto e elegante */
.ghost-specialist-btn:hover {
    color: var(--accent-green);
    border-color: var(--accent-green);
    background: rgba(80, 183, 72, 0.08); /* Fundo verde translúcido muito suave */
}

.ghost-specialist-btn:hover svg {
    stroke: var(--accent-green);
    transform: scale(1.1);
}

/* Suporte automático ao Dark Mode */
body.dark-mode .ghost-specialist-btn {
    color: var(--text-secondary);
    border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .ghost-specialist-btn:hover {
    color: var(--accent-green);
    border-color: var(--accent-green);
    background: rgba(80, 183, 72, 0.15);
}

/* ==========================================
   NAVEGAÇÃO DO RODAPÉ COM DESCRIÇÕES
   ========================================== */
.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem; /* Espaçamento entre cada bloco de item */
}

.footer-nav-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Estilo do Título / Link Principal */
.footer-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    transition: var(--transition-smooth);
    cursor: pointer;
    width: fit-content;
}

/* Hover no link principal */
.footer-link:hover {
    color: var(--accent-green);
    transform: translateX(4px);
}

/* Traço verde indicador à esquerda no Hover */
.footer-link::before {
    content: '';
    position: absolute;
    left: -10px;
    width: 3px;
    height: 0%;
    background-color: var(--accent-green);
    border-radius: 4px;
    opacity: 0;
    transition: height 0.25s ease, opacity 0.25s ease;
}

.footer-link:hover::before {
    height: 75%;
    opacity: 1;
}

/* Estilo da Descrição Abaixo do Link */
.footer-link-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.35;
    font-weight: 400;
    margin: 0;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

/* Ilumina sutilmente a descrição quando passa o mouse no bloco */
.footer-nav-item:hover .footer-link-desc {
    opacity: 1;
}


/* ==========================================
   RESPONSIVIDADE DA HERO SECTION / PROPÓSITO
   ========================================== */

.purpose-content-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinhamento padrão à esquerda */
    gap: 1.2rem;
    padding: 0 6%;
    max-width: 1100px;
    width: 100%;
    z-index: 2;
}

/* Tipografia Fluida (Adapta-se automaticamente ao tamanho do ecrã sem quebrar) */
.purpose-subtitle-top {
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #cbd5e1;
    text-transform: uppercase;
}

.purpose-title-main {
    font-size: clamp(2rem, 4.5vw, 3.5rem); /* Reduz suavemente em telas menores */
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0;
}

.purpose-highlight-badge {
    background-color: var(--accent-green);
    color: #ffffff;
    padding: 0.3rem 1rem;
    border-radius: 6px;
    display: inline-block;
    font-size: clamp(1.8rem, 4vw, 3.5rem); /* Ajusta dinamicamente a palavra em destaque */
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 10px 25px rgba(80, 183, 72, 0.3);
}

/* Contentor do Botão Responsivo */
.hero-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 1rem;
    width: 100%;
}

/* Ajustes específicos para o botão adaptável */
.hero-btn-wrapper .ghost-specialist-btn {
    width: 100%;
    max-width: 250px; /* Limita a largura máxima para não esticar demais em PC */
    justify-content: center; /* Centraliza o ícone e texto dentro do botão */
}

/* ==========================================
   AJUSTES PARA MÓBILE (Ecrãs até 768px)
   ========================================== */
@media (max-width: 768px) {
    .purpose-content-box {
        align-items: left; /* Centraliza os elementos no telemóvel para melhor estética */
        text-align: left;
        padding: 0 5%;
    }

    .hero-btn-wrapper {
        justify-content: center; /* Centraliza o botão no telemóvel */
    }

    .hero-btn-wrapper .ghost-specialist-btn {
        max-width: 100%; /* Permite ocupar o espaço ideal no telemóvel se necessário */
    }
}


/* --- Ajustes Específicos do Painel de Segurança --- */
.security-hero-logo {
    max-height: 25px; 
    width: auto; 
    margin-bottom: 1rem;
}

.security-hero-subtitle {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* --- Layout de Conteúdo Spengi Segurança --- */
.spengi-seguranca {
    padding: 6rem 6%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.security-content-header {
    text-align: left;
    max-width: 800px;
}

.security-content-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.security-content-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* --- Grid Clean de Medidas Preventivas --- */
.security-measures-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

.measure-card {
    background: var(--surface-card, rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    padding: 1.5rem 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.4rem cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s ease, 
                border-color 0.3s ease;
}

.measure-card:hover {
    transform: translateX(6px);
    border-color: var(--accent-green);
    box-shadow: 0 15px 35px rgba(80, 183, 72, 0.06);
}

.measure-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(80, 183, 72, 0.12);
    border: 1px solid rgba(80, 183, 72, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    flex-shrink: 0;
}

.measure-card p {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* Suporte de Cores para o Dark Mode nos Cards de Segurança */
body.dark-mode .measure-card {
    background: rgba(22, 27, 34, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .measure-card:hover {
    background: rgba(30, 38, 48, 0.85);
    border-color: var(--accent-green);
}

/* --- Ajuste de Responsividade --- */
@media (max-width: 768px) {
    .spengi-seguranca {
        padding: 4rem 5%;
        gap: 2rem;
    }
    .security-content-header h2 {
        font-size: 2.2rem;
    }
    .measure-card {
        padding: 1.25rem 1.2rem;
        gap: 1rem;
    }
}

/* ==========================================
   SEÇÃO POLÍTICA DO SGI (AS-PLT-GQ-001)
   ========================================== */
.sgi-policy-section {
    padding: 6rem 6%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    width: 100%;
}

.sgi-policy-container {
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.sgi-policy-header {
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sgi-meta-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.sgi-doc-code {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-green);
    background: rgba(80, 183, 72, 0.12);
    border: 1px solid rgba(80, 183, 72, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.sgi-doc-rev {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.sgi-policy-header h2 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0;
}

.sgi-policy-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 400;
    margin: 0;
}

/* Grid dos 4 Compromissos */
.sgi-commitments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.sgi-commitment-card {
    background: var(--surface-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.sgi-commitment-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 40px rgba(80, 183, 72, 0.12);
}

.sgi-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sgi-step-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent-green);
    letter-spacing: -0.03em;
    line-height: 1;
}

.sgi-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(80, 183, 72, 0.12);
    border: 1px solid rgba(80, 183, 72, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    flex-shrink: 0;
}

.sgi-card-icon svg {
    width: 22px;
    height: 22px;
}

.sgi-commitment-card p {
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Rodapé do Documento */
.sgi-policy-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.6rem 2rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.sgi-signatory-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.sgi-signatory-info strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.sgi-signatory-info span {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.sgi-doc-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sgi-dept-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
}

/* Dark Mode */
body.dark-mode .sgi-commitment-card {
    background: rgba(13, 19, 33, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
}

/* Responsividade */
@media (max-width: 900px) {
    .sgi-commitments-grid {
        grid-template-columns: 1fr;
    }

    .sgi-policy-footer {
        padding: 1.4rem;
    }
}