/* ==========================================================================
   DIAGNÓSTICO POR SINTOMA
   --------------------------------------------------------------------------
   Sintomas em botões e a resposta com o serviço provável e o botão do
   WhatsApp (SymptomChecker.js).
   ========================================================================== */

.diag {
    background: var(--ink);
    color: #fff;
    border-radius: 28px;
    padding: 44px;
    position: relative;
    overflow: hidden;
}

.diag::after {
    content: "";
    position: absolute;
    right: -160px;
    top: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 28px solid rgba(217,11,11,0.18);
}

.diag .head p {
    color: #b6bac2;
}

.diag .head .kicker {
    color: #ff7b7b;
}

.symptoms {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

.symptoms button {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--ink-2);
    border: 2px solid transparent;
    color: #fff;
    text-align: left;
    font-size: 1.02rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .15s ease;
}

.symptoms button:hover {
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.symptoms button[aria-pressed="true"] {
    border-color: var(--red);
    background: #2c1719;
}

.symptoms .ic {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(217,11,11,0.16);
    color: #ff6161;
    display: flex;
    align-items: center;
    justify-content: center;
}

.symptoms .ic svg {
    width: 24px;
    height: 24px;
}

.answer {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    border-radius: 20px;
    background: #fff;
    color: var(--ink);
    padding: 26px 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    transition: opacity .25s ease;
}

.answer.empty {
    background: var(--ink-2);
    color: #b6bac2;
    grid-template-columns: 1fr;
}

.answer small {
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--red);
}

.answer h3 {
    font-size: 1.7rem;
    margin: 4px 0 8px;
}

.answer p {
    color: var(--muted);
}

.answer .note {
    display: block;
    margin-top: 8px;
    font-size: 0.86rem;
    color: #8a8f98;
}

/* --- Responsivo --------------------------------------------------------- */

@media (max-width:1100px) {
    .symptoms {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:760px) {
    .diag {
        padding: 26px 18px;
        border-radius: 22px;
    }

    .symptoms {
        grid-template-columns: 1fr;
    }

    .answer {
        grid-template-columns: 1fr;
        padding: 22px 20px;
    }

    .answer .btn {
        width: 100%;
    }
}
