body {
    background-color: #f1f5f9;
    -webkit-tap-highlight-color: transparent;
    top: 0 !important;
    position: static !important;
}

/* Oculta barra padrão do Google Translate */
.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-spinner-pos {
    display: none !important;
}

.mobile-container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: 120px;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .mobile-container {
        max-width: 640px;
    }
}

@media (min-width: 1024px) {
    .mobile-container {
        max-width: 1140px;
        padding-bottom: 32px;
        box-shadow: 0 4px 60px rgba(0, 0, 0, 0.08);
    }

    body {
        padding: 16px 0;
    }
}

.desktop-layout {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.desktop-panel {
    display: none;
}

.desktop-panel-inner {
    position: sticky;
    top: 1rem;
}

@media (min-width: 1024px) {
    .desktop-layout {
        flex-direction: row;
        align-items: stretch;
    }

    .app-main {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .desktop-panel {
        display: flex;
        flex-direction: column;
        width: 300px;
        flex-shrink: 0;
        border-left: 1px solid #e2e8f0;
        background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
        padding: 1.5rem;
    }
}

#sticky-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 480px;
    z-index: 40;
}

@media (min-width: 768px) {
    #sticky-footer {
        max-width: 640px;
    }
}

@media (min-width: 1024px) {
    #sticky-footer {
        position: relative;
        left: auto;
        transform: none;
        max-width: none;
        margin: 0 2rem 2rem;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .mobile-container {
        padding-bottom: 0;
    }

    .mobile-container.on-step-8 .desktop-panel {
        display: none;
    }

    .module-card:hover {
        border-color: #93c5fd;
    }

    #footer-pricing {
        display: none !important;
    }
}

.step-container {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.step-container.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Module Cards */
.module-card {
    transition: all 0.2s ease;
}

.module-card.selected {
    border-color: #2563eb;
    background-color: #eff6ff;
}

.module-card .check-circle {
    transition: all 0.2s ease;
}

.module-card.selected .check-circle {
    background-color: #2563eb;
    border-color: #2563eb;
    color: white;
}

/* Typology Radio Grid */
.typo-radio:checked+div {
    border-color: #2563eb;
    background-color: #eff6ff;
    box-shadow: inset 0 0 0 1px #2563eb;
}

.typo-radio:checked+div .typo-icon {
    color: #2563eb;
}

/* Range Slider Customizado */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background: var(--tw-ring-color, #2563eb);
    cursor: pointer;
    margin-top: -10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #cbd5e1;
    border-radius: 4px;
}

/* iOS Toggle */
.ios-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.ios-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ios-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 28px;
}

.ios-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ios-toggle input:checked+.ios-slider {
    background-color: var(--icon-color, #10b981);
}

.ios-toggle input:checked+.ios-slider:before {
    transform: translateX(22px);
}

/* Grid Buttons */
.grid-btn {
    border: 2px solid #cbd5e1;
    color: #64748b;
    transition: all 0.2s;
    background: white;
}

.grid-btn.active {
    background-color: #2563eb;
    color: white;
    border-color: #2563eb;
}

.hw-ctrl-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    font-weight: bold;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.1s;
}

.hw-ctrl-btn:active {
    background: #e2e8f0;
}

.anexo-btn {
    border: 2px solid #cbd5e1;
    color: #64748b;
    transition: all 0.2s;
    background: white;
    cursor: pointer;
}

.anexo-btn.active {
    background-color: #eff6ff;
    color: #1e40af;
    border-color: #2563eb;
}

/* Botão com LED */
.led-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.led-indicator {
    width: 32px;
    height: 5px;
    border-radius: 4px;
    background-color: #cbd5e1;
    margin-bottom: 6px;
    transition: 0.3s;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.led-btn.active {
    background-color: #eff6ff;
    border-color: #2563eb;
    color: #1e40af;
}

.led-btn.active .led-indicator {
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    border: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.header-wa-btn {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-wa-btn.visible {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Bg Dots */
.bg-dots {
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 12px 12px;
}

.doc-card {
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
}

.doc-card.active {
    border-color: #2563eb;
    background: #eff6ff;
}

.step-heading {
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .step-heading h2 {
        font-size: 1.875rem;
    }

    .step-heading p {
        font-size: 1.0625rem;
        max-width: 52rem;
    }

    #roi-chart {
        min-height: 140px !important;
    }

    #finance-chart {
        min-height: 280px !important;
    }
}
    
