/* ===== Tokens de marca (iguais aos usados em contacto.html) ===== */
:root {
    --bl-navy: rgb(25, 53, 105);
    --bl-navy-deep: rgb(15, 35, 70);
    --bl-cyan: #00d4ff;
    --bl-bg: #f5f7fb;
    --bl-ink: #1f2937;
    --bl-muted: #6b7280;
    --bl-radius: 1.1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--bl-ink);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Poppins', sans-serif;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--bl-cyan);
    outline-offset: 2px;
}

/* ===== Hero ===== */
.hero-about {
    position: relative;
    padding: 5.5rem 0 4.5rem !important;
    height: auto !important;
    background:
        linear-gradient(120deg, rgba(15, 35, 70, 0.85) 0%, rgba(25, 53, 105, 0.72) 100%),
        url('../imagens/about.jpg') center/cover no-repeat !important;
    overflow: hidden;
}

.hero-about::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 6px;
    background: linear-gradient(90deg, var(--bl-cyan), var(--bl-navy) 60%, var(--bl-cyan));
    background-size: 200% 100%;
    animation: bl-flow 6s linear infinite;
}

@keyframes bl-flow {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e7f8ff;
    background: rgba(0, 212, 255, 0.14);
    border: 1px solid rgba(0, 212, 255, 0.35);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero-about h1 {
    letter-spacing: -0.02em;
}

.hero-about .lead {
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    margin: 0 auto;
}

.hero-stat-badge {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--bl-navy) !important;
    font-weight: 600;
    border: none;
}

/* ===== Secção genérica ===== */
.eyebrow-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bl-navy);
    background: linear-gradient(135deg, rgba(25, 53, 105, 0.08), rgba(0, 212, 255, 0.12));
    padding: 0.45rem 1rem;
    border-radius: 50px;
}

/* ===== Timeline (a ordem importa: é uma cronologia real) ===== */
.timeline-panel {
    background: #ffffff;
    border: 1px solid rgba(25, 53, 105, 0.08);
    box-shadow: 0 0.5rem 1.5rem rgba(15, 35, 70, 0.05);
}

.timeline {
    position: relative;
    margin-left: 0.6rem;
    padding-left: 1.75rem;
    border-left: 2px solid rgba(25, 53, 105, 0.14);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

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

.timeline-item::before {
    content: "";
    position: absolute;
    left: -2.24rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bl-cyan);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.18);
}

.timeline-year {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--bl-navy);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

/* ===== Cards de Missão / Visão / Valores ===== */
.value-card {
    background: #ffffff;
    border-radius: var(--bl-radius);
    border: 1px solid rgba(25, 53, 105, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.25rem 2.5rem rgba(15, 35, 70, 0.1);
}

.value-card .icon-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 1.7rem;
    color: var(--bl-navy);
    background: linear-gradient(135deg, rgba(25, 53, 105, 0.1), rgba(0, 212, 255, 0.16));
}

/* ===== Estatísticas ===== */
.about-stats {
    background: linear-gradient(135deg, var(--bl-navy) 0%, var(--bl-navy-deep) 100%);
    border-radius: var(--bl-radius);
    position: relative;
    overflow: hidden;
}

.about-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(0, 212, 255, 0.16), transparent 45%);
    pointer-events: none;
}

.stat-number-about {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

/* ===== Equipa ===== */
.team-card {
    background: #ffffff;
    border-radius: var(--bl-radius);
    border: 1px solid rgba(25, 53, 105, 0.07);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.25rem 2.5rem rgba(15, 35, 70, 0.1);
}

.team-img-placeholder {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bl-navy);
    background: linear-gradient(135deg, rgba(25, 53, 105, 0.1), rgba(0, 212, 255, 0.18));
}

/* ===== Diferenciais ===== */
.diff-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(25, 53, 105, 0.1), rgba(0, 212, 255, 0.16));
    color: var(--bl-navy);
    flex-shrink: 0;
}

.partner-badge {
    background: rgba(25, 53, 105, 0.06) !important;
    color: var(--bl-navy) !important;
    font-weight: 600;
    border: 1px solid rgba(25, 53, 105, 0.1);
}

/* ===== CTA final ===== */
.cta-final {
    position: relative;
    background: linear-gradient(120deg, #f5f7fb 0%, #eaf0fb 100%);
    overflow: hidden;
}

.cta-final::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.16), transparent 70%);
}

.btn-cta {
    background: linear-gradient(135deg, var(--bl-navy), var(--bl-navy-deep));
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.5rem rgba(15, 35, 70, 0.25);
    color: #fff;
}

@media (max-width: 768px) {
    .hero-about {
        padding: 3.5rem 0 3rem !important;
    }

    .hero-about h1 {
        font-size: 2rem;
    }
}