/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



html {
    font-size: 16px;
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
}

/* Imagens e ícones responsivos */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

svg {
    max-width: 100%;
    height: auto;
}

i {
    display: inline-block;
    vertical-align: middle;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0B2D56 0%, #174E8E 100%);
    min-height: 100vh;
    color: #1e293b;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px;
    width: 100%;
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
    margin-bottom: 2rem;
}

.header-controls {
    display: flex;
    align-items: center;
}

.header-controls .btn-generate {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    min-height: 44px;
}

.btn-toggle-prices {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-toggle-prices:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-toggle-prices:active {
    transform: translateY(0);
}

.btn-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    margin-right: 1rem;
}

.btn-theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-theme-toggle:active {
    transform: translateY(0);
}

.logo {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    gap: 15px;
}

.soften-logo {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-top: -5px;
}

/* Configuração Principal */
.config-main {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.config-main h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Seções de Configuração */
.config-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--section-bg);
    border-radius: 16px;
    transition: background 0.3s ease;
    border: 1px solid #e2e8f0;
}

/* Estilos para a seção de implantação personalizada */
.custom-implementation-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.custom-implementation-header h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.custom-implementation-header h3 i {
    margin-right: 8px;
    color: #3b82f6;
}

.custom-implementation-option {
    padding: 10px;
    background-color: #f8fafc;
    border-radius: 8px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: #f1f5f9;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.label-text {
    color: #1e293b;
    font-size: 0.95rem;
}

.input-group {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.input-prefix {
    padding: 8px 12px;
    background-color: #f1f5f9;
    color: #1e293b;
    font-weight: 500;
    border-right: 1px solid #e2e8f0;
}

#custom_implementation_value {
    flex: 1;
    background-color: #fff;
    border: none;
    color: #1e293b;
    padding: 8px 12px;
    font-size: 0.95rem;
    width: 100%;
}

#custom_implementation_value:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.config-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.config-section h2 i {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

/* Radio Groups */
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.radio-option {
    cursor: pointer;
    display: block;
    min-height: 44px;
    touch-action: manipulation;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 3px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-content {
    border-color: #10b981;
    background: var(--success-bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

.radio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.radio-option input[type="radio"]:checked + .radio-content .radio-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.radio-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.radio-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    transition: color 0.3s ease;
}

/* Módulos Seções */
.modules-section {
    margin-bottom: 2rem;
}

.modules-section h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.others-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.search-container {
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-box i.fa-search {
    color: #64748b;
    margin-right: 0.75rem;
    font-size: 1rem;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #1e293b;
    background: transparent;
    min-height: 24px;
}

.search-box input::placeholder {
    color: #94a3b8;
}

.clear-search {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
    min-height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-search:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.module-option.hidden {
    display: none !important;
}

.others-header:hover {
    border-color: #2563eb;
    background: #f8fafc;
}

.others-header h3 {
    margin: 0;
    color: #1e293b;
}

.others-header i {
    color: #2563eb;
    transition: transform 0.3s ease;
}

.others-header.expanded i {
    transform: rotate(180deg);
}

/* Sistema de Seleção */
.system-selection {
    margin-bottom: 30px;
}

.system-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.system-option {
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    touch-action: manipulation;
}

.system-option:hover {
    transform: translateY(-2px);
}

.system-option input[type="radio"] {
    display: none;
}

.system-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    min-height: 100px;
}

.system-option input[type="radio"]:checked + .system-card {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.15);
}

.system-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.system-option input[type="radio"]:checked + .system-card .system-icon {
    background: #4CAF50;
    color: white;
}

.system-icon i {
    font-size: 24px;
    color: #666;
}

.system-option input[type="radio"]:checked + .system-card .system-icon i {
    color: white;
}

.system-info h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.system-info p {
    margin: 0 0 12px 0;
    color: #666;
    font-size: 14px;
}

.system-price {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

/* Módulos Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
    overflow-x: hidden;
}

.others-modules {
    transition: all 0.3s ease;
    overflow: hidden;
}

.module-option {
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    touch-action: manipulation;
}

.module-option:hover {
    transform: translateY(-2px);
}

.module-option input[type="checkbox"] {
    display: none;
}

.module-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
    min-height: 100px;
}

.module-option input[type="checkbox"]:checked + .module-card {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.15);
}

/* Módulo NF-e selecionado com opções visíveis */
.module-option-container .module-option input[type="checkbox"]:checked + .module-card {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
}

/* Classe para conectar visualmente o módulo NF-e com as opções */
.module-card.nfe-connected {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

/* Classe para conectar visualmente o módulo CT-e com as opções */
.module-card.cte-connected {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

.module-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.module-option input[type="checkbox"]:checked + .module-card .module-icon {
    background: #4CAF50;
    color: white;
}

.module-icon i {
    font-size: 20px;
    color: #666;
}

.module-option input[type="checkbox"]:checked + .module-card .module-icon i {
    color: white;
}

.module-info {
    flex: 1;
}

.module-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.module-info p {
    margin: 0 0 12px 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.module-price {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.module-price.hidden {
    display: none;
}

.system-price {
    transition: all 0.3s ease;
}

.system-price.hidden {
    display: none;
}

/* Container do módulo NF-e */
.module-option-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Opções NFE/NFSE */
.nfe-options {
    margin: 10px 0 0 0;
    padding: 15px;
    background: #f8fff8;
    border-radius: 12px;
    border: 2px solid #4CAF50;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    animation: slideDown 0.3s ease-out;
}

/* Opções CTE/MDFE */
.cte-options {
    margin: 10px 0 0 0;
    padding: 15px;
    background: #f8fff8;
    border-radius: 12px;
    border: 2px solid #4CAF50;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nfe-options-header {
    margin-bottom: 15px;
}

.nfe-options-header h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.nfe-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.nfe-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.nfe-option input[type="radio"] {
    display: none;
}

.nfe-option-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nfe-option:hover .nfe-option-card {
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.nfe-option input[type="radio"]:checked + .nfe-option-card {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.nfe-option-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.nfe-option input[type="radio"]:checked + .nfe-option-card .nfe-option-icon {
    background: #4CAF50;
    color: white;
}

.nfe-option-icon i {
    font-size: 14px;
    color: #666;
}

.nfe-option input[type="radio"]:checked + .nfe-option-card .nfe-option-icon i {
    color: white;
}

.nfe-option-info h6 {
    margin: 0 0 4px 0;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
}

.nfe-option-info p {
    margin: 0;
    font-size: 10px;
    color: #64748b;
    line-height: 1.2;
}

.cte-options-header {
    margin-bottom: 15px;
}

.cte-options-header h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.cte-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.cte-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.cte-option input[type="radio"] {
    display: none;
}

.cte-option-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cte-option:hover .cte-option-card {
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.cte-option input[type="radio"]:checked + .cte-option-card {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.cte-option-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.cte-option input[type="radio"]:checked + .cte-option-card .cte-option-icon {
    background: #4CAF50;
    color: white;
}

.cte-option-icon i {
    font-size: 14px;
    color: #666;
}

.cte-option input[type="radio"]:checked + .cte-option-card .cte-option-icon i {
    color: white;
}

.cte-option-info h6 {
    margin: 0 0 4px 0;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
}

.cte-option-info p {
    margin: 0;
    font-size: 10px;
    color: #64748b;
    line-height: 1.2;
}

/* Usuários Input */
.section-note {
    color: #64748b;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.users-input {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.users-input label {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.1rem;
}

.users-input input[type="number"] {
    width: 120px;
    padding: 1rem;
    border: 3px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #1e293b;
    background: white;
    transition: all 0.3s ease;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.users-input input[type="number"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.users-input input[type="number"]:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.config-section.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.config-section.disabled h2 {
    color: #6c757d;
}

.config-section.disabled .section-note {
    color: #adb5bd;
}

.users-visual {
    display: flex;
    gap: 0.5rem;
}

.users-visual i {
    font-size: 2rem;
    color: #2563eb;
}



.users-visual i {
    animation: bounce 2s infinite;
}

.users-visual i:nth-child(2) {
    animation-delay: 0.3s;
}

/* Estilos para usuários adicionais */
.additional-users-section {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.users-input-additional {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.users-input-additional label {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

.users-input-additional input[type="number"] {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: #1e293b;
    background: white;
    transition: all 0.3s ease;
}

.users-input-additional input[type="number"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.users-visual-additional {
    display: flex;
    gap: 0.3rem;
}

.users-visual-additional i {
    font-size: 1.2rem;
    color: #2563eb;
    animation: bounce 2s infinite;
}

.users-visual-additional i:nth-child(2) {
    animation-delay: 0.3s;
}

.users-visual-additional i:nth-child(3) {
    animation-delay: 0.6s;
}

.additional-users-cost-display {
    background: white;
    border-radius: 6px;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
}

.cost-breakdown-additional {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cost-item-additional {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
}

.cost-item-additional:last-child {
    border-bottom: none;
}

.cost-item-additional.total-cost-additional {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 0.6rem;
    border-radius: 4px;
    margin-top: 0.3rem;
    font-weight: 600;
}

.cost-label-additional {
    font-weight: 500;
    color: #475569;
}

.cost-item-additional.total-cost-additional .cost-label-additional {
    color: white;
    font-weight: 600;
}

.cost-value-additional {
    font-weight: 600;
    color: #1e293b;
}

.cost-item-additional.total-cost-additional .cost-value-additional {
    color: white;
    font-weight: 700;
}

.users-visual i:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 100px;
    }
}

/* Botão Gerar */
.generate-section {
    text-align: center;
    margin-top: 3rem;
}

.btn-generate {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-generate:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

.btn-generate:active {
    transform: translateY(-1px);
}

.btn-script {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-script:hover {
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.generate-section {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.script-options {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: flex-start;
    margin-left: 1rem;
}

/* Apresentação */
.presentation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0B2D56 0%, #174E8E 100%);
    z-index: 1000;
    overflow: hidden;
}

/* Feedback/Status overlay */
.status-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    z-index: 1100;
}
.status-box {
    background: #111827;
    color: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    min-width: 260px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: .75rem;
}
.status-box.success { background: #064e3b; }
.status-box.error { background: #7f1d1d; }
.status-box.loading { background: #1f2937; }



.slide {
    width: 100%;
    height: 100vh;
    display: none;
    position: relative;
    overflow: hidden;
}

.pdf-layout { background: #f3f4f6; padding: 2rem 0; }
.pdf-page {
    width: 794px; /* A4 retrato aproximado em px */
    min-height: 1123px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    line-height: 1.45;
}
.pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #0B2D56, #174E8E);
    color: #fff;
}
.pdf-brand { display: flex; align-items: center; gap: 1rem; }
.pdf-logo { width: 48px; height: 48px; object-fit: contain; }
.pdf-company .name { font-size: 1.25rem; font-weight: 700; }
.pdf-company .tagline { font-size: .9rem; opacity: .85; }
.pdf-meta { text-align: right; font-size: .85rem; opacity: .9; }

.pdf-lead { padding: 1rem 1.5rem; }
.pdf-lead .title { font-weight: 700; margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.pdf-lead .lead-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1rem; font-size: .95rem; }
.pdf-lead .lead-grid span { color: #6b7280; }

.pdf-section { padding: 1rem 1.5rem; }
.pdf-section + .pdf-section { padding-top: 0; }
.section-header { font-weight: 700; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; }
.section-body { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; }
.pdf-page h1 { font-size: 1.25rem; margin: 0; }
.pdf-page h2 { font-size: 1.1rem; margin: 0; }
.pdf-page h3 { font-size: 1rem; margin: 0; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: .75rem; }
.summary-item .label { color: #6b7280; font-size: .85rem; }
.summary-item .value { font-weight: 700; font-size: 1rem; }
.modules-list-pdf { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .5rem 1rem; }
.modules-list-pdf .module { display: flex; align-items: center; gap: .5rem; font-size: .95rem; }
.modules-list-pdf .module i { color: #10b981; }

.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pricing-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; }
.pricing-card .label { color: #6b7280; font-size: .85rem; }
.pricing-card .value { font-weight: 800; font-size: 1.25rem; margin-top: .25rem; }
.pricing-card .hint { color: #9ca3af; font-size: .8rem; margin-top: .25rem; }
.pricing-card.primary { border-color: #2563eb; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15); }
.pricing-card.primary .value { color: #2563eb; }
.pricing-card .note { color: #374151; font-size: .85rem; margin-top: .5rem; }

.pdf-cta { padding: 1rem 1.5rem; }
.cta-title { font-weight: 700; margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.cta-list { margin: 0; padding-left: 1.25rem; color: #374151; }

.pdf-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: .75rem 1.5rem; background: #f9fafb; border-top: 1px solid #e5e7eb; }
.pdf-footer .contact { display: flex; gap: 1rem; color: #374151; font-size: .9rem; }
.pdf-footer .validity { color: #6b7280; font-size: .85rem; }
.slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    max-width: 1000px;
    width: 90%;
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.slide-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.slide-note {
    font-size: 1rem;
    opacity: 0.8;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Sistema Types */
.system-types {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
}

.system-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 200px;
}

.system-type.selected {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
    transform: scale(1.05);
}

.system-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 3rem;
}

.system-type h2 {
    font-size: 2rem;
    font-weight: 700;
}

.divider {
    width: 2px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
}

/* Módulos Lista */
.modules-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.module-item i {
    font-size: 2rem;
    color: #10b981;
}

.module-item span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Usuários Display */
.users-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
}

.users-icons {
    display: flex;
    gap: 1rem;
}

.users-icons i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    animation: pulse 2s infinite;
}

.users-icons i:nth-child(2) {
    animation-delay: 0.5s;
}

.users-icons i:nth-child(3) {
    animation-delay: 1s;
}

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

.users-number {
    font-size: 6rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Diferenciais */
.differentials-list {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
    text-align: left;
}

.differential-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.differential-item i {
    font-size: 2.5rem;
    color: #ffffff;
    min-width: 60px;
}

.differential-item p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Preços */
.pricing-display {
    margin: 3rem 0;
}

.pricing-breakdown {
    margin-bottom: 3rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-item span:first-child {
    font-size: 1.1rem;
    font-weight: 500;
}

.price-item span:last-child {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.total-price {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.total-price h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.price-value {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Footer dos Slides */
.slide-footer {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
}

.logo-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-footer .logo-subtitle {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-top: -3px;
}

/* Economia Anual */
.economia-anual {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.economia-anual h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.economia-destaque {
    text-align: center;
}

.economia-texto p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.economia-valor-principal {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.economia-cifrao {
    font-size: 2rem;
    font-weight: 600;
}

.economia-numero {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.economia-periodo {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
}

.economia-descricao {
    margin-top: 1rem;
}

.economia-descricao p {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

@media (max-width: 768px) {
    .economia-numero {
        font-size: 2.5rem;
    }
    
    .economia-cifrao {
        font-size: 1.5rem;
    }
    
    .economia-periodo {
        font-size: 1rem;
    }
}

/* Decorações dos Slides */
.slide-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.gear {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    animation: rotate 20s linear infinite;
}

.gear-1 {
    top: 10%;
    right: 10%;
    font-size: 4rem;
}

.gear-2 {
    top: 60%;
    right: 5%;
    font-size: 3rem;
    animation-direction: reverse;
    animation-duration: 15s;
}

.gear-3 {
    bottom: 20%;
    right: 15%;
    font-size: 2rem;
    animation-duration: 25s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.growth-icon,
.business-icon,
.growth-people,
.support-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 5rem;
}

.growth-icon {
    top: 15%;
    right: 10%;
    animation: float 3s ease-in-out infinite;
}

.business-icon {
    bottom: 15%;
    right: 10%;
    animation: float 3s ease-in-out infinite reverse;
}

.growth-people {
    top: 20%;
    right: 10%;
    animation: bounce 2s infinite;
}

.support-icon {
    top: 20%;
    right: 10%;
    animation: pulse 2s infinite;
}

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

/* Navegação da Apresentação */
.presentation-nav {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 1001;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slide-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Ações da Apresentação */
.presentation-actions {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 1001;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: rgba(16, 185, 129, 0.8);
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.5);
}

.btn-primary:hover {
    background: rgba(16, 185, 129, 1);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Seção de Resumo Financeiro */
.financial-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 2rem;
}

.financial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.financial-header h2 {
    margin-bottom: 0;
}

.financial-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.financial-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.financial-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.financial-item.discount {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
}

.financial-item.total {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left: 4px solid #10b981;
    font-weight: 600;
    font-size: 1.1rem;
}

.financial-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
}

.discount-selector {
    margin-left: 10px;
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.discount-selector:hover {
    border-color: #3b82f6;
}

.discount-selector:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.financial-label i {
    color: #6366f1;
    font-size: 1.2rem;
}

.financial-item.discount .financial-label i {
    color: #f59e0b;
}

.financial-item.total .financial-label i {
    color: #10b981;
}

.financial-item.implementation {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-left: 4px solid #6366f1;
}

.financial-item.implementation .financial-label i {
    color: #6366f1;
}

.financial-item.implementation .financial-value {
    color: #4338ca;
}

.financial-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.financial-item.discount .financial-value {
    color: #d97706;
}

.financial-item.total .financial-value {
    color: #059669;
    font-size: 1.5rem;
}

.financial-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e5e7eb 50%, transparent 100%);
    margin: 0.5rem 0;
}

/* Estilos para o valor de implantação personalizado */
.custom-implementation .custom-checkbox {
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
}

.custom-implementation .label-text {
    font-size: 12px;
    margin-left: 5px;
}

.custom-implementation .input-group {
    display: flex;
    align-items: center;
}

.custom-implementation .input-prefix {
    color: #64748b;
    margin-right: 5px;
}

.financial-input {
    padding: 4px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: #f8fafc;
    color: #334155;
    font-size: 14px;
    width: 100px;
    text-align: right;
}

.financial-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}
/* Responsividade */
/* Tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 15px;
    }
    
    .header {
        padding: 1.25rem 0;
    }
    
    .config-main {
        padding: 1.75rem;
    }
    
    .config-main h1 {
        font-size: 2.25rem;
    }
    
    .radio-group {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .modules-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }
    
    .system-types {
        gap: 3rem;
    }
    
    .slide-header h1 {
        font-size: 3rem;
    }
    
    .price-value {
        font-size: 3.5rem;
    }
    
    .users-number {
        font-size: 4.5rem;
    }
}

/* Smartphones */
@media (max-width: 768px) {
    .container {
        padding: 8px;
    }
    
    .header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-controls {
        justify-content: center;
    }
    
    .btn-toggle-prices {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .config-main {
        padding: 1.5rem 1rem;
    }
    
    .config-main h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .config-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .config-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .radio-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .radio-content {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .radio-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .radio-text h3 {
        font-size: 1.2rem;
    }
    
    .radio-text p {
        font-size: 0.9rem;
    }
    
    .system-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .system-card {
        padding: 20px;
        gap: 15px;
        min-height: 80px;
    }
    
    .system-icon {
        width: 50px;
        height: 50px;
    }
    
    .system-icon i {
        font-size: 20px;
    }
    
    .system-info h4 {
        font-size: 16px;
    }
    
    .system-info p {
        font-size: 13px;
    }
    
    .modules-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 8px;
    }
    
    .modules-grid.others-modules {
        gap: 10px;
        margin-top: 0.75rem;
    }
    
    .module-card {
        padding: 15px;
        gap: 12px;
        min-height: 80px;
    }
    
    .module-icon {
        width: 40px;
        height: 40px;
    }
    
    /* Opções NFE/NFSE - Responsivo 768px */
    .nfe-options {
        margin: 5px 0 0 0;
        padding: 12px;
    }
    
    .module-option-container {
        width: 100%;
    }
    
    .nfe-options-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .nfe-option-card {
        padding: 12px;
        min-height: 60px;
        flex-direction: row;
        text-align: left;
        gap: 10px;
    }
    
    .nfe-option-icon {
        width: 25px;
        height: 25px;
        margin-bottom: 0;
    }
    
    .nfe-option-icon i {
        font-size: 12px;
    }
    
    .module-icon i {
        font-size: 16px;
    }
    
    .module-info h4 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .module-info p {
        font-size: 12px;
    }
    
    .module-price {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    .search-container {
        padding: 0;
        margin-bottom: 0.75rem;
    }
    
    .search-container[style*="display: block"] {
        animation: slideDown 0.3s ease;
    }
    
    .search-box {
        padding: 0.5rem 0.75rem;
    }
    
    .search-box input {
        font-size: 0.9rem;
    }
    
    .others-header {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .others-header h3 {
        font-size: 1.1rem;
    }
    
    .others-modules {
        margin-top: 0.5rem;
    }
    
    .users-input {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .users-input input[type="number"] {
        width: 100px;
        padding: 0.75rem;
        font-size: 1.25rem;
    }
    
    .users-visual {
        justify-content: center;
    }
    
    .users-visual i {
        font-size: 1.5rem;
    }
    
    .btn-generate {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        gap: 0.75rem;
    }
    
    .system-types {
        flex-direction: column;
        gap: 2rem;
    }
    
    .divider {
        width: 100px;
        height: 2px;
    }
    
    .users-display {
        flex-direction: column;
        gap: 2rem;
    }
    
    .slide-header h1 {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.2rem;
    }
    
    .price-value {
        font-size: 3rem;
    }
    
    .users-number {
        font-size: 4rem;
    }
    
    .presentation-actions {
        position: fixed;
        bottom: 6rem;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .financial-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .financial-label {
        justify-content: center;
    }
    
    .financial-value {
        font-size: 1.1rem;
    }
    
    .financial-item.total .financial-value {
        font-size: 1.3rem;
    }
}

/* Smartphones pequenos */
@media (max-width: 480px) {
    .container {
        padding: 8px;
    }
    
    .header {
        padding: 0.75rem 0.5rem;
    }
    
    .btn-toggle-prices {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    .config-main {
        padding: 1rem 0.75rem;
    }
    
    .config-main h1 {
        font-size: 1.75rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .config-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .config-section h2 {
        font-size: 1.2rem;
    }
    
    .radio-content {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .radio-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .radio-text h3 {
        font-size: 1.1rem;
    }
    
    .radio-text p {
        font-size: 0.8rem;
    }
    
    .system-card {
        padding: 15px;
        gap: 12px;
    }
    
    .system-icon {
        width: 45px;
        height: 45px;
    }
    
    .system-icon i {
        font-size: 18px;
    }
    
    .system-info h4 {
        font-size: 15px;
    }
    
    .system-info p {
        font-size: 12px;
    }
    
    .modules-grid {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .modules-grid.others-modules {
        gap: 10px;
        margin-top: 0.5rem;
    }

    .module-card {
        padding: 10px;
        gap: 10px;
        min-height: auto;
        flex-direction: row;
        text-align: left;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .module-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .module-icon i {
        font-size: 16px;
    }

    .module-info {
        flex: 1;
    }

    .module-info h4 {
        font-size: 14px;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    
    /* Opções NFE/NFSE - Responsivo 480px */
    .nfe-options {
        margin: 5px 0 0 0;
        padding: 10px;
    }
    
    .module-option-container {
        width: 100%;
    }
    
    .nfe-options-header h5 {
        font-size: 12px;
    }
    
    .nfe-options-grid {
        gap: 6px;
    }
    
    .nfe-option-card {
        padding: 10px;
        min-height: 50px;
        gap: 8px;
    }
    
    .nfe-option-icon {
        width: 20px;
        height: 20px;
    }
    
    .nfe-option-icon i {
        font-size: 10px;
    }
    
    .nfe-option-info h6 {
        font-size: 11px;
    }
    
    .nfe-option-info p {
        font-size: 9px;
    }
    
    .module-info p {
        font-size: 10px;
        display: none; /* Oculta descrição em telas muito pequenas */
    }
    
    .module-price {
        font-size: 12px;
        padding: 4px 8px;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .search-container {
        margin-bottom: 0.5rem;
        padding: 0;
    }
    
    .search-container[style*="display: block"] {
        animation: slideDown 0.3s ease;
    }
    
    .search-box {
        padding: 0.5rem;
    }
    
    .search-box input {
        font-size: 0.85rem;
    }
    
    .search-box i.fa-search {
        margin-right: 0.5rem;
        font-size: 0.9rem;
    }
    
    .others-header {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        border-radius: 8px;
    }
    
    .others-header h3 {
        font-size: 1rem;
    }
    
    .others-header i {
        font-size: 0.9rem;
    }
    
    .others-modules {
        margin-top: 0.25rem;
    }
    
    .users-input input[type="number"] {
        width: 80px;
        padding: 0.5rem;
        font-size: 1.1rem;
    }
    
    .btn-generate {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        gap: 0.5rem;
    }
    
    .slide-header h1 {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .price-value {
        font-size: 2.5rem;
    }
    
    .users-number {
        font-size: 3.5rem;
    }
    
    .differential-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .financial-value {
        font-size: 1rem;
    }
    
    .financial-item.total .financial-value {
        font-size: 1.2rem;
    }
}
.slide.active { animation: slideIn 400ms ease; }

.slide-header h1 { letter-spacing: .5px; }

.slide-subtitle { letter-spacing: .3px; }

.slide-indicators {
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.indicator { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }

.indicator.active {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.45);
}

.indicator:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.6);
}

.nav-btn { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); }

.nav-btn:hover { box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35); }

.total-price { box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25); }

.price-value { letter-spacing: 1px; }

#detalhesPreco > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

#detalhesPreco > div span:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f8fafc;
    opacity: 0.95;
}

#detalhesPreco > div span:last-child {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

#detalhesPreco > div:nth-child(2) span:last-child { color: #0bf514; }

@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
/* Ajuste de tamanho do quadrado branco nos ícones do sistema (apresentação) */
.slide .system-type .system-icon {
    width: 96px;
    height: 96px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.slide .system-type .system-icon i {
    font-size: 2rem;
    color: #4b5563;
}

@media (max-width: 768px) {
    .slide .system-type .system-icon {
        width: 80px;
        height: 80px;
        border-radius: 14px;
    }
    .slide .system-type .system-icon i { font-size: 1.8rem; }
}
#modulosSelecionados {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

#modulosSelecionados .module-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#modulosSelecionados .module-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

#modulosSelecionados .module-chip i {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

#modulosSelecionados .module-chip span {
    color: #f8fafc;
    font-weight: 600;
    letter-spacing: 0.3px;
}

#modulosSelecionados .empty {
    opacity: 0.75;
    padding: 1rem;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
}

@media (max-width: 768px) {
    #modulosSelecionados {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}
/* Layout combinado de módulos e usuários no modo apresentação */
.modules-users-wrap {
    display: grid;
    grid-template-columns: 3fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .modules-users-wrap {
        grid-template-columns: 1fr;
    }
}

/* Ajustes de tamanho para o bloco de usuários dentro do layout combinado */
.modules-users-wrap .users-display {
    gap: 1.5rem;
}

.modules-users-wrap .users-icons i {
    font-size: 2.2rem;
}

.modules-users-wrap .users-number {
    font-size: 3.2rem;
    padding: 1.25rem;
}

@media (max-width: 1024px) {
    .modules-users-wrap .users-icons i { font-size: 2rem; }
    .modules-users-wrap .users-number { font-size: 2.8rem; padding: 1rem; }
}
.users-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(10px);
}

.users-title {
    margin: 0 0 0.75rem 0;
    color: #f8fafc;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .3px;
}

.brand-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: .5rem .75rem;
    backdrop-filter: blur(10px);
}

.brand-badge .logo-subtitle {
    font-size: 0.65rem;
    letter-spacing: 2px;
    margin-top: -2px;
}
