/*
 * Pseudo-Home — Entrada B2B
 * Redesign 2026-05-08 — baseado no rascunho Canva
 */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { height: 100%; }

body.brd-entry-page {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E") repeat,
        linear-gradient(to bottom, rgba(24,51,87,0.08) 0%, #F8F8F5 100%) !important;
    color: #183357;
    font-family: 'Galano Grotesque', sans-serif;
    min-height: 100dvh;
    min-height: 100vh;
}

/* ── Container ── */
.brd-ph-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
}

/* ── Header ── */
.brd-ph-header {
    display: flex;
    align-items: center !important;
    justify-content: space-between;
    padding: 24px 0 20px;
    animation: brd-fade-down 0.5s ease both;
}

.brd-ph-logo-link {
    display: block;
    align-self: center;
    line-height: 0;
}

.brd-ph-logo {
    display: block;
    width: 200px;
    height: auto;
}

.brd-ph-eyebrow {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    text-align: right;
    color: #206BB3;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ── Régua ── */
.brd-ph-rule {
    height: 4px;
    background: linear-gradient(
        to right,
        transparent 0%,
        #aab6c2 15%,
        #206BB3 50%,
        #aab6c2 85%,
        transparent 100%
    );
    clip-path: ellipse(50% 50% at 50% 50%);
}

/* ── Hero ── */
.brd-ph-hero {
    padding: 32px 0 28px;
    text-align: center;
    animation: brd-fade-up 0.55s 0.1s ease both;
}

.brd-ph-h1 {
    font-size: clamp(26px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #183357;
    margin-bottom: 10px;
}

.brd-ph-subline {
    font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(24, 51, 87, 0.55);
    line-height: 1.6;
}

/* ── Wrapper interno (display:contents no desktop — invisível no layout) ── */
.brd-ph-choice-inner { display: contents; }

/* ── Área de escolha ── */
.brd-ph-choices {
    display: flex;
    justify-content: center;
    gap: 120px;
    padding: 8px 0 32px;
    animation: brd-fade-up 0.55s 0.2s ease both;
}

/* ── Card de perfil ── */
.brd-ph-choice {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: #183357;
}

/* ── Anotação (coluna lateral) ── */
.brd-ph-choice-note {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 150px;
}

.brd-ph-choice-note p {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(24, 51, 87, 0.9);
    text-align: right;
}

/* ── Coluna da figura ── */
.brd-ph-figure-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ── Wrapper da figura (contexto para o balão) ── */
.brd-ph-figure-wrap {
    position: relative;
}

/* ── Balão de fala (SVG inline) ── */
.brd-ph-speech-bubble {
    position: absolute;
    top: 22px;
    left: -90px;
    width: 160px;
    pointer-events: none;
    z-index: 1;
    display: block;
}

.brd-ph-speech-bubble svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(24, 51, 87, 0.18));
}

.brd-ph-bubble-fill {
    fill: #183357;
    transition: fill 0.2s ease;
}

.brd-ph-bubble-text {
    fill: #F4EED7;
    font-family: 'Galano Grotesque', sans-serif;
    font-size: 63px;
    font-weight: 500;
    letter-spacing: 1.5px;
}

@media (hover: hover) {
    .brd-ph-choice:hover .brd-ph-bubble-fill { fill: #206BB3; }
}

/* Botão da lojista alinhado com o do body piercer (imagens têm larguras diferentes) */
.brd-ph-choices .brd-ph-choice:last-child .brd-ph-choice-cta { width: 243px; margin-left: 13px; }

/* Botão mobile: oculto por padrão (visível só no mobile via media query) */
.brd-ph-choice-cta.brd-ph-cta-mobile { display: none; }

/* ── Figura: altura fixa, largura livre ── */
.brd-ph-figure {
    display: block;
    height: 360px;
    width: auto;
}

/* ── Botão CTA ── */
.brd-ph-choice-cta {
    display: block;
    width: 100%;
    padding: 14px 0;
    text-align: center;
    background: #183357;
    color: #F4EED7;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border: none;
    border-radius: 6px 6px 36px 36px;
    margin-top: 0;
    box-shadow: 0 8px 24px rgba(24, 51, 87, 0.28), 0 2px 6px rgba(24, 51, 87, 0.14);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
    .brd-ph-choice:hover .brd-ph-choice-cta { background: #206BB3; }
}

/* ── Reviews ── */
.brd-ph-reviews {
    display: flex;
    gap: 24px;
    padding: 28px 0 24px;
    animation: brd-fade-up 0.55s 0.3s ease both;
}

.brd-ph-review {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #ffffff;
    border: 1px solid rgba(24, 51, 87, 0.07);
    border-radius: 14px;
    padding: 24px 24px 20px;
    box-shadow: 0 2px 16px rgba(24, 51, 87, 0.07), 0 1px 4px rgba(24, 51, 87, 0.05);
    position: relative;
    overflow: hidden;
}

/* Aspas decorativas */
.brd-ph-review::before {
    content: '\201C';
    position: absolute;
    top: 8px;
    right: 18px;
    font-size: 96px;
    line-height: 1;
    color: #206BB3;
    opacity: 0.1;
    font-family: Georgia, serif;
    pointer-events: none;
}

/* Badge Google */
.brd-ph-review-google {
    display: flex;
    align-items: center;
    gap: 6px;
}

.brd-ph-review-google span {
    font-size: 12px;
    color: rgba(24, 51, 87, 0.45);
    letter-spacing: 0.02em;
}

.brd-ph-review-text {
    font-size: 15px;
    color: rgba(24, 51, 87, 0.78);
    line-height: 1.7;
    font-style: italic;
    padding-top: 4px;
    margin-bottom: 0;
}

.brd-ph-review-byline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    margin-bottom: 0;
}

.brd-ph-review-stars {
    font-size: 14.5px;
    letter-spacing: 1.5px;
    color: #FBBC04;
    line-height: 1;
}

.brd-ph-review-author {
    font-size: 13px;
    font-style: italic;
    color: rgba(24, 51, 87, 0.5);
}

/* ── Footer ── */
.brd-ph-footer {
    padding: 16px 0 24px;
    text-align: center;
    animation: brd-fade-up 0.5s 0.4s ease both;
}

.brd-ph-footer p {
    font-size: 14px;
    color: #666;
    letter-spacing: 0.01em;
    line-height: 1.9;
}

/* ── Botões flutuantes: ocultar Instagram nesta página ── */
body.brd-entry-page .brd-instagram-float,
body.brd-entry-page #brd-sw-btn,
body.brd-entry-page #ast-scroll-top { display: none !important; }

/* ── WhatsApp: reexibir no mobile (b2b.css oculta globalmente pois outras páginas têm bottom-nav; pseudo-home não tem) ── */
@media (max-width: 921px) {
    body.brd-entry-page .brd-whatsapp-float {
        display: flex !important;
        bottom: 12px !important;
        right: 12px !important;
    }
}

/* ── Keyframes ── */
@keyframes brd-fade-down {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes brd-fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .brd-ph-header,
    .brd-ph-hero,
    .brd-ph-choices,
    .brd-ph-reviews,
    .brd-ph-footer { animation: none; }
    .brd-ph-choice-cta { transition: none; }
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .brd-ph-container { padding: 0 20px; }

    .brd-ph-header { padding: 18px 0 14px; align-items: flex-start; }

    .brd-ph-hero { padding: 24px 0 20px; }

    .brd-ph-choices {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .brd-ph-figure { height: 260px; }

    .brd-ph-speech-bubble { width: 160px; top: 14px; left: 8px; }
    .brd-ph-choices .brd-ph-choice:first-child .brd-ph-speech-bubble { left: -115px; }
    .brd-ph-choice {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 14px 14px 40px 40px;
        border: 1.5px solid rgba(32, 107, 179, 0.35);
        box-shadow: 0 2px 12px rgba(24, 51, 87, 0.07);
    }
    .brd-ph-choice-inner {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        padding: 12px 0 0;
    }
    .brd-ph-choice-note { margin-top: auto; margin-bottom: 0; }
    .brd-ph-figure-col { flex: 1; }
    .brd-ph-choices .brd-ph-choice:first-child .brd-ph-choice-note { flex: 1; max-width: none; justify-content: flex-start; margin-top: auto; margin-bottom: 60px; }
    .brd-ph-choices .brd-ph-choice:first-child .brd-ph-choice-note p { text-align: right; }
    .brd-ph-choices .brd-ph-choice:first-child .brd-ph-figure-col { flex: 0 0 auto; align-items: flex-end; padding-right: 5px; }
    .brd-ph-cta-desktop { display: none; }
    .brd-ph-choice-cta.brd-ph-cta-mobile { display: block; flex: 0 0 100%; margin-top: 0; background: #F4EED7; color: #183357; border: 1.5px solid #206BB3; }
    .brd-ph-choices .brd-ph-choice:last-child .brd-ph-figure-col { order: -1; flex: 0 0 auto; align-items: flex-start; padding-left: 5px; }
    .brd-ph-choices .brd-ph-choice:last-child .brd-ph-choice-note { flex: 1; max-width: none; justify-content: flex-start; margin-top: auto; margin-bottom: 60px; }
    .brd-ph-choices .brd-ph-choice:last-child .brd-ph-choice-note p { text-align: left; }
    .brd-ph-choices .brd-ph-choice:last-child .brd-ph-speech-bubble { left: auto; right: -40px; }
    .brd-ph-choices .brd-ph-choice:last-child .brd-ph-speech-bubble svg { transform: scaleX(-1); }
    .brd-ph-choices .brd-ph-choice:last-child .brd-ph-bubble-text { transform: scaleX(-1); transform-box: fill-box; transform-origin: center; }
    .brd-ph-choices .brd-ph-choice:last-child .brd-ph-choice-cta { width: 100%; margin-left: 0; }

    .brd-ph-reviews { flex-direction: column; gap: 20px; }
}
