/* ============================================================
   CALCULADORA DE REFORMA E MATERIAIS
   Estilos exclusivos da ferramenta
   ============================================================ */


/* ============================================================
   BLOCOS CONDICIONAIS
   ============================================================ */

.hidden {
    display: none !important;
}

.config-block {
    margin-top: 32px;
}

.config-block h3 {
    margin: 0 0 20px;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.3;
}

.config-block h3:not(:first-child) {
    margin-top: 32px;
}

.config-block small {
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}


/* ============================================================
   ORIENTAÇÃO
   ============================================================ */

.orientation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0;
}

.orientation-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}

.orientation-item strong {
    color: #0f172a;
    font-size: 15px;
}

.orientation-item span {
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}


/* ============================================================
   ABERTURAS
   ============================================================ */

.opening-row {
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.opening-row .tool-button {
    width: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ============================================================
   AÇÕES
   ============================================================ */

.tool-actions {
    margin-top: 32px;
}


/* ============================================================
   RESULTADO PRINCIPAL
   ============================================================ */

.result-highlight {
    margin: 28px 0;
    padding: 30px 24px;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        #eff6ff 0%,
        #f8fafc 100%
    );
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.result-highlight-label {
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.result-highlight-value {
    color: #1d4ed8;
    font-size: clamp(38px, 6vw, 58px);
    font-weight: 800;
    line-height: 1.1;
}

.result-highlight-description {
    margin-top: 10px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}


/* ============================================================
   LISTA DE MATERIAIS
   ============================================================ */

.shopping-list {
    margin-top: 32px;
}

.shopping-list h3 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.3;
}

.result-notice {
    margin-top: 28px;
}


/* ============================================================
   INFORMAÇÕES
   ============================================================ */

.information-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.information-item {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}

.information-item h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 17px;
}

.information-item p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}


/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

@media (max-width: 800px) {

    .orientation-grid,
    .information-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    .result-highlight {
        padding: 25px 18px;
    }

    .opening-row {
        padding: 14px;
    }

}