/* ============================================
   CONTA DE ENERGIA PREMIUM - SOLNER
   Página unificada: benefícios + soluções + diferenciais
============================================ */


/* ============================================
   CORREÇÃO BUG VIEWPORT
============================================ */
body.page-template-page-conta-de-energia,
body[class*="body-"],
.body-4,
.body-8 {
    overflow: visible !important;
    overflow-y: auto !important;
    height: auto !important;
    max-height: none !important;
}

html {
    overflow: visible !important;
    overflow-y: auto !important;
}

.conta-energia-premium-page {
    background: var(--white);
    overflow-x: hidden;
    overflow-y: visible !important;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

/* ============================================
   ANIMAÇÕES
============================================ */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-element.delay-1 { transition-delay: 0.1s; }
.fade-in-element.delay-2 { transition-delay: 0.2s; }
.fade-in-element.delay-3 { transition-delay: 0.3s; }
.fade-in-element.delay-4 { transition-delay: 0.4s; }

/* ============================================
   HERO CONTA DE ENERGIA
============================================ */
.hero-conta-energia {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 160px;
    padding-bottom: 120px;
    margin-top: 0;
}

.hero-conta-energia .hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-calculadora.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-conta-energia .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2;
}

.hero-conta-energia .hero-gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(255, 182, 0, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(220, 88, 42, 0.12) 0%, transparent 50%);
    opacity: 0.8;
    z-index: 3;
}

.hero-conta-energia .hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 4;
}

.hero-conta-energia .hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge-cinema {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.badge-pulse {
    position: relative;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(220, 88, 42, 0.8),
                0 0 16px rgba(220, 88, 42, 0.4);
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.title-gradient {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.arrow {
    opacity: 0;
    animation: arrow-float 2s ease-in-out infinite;
}

.arrow-1 { animation-delay: 0s; }
.arrow-2 { animation-delay: 0.3s; }
.arrow-3 { animation-delay: 0.6s; }

@keyframes arrow-float {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* ============================================
   INTRO SECTION
============================================ */
.intro-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--primary-blue);
    margin: 0;
}

/* ============================================
   TABS SOLUÇÕES
============================================ */
.solucoes-tabs-section {
    padding: 100px 0;
    background: var(--white);
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 28px 40px;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    min-width: 200px;
}

.tab-btn:hover {
    transform: translateY(-4px);
}

.tab-btn.active {
    background: transparent;
    border: none;
    color: var(--primary-blue);
    box-shadow: none;
}

.tab-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: 16px;
    transition: var(--transition-base);
}

.tab-btn.active .tab-icon {
    background: var(--gray-50);
}

.tab-icon img {
    width: 28px;
    height: 28px;
    filter: brightness(0) saturate(100%) invert(42%) sepia(76%) saturate(1447%) hue-rotate(347deg) brightness(92%) contrast(92%);
    transition: var(--transition-base);
}

.tab-btn.active .tab-icon img {
    filter: brightness(0) saturate(100%) invert(42%) sepia(76%) saturate(1447%) hue-rotate(347deg) brightness(92%) contrast(92%);
}

.tab-btn span {
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    color: var(--gray-700);
    font-family: var(--font-main);
}

.tab-btn.active span {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Tab Panel */
.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tab-info h2 {
    font-size: 36px;
    font-weight: 500;
    color: var(--primary-blue);
    margin: 0 0 24px;
}

.tab-info .texto-destaque {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-800);
    margin: 0 0 20px;
    font-weight: 500;
}

.tab-info p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    margin: 0 0 20px;
}

.tab-info .texto-cta {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-800);
}

.btn-cta-solucao {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-orange);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: 0 4px 12px rgba(220, 88, 42, 0.25);
    margin-top: 12px;
}

.btn-cta-solucao:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 88, 42, 0.4);
}

.tab-video {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.tab-video video {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   BENEFICIOS ALTERNADOS
============================================ */
.beneficios-section {
    padding: 80px 0;
    background: var(--white);
}

.beneficio-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-100);
}

.beneficio-row:last-child {
    border-bottom: none;
}

.beneficio-row.reverse {
    direction: rtl;
}

.beneficio-row.reverse > * {
    direction: ltr;
}

.beneficio-texto h3 {
    font-size: 36px;
    font-weight: 500;
    color: var(--primary-blue);
    margin: 0 0 24px;
}

.beneficio-texto p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin: 0 0 20px;
}

.beneficio-texto p:last-child {
    margin-bottom: 0;
}

.beneficio-imagem {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
}

.beneficio-imagem img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.beneficio-row:hover .beneficio-imagem img {
    transform: scale(1.03);
}

/* ============================================
   DIFERENCIAIS ENERGIA
============================================ */
.diferenciais-energia-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.diferencial-card {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 2px solid var(--gray-200);
}

/* hover e ::before → centralizado em cards.css */

.diferencial-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: 20px;
    transition: var(--transition-base);
}

/* hover e ::before → centralizado em cards.css */

.diferencial-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) saturate(100%) invert(42%) sepia(76%) saturate(1447%) hue-rotate(347deg) brightness(92%) contrast(92%);
    transition: var(--transition-base);
}

.diferencial-card h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-900);
    margin: 0 0 16px;
    line-height: 1.4;
}

.diferencial-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    margin: 0;
}

/* ============================================
   POR QUE ENERGIA SOLAR
============================================ */
.por-que-solar-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.por-que-solar-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.por-que-solar-section .section-header h2 {
    font-size: 36px;
    font-weight: 500;
    color: var(--primary-blue);
    margin: 0 0 16px;
}

.por-que-solar-section .section-header p {
    font-size: 18px;
    color: var(--gray-600);
    margin: 0;
}

.por-que-solar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pq-solar-col {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
    transition: var(--transition-smooth);
    position: relative;
    text-align: center;
}

/* hover e ::before → centralizado em cards.css */

.pq-solar-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(220,88,42,0.1) 0%, rgba(255,182,0,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition-base);
}

.pq-solar-icon svg {
    color: var(--accent-orange);
    transition: var(--transition-base);
}

/* hover e ::before → centralizado em cards.css */

.pq-solar-col h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-900);
    margin: 0 0 16px;
    line-height: 1.4;
}

.pq-solar-col p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    margin: 0;
}

/* ============================================
   RESUMO DO FUNCIONAMENTO
============================================ */
.funcionamento-solar-section {
    padding: 100px 0;
    background: var(--white);
}

.funcionamento-solar-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.funcionamento-solar-section .section-header h2 {
    font-size: 36px;
    font-weight: 500;
    color: var(--primary-blue);
    margin: 0 0 16px;
}

.funcionamento-horarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.horario-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
    transition: var(--transition-smooth);
    position: relative;
}

/* hover e ::before → centralizado em cards.css */

.horario-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(220,88,42,0.1) 0%, rgba(255,182,0,0.1) 100%);
    transition: var(--transition-base);
}

.horario-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.horario-card h4 {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-900);
    margin: 0 0 16px;
    line-height: 1.4;
}

.horario-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    margin: 0;
}

/* ============================================
   PASSOS CAROUSEL — section-header centrado
============================================ */
.passos-section-ongrid .section-header,
.beneficios-section .section-header {
    text-align: center;
    margin-bottom: 56px;
}

.passos-section-ongrid .section-header p,
.beneficios-section .section-header p {
    max-width: 620px;
    margin: 0 auto;
}

/* ============================================
   PASSO A PASSO SOLAR
============================================ */
.passos-solar-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.passos-solar-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.passos-solar-section .section-header h2 {
    font-size: 36px;
    font-weight: 500;
    color: var(--primary-blue);
    margin: 0 0 16px;
}

.passos-solar-section .section-header p {
    font-size: 18px;
    color: var(--gray-600);
    margin: 0;
}

/* Timeline layout */
.passos-solar-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
}

/* Vertical connecting line */
.passos-solar-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.passo-solar-numero {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-orange);
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(220, 88, 42, 0.25);
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
    flex: 1;
    transition: var(--transition-smooth);
    text-align: center;
}

.timeline-content:hover {
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-900);
    margin: 0 0 12px;
    line-height: 1.4;
}

.timeline-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    margin: 0;
}

/* ============================================
   CTA FINAL
============================================ */
.cta-conta-section {
    padding: 100px 0;
    background: var(--gradient-blue);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 500;
    color: var(--white);
    margin: 0 0 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* .btn-cta-primary e .btn-cta-secondary — definidos globalmente em base.css */

/* ============================================
   RESPONSIVO
============================================ */
@media (max-width: 1024px) {
    .tabs-navigation {
        flex-wrap: wrap;
    }

    .tab-btn {
        min-width: 160px;
        padding: 20px 24px;
    }

    .tab-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .beneficio-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .beneficio-row.reverse {
        direction: ltr;
    }

    .beneficio-texto {
        order: 2;
    }

    .beneficio-imagem {
        order: 1;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .por-que-solar-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .funcionamento-horarios-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .passos-solar-timeline {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-conta-energia {
        padding-top: 140px;
        padding-bottom: 100px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .scroll-indicator {
        bottom: 24px;
    }

    .intro-section {
        padding: 60px 0;
    }

    .intro-content h2 {
        font-size: 24px;
    }

    .solucoes-tabs-section {
        padding: 60px 0;
    }

    .tabs-navigation {
        gap: 12px;
    }

    .tab-btn {
        min-width: calc(50% - 6px);
        padding: 16px;
    }

    .tab-icon {
        width: 44px;
        height: 44px;
    }

    .tab-icon img {
        width: 22px;
        height: 22px;
    }

    .tab-btn span {
        font-size: 13px;
    }

    .tab-info h2 {
        font-size: 28px;
    }

    .beneficios-section {
        padding: 40px 0;
    }

    .beneficio-row {
        padding: 40px 0;
        gap: 32px;
    }

    .beneficio-texto h3 {
        font-size: 28px;
    }

    .beneficio-imagem {
        border-radius: 0;
    }

    .diferenciais-energia-section {
        padding: 60px 0;
    }

    .diferencial-card {
        padding: 32px 24px;
    }

    .por-que-solar-section {
        padding: 60px 0;
    }

    .por-que-solar-section .section-header h2 {
        font-size: 28px;
    }

    .pq-solar-col {
        padding: 32px 24px;
    }

    .funcionamento-solar-section {
        padding: 60px 0;
    }

    .funcionamento-solar-section .section-header h2 {
        font-size: 28px;
    }

    .horario-card {
        padding: 32px 24px;
    }

    .passos-solar-section {
        padding: 60px 0;
    }

    .passos-solar-section .section-header h2 {
        font-size: 28px;
    }

    .passos-solar-timeline::before {
        left: 24px;
    }

    .timeline-item {
        gap: 20px;
    }

    .timeline-content {
        padding: 24px 20px;
    }

    .cta-conta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-conta-energia {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .tabs-navigation {
        flex-direction: column;
    }

    .tab-btn {
        min-width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .tab-btn span {
        text-align: left;
    }

    .tab-grid {
        gap: 32px;
    }

    .tab-video {
        border-radius: 16px;
    }

    .beneficio-row {
        padding: 32px 0;
    }

    .beneficio-texto h3 {
        font-size: 24px;
    }
}

/* ============================================
   HERO CTA + FEATURES — mesmo padrão calculadora
============================================ */
.hero-features-inline {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.feature-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    font-weight: 500;
}

.feature-inline svg.feature-icon-desktop {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #dc582a 0%, #ea580c 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(220, 88, 42, 0.25);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 88, 42, 0.4);
    color: #ffffff;
}

.btn-hero-cta .btn-arrow {
    width: 20px;
    height: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-cta:hover .btn-arrow {
    transform: translateX(4px);
}

/* Gradient border animation → centralizado em cards.css */

/* ============================================
   PASSOS CAROUSEL — Seção "Como Adquirir"
   (On-Grid page)
============================================ */

.passos-section-ongrid {
    padding: 80px 0;
    background: var(--white);
}

.passos-carousel-wrapper {
    position: relative;
    overflow: visible;
}

.passos-carousel {
    overflow-x: clip;
    overflow-y: visible;
    position: relative;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
}

.passos-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    padding: 16px 0;
}

.passo-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    position: relative;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.passo-numero {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-orange), #ea580c);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(220, 88, 42, 0.35);
}

.passo-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.passo-card p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.carousel-glass-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: var(--transition-base);
}

.carousel-glass-arrow:hover {
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    transform: scale(1.08);
}

.passos-nav-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.passos-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.passo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
}

.passo-dot.active {
    background: var(--accent-orange);
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .passo-card {
        flex: 0 0 calc((100% - 24px) / 2);
        min-width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    .passos-section-ongrid {
        padding: 60px 0;
    }

    .passo-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}
