/* Estilos para a nova tela de resultados com medidor */

/* Layout principal dos resultados */
.results-content {
    padding: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}

.results-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.results-header h2 {
    font-size: var(--font-size-question);
    margin-bottom: var(--spacing-lg);
}

.results-layout {
    display: flex;
    gap: var(--spacing-xl);
    align-items: flex-start;
    padding-bottom: 50px; /* Adiciona o respiro na parte inferior */
}

.results-left-column,
.results-right-column {
    flex: 1;
}

/* === MEDIDOR DE TEMPERATURA === */
.gauge-container {
    margin-bottom: var(--spacing-xl);
    display: flex;
    justify-content: center;
}

.gauge-meter {
    position: relative;
    width: 450px;
    height: 450px;
    background-image: url('../img/fundo-medidor.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: #9f9f9f 1px solid;
}

.gauge-needle {
    position: absolute;
    top: 70px;
    left: 200px;
    width: 50px;
    height: 200px;
    background-image: url('../img/agulha-medidor.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform-origin: 50% calc(100% - 55px);
    transform: rotate(0deg);
    transition: transform 2s ease-in-out;
    z-index: 10;
}

.gauge-needle::before,
.gauge-needle::after {
    display: none;
}

.gauge-score {
    position: absolute;
    top: 290px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30pt;
    font-weight: bold;
    color: #c2c1c1;
    text-align: center;
    line-height: 1;
}

.gauge-status-label {
    display: none; /* Já está na imagem de fundo */
}

.gauge-status {
    position: absolute;
    top: 372px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 19pt;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1;
    width: 500px;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

/* === SEÇÕES DE CONTEÚDO === */
.section-label {
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: var(--font-size-lg1);
    font-weight: bold;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.section-content {
    line-height: 1.6;
}

.section-content p {
    margin-bottom: var(--spacing-md);
}

/* Área Prioritária */
.priority-area-section {
    background-color: #f9f9f9;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid #4682B4;
}

/* Plano de Ação */
.action-plan-section {
    background-color: #fafafa;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid #ddd;
}

/* Status Geral (Área 5) */
.status-general-section {
    background-color: #f1f0f0;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid #000;
}

.status-text {
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--primary-color);
}

/* Depoimento (Área 6) */
.testimonial-section {
    margin-bottom: var(--spacing-lg);
}

.testimonial-section h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.testimonial {
    background-color: #ffffff;
    padding: var(--spacing-lg);
    border-left: 4px solid #66BB6A;
    font-style: italic;
    margin: 0;
}

.testimonial p {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-md);
    line-height: 1.6;
}

.testimonial cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: bold;
    color: var(--secondary-color);
    font-size: var(--font-size-sm);
}

/* Banner/Próximo Passo (Área 4) */
.next-step-section {
    margin-top: var(--spacing-lg);
}

.banner-container {
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius-md);
}

.banner-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.banner-image:hover {
    transform: scale(1.02);
}

.banner-link-wrapper {
      display: block;
      text-decoration: none;
      color: inherit;
  }

/* === RESPONSIVIDADE === */
@media (max-width: 1000px) {
    .results-layout {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .results-content {
        padding: var(--spacing-lg);
    }
    
    /*
    .gauge-meter {
        width: 350px;
        height: 350px;
    }
        */
    
    .gauge-needle {
        top: 70px;
        left: 200px;
        width: 45px;
    }
    
    .gauge-score {
        top: 280px;
        font-size: 30pt;
    }
    
    .gauge-status {
        top: 370px;
        font-size: 19pt;
    }
    
    .section-title {
        font-size: var(--font-size-lg);
    }
    
    .results-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gauge-meter {
        width: 280px;
        height: 280px;
    }
    
    .gauge-needle {
        top: 0px;
        left: 120px;
        width: 36px;
    }
    
    .gauge-score {
        top: 175px;
        font-size: 20pt;
    }
    
    .gauge-status {
        top: 230px;
        font-size: 12pt;
    }
    
    .priority-area-section,
    .action-plan-section,
    .status-general-section,
    .testimonial {
        padding: var(--spacing-sm);
    }
}

/* Animações */
@keyframes needleMove {
    from {
        transform: translate(-50%, -100%) rotate(-90deg);
    }
    to {
        transform: translate(-50%, -100%) rotate(var(--needle-angle));
    }
}

.gauge-needle.animated {
    animation: needleMove 2s ease-in-out forwards;
}

