/* CSS ISOLADO - Calculadora de Proporção Áurea - ÁREA ARTES */

/* ===================================
   VARIÁVEIS DE CORES - ARTES
   ================================== */
:root {
    --primary: #e91e63;          /* Rosa criativo */
    --secondary: #9c27b0;        /* Roxo artístico */
    --accent: #ff9800;           /* Laranja inspiração */
    --light: #fce4ec;            /* Fundo rosa claro */
    --gradient: linear-gradient(135deg, #e91e63, #9c27b0);
}

/* ===================================
   SEÇÃO DA CALCULADORA PROPORÇÃO ÁUREA
   ================================== */
.aurea-calculator-section {
    margin-bottom: 3rem;
}

.aurea-header {
    text-align: center;
    margin-bottom: 2rem;
}

.aurea-header h1 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(233, 30, 99, 0.3);
}

.aurea-header p {
    color: #6c757d;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.aurea-calculator-container {
    background: linear-gradient(135deg, var(--light) 0%, #f8e1e7 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.15);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.aurea-calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    border-radius: 20px 20px 0 0;
}

.aurea-calculator {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.aurea-calculator h3 {
    color: var(--primary);
    margin-bottom: 1.8rem;
    font-size: 1.5rem;
    text-align: center;
    border-bottom: 3px solid var(--light);
    padding-bottom: 0.8rem;
}

/* ===================================
   INPUTS E CONTROLES - PROPORÇÃO ÁUREA
   ================================== */
.aurea-input-group {
    margin-bottom: 1.8rem;
}

/* Layout responsivo para campos principais */
.aurea-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}

@media (max-width: 768px) {
    .aurea-inputs-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.aurea-input-group label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.aurea-help-text {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 400;
    font-style: italic;
}

.aurea-input-group input,
.aurea-input-group select {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.aurea-input-group input:focus,
.aurea-input-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    transform: translateY(-2px);
}

.aurea-input-group input:invalid {
    border-color: #dc3545;
}

/* ===================================
   BOTÕES - PROPORÇÃO ÁUREA
   ================================== */
.aurea-buttons {
    text-align: center;
    margin: 2rem 0;
}

.aurea-calculate-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aurea-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.6);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.aurea-calculate-btn:active {
    transform: translateY(-1px);
}

/* ===================================
   RESULTADO - PROPORÇÃO ÁUREA
   ================================== */
.aurea-result {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    animation: slideInUp 0.5s ease;
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.1);
}

.aurea-result h3 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 1rem;
}

.aurea-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.aurea-result-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.aurea-result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.2);
    border-color: var(--primary);
}

.aurea-result-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.aurea-result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* ===================================
   VISUALIZAÇÃO ÁUREA
   ================================== */
.aurea-visual {
    background: linear-gradient(135deg, var(--light), #f8e1e7);
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.aurea-visual h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.aurea-retangulo-visual {
    display: inline-block;
    border: 3px solid var(--primary);
    background: linear-gradient(45deg, var(--light), var(--accent));
    margin: 0.5rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.aurea-medida-label {
    position: absolute;
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
}

/* ===================================
   FÓRMULA E DETALHES - PROPORÇÃO ÁUREA
   ================================== */
.aurea-formula {
    background: var(--light);
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1rem;
    color: #2c3e50;
}

.aurea-formula strong {
    color: var(--primary);
}

/* ===================================
   EXEMPLOS E AJUDA - PROPORÇÃO ÁUREA
   ================================== */
.aurea-examples {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.aurea-examples p {
    margin-bottom: 1rem;
    color: #495057;
    font-weight: 600;
}

.aurea-example-btn {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    margin: 0.3rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.aurea-example-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}

.aurea-help {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 10px;
    border: 1px solid #2196f3;
}

.aurea-help p {
    margin: 0;
    color: #1565c0;
}

/* ===================================
   EXPLICAÇÃO DETALHADA - PROPORÇÃO ÁUREA
   ================================== */
.aurea-explanation {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light) 0%, #f8e1e7 100%);
    border: 2px solid var(--primary);
    border-radius: 15px;
    animation: slideInUp 0.5s ease;
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.1);
}

.aurea-explanation h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.8rem;
}

.aurea-step {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
}

.aurea-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.15);
    border-color: var(--primary);
}

.aurea-step h4 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aurea-step p {
    margin: 0.5rem 0;
    color: #2c3e50;
    line-height: 1.6;
}

.aurea-step strong {
    color: var(--primary);
    font-weight: 600;
}

/* ===================================
   CONTEÚDO EDUCACIONAL - PROPORÇÃO ÁUREA
   ================================== */
.aurea-educational-content {
    margin-top: 3rem;
}

.aurea-content-block {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.aurea-content-block h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
    border-bottom: 3px solid var(--light);
    padding-bottom: 1rem;
}

.aurea-content-block p {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

/* ===================================
   GRID DE EXEMPLOS - PROPORÇÃO ÁUREA
   ================================== */
.aurea-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.aurea-example-card {
    background: linear-gradient(135deg, var(--light), #f8e1e7);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(233, 30, 99, 0.1);
}

.aurea-example-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.25);
    border-color: var(--accent);
}

.aurea-example-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.aurea-example-card h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.aurea-example-card p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* ===================================
   FÓRMULA DISPLAY - PROPORÇÃO ÁUREA
   ================================== */
.aurea-formula-display {
    background: linear-gradient(135deg, var(--light), #f8e1e7);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.aurea-formula-display h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.formula {
    text-align: center;
    font-family: 'Courier New', monospace;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--primary);
}

.formula p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.formula strong {
    color: var(--primary);
}

/* ===================================
   STEPS E CONCEITOS - PROPORÇÃO ÁUREA
   ================================== */
.aurea-step-by-step {
    margin: 2rem 0;
}

.aurea-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--light), #ffffff);
    border-radius: 12px;
    border: 1px solid var(--primary);
    box-shadow: 0 3px 12px rgba(233, 30, 99, 0.1);
}

.aurea-step-number {
    background: var(--gradient);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.aurea-step-content h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.aurea-step-content p {
    color: #2c3e50;
    margin: 0;
    line-height: 1.6;
}

.aurea-concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.aurea-concept-card {
    background: linear-gradient(135deg, var(--light), #f8e1e7);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(233, 30, 99, 0.1);
}

.aurea-concept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.2);
    border-color: var(--accent);
}

.aurea-concept-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.aurea-concept-card p {
    color: #2c3e50;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.aurea-highlight {
    background: var(--gradient);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.aurea-highlight p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===================================
   REFERÊNCIAS ACADÊMICAS - NOVA SEÇÃO
   ================================== */
.referencias-content {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1rem;
}

.referencias-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.referencia-item {
    background: white;
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    line-height: 1.6;
    color: #2c3e50;
    font-size: 0.95rem;
}

.referencia-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.15);
    border-left-color: var(--accent);
}

.referencia-item:last-child {
    margin-bottom: 0;
}

.accuracy-note {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.accuracy-note h5 {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.accuracy-note p {
    color: #856404;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

/* ===================================
   RESPONSIVIDADE - PROPORÇÃO ÁUREA
   ================================== */
@media (max-width: 768px) {
    .aurea-header h1 {
        font-size: 2rem;
    }
    
    .aurea-calculator-container {
        padding: 1.5rem;
    }
    
    .aurea-calculator {
        padding: 1.5rem;
    }
    
    .aurea-result-grid {
        grid-template-columns: 1fr;
    }
    
    .aurea-examples-grid,
    .aurea-concepts-grid {
        grid-template-columns: 1fr;
    }
    
    .aurea-step {
        flex-direction: column;
        text-align: center;
    }
    
    .aurea-step-number {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .aurea-content-block {
        padding: 1.5rem;
    }
    
    .aurea-example-btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .aurea-calculate-btn {
        width: 100%;
        padding: 1.2rem;
    }
    
    .referencias-content {
        padding: 1.5rem;
    }
    
    .referencia-item {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* ===================================
   ANIMAÇÕES - PROPORÇÃO ÁUREA
   ================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.aurea-result-value {
    animation: pulse 2s infinite;
}

/* ===================================
   EXPLICAÇÃO DETALHADA COM FUNDAMENTAÇÃO TEÓRICA - PROPORÇÃO ÁUREA
   ================================== */
.aurea-detailed-explanation {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light) 0%, #f8e1e7 100%);
    border: 2px solid var(--primary);
    border-radius: 15px;
    animation: slideInUp 0.5s ease;
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.1);
}

.aurea-detailed-explanation h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.8rem;
}

.aurea-theory-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.aurea-theory-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
}

.aurea-theory-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.15);
    border-color: var(--primary);
}

.aurea-theory-section h4 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--light);
    padding-bottom: 0.8rem;
}

.aurea-theory-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.aurea-theory-item:hover {
    background: #f8e1e7;
    transform: translateY(-2px);
}

.aurea-theory-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.aurea-theory-content p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
    font-size: 0.95rem;
}

.aurea-theory-content strong {
    color: var(--primary);
    font-weight: 600;
}

/* ===================================
   UTILS - PROPORÇÃO ÁUREA
   ================================== */
.hidden {
    display: none !important;
}

.aurea-text-center {
    text-align: center;
}

.aurea-mb-2 {
    margin-bottom: 2rem;
}