/* Sprint 7.2B — Hero Premium Living Dashboard
   Brand: #003845 / #FF6B00 · Poppins (via landing layout)
   Root-relative: /assets/css/hero-premium.css
*/

.pc-hero--premium {
    --pc-hero-primary: #003845;
    --pc-hero-orange: #FF6B00;
    --pc-hero-warm: #FFCC99;
    --pc-hero-glass: rgba(255, 255, 255, 0.72);
    --pc-hero-glass-border: rgba(221, 235, 237, 0.85);
    position: relative;
    overflow: hidden;
    padding: 72px 0 88px;
    background: transparent;
    isolation: isolate;
}

.pc-hero--premium .pc-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 48px;
    align-items: center;
}

/* —— Background —— */
.pc-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.pc-hero-bg__radial {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 204, 153, 0.42), transparent 32%),
        radial-gradient(circle at 12% 78%, rgba(0, 56, 69, 0.08), transparent 40%),
        linear-gradient(135deg, #fff 0%, #f7fbfc 52%, #eef6f7 100%);
}

.pc-hero-bg__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.45;
}

.pc-hero-bg__blob--a {
    width: 280px;
    height: 280px;
    top: -60px;
    right: 8%;
    background: rgba(255, 107, 0, 0.18);
}

.pc-hero-bg__blob--b {
    width: 320px;
    height: 320px;
    bottom: -80px;
    left: -40px;
    background: rgba(0, 56, 69, 0.12);
}

.pc-hero-bg__blob--c {
    width: 180px;
    height: 180px;
    top: 40%;
    left: 42%;
    background: rgba(77, 144, 158, 0.16);
}

.pc-hero-bg__paw {
    position: absolute;
    right: 6%;
    top: 18%;
    width: min(420px, 48vw);
    height: min(420px, 48vw);
    opacity: 0.04;
    background:
        radial-gradient(ellipse 28% 32% at 50% 62%, #003845 0 70%, transparent 72%),
        radial-gradient(circle 11% at 28% 28%, #003845 0 70%, transparent 72%),
        radial-gradient(circle 10% at 50% 16%, #003845 0 70%, transparent 72%),
        radial-gradient(circle 10% at 72% 28%, #003845 0 70%, transparent 72%),
        radial-gradient(circle 9% at 38% 42%, #003845 0 70%, transparent 72%);
    transform: rotate(-12deg);
}

/* —— Particles —— */
.pc-hero-particles {
    position: absolute;
    inset: 0;
}

.pc-hero-particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: calc(10px * var(--s, 1));
    height: calc(10px * var(--s, 1));
    opacity: 0.28;
    color: var(--pc-hero-primary);
    animation: pc-hero-drift var(--d, 28s) linear infinite;
}

.pc-hero-particle--paw::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 40% 45% at 50% 68%, currentColor 0 68%, transparent 70%),
        radial-gradient(circle 18% at 26% 30%, currentColor 0 68%, transparent 70%),
        radial-gradient(circle 16% at 50% 18%, currentColor 0 68%, transparent 70%),
        radial-gradient(circle 16% at 74% 30%, currentColor 0 68%, transparent 70%);
}

.pc-hero-particle--cross::before {
    content: '+';
    font-size: calc(14px * var(--s, 1));
    font-weight: 700;
    color: var(--pc-hero-orange);
    line-height: 1;
}

.pc-hero-particle--heart::before {
    content: '♥';
    font-size: calc(11px * var(--s, 1));
    color: rgba(255, 107, 0, 0.7);
    line-height: 1;
}

.pc-hero-particle--circle {
    border-radius: 50%;
    border: 1.5px solid rgba(0, 56, 69, 0.35);
    background: transparent;
}

@keyframes pc-hero-drift {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(12px, -18px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.pc-hero--no-particles .pc-hero-particles,
.pc-hero--reduced-motion .pc-hero-particles,
.pc-hero--static .pc-hero-particles {
    display: none;
}

/* —— Content —— */
.pc-hero__content {
    position: relative;
    z-index: 2;
}

.pc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pc-hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--botral-purple, #6C3CE9);
    box-shadow: 0 0 0 4px rgba(108, 60, 233, 0.18);
}

.pc-hero--animated:not(.pc-hero--reduced-motion) .pc-hero__badge-dot {
    animation: pc-hero-pulse 2.4s ease-in-out infinite;
}

@keyframes pc-hero-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.85; }
}

.pc-hero__title { letter-spacing: -0.02em; }
.pc-hero__subtitle { max-width: 540px; }

.pc-hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.pc-hero__capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.pc-hero__capabilities li {
    border: 1px solid rgba(0, 56, 69, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: var(--pc-hero-primary);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 10px;
}

.pc-hero__proof {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.pc-hero--premium .pc-proof {
    border: 1px solid var(--pc-hero-glass-border);
    border-radius: 10px;
    background: var(--pc-hero-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px;
    font-size: 13px;
    color: var(--pc-hero-primary);
    font-weight: 600;
}

.pc-hero__stat-note {
    margin-top: 16px;
    color: var(--pc-muted, #536B73);
    font-size: 13px;
}

/* —— Atendimento flow —— */
.pc-atendimento-flow {
    margin-top: 28px;
}

.pc-atendimento-flow__label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pc-hero-primary);
}

.pc-atendimento-flow__label span {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--pc-muted, #536B73);
}

.pc-atendimento-flow__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.pc-atendimento-flow__step {
    position: relative;
    border-radius: 10px;
    border: 1px solid var(--pc-hero-glass-border);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--pc-hero-primary);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.pc-hero--animated:not(.pc-hero--reduced-motion) .pc-atendimento-flow__step {
    animation: pc-flow-highlight 8s ease-in-out infinite;
}

.pc-hero--animated:not(.pc-hero--reduced-motion) .pc-atendimento-flow__step[data-step="1"] { animation-delay: 2s; }
.pc-hero--animated:not(.pc-hero--reduced-motion) .pc-atendimento-flow__step[data-step="2"] { animation-delay: 4s; }
.pc-hero--animated:not(.pc-hero--reduced-motion) .pc-atendimento-flow__step[data-step="3"] { animation-delay: 6s; }

@keyframes pc-flow-highlight {
    0%, 12%, 100% {
        border-color: var(--pc-hero-glass-border);
        box-shadow: none;
        background: rgba(255, 255, 255, 0.65);
    }
    4%, 8% {
        border-color: rgba(255, 107, 0, 0.45);
        box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
        background: rgba(255, 248, 240, 0.95);
    }
}

/* —— Visual / dashboard —— */
.pc-hero__visual {
    position: relative;
    z-index: 2;
    will-change: transform;
    transition: transform 0.15s ease-out;
}

.pc-hero--no-parallax .pc-hero__visual,
.pc-hero--reduced-motion .pc-hero__visual {
    transform: none !important;
    transition: none;
}

.pc-hero__paw-watermark {
    position: absolute;
    inset: 8% -4% auto auto;
    width: 70%;
    aspect-ratio: 1;
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 28% 32% at 50% 62%, #003845 0 70%, transparent 72%),
        radial-gradient(circle 11% at 28% 28%, #003845 0 70%, transparent 72%),
        radial-gradient(circle 10% at 50% 16%, #003845 0 70%, transparent 72%),
        radial-gradient(circle 10% at 72% 28%, #003845 0 70%, transparent 72%);
}

.pc-living-dash {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    border: 1px solid var(--pc-hero-glass-border);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 56, 69, 0.14);
}

.pc-living-dash--animated:not(.pc-hero--reduced-motion *) {
    /* breath handled below via parent selector */
}

.pc-hero--animated:not(.pc-hero--reduced-motion) .pc-living-dash--animated {
    animation: pc-dash-breath 4.5s ease-in-out infinite;
}

@keyframes pc-dash-breath {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1px); }
}

.pc-living-dash__chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--pc-hero-primary);
    color: #d7eef2;
    padding: 12px 14px;
}

.pc-living-dash__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.pc-living-dash__dot:nth-child(1) { background: #ff6b6b; }
.pc-living-dash__dot:nth-child(2) { background: #ffd166; }
.pc-living-dash__dot:nth-child(3) { background: #06d6a0; }

.pc-living-dash__title {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 600;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-living-dash__badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 107, 0, 0.92);
    color: #fff;
    white-space: nowrap;
}

.pc-living-dash__body {
    display: grid;
    grid-template-columns: 88px 1fr;
    min-height: 360px;
}

.pc-living-dash__sidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 8px;
    background: rgba(238, 246, 247, 0.9);
    border-right: 1px solid var(--pc-hero-glass-border);
    font-size: 10px;
    font-weight: 600;
    color: #536B73;
}

.pc-living-dash__sidebar span {
    padding: 8px 6px;
    border-radius: 8px;
}

.pc-living-dash__sidebar .is-active {
    background: rgba(0, 56, 69, 0.08);
    color: var(--pc-hero-primary);
}

.pc-living-dash__main {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.pc-living-dash__panel {
    border: 1px solid var(--pc-hero-glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    padding: 12px;
}

.pc-living-dash__panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.pc-living-dash__panel strong {
    font-size: 13px;
    color: var(--pc-hero-primary);
}

.pc-living-dash__hint {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pc-hero-orange);
}

.pc-living-dash__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.pc-living-dash__list li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: #536B73;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(247, 251, 252, 0.9);
}

.pc-living-dash__list em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
}

.pc-living-dash__list .is-ok {
    background: rgba(6, 214, 160, 0.15);
    color: #0a7a3e;
}

.pc-living-dash__list .is-warn {
    background: rgba(255, 209, 102, 0.28);
    color: #8a5a00;
}

.pc-living-dash__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pc-living-dash__metric {
    margin: 6px 0 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--pc-hero-primary);
    line-height: 1.1;
}

.pc-living-dash__metric small {
    font-size: 11px;
    font-weight: 500;
    color: #536B73;
}

.pc-living-dash__metric-label {
    margin: 8px 0 0;
    font-size: 13px;
    color: #536B73;
}

.pc-living-dash__caption {
    margin: 6px 0 0;
    font-size: 11px;
    color: #536B73;
}

.pc-living-dash__caption span {
    color: var(--pc-hero-orange);
    font-weight: 600;
}

.pc-living-dash__bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 36px;
    margin-top: 10px;
}

.pc-living-dash__bars i {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, var(--pc-hero-orange), rgba(255, 107, 0, 0.35));
    display: block;
}

.pc-hero--animated:not(.pc-hero--reduced-motion) .pc-living-dash__bars i {
    animation: pc-bar-pulse 3.2s ease-in-out infinite;
}

.pc-hero--animated:not(.pc-hero--reduced-motion) .pc-living-dash__bars i:nth-child(2) { animation-delay: 0.3s; }
.pc-hero--animated:not(.pc-hero--reduced-motion) .pc-living-dash__bars i:nth-child(3) { animation-delay: 0.6s; }
.pc-hero--animated:not(.pc-hero--reduced-motion) .pc-living-dash__bars i:nth-child(4) { animation-delay: 0.9s; }
.pc-hero--animated:not(.pc-hero--reduced-motion) .pc-living-dash__bars i:nth-child(5) { animation-delay: 1.2s; }

@keyframes pc-bar-pulse {
    0%, 100% { opacity: 0.75; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.06); }
}

.pc-living-dash__pills,
.pc-living-dash__stock {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.pc-living-dash__pills span,
.pc-living-dash__stock span {
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0, 56, 69, 0.06);
    color: var(--pc-hero-primary);
}

.pc-living-dash__stock .is-low {
    background: rgba(255, 107, 0, 0.14);
    color: #b34a00;
}

.pc-living-dash__stock .is-ok {
    background: rgba(6, 214, 160, 0.14);
    color: #0a7a3e;
}

.pc-living-dash__chat {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.pc-living-dash__bubble {
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(238, 246, 247, 0.95);
    color: #536B73;
    max-width: 92%;
}

.pc-living-dash__bubble--out {
    margin-left: auto;
    background: rgba(255, 107, 0, 0.12);
    color: var(--pc-hero-primary);
}

.pc-living-dash__panel--botral {
    background: linear-gradient(145deg, rgba(245, 243, 255, 0.95), rgba(255, 255, 255, 0.85));
    border-color: rgba(108, 60, 233, 0.22);
}

.pc-living-dash__botral-msg {
    margin: 0;
    font-size: 12px;
    color: var(--pc-hero-primary);
    line-height: 1.45;
}

.pc-living-dash__disclaimer {
    margin: 8px 0 0;
    font-size: 10px;
    line-height: 1.4;
    color: #6b5b95;
}

.pc-living-dash__disclaimer strong {
    font-size: inherit;
    color: #4a3a7a;
}

.pc-living-dash__botral-progress {
    display: flex;
    gap: 4px;
    margin: 10px 0;
}

.pc-living-dash__botral-progress span {
    display: block;
    width: 30%;
    height: 4px;
    border-radius: 999px;
    background: rgba(108, 60, 233, .18);
}

.pc-living-dash__botral-progress span:first-child {
    background: #6c3ce9;
}

.pc-living-dash__botral-results {
    display: grid;
    gap: 4px;
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.pc-living-dash__botral-results li {
    color: #4a3a7a;
    font-size: 10px;
}

.pc-living-dash__botral-results li::before {
    content: '✓';
    font-weight: 700;
    margin-right: 5px;
}

.pc-living-dash__panel--botral.is-analyzing .pc-living-dash__botral-results {
    opacity: .35;
}

.pc-living-dash__panel--botral.is-analyzing .pc-living-dash__botral-progress span {
    animation: pc-botral-progress 1.8s ease-in-out infinite;
}

.pc-living-dash__panel--botral.is-analyzing .pc-living-dash__botral-progress span:nth-child(2) { animation-delay: .2s; }
.pc-living-dash__panel--botral.is-analyzing .pc-living-dash__botral-progress span:nth-child(3) { animation-delay: .4s; }

@keyframes pc-botral-progress {
    0%, 100% { background: rgba(108, 60, 233, .18); }
    50% { background: #6c3ce9; }
}

/* —— Floating cards —— */
.pc-hero__floats {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.pc-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 168px;
    max-width: 200px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--pc-hero-glass-border);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 36px rgba(0, 56, 69, 0.12);
}

.pc-float-card__icon {
    font-size: 18px;
    line-height: 1;
}

.pc-float-card__body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.pc-float-card__body strong {
    font-size: 12px;
    color: var(--pc-hero-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-float-card__body small {
    font-size: 10px;
    color: #536B73;
}

.pc-float-card--0 { top: 6%; left: -8%; }
.pc-float-card--1 { top: 28%; right: -10%; }
.pc-float-card--2 { bottom: 22%; left: -12%; }
.pc-float-card--3 { bottom: 4%; right: -6%; }

.pc-float-enter { transition: opacity 0.35s ease, transform 0.35s ease; }
.pc-float-enter-start { opacity: 0; transform: translateY(8px) scale(0.96); }
.pc-float-enter-end { opacity: 1; transform: translateY(0) scale(1); }
.pc-float-leave { transition: opacity 0.28s ease, transform 0.28s ease; }
.pc-float-leave-start { opacity: 1; transform: translateY(0) scale(1); }
.pc-float-leave-end { opacity: 0; transform: translateY(-6px) scale(0.96); }

/* —— Reduced motion —— */
@media (prefers-reduced-motion: reduce) {
    .pc-hero--premium *,
    .pc-hero--premium *::before,
    .pc-hero--premium *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .pc-hero-particles { display: none !important; }

    .pc-hero--premium .pc-living-dash--animated {
        animation: none !important;
    }

    .pc-living-dash__panel--botral.is-analyzing .pc-living-dash__botral-progress span {
        animation: none;
    }
}

.pc-hero--reduced-motion .pc-hero-particles,
.pc-hero--static .pc-hero-particle,
.pc-hero--reduced-motion .pc-living-dash--animated,
.pc-hero--static .pc-living-dash--animated {
    animation: none !important;
}

.pc-hero--reduced-motion .pc-atendimento-flow__step,
.pc-hero--static .pc-atendimento-flow__step {
    animation: none !important;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
    .pc-hero--premium .pc-hero__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .pc-hero__proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-atendimento-flow__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-float-card--0 { top: 2%; left: 2%; }
    .pc-float-card--1 { top: 8%; right: 2%; }
    .pc-float-card--2,
    .pc-float-card--3 { display: none; }
}

@media (max-width: 640px) {
    .pc-hero--premium {
        padding: 48px 0 56px;
    }

    .pc-hero__proof,
    .pc-atendimento-flow__steps {
        grid-template-columns: 1fr;
    }

    .pc-living-dash__body {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .pc-living-dash__sidebar {
        display: none;
    }

    .pc-living-dash__row {
        grid-template-columns: 1fr;
    }

    .pc-living-dash__badge {
        display: none;
    }

    .pc-hero-particles .pc-hero-particle:nth-child(n+5) {
        display: none;
    }

    .pc-float-card {
        min-width: 140px;
        max-width: 160px;
        padding: 8px 10px;
    }

    .pc-float-card--1 { display: none; }

    .pc-hero--premium .pc-living-dash--animated {
        animation: none;
    }
}
