/* ===================================================================== */
/*                    ☀️ CALCULADORA DE ENERGIA SOLAR                    */
/* ===================================================================== */

/* ===================================
   VARIÁVEIS DE COR - ÁREA SUSTENTABILIDADE
   ================================== */
:root {
    --primary: #059669;          /* Verde ecológico */
    --secondary: #10b981;        /* Verde natureza */
    --accent: #fbbf24;           /* Amarelo energia */
    --light: #ecfdf5;            /* Fundo verde claro */
    --gradient: linear-gradient(135deg, #059669, #10b981);
}

/* ===================================
   PREVENIR SCROLL HORIZONTAL
   ================================== */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.energia-solar-calculator-section,
.energia-solar-container,
.energia-solar-input-row,
.energia-solar-buttons,
.energia-solar-examples {
    max-width: 100%;
    overflow-x: hidden;
}

/* ===================================
   SEÇÃO DA CALCULADORA PRINCIPAL
   ================================== */
.energia-solar-calculator-section {
    margin-bottom: 3rem;
}

.energia-solar-header {
    text-align: center;
    margin-bottom: 2rem;
}

.energia-solar-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.energia-solar-header p {
    font-size: 1.2rem;
    color: #5a6c7d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.energia-solar-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e6ed;
    overflow-x: hidden;
    max-width: 100%;
}

/* ===================================
   CATEGORIAS DO SISTEMA SOLAR (STYLED SECTIONS)
   ================================== */
.energia-solar-categoria {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.1);
    transition: all 0.3s ease;
}

.energia-solar-categoria:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
}

.energia-solar-categoria h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.8rem;
    font-weight: 700;
}

.energia-solar-categoria::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.05;
}

/* ===================================
   INPUTS E FORMULÁRIOS (STYLED FORM ELEMENTS)
   ================================== */
.energia-solar-input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.energia-solar-input-group {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.energia-solar-input-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.energia-solar-input-group input,
.energia-solar-input-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.energia-solar-input-group input:focus,
.energia-solar-input-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
    transform: translateY(-1px);
}

.energia-solar-input-group input:hover,
.energia-solar-input-group select:hover {
    border-color: var(--secondary);
    transform: translateY(-1px);
}

.energia-solar-input-group input.error,
.energia-solar-input-group select.error {
    border-color: #dc2626;
    background-color: #fef2f2;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.energia-solar-unit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: none;
    margin-top: 15px;
    background: var(--light);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ===================================
   SELECT CUSTOMIZADO (STYLED SELECT DROPDOWNS)
   ================================== */
.energia-solar-input-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.5em 1.5em;
    padding-right: 3.5rem;
    cursor: pointer;
}

.energia-solar-input-group select:hover {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

.energia-solar-input-group select option {
    padding: 0.8rem;
    color: #374151;
    background: white;
    font-weight: 500;
}

.energia-solar-input-group select optgroup {
    font-weight: bold;
    color: var(--primary);
    background: var(--light);
    padding: 0.5rem;
}

/* ===================================
   BOTÕES DE AÇÃO (STYLED ACTION BUTTONS)
   ================================== */
.energia-solar-buttons {
    display: flex;
    gap: 1.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.energia-solar-btn-calcular {
    background: var(--gradient);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
    min-width: 240px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.energia-solar-btn-calcular::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.energia-solar-btn-calcular:hover::before {
    left: 100%;
}

.energia-solar-btn-calcular:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.4);
}

.energia-solar-btn-calcular:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.energia-solar-btn-limpar {
    background: #6b7280;
    color: white;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.2);
}

.energia-solar-btn-limpar:hover {
    background: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.3);
}

/* ===================================
   EXEMPLOS RÁPIDOS (STYLED QUICK EXAMPLES)
   ================================== */
.energia-solar-examples {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.1);
}

.energia-solar-examples h4 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.energia-solar-example-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.energia-solar-example-btn {
    background: white;
    border: 3px solid var(--primary);
    color: var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.2);
    position: relative;
    overflow: hidden;
}

.energia-solar-example-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.energia-solar-example-btn:hover::before {
    left: 0;
}

.energia-solar-example-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
    border-color: var(--secondary);
}

.energia-solar-example-btn:active {
    transform: translateY(0);
}

/* ===================================
   ÁREA DE RESULTADOS (STYLED RESULTS SECTION)
   ================================== */
.energia-solar-resultado {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 3px solid var(--primary);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    animation: slideInUp 0.6s ease-out;
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.2);
    position: relative;
    overflow: hidden;
}

.energia-solar-resultado::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.energia-solar-resultado h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.6rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 1rem;
}

.energia-solar-resultado-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.energia-solar-resultado-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(5, 150, 105, 0.2);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.energia-solar-resultado-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.05), transparent);
    transition: left 0.5s ease;
}

.energia-solar-resultado-item:hover::before {
    left: 100%;
}

.energia-solar-resultado-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.2);
    border-color: var(--primary);
}

.energia-solar-resultado-item h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.energia-solar-resultado-item .valor {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.energia-solar-resultado-item .unidade {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
}

/* Sistema e Análise Financeira */
.energia-solar-sistema-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.energia-solar-sistema-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(5, 150, 105, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1);
}

.energia-solar-sistema-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.2);
    border-color: var(--primary);
}

.energia-solar-sistema-item h6 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.energia-solar-sistema-item .sistema-valor {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.energia-solar-analise-financeira {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(5, 150, 105, 0.05));
    border-radius: 15px;
    padding: 1.8rem;
    margin-top: 1.5rem;
    border-left: 6px solid var(--accent);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
    border: 2px solid rgba(251, 191, 36, 0.3);
}

.energia-solar-analise-financeira h5 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.energia-solar-analise-financeira p {
    color: #374151;
    font-size: 1rem;
    margin: 0.8rem 0;
    line-height: 1.6;
    font-weight: 500;
}

.energia-solar-analise-financeira p:last-child {
    font-weight: 600;
    color: var(--primary);
}

.energia-solar-viabilidade {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    border-left: 4px solid var(--secondary);
}

.energia-solar-viabilidade h6 {
    color: var(--secondary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.energia-solar-viabilidade ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.energia-solar-viabilidade li {
    padding: 0.3rem 0;
    color: #374151;
    position: relative;
    padding-left: 1.5rem;
}

.energia-solar-viabilidade li::before {
    content: "☀️";
    position: absolute;
    left: 0;
    top: 0.3rem;
}

/* ===================================
   CONTEÚDO EDUCACIONAL - VISUAL OBRIGATÓRIO
   ================================== */

/* Container educacional principal */
.educational-content {
    margin-top: 3rem;
}

.educational-content h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 1rem;
}

/* Cards educacionais - ESSENCIAL para visual bonito */
.content-block {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
}

.content-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.content-block h2 {
    color: var(--primary) !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.8rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 3px solid var(--light) !important;
    padding-bottom: 1rem !important;
    text-align: left !important;
}

.content-block h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-block h4 {
    color: #2c3e50;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.content-block h5 {
    color: var(--secondary);
    margin: 0.8rem 0 0.4rem 0;
    font-size: 1rem;
}

.content-block p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-block ul {
    color: #5a6c7d;
    line-height: 1.6;
    margin-left: 1.5rem;
}

.content-block li {
    margin-bottom: 0.5rem;
}

/* ===================================
   CARDS DINÂMICOS PARA ADS (.calc-explanation e .calc-legal)
   ================================== */

.calc-explanation,
.explanation {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 0.5rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.8s ease;
}

.calc-explanation h3,
.explanation h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 3px solid var(--light);
    padding-bottom: 0.8rem;
}

.calc-explanation h4,
.explanation h4 {
    color: var(--secondary);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.1rem;
}

.calc-explanation p,
.explanation p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.calc-legal,
.legal-explanation {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.03) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 2px solid rgba(5, 150, 105, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.calc-legal h3,
.legal-explanation h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 3px solid rgba(5, 150, 105, 0.1);
    padding-bottom: 0.8rem;
}

.calc-legal h4,
.legal-explanation h4 {
    color: var(--primary);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.1rem;
}

.calc-legal p,
.legal-explanation p {
    color: #065f46;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ===================================
   DADOS FORNECIDOS - DENTRO DO CARD EXPLANATION
   ================================== */
.dados-fornecidos {
    background: linear-gradient(135deg, var(--light), rgba(5, 150, 105, 0.08)) !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    margin: 1.5rem 0 !important;
    border: 1px solid rgba(5, 150, 105, 0.15) !important;
}

.dados-fornecidos p {
    margin: 0.5rem 0 !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
}

.dados-fornecidos strong {
    color: var(--secondary) !important;
}

/* ===================================
   ELEMENTOS VISUAIS ESPECIAIS
   ================================== */

/* Destaque de Fórmulas */
.formula-highlight {
    background: linear-gradient(135deg, var(--light), rgba(5, 150, 105, 0.08));
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 1.2rem;
    margin: 1rem 0;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: bold;
}

/* Steps List */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.step-number {
    background: var(--gradient);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.step-content p {
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

/* Exemplos Práticos */
.example-case {
    background: var(--light);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid var(--secondary);
}

.example-case h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.example-data {
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Dicas - Tips List */
.tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    border: 2px solid rgba(5, 150, 105, 0.2);
    transition: transform 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tip-icon {
    font-size: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.tip-content h5 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tip-content p {
    color: #374151;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Aplicações Práticas - Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.application-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(5, 150, 105, 0.2);
    transition: all 0.3s ease;
}

.application-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.application-item h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.application-item p {
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

/* Referências */
.references-content {
    padding: 1rem 0;
}

.references-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.references-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
}

.references-list li:before {
    content: "📖";
    position: absolute;
    left: 0;
    top: 0.8rem;
}

.accuracy-note {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.accuracy-note h5 {
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.accuracy-note p {
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   ANIMAÇÕES E EFEITOS VISUAIS
   ================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(5, 150, 105, 0.5);
    }
    100% {
        box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
    }
}

/* Animação para o container principal */
.energia-solar-container {
    animation: fadeIn 0.8s ease-out;
}

/* Animação para categorias */
.energia-solar-categoria {
    animation: fadeIn 0.8s ease-out;
}

.energia-solar-categoria:nth-child(2) { animation-delay: 0.1s; }
.energia-solar-categoria:nth-child(3) { animation-delay: 0.2s; }
.energia-solar-categoria:nth-child(4) { animation-delay: 0.3s; }
.energia-solar-categoria:nth-child(5) { animation-delay: 0.4s; }

/* Efeito de pulsação no botão calcular quando hover */
.energia-solar-btn-calcular:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Efeito especial para inputs em foco */
.energia-solar-input-group input:focus,
.energia-solar-input-group select:focus {
    animation: pulse 1.5s ease-in-out infinite;
}

/* ===================================
   RESPONSIVIDADE MELHORADA
   ================================== */
@media (max-width: 768px) {
    .energia-solar-header h1 {
        font-size: 2.2rem;
    }
    
    .energia-solar-container {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .energia-solar-categoria {
        padding: 1.2rem;
        border-radius: 12px;
    }
    
    .energia-solar-categoria h3 {
        font-size: 1.3rem;
    }
    
    .energia-solar-input-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .energia-solar-input-group {
        min-width: 100%;
    }
    
    .energia-solar-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .energia-solar-btn-calcular,
    .energia-solar-btn-limpar {
        min-width: 100%;
        max-width: 300px;
    }
    
    .energia-solar-example-buttons {
        flex-direction: column;
    }
    
    .energia-solar-example-btn {
        min-width: 100%;
        max-width: 100%;
    }
    
    .energia-solar-resultado {
        padding: 1.8rem;
        border-radius: 15px;
    }
    
    .energia-solar-resultado-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .energia-solar-sistema-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tips-list {
        grid-template-columns: 1fr;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .tip-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .energia-solar-header h1 {
        font-size: 1.9rem;
    }
    
    .energia-solar-header p {
        font-size: 1.1rem;
    }
    
    .energia-solar-container {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .energia-solar-categoria {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .energia-solar-categoria h3 {
        font-size: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .energia-solar-btn-calcular,
    .energia-solar-btn-limpar {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .energia-solar-sistema-info {
        grid-template-columns: 1fr;
    }
    
    .energia-solar-resultado h3 {
        font-size: 1.4rem;
    }
    
    .energia-solar-resultado-item .valor {
        font-size: 1.8rem;
    }
}