/* ==========================================================================
   KODEX AUDIOVISUAL - REDES SOCIAIS PAGE STYLES
   Temática Apple Crystal e Vermelho (#D93B2A)
   ========================================================================== */

/* Seção Principal */
.orcamento2-page {
    background-color: transparent;
    color: var(--color-white);
    min-height: 100vh;
}

section {
    padding: 7rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
}

/* 1. INTERACTIVE SPLIT PORTFOLIO */
.split-portfolio-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 992px) {
    .split-portfolio-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 4rem;
    }
}

/* Coluna da esquerda rolável */
.cases-scroll-column {
    flex: 1.25;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.case-scroll-item {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    gap: 1.8rem;
    align-items: flex-start;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.case-scroll-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--color-red);
    opacity: 0;
    transition: var(--transition-fast);
}

.case-scroll-item:hover, .case-scroll-item.active {
    border-color: var(--border-glass-active);
    background: rgba(217, 59, 42, 0.03);
    transform: translateX(4px);
}

.case-scroll-item.active::after {
    opacity: 1;
}

.case-num {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    transition: var(--transition-fast);
}

.case-scroll-item:hover .case-num, .case-scroll-item.active .case-num {
    color: var(--color-red);
    text-shadow: 0 0 10px rgba(217, 59, 42, 0.35);
}

.case-text {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.case-category {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-red);
}

.case-scroll-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
}

.case-scroll-item p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* Sticky Right Column containing Mobile Simulator */
.phone-sticky-column {
    flex: 0.85;
    position: relative;
}

@media (min-width: 992px) {
    .phone-sticky-column {
        position: sticky;
        top: 130px; /* Offset da barra do menu scrolled */
    }
}

/* Simulador de Celular Realista (Apple Style) */
.phone-simulator {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 19.5;
    background-color: #000;
    border: 11px solid #1a1a1a;
    border-radius: 40px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.phone-camera-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 25px;
    background-color: #1a1a1a;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

.phone-screen-container {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #050505;
}

.phone-video-source {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease-in-out;
}

.phone-overlay-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.85) 100%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.2rem 1.5rem 1.8rem 1.5rem;
    pointer-events: none;
}

.top-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-meta-info span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-white);
}

.rec-dot-box {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.rec-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-red-glow);
    animation: pulseRec 1.2s infinite ease-in-out;
}

@keyframes pulseRec {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.bottom-meta-info {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 90%;
}

.bottom-meta-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-white);
}

.bottom-meta-info p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

/* Painel de Ações do Celular */
.interactive-action-buttons {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    pointer-events: auto;
}

.sim-action-btn {
    width: 38px;
    height: 38px;
    background: rgba(3, 3, 3, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sim-action-btn:hover {
    background-color: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 0 12px rgba(217, 59, 42, 0.55);
    transform: scale(1.08);
}

/* Bastidores Grid */
.bastidores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.2rem;
}

.bastidores-card {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition-normal);
}

.bastidores-card:hover {
    border-color: var(--border-glass-active);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glass);
}

.bastidores-img-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.bastidores-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: brightness(0.85);
}

.bastidores-card:hover .bastidores-img {
    transform: scale(1.03);
    filter: brightness(0.95);
}

.bastidores-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 3, 3, 0.6);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-normal);
}

.bastidores-card:hover .bastidores-hover {
    opacity: 1;
}

.view-btn {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    background: var(--color-red);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(217, 59, 42, 0.4);
}

.bastidores-info {
    padding: 1.8rem;
}

.bastidores-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--color-white);
}

.bastidores-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}


/* 2. SIMULADOR E PACOTES */
.simulador-dashboard-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .simulador-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Coluna da esquerda (Botões Seletores de Plano) */
.dashboard-plans-column {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.plan-row-btn {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 2.2rem 2.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.plan-row-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background-color: var(--color-red);
    opacity: 0;
    transition: var(--transition-fast);
}

.plan-row-btn:hover {
    border-color: var(--border-glass-active);
    background: rgba(25, 25, 25, 0.45);
    transform: translateY(-2px);
}

.plan-row-btn.active {
    border-color: var(--border-glass-active);
    background: rgba(217, 59, 42, 0.03);
    box-shadow: 0 10px 25px rgba(217, 59, 42, 0.05);
}

.plan-row-btn.active::before {
    opacity: 1;
}

.plan-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.plan-row-title-box {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
}

.plan-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.plan-badge.accent {
    color: var(--color-red-glow);
    border-color: rgba(217, 59, 42, 0.35);
    background: rgba(217, 59, 42, 0.1);
}

.plan-badge.gold {
    color: var(--color-yellow);
    border-color: rgba(245, 185, 30, 0.35);
    background: rgba(245, 185, 30, 0.1);
}

.plan-row-title-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.plan-row-price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.plan-row-price .currency {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

.plan-row-price .price-val {
    font-family: var(--font-title);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1;
}

.plan-row-price .period {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.plan-row-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.dashboard-note-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 1.5rem 1.8rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.dashboard-note-box i {
    font-size: 1.1rem;
    color: var(--color-red);
    margin-top: 0.1rem;
}

.dashboard-note-box p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* Coluna da direita (Recibo Digital Interativo) */
.dashboard-visuals-column {
    width: 100%;
}

.digital-receipt-card {
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-glass);
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.receipt-header {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    padding-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.receipt-header h3 {
    font-family: var(--font-mono, monospace);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8);
}

.receipt-date {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--color-red);
}

.receipt-metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    padding-bottom: 2.2rem;
}

.receipt-metric {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.receipt-metric small {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
}

.receipt-metric h4 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
}

.saving-text {
    color: #25D366 !important;
}

.receipt-deliverables {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.receipt-deliverables h5 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
}

.receipt-deliverables ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.receipt-deliverables ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
}

.receipt-deliverables ul li i {
    font-size: 1rem;
    margin-top: 0.1rem;
}

/* Simulador de Frequência de Postagens (Calendário) */
.calendar-visualizer-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calendar-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.calendar-header-meta h5 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
}

#calendar-frequency-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-red-glow);
    letter-spacing: 0.05em;
}

.calendar-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.6rem;
}

.calendar-day-cell {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
    position: relative;
    transition: var(--transition-fast);
}

.calendar-day-cell.active {
    background: rgba(217, 59, 42, 0.12);
    border-color: rgba(217, 59, 42, 0.4);
    color: var(--color-white);
    font-weight: 700;
    box-shadow: inset 0 0 10px rgba(217, 59, 42, 0.25);
}

.calendar-day-cell.active-gold {
    background: rgba(245, 185, 30, 0.12);
    border-color: rgba(245, 185, 30, 0.4);
    color: var(--color-white);
    font-weight: 700;
    box-shadow: inset 0 0 10px rgba(245, 185, 30, 0.25);
}

.calendar-legend {
    display: flex;
    gap: 1.5rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.legend-dot.active {
    background-color: var(--color-red);
    box-shadow: 0 0 5px var(--color-red-glow);
}

.receipt-footer {
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.receipt-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.receipt-total-row span:first-child {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.receipt-total-row span:last-child {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 0.02em;
}


/* 3. WORKFLOW PASSOS */
.passos-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .passos-timeline {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.passo-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

@media (min-width: 769px) {
    .passo-item:not(:last-child)::after {
        content: '\f061'; /* FontAwesome arrow right */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 22px;
        right: -1.5rem;
        transform: translateX(50%);
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.15);
    }
}

.passo-number {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    transition: var(--transition-normal);
}

.passo-item:hover .passo-number {
    color: var(--color-red);
    -webkit-text-stroke: 1px transparent;
    text-shadow: 0 0 15px rgba(217, 59, 42, 0.4);
}

.passo-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.passo-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.passo-content p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}
