/* ================================================================
   historia.css — Página Sobre / História — Felipe Fonseca
   ================================================================ */

/* ---- Hero ---- */
.historia-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    margin-top: -60px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.historia-hero .banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) brightness(0.55);
    z-index: 0;
}

.historia-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 100%);
    z-index: 1;
}

.historia-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    padding: 140px 48px 60px;
    width: 100%;
}

.historia-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #ce0000;
    margin-bottom: 16px;
}

.historia-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.15;
}

.historia-hero-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.75);
    max-width: 560px;
    line-height: 1.7;
    margin: 0;
}

/* ---- Sections ---- */
.historia-section {
    max-width: 820px;
    margin: 0 auto;
    padding: 72px 48px;
}

.historia-section + .historia-section {
    border-top: 1px solid #f0f0f0;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #ce0000;
    display: block;
    margin-bottom: 12px;
}

.historia-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #111;
    margin: 0 0 24px;
    line-height: 1.25;
}

.historia-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin: 0 0 18px;
}

.historia-section p:last-child {
    margin-bottom: 0;
}

/* ---- Bio: foto + texto ---- */
.historia-bio {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 56px;
    align-items: start;
}

.historia-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

/* ---- Milestones ---- */
.milestones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.milestone {
    text-align: center;
    padding: 32px 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fafafa;
}

.milestone-year {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ce0000;
    line-height: 1;
    margin-bottom: 8px;
}

.milestone-desc {
    font-size: .88rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* ---- Values grid ---- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.value-card {
    padding: 28px 24px;
    border-left: 3px solid #ce0000;
    background: #fafafa;
    border-radius: 0 8px 8px 0;
}

.value-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
}

.value-card p {
    font-size: .9rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* ---- CTA ---- */
.historia-cta {
    background: #0d0d0d;
    text-align: center;
    padding: 72px 48px;
}

.historia-cta h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.historia-cta p {
    color: rgba(255,255,255,.6);
    margin: 0 0 32px;
    font-size: 1rem;
}

.historia-cta .btn-cta {
    display: inline-block;
    padding: 16px 40px;
    background: #ce0000;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: background .2s;
}

.historia-cta .btn-cta:hover {
    background: #a80000;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
    .historia-hero-content {
        padding: 100px 24px 44px;
    }

    .historia-section {
        padding: 48px 24px;
    }

    .historia-bio {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .historia-photo {
        aspect-ratio: 4 / 3;
        max-height: 280px;
    }

    .milestones {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .historia-cta {
        padding: 48px 24px;
    }
}
