/* ============================================================
   THEME: CONSORCIO (Hive Consórcio)
   Inclui estilos do hero, landing page e componentes específicos.
   Carregado via @push('head-links') em products/consorcio/landing.blade.php
   ============================================================ */

/* ── Hero (hivec-hero) ───────────────────────────────────────
   Antes definido inline em hero-consorcio.blade.php
   ──────────────────────────────────────────────────────────── */

.hivec-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 56%, #0e1525 100%);
}

.hivec-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 78% 45%, rgba(110, 141, 255, 0.22), transparent 35%);
    pointer-events: none;
}

.hivec-left {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hivec-badge {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hivec-title {
    font-size: clamp(2.4rem, 4.8vw, 4.2rem);
    line-height: 1.08;
    font-weight: 800;
    color: #111111;
    max-width: 760px;
}

.hivec-description {
    margin-top: 1.5rem;
    max-width: 660px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.68);
}

.hivec-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hivec-right {
    position: relative;
    z-index: 2;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hivec-stage {
    position: relative;
    min-height: 620px;
    border-radius: 1.75rem;
    background: linear-gradient(160deg, rgba(13, 21, 38, 0.98), rgba(11, 31, 62, 0.94));
    border: 1px solid rgba(110, 141, 255, 0.3);
    box-shadow: 0 2rem 4rem rgba(6, 12, 26, 0.45);
    overflow: hidden;
}

.hivec-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hivec-dashboard-frame {
    position: absolute;
    inset: 3rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(104, 134, 255, 0.34);
    background: rgba(9, 21, 42, 0.7);
    box-shadow: 0 1.5rem 3rem rgba(4, 9, 21, 0.45);
    z-index: 3;
    overflow: hidden;
}

.hivec-dashboard-image {
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hivec-orbit-item {
    position: absolute;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    color: #dce7ff;
    animation: hivecFloat 6s ease-in-out infinite;
}

.hivec-orbit-item::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130px;
    height: 1px;
    background: linear-gradient(90deg, rgba(160, 190, 255, 0.68), rgba(160, 190, 255, 0));
    transform-origin: left center;
    pointer-events: none;
    opacity: 0.65;
}

.hivec-orbit-item--imovel      { top: 8%;  left: 10%;  animation-delay: 0s; }
.hivec-orbit-item--veiculo     { top: 13%; right: 8%;  animation-delay: 0.5s; }
.hivec-orbit-item--investimento{ top: 48%; right: 1%;  animation-delay: 1s; }
.hivec-orbit-item--ia          { bottom: 8%;  right: 14%; animation-delay: 1.4s; }
.hivec-orbit-item--leads       { bottom: 11%; left: 8%;  animation-delay: 1.8s; }
.hivec-orbit-item--automacao   { top: 46%; left: 0%;   animation-delay: 2.2s; }

.hivec-orbit-item--imovel::after,
.hivec-orbit-item--automacao::after,
.hivec-orbit-item--leads::after {
    transform: rotate(18deg);
}

.hivec-orbit-item--veiculo::after,
.hivec-orbit-item--investimento::after,
.hivec-orbit-item--ia::after {
    transform: rotate(198deg);
}

.hivec-orbit-hex {
    width: 76px;
    height: 84px;
    clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
    border: 1px solid rgba(255, 211, 51, 0.72);
    background: linear-gradient(180deg, rgba(22, 40, 74, 0.95), rgba(13, 24, 45, 0.98));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 211, 51, 0.18);
}

.hivec-orbit-icon {
    width: 28px;
    height: 28px;
    color: #ffd333;
}

.hivec-orbit-label {
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.66rem;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(17, 35, 67, 0.92);
    border: 1px solid rgba(117, 151, 255, 0.4);
    color: #dce7ff;
}

@keyframes hivecFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}

/* ── Landing page — componentes visuais ──────────────────────
   Antes definido inline em products/consorcio/landing.blade.php
   ──────────────────────────────────────────────────────────── */

.consorcio-section-title {
    color: var(--primary-contrast);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.consorcio-card {
    border: 1px solid rgba(245, 198, 35, 0.24);
    border-radius: 1rem;
}

.consorcio-card:hover {
    box-shadow: 0 1rem 2rem rgba(29, 21, 0, 0.08);
}

.consorcio-muted {
    color: #6f6760;
}

.consorcio-cta {
    background: linear-gradient(135deg, #ffe9a5 0%, var(--primary) 100%);
    color: var(--primary-contrast);
}

/* Garantir contraste em fundos amarelos */
.consorcio-cta,
.btn-warning,
.bg-warning,
.text-bg-warning {
    color: #1d1500 !important;
}

.consorcio-cta .text-white-50 {
    color: rgba(29, 21, 0, 0.75) !important;
}

.consorcio-step-number {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    background: rgba(245, 198, 35, 0.2);
    color: var(--primary-dark);
}

.consultant-entry-card {
    border: 1px solid rgba(245, 198, 35, 0.3);
    border-radius: 1rem;
}

.consultant-entry-actions .btn,
.consultant-entry-actions .btn-link {
    min-height: 3rem;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 991.98px) {
    .hivec-hero {
        background: linear-gradient(180deg, var(--primary) 0%, var(--primary) 58%, #0e1525 100%);
    }

    .hivec-left  { padding-top: 4rem; padding-bottom: 2rem; }
    .hivec-right { padding-top: 0.5rem; padding-bottom: 2.5rem; }
    .hivec-stage { min-height: 610px; }
    .hivec-dashboard-frame { inset: 2.2rem 1.2rem; }
    .hivec-orbit-item { transform: scale(0.88); }
    .hivec-orbit-item::after { width: 90px; }

    .hivec-orbit-item--automacao,
    .hivec-orbit-item--investimento { display: none; }
}

@media (max-width: 575.98px) {
    .hivec-title       { font-size: clamp(1.9rem, 10vw, 2.5rem); }
    .hivec-description { font-size: 1rem; }
    .hivec-actions .btn { width: 100%; }
    .hivec-stage { min-height: 560px; }
    .hivec-dashboard-frame { inset: 1.3rem 0.85rem; }
    .hivec-orbit-item  { display: none; }

    .consultant-entry-actions .btn,
    .consultant-entry-actions .btn-link { width: 100%; justify-content: center; }
}
