/* ==========================================================================
   LAYOUT ESPECÍFICO SOBRE - DESIGN DE ELITE
   ========================================================================== */

/* 1. HERO SOBRE - AJUSTE DE LAYOUT E VISIBILIDADE */
.hero { 
    padding: 160px 0 8rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; /* Centra o conteúdo no ecrã */
    max-width: 1200px; 
    margin: 0 auto; 
    background: transparent !important;
}

/* Forçamos o container a mostrar os dois lados (Texto e Foto) */
.hero .hero-container {
    display: flex !important; 
    flex-direction: row; /* Coloca lado a lado no Desktop */
    align-items: center;
    gap: 5rem;
    width: 100%;
}

.hero-content {
    flex: 1.2;
    z-index: 10;
}

/* FORÇAR A FOTO A APARECER EM DESKTOP (16:9) */
.hero-visual { 
    flex: 1;
    display: flex !important; /* Mata o 'none' que venha do style.css */
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-title em {
    font-style: italic;
    background: var(--gold-linear);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FOTO WRAP - DESIGN DE LUXO */
.foto-wrap { 
    position: relative; 
    display: flex;
    justify-content: center;
    perspective: 1000px;
    width: 100%;
}

.foto-img { 
    width: 100%; 
    max-width: 450px;
    height: auto;
    border-radius: 30px; 
    border: 1px solid var(--gold-border); 
    box-shadow: 0 30px 60px rgba(0,0,0,0.6); 
    transition: transform 0.5s ease;
    display: block !important; /* Garante que a tag img não é escondida */
}

.foto-wrap:hover .foto-img {
    transform: translateY(-10px) rotateY(-5deg);
}

.foto-badge { 
    position: absolute; 
    bottom: 2rem; 
    right: -1rem; 
    background: var(--gold-linear); 
    color: #000; 
    padding: 14px 24px; 
    border-radius: 50px; 
    font-size: 11px; 
    font-weight: 800; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap; /* Impede o texto de quebrar */
}


/* 2. SECÇÕES E SEPARADORES */
.section-wrap {
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 4rem 0;
}

.sep {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0;
}

/* 3. QUEM SOMOS E STATS */
.quem-grid { 
    display: grid; 
    grid-template-columns: 1.3fr 0.7fr; 
    gap: 5rem; 
    margin-top: 4rem; 
}

.quem-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.quem-text strong {
    color: var(--text);
    font-weight: 700;
}

.stat-card { 
    border: 1px solid var(--border); 
    border-radius: 24px; 
    padding: 2.5rem; 
    margin-bottom: 1.5rem; 
    background: rgba(255, 255, 255, 0.02);
    transition: 0.4s ease; 
}

.stat-card:hover { 
    border-color: var(--gold-border); 
    background: rgba(201, 168, 76, 0.03);
    transform: translateX(10px);
}

.stat-num { 
    font-size: 2.5rem; 
    font-weight: 800; 
    background: var(--gold-linear);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 4. MISSÃO, VISÃO, PROPÓSITO (MVV) */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.mvv-card {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 24px;
    text-align: center;
    transition: 0.4s;
}

.mvv-card:hover {
    border-color: var(--gold-border);
    background: rgba(201, 168, 76, 0.03);
    transform: translateY(-10px);
}

.mvv-icon { font-size: 2.5rem; margin-bottom: 1.5rem; display: block; }
.mvv-label { 
    font-size: 10px; 
    text-transform: uppercase; 
    color: var(--blue-solid); 
    font-weight: 800; 
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.mvv-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.2rem; line-height: 1.4; }
.mvv-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* 5. LISTA DE VALORES (ESTILO STEPS LUXO) */
.valores-list { display: flex; flex-direction: column; margin-top: 4rem; }
.valor-item { 
    display: flex; 
    gap: 3rem; 
    padding: 3rem 0; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    align-items: flex-start;
}

.valor-num { 
    font-size: 3rem; 
    font-weight: 800; 
    background: var(--gold-linear); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    opacity: 0.3; 
    flex-shrink: 0;
}

.valor-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.8rem; }
.valor-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.8; max-width: 800px; }

/* 6. ÉTICA BOX - DESTAQUE INSTITUCIONAL */
.etica-box { 
    border: 1px solid var(--gold-border); 
    border-radius: 30px; 
    padding: 4rem; 
    background: rgba(201, 168, 76, 0.02); 
    position: relative; 
    overflow: hidden;
    margin-top: 4rem;
}

.etica-box::before { 
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; 
    background: var(--blue-linear); 
}

.etica-intro { font-size: 1.2rem; line-height: 1.8; color: var(--text); margin-bottom: 3rem; }
.etica-intro strong { background: var(--gold-linear); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.etica-items { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.etica-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.etica-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-solid); margin-top: 0.6rem; flex-shrink: 0; }
.etica-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* 7. COMPROMISSO (CARDS PEQUENOS) */
.comp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 4rem; }
.comp-card { 
    padding: 2.5rem; 
    border-radius: 20px; 
    background: rgba(255,255,255,0.02); 
    border: 1px solid var(--border);
    transition: 0.3s;
}

.comp-card:hover { border-color: var(--blue-border); background: rgba(26, 143, 227, 0.02); }
.comp-icon { 
    width: 45px; height: 45px; 
    border-radius: 12px; 
    background: var(--blue-linear); 
    color: #000; 
    display: flex; align-items: center; justify-content: center; 
    font-weight: 900; margin-bottom: 1.5rem; 
}
.comp-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.8rem; }
.comp-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* 8. CTA BOX */
.cta-wrap { padding: 8rem 3rem; text-align: center; }
.cta-box { 
    max-width: 1000px; margin: 0 auto; padding: 5rem; 
    border: 1px solid var(--gold-border); border-radius: 30px; 
    background: rgba(201,168,76,0.02); backdrop-filter: blur(15px);
}
.cta-label { color: var(--blue-solid); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 1.5rem; }

@media (max-width: 992px) {
    /* Ajuste do Hero para Mobile/Tablet */
    .hero { 
        padding: 120px 1.5rem 4rem; 
        display: block; /* No mobile, o block/flex-column é mais estável */
        text-align: center; 
    }

    .hero .hero-container { 
        flex-direction: column !important; 
        gap: 2rem;
    }

    /* Coloca a foto em primeiro lugar no mobile (opcional, mas comum) */
    /* Se preferires o texto primeiro, muda para order: 2 */
    .hero-visual { 
        order: -1; 
        display: flex !important;
        margin-bottom: 2rem;
    }

    .foto-img {
        max-width: 320px; /* Foto um pouco menor no telemóvel */
        margin: 0 auto;
    }

    .foto-badge { 
        right: 50%; 
        transform: translateX(50%); 
        bottom: -1rem; 
        width: max-content; 
        font-size: 10px;
        padding: 10px 16px;
    }

    /* Transformar todas as Grids em 1 Coluna */
    .quem-grid, 
    .mvv-grid, 
    .etica-items, 
    .comp-grid { 
        grid-template-columns: 1fr !important; 
        gap: 2rem;
    }

    /* Ajustes de espaçamento interno */
    .quem-text { text-align: left; }
    .etica-box { padding: 2.5rem 1.5rem; }
    .etica-items { text-align: left; }
    
    .stat-card {
        text-align: center;
        transform: none !important; /* Remove o efeito de slide lateral no mobile */
    }
}