/**
 * Página — Por que escolher a BR Piercing
 * Override de base.css necessário em fundos claros (body: bg #0D0D0D, color #F4EED7)
 *
 * @package BR_Distribuidora
 */

/* ══ Reset container Astra — seções full-width + sem gap no hero ══ */
.page-template-page-por-que-escolher .ast-container,
.page-template-page-por-que-escolher .entry-content,
.page-template-page-por-que-escolher .ast-article-single,
.page-template-page-por-que-escolher .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-por-que-escolher .site-content,
.page-template-page-por-que-escolher #primary,
.page-template-page-por-que-escolher .ast-article-single,
.page-template-page-por-que-escolher .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-por-que-escolher .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 ══ */
@keyframes brd-pq-fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══ Wrapper ══ */
.brd-pq-page {
    display: block;
    background-color: #ffffff;
}

.brd-pq-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
}
.brd-pq-wrap--center { text-align: center; }

/* ══ Hero ══ */
.brd-pq-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-pq-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-pq-hero__deco {
    position: absolute;
    right: clamp(20px, 16vw, 260px);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.06;
    color: var(--brd-azul-claro);
    pointer-events: none;
    user-select: none;
}

.brd-pq-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-pq-fadeUp 0.5s ease both 0.1s;
}

.brd-pq-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-pq-fadeUp 0.5s ease both 0.2s;
}

.brd-pq-lead {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(244, 238, 215, 0.82);
    max-width: 680px;
    margin-bottom: 14px;
}
.brd-pq-lead:nth-of-type(1) { animation: brd-pq-fadeUp 0.5s ease both 0.33s; }
.brd-pq-lead:nth-of-type(2) { animation: brd-pq-fadeUp 0.5s ease both 0.44s; }

/* ══ Label de seção ══ */
.brd-pq-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-pq-label::before {
    content: '';
    display: block;
    width: 28px; height: 2px;
    background-color: var(--brd-azul-claro);
    flex-shrink: 0;
}
.brd-pq-label--light { color: rgba(32, 107, 179, 0.85); }
.brd-pq-label--light::before { background-color: rgba(32, 107, 179, 0.85); }

/* ══ Seções ══ */
.brd-pq-section {
    padding: 88px 0;
    background-color: #ffffff;
    border-top: none !important;
}
.brd-pq-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-pq-section--alt {
    background-color: #f0f2f5;
}
.brd-pq-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 cinza acima */
.brd-pq-section--cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 80px;
    background-color: #f0f2f5;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    pointer-events: none;
}

/* Headings */
.brd-pq-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-pq-section--dark h2 { color: var(--brd-off-white); }
.brd-pq-section--cta h2  { color: var(--brd-azul-escuro); }

.brd-pq-section h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--brd-azul-escuro);
    margin-bottom: 10px;
}
.brd-pq-section--dark h3 { color: var(--brd-off-white); }

/* Parágrafos — override de base.css */
.brd-pq-section p        { font-size: 16px; line-height: 1.75; color: #2a2a2a; margin-bottom: 16px; }
.brd-pq-section--dark p  { color: rgba(244, 238, 215, 0.82); }
.brd-pq-section--alt  p  { color: #2a2a2a; }
.brd-pq-section--cta  p  { font-size: 18px; line-height: 1.8; color: #3a3a3a; }

/* ══ Seção Problema ══ */
.brd-pq-intro {
    font-size: 15px !important;
    color: #666 !important;
    margin-bottom: 20px !important;
    font-style: italic;
}

.brd-pq-pains {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
    max-width: 560px;
}

.brd-pq-pain {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background-color: #fff5f5;
    border: 1px solid rgba(200, 50, 50, 0.15);
    border-left: 3px solid rgba(200, 50, 50, 0.65);
    border-radius: 8px;
    font-size: 15px;
    color: #3a1e1e;
    font-weight: 500;
}

.brd-pq-pain svg {
    flex-shrink: 0;
    color: rgba(190, 40, 40, 0.75);
}

.brd-pq-resolution {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #2a2a2a !important;
    padding: 20px 24px;
    background-color: #eef4fb;
    border-left: 4px solid var(--brd-azul-claro);
    border-radius: 0 8px 8px 0;
    max-width: 580px;
    margin-bottom: 0 !important;
}
.brd-pq-resolution strong { color: var(--brd-azul-escuro); }

/* ══ Cinco razões — cards em grid 6-col centrado ══ */
.brd-pq-features {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.brd-pq-feature {
    grid-column: span 2;
    position: relative;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 32px 26px 28px;
    border: 1px solid rgba(244, 238, 215, 0.12);
    border-top: 3px solid var(--brd-azul-claro);
    transition: transform 0.25s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-top-color 0.3s ease;
    cursor: default;
}

/* Últimos 2 cards centralizados na segunda linha */
.brd-pq-feature:nth-child(4) { grid-column: 2 / 4; }
.brd-pq-feature:nth-child(5) { grid-column: 4 / 6; }

.brd-pq-feature:hover {
    background-color: rgba(255, 255, 255, 0.1);
    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-pq-feature__icon {
    width: 50px; height: 50px;
    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: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.brd-pq-feature:hover .brd-pq-feature__icon {
    background: rgba(32, 107, 179, 0.35);
    transform: translateY(-3px);
}

.brd-pq-feature > p {
    font-size: 14px !important;
    color: rgba(244, 238, 215, 0.78) !important;
    margin-bottom: 18px !important;
    line-height: 1.7 !important;
}

.brd-pq-feature ul {
    list-style: none;
    padding: 0; margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 4px;
}

.brd-pq-feature 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-pq-feature ul li:last-child { border-bottom: none; }

.brd-pq-feature ul li::before {
    content: '→';
    position: absolute;
    left: 0; top: 8px;
    color: var(--brd-azul-claro);
    font-size: 11px;
}

/* ══ Seção Crescer ══ */
.brd-pq-crescer {
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: 64px;
    align-items: start;
}

.brd-pq-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #dde1e8;
    font-size: 15px;
    font-weight: 500;
    color: #2a2a2a;
}

.brd-pq-item:last-child { border-bottom: none; }

.brd-pq-item svg {
    flex-shrink: 0;
    color: var(--brd-azul-claro);
}

.brd-pq-parceria-icon {
    display: block;
    width: 75px;
    height: 75px;
    margin: 20px auto 0;
    color: var(--brd-azul-claro);
}

/* ══ CTA ══ */
.brd-pq-cta-icon-block { display: none; }

.brd-pq-section--cta strong { color: var(--brd-azul-escuro); }
.brd-pq-section--cta .brd-pq-label--light {
    color: var(--brd-azul-claro);
    justify-content: center;
}
.brd-pq-section--cta .brd-pq-label--light::before {
    background-color: var(--brd-azul-claro);
}

/* ══ Responsivo ══ */
@media (max-width: 768px) {
    .brd-pq-hero    { padding: 64px 0 110px; }
    .brd-pq-section { padding: 60px 0; }
    .brd-pq-section--cta { padding-top: 80px; }
    .brd-pq-hero__deco { display: none; }

    .brd-pq-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .brd-pq-feature,
    .brd-pq-feature:nth-child(4),
    .brd-pq-feature:nth-child(5) {
        grid-column: 1;
    }

    .brd-pq-crescer      { grid-template-columns: 1fr; gap: 28px; }
    .brd-pq-pains        { max-width: 100%; }
    .brd-pq-resolution   { max-width: 100%; }

    .brd-pq-crescer__items > .brd-pq-parceria-icon { display: none; }
    .brd-pq-cta-icon-block {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
}
