/**
 * Página — Sobre a BR Piercing
 * Override de base.css (body: bg #0D0D0D, color #F4EED7) necessário em fundos claros
 *
 * @package BR_Distribuidora
 */

/* ══ Reset container Astra — seções full-width + sem gap antes do hero ══ */
.page-template-page-sobre .ast-container,
.page-template-page-sobre .entry-content,
.page-template-page-sobre .ast-article-single,
.page-template-page-sobre .ast-single-post {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
}

.page-template-page-sobre .site-content,
.page-template-page-sobre #primary,
.page-template-page-sobre .ast-article-single,
.page-template-page-sobre .hentry {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-top: none !important;
    border-bottom: none !important;
}

.page-template-page-sobre .site-content {
    background-color: transparent !important;
}

/* ══ Reveal ao scroll ══ */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══ Animações do hero (load imediato) ══ */
@keyframes brd-fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══ Wrapper ══ */
.brd-sobre-page {
    display: block;
    background-color: #ffffff;
}

.brd-sobre-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
}
.brd-sobre-wrap--center { text-align: center; }

/* ══ Hero ══ */
.brd-sobre-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--brd-azul-escuro);
    background-image:
        linear-gradient(to bottom, #0b1c33 0%, transparent 38%),
        repeating-linear-gradient(
            -55deg,
            transparent 0, transparent 34px,
            rgba(32, 107, 179, 0.055) 34px, rgba(32, 107, 179, 0.055) 35px
        );
    padding: 100px 0 148px;
    color: var(--brd-off-white);
}

.brd-sobre-hero::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 82px;
    background-color: #ffffff;
    clip-path: polygon(100% 100%, 0 100%, 100% 0);
    pointer-events: none;
}

.brd-sobre-hero__deco {
    position: absolute;
    right: clamp(20px, 24vw, 420px);
    top: 50%;
    transform: translateY(36%);
    font-size: clamp(100px, 18vw, 200px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(32, 107, 179, 0.13);
    pointer-events: none;
    user-select: none;
}

.brd-sobre-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brd-azul-claro);
    padding-left: 14px;
    border-left: 3px solid var(--brd-azul-claro);
    margin-bottom: 24px;
    animation: brd-fadeUp 0.5s ease both 0.1s;
}

.brd-sobre-hero h1 {
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 700;
    color: var(--brd-off-white);
    line-height: 1.2;
    margin-bottom: 32px;
    animation: brd-fadeUp 0.5s ease both 0.2s;
}

.brd-sobre-lead {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(244, 238, 215, 0.82);
    max-width: 680px;
    margin-bottom: 14px;
}
.brd-sobre-lead:nth-of-type(1) { animation: brd-fadeUp 0.5s ease both 0.33s; }
.brd-sobre-lead:nth-of-type(2) { animation: brd-fadeUp 0.5s ease both 0.44s; }

/* ══ Label de seção — com linha decorativa ══ */
.brd-sobre-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brd-azul-claro);
    margin-bottom: 12px;
}
.brd-sobre-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--brd-azul-claro);
    flex-shrink: 0;
}
.brd-sobre-label--light { color: rgba(32, 107, 179, 0.75); }
.brd-sobre-label--light::before { background-color: rgba(32, 107, 179, 0.75); }

/* ══ Seções ══ */
.brd-sobre-section {
    padding: 88px 0;
    background-color: #ffffff;
    border-top: none !important;
}
.brd-sobre-section--alt {
    background-color: #f0f2f5;
    clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%);
    padding-top: 148px;
}
.brd-sobre-section--dark {
    background-color: var(--brd-azul-escuro);
    background-image: repeating-linear-gradient(
        45deg,
        transparent 0, transparent 28px,
        rgba(255, 255, 255, 0.018) 28px, rgba(255, 255, 255, 0.018) 29px
    );
}
.brd-sobre-section--cta {
    position: relative;
    text-align: center;
    padding-top: 100px;
    background: linear-gradient(to bottom, var(--brd-off-white) 0%, #ffffff 100%);
}
/* Diagonal no topo do CTA — transição da seção escura acima */
.brd-sobre-section--cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 80px;
    background-color: var(--brd-azul-escuro);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    pointer-events: none;
}

/* Headings */
.brd-sobre-section h2 {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--brd-azul-escuro);
    line-height: 1.22;
    margin-bottom: 28px;
}
.brd-sobre-section--alt h2  { color: var(--brd-azul-escuro); text-align: center; }
.brd-sobre-section--alt .brd-sobre-label { justify-content: center; }
/* Timeline centralizada como bloco na página */
.brd-sobre-timeline {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.brd-sobre-section--dark h2 { color: var(--brd-off-white); }
.brd-sobre-section--cta h2  { color: var(--brd-azul-escuro); }

.brd-sobre-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--brd-azul-escuro);
    margin-bottom: 10px;
}
.brd-sobre-section--alt h3 { color: var(--brd-azul-escuro); }

/* Parágrafos — override de base.css */
.brd-sobre-section p      { font-size: 16px; line-height: 1.75; color: #2a2a2a; margin-bottom: 16px; }
.brd-sobre-section--alt p { color: #2a2a2a; }
.brd-sobre-section--dark p { color: rgba(244, 238, 215, 0.82); }
.brd-sobre-section--cta p  { font-size: 18px; line-height: 1.8; color: #3a3a3a; }

/* ══ Grid — Quem somos ══ */
.brd-sobre-grid {
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: 64px;
    align-items: start;
}

.brd-sobre-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 28px 30px;
    border: 1px solid #e0e4ea;
    border-top: 4px solid var(--brd-azul-claro);
    box-shadow: 0 8px 32px rgba(24, 51, 87, 0.1);
}
.brd-sobre-card__label {
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brd-azul-claro) !important;
    margin-bottom: 16px !important;
}
.brd-sobre-card ul { list-style: none; padding: 0; margin: 0; }
.brd-sobre-card ul li {
    padding: 11px 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: 15px;
    color: #2a2a2a;
    display: flex;
    align-items: center;
    gap: 10px;
}
.brd-sobre-card ul li::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background-color: var(--brd-azul-claro);
    flex-shrink: 0;
}
.brd-sobre-card ul li:last-child { border-bottom: none; }

/* ══ Timeline ══ */
.brd-sobre-timeline {
    position: relative;
    margin-top: 48px;
    display: flex;
    flex-direction: column;
}
/* Linha vertical — centralizada no marker (58px / 2 = 29px) */
.brd-sobre-timeline::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 29px;
    bottom: 29px;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--brd-azul-claro) 0%,
        rgba(200, 208, 219, 0.35) 100%
    );
}
.brd-sobre-tl-item {
    position: relative;
    padding: 0 0 56px 84px;
}
.brd-sobre-tl-item:last-child { padding-bottom: 0; }

.brd-sobre-tl-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1e4878 0%, var(--brd-azul-escuro) 100%);
    color: var(--brd-off-white);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brd-azul-claro);
    box-shadow:
        0 0 0 4px rgba(32, 107, 179, 0.18),
        0 6px 20px rgba(24, 51, 87, 0.22);
    letter-spacing: -0.02em;
    z-index: 1;
}

.brd-sobre-tl-body { padding-top: 12px; }
.brd-sobre-tl-body h3 { font-size: 18px; color: var(--brd-azul-escuro); margin-bottom: 8px; }
.brd-sobre-tl-body p  { font-size: 15px; color: #3a3a3a; line-height: 1.75; max-width: 560px; margin-bottom: 14px; }

/* ══ Badges ══ */
.brd-sobre-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.brd-sobre-badges span {
    background-color: var(--brd-azul-claro);
    color: #ffffff;
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
}

/* ══ 3 Pilares ══ */
.brd-sobre-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    counter-reset: pillar;
}
.brd-sobre-pillar {
    position: relative;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 36px 28px 32px;
    border: 1px solid rgba(244, 238, 215, 0.12);
    border-top: 3px solid var(--brd-azul-claro);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease, background-color 0.3s ease;
    cursor: default;
    counter-increment: pillar;
}
.brd-sobre-pillar::after {
    content: '0' counter(pillar);
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(32, 107, 179, 0.45);
    pointer-events: none;
}
.brd-sobre-pillar:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(244, 238, 215, 0.12);
    border-top-color: rgba(32, 107, 179, 0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 0 20px 56px rgba(0, 0, 0, 0.35);
    transform: translateY(-5px);
}
.brd-sobre-pillar__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(32, 107, 179, 0.22);
    border: 1px solid rgba(32, 107, 179, 0.35);
    color: var(--brd-azul-claro);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, transform 0.25s ease;
}
.brd-sobre-pillar:hover .brd-sobre-pillar__icon {
    background: rgba(32, 107, 179, 0.35);
    transform: translateY(-3px);
}

.brd-sobre-pillar h3 { font-size: 17px !important; font-weight: 700; color: var(--brd-off-white) !important; margin: 0 0 10px !important; }
.brd-sobre-pillar > p { font-size: 14px !important; color: rgba(244,238,215,0.78) !important; margin-bottom: 20px !important; line-height: 1.7 !important; }
.brd-sobre-pillar ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.07); padding-top: 4px; }
.brd-sobre-pillar ul li {
    font-size: 13px;
    color: rgba(244, 238, 215, 0.72);
    padding: 7px 0 7px 18px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brd-sobre-pillar ul li:last-child { border-bottom: none; }
.brd-sobre-pillar ul li::before {
    content: '→';
    position: absolute;
    left: 0; top: 8px;
    color: var(--brd-azul-claro);
    font-size: 11px;
}

/* ══ CTA ══ */
.brd-sobre-cta-icon-block {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.brd-sobre-label .brd-sobre-cta-icon { display: none; }

.brd-sobre-cta-icon {
    display: inline-block;
    width: 64px;
    height: 64px;
    margin-left: 8px;
    vertical-align: middle;
    color: var(--brd-azul-claro);
}
.brd-sobre-section--cta strong { color: var(--brd-azul-escuro); }
.brd-sobre-section--cta .brd-sobre-label--light {
    color: var(--brd-azul-claro);
    justify-content: center;
}
.brd-sobre-section--cta .brd-sobre-label--light::before {
    display: none;
}

/* ══ Responsivo ══ */
@media (max-width: 768px) {
    .brd-sobre-hero    { padding: 64px 0 110px; }
    .brd-sobre-section { padding: 60px 0; }
    .brd-sobre-section--cta { padding-top: 80px; }
    .brd-sobre-hero__deco { font-size: 80px; right: -8px; top: auto; bottom: 60px; transform: none; }
    .brd-sobre-grid    { grid-template-columns: 1fr; gap: 28px; }
    .brd-sobre-pillars { grid-template-columns: 1fr; gap: 16px; }
    .brd-sobre-timeline::before { left: 22px; top: 22px; bottom: 22px; }
    .brd-sobre-tl-item { padding-left: 62px; padding-bottom: 40px; }
    .brd-sobre-tl-marker { width: 44px; height: 44px; font-size: 11px; }
    .brd-sobre-badges  { flex-wrap: wrap; }
    .brd-sobre-cta-icon-block .brd-sobre-cta-icon { margin-left: 0; }
}
