/* ============================================================
   PIKKI — DIAGNÓSTICO E SIMULADOR COMERCIAL
   ============================================================

   Ficheiro: assets/landing/diagnostico.css

   Estrutura:
   01. Layout geral da secção
   02. Coluna de apresentação
   03. Coluna do simulador
   04. Botões de entrada
   05. Componente de diagnóstico
   06. Cabeçalho e progresso
   07. Perguntas e escolhas
   08. Campos numéricos
   09. Módulos opcionais
   10. Navegação
   11. Resultados e preços
   12. Funcionalidades
   13. Botões de contacto
   14. Responsividade

   ============================================================ */


/* ============================================================
   01. LAYOUT GERAL DA SECÇÃO
   ============================================================ */

#planos.lp-plans {
    padding: 90px 0 75px;
}

#planos .lp-plans-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 65px;
    row-gap: 24px;
    align-items: start;
}


/* ============================================================
   02. COLUNA ESQUERDA — APRESENTAÇÃO
   ============================================================ */

#planos .lp-plans-copy {
    width: 100%;
    min-width: 0;
    padding-top: 30px;
}

#planos .lp-plans-copy h2 {
    max-width: 560px;
    margin: 25px 0;
    font-size: clamp(42px, 4vw, 72px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

#planos .lp-plans-copy > p {
    max-width: 440px;
    margin: 0;
    font-size: 16px;
    line-height: 1.85;
}

#planos .lp-plans-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 35px;
}

#planos .lp-plans-benefits span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #234c48;
}


/* ============================================================
   03. COLUNA DIREITA — SIMULADOR
   ============================================================ */

#planos .lp-plans-simulator {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-width: 0;
}


/* ============================================================
   04. BOTÕES DE ENTRADA
   ============================================================ */

#planos .lp-entry-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0;
}

#planos .lp-entry-actions .lp-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    min-height: 48px;

    padding: 12px 14px;

    border-radius: 10px;

    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    white-space: normal;

    cursor: pointer;
}


/* ============================================================
   05. COMPONENTE PRINCIPAL DO DIAGNÓSTICO
   ============================================================ */

.lp-diagnostic {
    margin-top: 38px;
    padding: clamp(22px, 5vw, 54px);

    background: #ffffff;
    border: 1px solid #e2e9e7;
    border-radius: 24px;

    box-shadow: 0 22px 70px rgba(20, 43, 38, 0.055);

    color: #18332d;
}

#planos .lp-plans-simulator .lp-diagnostic {
    width: 100%;
    max-width: none;
    min-width: 0;

    margin: 0;
    padding: 30px;

    border-radius: 20px;
    box-sizing: border-box;
}


/* ============================================================
   06. CABEÇALHO E BARRA DE PROGRESSO
   ============================================================ */

.lp-diag-top,
.lp-diag-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lp-diag-top {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    color: #71817b;
}

.lp-diag-progress {
    height: 4px;
    margin: 18px 0 34px;

    overflow: hidden;

    background: #eaf0ed;
    border-radius: 9px;
}

.lp-diag-progress span {
    display: block;

    width: 25%;
    height: 100%;

    background: #244b3d;
    border-radius: 9px;

    transition: width 0.3s ease;
}

#planos .lp-diag-progress {
    margin: 18px 0 24px;
}


/* ============================================================
   07. PERGUNTAS E ESCOLHAS
   ============================================================ */

.lp-diag-question {
    margin: 0 0 10px;

    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.035em;

    color: #19372d;
}

.lp-diag-help {
    margin: 0 0 24px;

    font-size: 15px;
    line-height: 1.6;

    color: #73817c;
}

.lp-diag-choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
    gap: 12px;
}

.lp-diag-choice {
    appearance: none;

    display: block;
    width: 100%;

    padding: 21px;

    border: 1px solid #dde8e2;
    border-radius: 15px;

    background: #fbfcfb;
    color: #244337;

    text-align: left;
    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.lp-diag-choice:hover,
.lp-diag-choice.is-selected {
    border-color: #28533f;
    background: #edf5ef;

    transform: translateY(-2px);
}

.lp-diag-choice:focus-visible {
    outline: 3px solid rgba(40, 83, 63, 0.3);
    outline-offset: 3px;
}

.lp-diag-choice strong {
    display: block;

    margin-bottom: 7px;

    font-size: 17px;
}

.lp-diag-choice small {
    display: block;

    font-size: 12px;
    line-height: 1.45;

    color: #687d72;
}

#planos .lp-diag-question {
    margin-bottom: 8px;

    font-size: clamp(22px, 2vw, 29px);
    line-height: 1.25;
}

#planos .lp-diag-help {
    margin-bottom: 20px;

    font-size: 13px;
    line-height: 1.6;
}

#planos .lp-diag-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

#planos .lp-diag-choice {
    min-width: 0;
    padding: 16px;
}

#planos .lp-diag-choice strong {
    font-size: 14px;
}


/* ============================================================
   08. CAMPOS NUMÉRICOS
   ============================================================ */

.lp-diag-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}

.lp-diag-fields label {
    display: grid;
    gap: 8px;

    font-size: 14px;
    font-weight: 700;

    color: #2b463b;
}

.lp-diag-fields input {
    width: 100%;
    min-width: 0;

    padding: 15px;

    border: 1px solid #d9e4de;
    border-radius: 12px;

    background: #fbfcfb;
    color: #18392e;

    font-size: 19px;

    box-sizing: border-box;
}

.lp-diag-fields input:focus {
    border-color: #28533f;
    outline: 2px solid rgba(40, 83, 63, 0.12);
}

.lp-diag-number small {
    display: block;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;

    color: #75877d;
}

#planos .lp-diag-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}


/* ============================================================
   09. MÓDULOS OPCIONAIS
   ============================================================ */

.lp-diag-checks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 12px;
}

.lp-diag-checks label {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 15px;

    border: 1px solid #e0e9e4;
    border-radius: 12px;

    cursor: pointer;
}

.lp-diag-checks input {
    width: 18px;
    height: 18px;

    accent-color: #24513c;
}

.lp-diag-extra-group {
    margin: 0 0 20px;
}

.lp-diag-extra-group h4 {
    margin: 0 0 12px;

    font-size: 16px;
}

.lp-diag-extra {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 10px;
    padding: 15px 16px;

    border: 1px solid #e1eae4;
    border-radius: 13px;

    cursor: pointer;
}

.lp-diag-extra:hover {
    border-color: #a8c3b3;
    background: #fbfdfb;
}

.lp-diag-extra input {
    flex-shrink: 0;

    width: 19px;
    height: 19px;

    accent-color: #24513c;
}

.lp-diag-extra span {
    flex: 1;
    min-width: 0;
}

.lp-diag-extra strong,
.lp-diag-extra small {
    display: block;
}

.lp-diag-extra small {
    margin-top: 4px;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;

    color: #77877d;
}

.lp-diag-extra b {
    font-size: 13px;
    white-space: nowrap;
}


/* ============================================================
   10. NAVEGAÇÃO DO SIMULADOR
   ============================================================ */

.lp-diag-actions {
    margin-top: 32px;
}

.lp-diag-back {
    padding: 8px 0;

    border: 0;
    background: transparent;

    color: #506b5e;

    font-weight: 700;

    cursor: pointer;
}

.lp-diag-back:disabled {
    opacity: 0.3;
    cursor: default;
}

#planos .lp-diag-actions {
    margin-top: 22px;
}


/* ============================================================
   11. RESULTADOS E PREÇOS
   ============================================================ */

.lp-diag-result {
    display: grid;
    gap: 18px;
}

.lp-diag-result-card {
    padding: 22px;

    background: #f4f8f5;
    border-radius: 16px;
}

.lp-diag-result-eyebrow {
    display: block;

    margin-bottom: 8px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;

    color: #6b8575;
}

.lp-diag-result-card h3 {
    margin: 0 0 10px;

    font-size: 26px;
}

.lp-diag-price {
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.lp-diag-price small {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;

    color: #6c8074;
}

.lp-diag-breakdown {
    margin-top: 16px;
    padding-top: 12px;

    border-top: 1px solid #dce7df;

    font-size: 13px;
    line-height: 1.8;

    color: #61766a;
}

.lp-diag-breakdown > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;

    padding: 5px 0;
}

.lp-diag-breakdown > div > span {
    min-width: 0;
}

.lp-diag-breakdown strong {
    flex-shrink: 0;

    color: #254536;
    white-space: nowrap;
}

.lp-diag-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 22px;

    background: #204936;
    border-radius: 16px;

    color: #ffffff;
}

.lp-diag-total strong {
    font-size: 27px;
}

.lp-diag-total small {
    font-size: 12px;
    font-weight: 400;
}

.lp-diag-warning {
    margin: 0;

    font-size: 13px;
    line-height: 1.5;

    color: #6c736a;
}

.lp-diag-result-card a {
    display: inline-flex;

    margin-top: 14px;

    color: #1f5038;

    font-weight: 800;
    text-decoration: none;
}


/* ============================================================
   12. FUNCIONALIDADES INCLUÍDAS
   ============================================================ */

.lp-diag-capabilities {
    padding: 25px;

    border: 1px solid #e0e9e3;
    border-radius: 16px;
}

.lp-diag-capabilities h4 {
    margin: 0 0 20px;

    font-size: 21px;
}

.lp-diag-cap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lp-diag-cap-grid > div {
    padding: 0 0 15px;

    border-bottom: 1px solid #edf0ed;
}

.lp-diag-cap-grid strong {
    font-size: 14px;
    color: #204936;
}

.lp-diag-cap-grid p,
.lp-diag-cap-note {
    margin: 7px 0 0;

    font-size: 13px;
    line-height: 1.6;

    color: #6c8075;
}

.lp-diag-cap-note {
    margin-top: 17px;
}


/* ============================================================
   13. BOTÕES DE CONTACTO
   ============================================================ */

.lp-diag-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 17px 24px;

    border: 0;
    border-radius: 12px;

    background: #1d4133;
    color: #ffffff !important;

    font: inherit;
    font-weight: 750;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.lp-diag-cta:hover {
    background: #2e624c;
    transform: translateY(-1px);
}

.lp-diag-cta:focus-visible {
    outline: 3px solid rgba(46, 98, 76, 0.35);
    outline-offset: 3px;
}


/* ============================================================
   14. NOTAS COMERCIAIS DA SECÇÃO
   ============================================================ */

#planos .lp-pricing-note {
    grid-column: 1 / -1;

    max-width: 100%;
    margin-top: 10px;

    font-size: 12px;
    line-height: 1.7;
}


/* ============================================================
   15. RESPONSIVIDADE — ECRÃS MÉDIOS
   ============================================================ */

@media (max-width: 1100px) {

    #planos .lp-plans-inner {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        column-gap: 30px;
    }

    #planos .lp-plans-copy h2 {
        font-size: clamp(38px, 4vw, 54px);
    }

    #planos .lp-plans-simulator .lp-diagnostic {
        padding: 24px;
    }

    #planos .lp-diag-choices {
        grid-template-columns: 1fr;
    }

    #planos .lp-diag-fields {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   16. RESPONSIVIDADE — TABLETS E TELEMÓVEIS
   ============================================================ */

@media (max-width: 800px) {

    #planos.lp-plans {
        padding: 65px 0;
    }

    #planos .lp-plans-inner {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    #planos .lp-plans-copy {
        width: 100%;
        padding-top: 0;
    }

    #planos .lp-plans-copy h2 {
        font-size: clamp(38px, 8vw, 55px);
    }

    #planos .lp-plans-benefits {
        gap: 10px;
        margin-top: 22px;
    }

    #planos .lp-plans-simulator {
        width: 100%;
    }

    #planos .lp-diag-choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #planos .lp-diag-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #planos .lp-pricing-note {
        margin-top: 0;
    }
}


/* ============================================================
   17. RESPONSIVIDADE — ECRÃS PEQUENOS
   ============================================================ */

@media (max-width: 650px) {

    .lp-diag-cap-grid {
        grid-template-columns: 1fr;
    }

    .lp-diag-extra {
        flex-wrap: wrap;
    }

    .lp-diag-total {
        align-items: flex-start;
        flex-direction: column;
    }

    .lp-diag-breakdown > div {
        font-size: 12px;
    }

    .lp-diag-total strong {
        font-size: 24px;
    }
}

@media (max-width: 600px) {

    .lp-diagnostic {
        padding: 22px 17px;
        border-radius: 17px;
    }

    .lp-diag-choices {
        grid-template-columns: 1fr;
    }

    .lp-diag-actions .lp-btn {
        padding: 13px 17px;
    }
}


/* ============================================================
   18. RESPONSIVIDADE — TELEMÓVEIS
   ============================================================ */

@media (max-width: 480px) {

    #planos .lp-entry-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    #planos .lp-entry-actions .lp-btn {
        min-height: 48px;
        padding: 11px 9px;

        font-size: 11px;
    }

    #planos .lp-plans-simulator .lp-diagnostic {
        padding: 20px 17px;
        border-radius: 16px;
    }

    #planos .lp-diag-choices {
        grid-template-columns: 1fr;
    }

    #planos .lp-diag-fields {
        grid-template-columns: 1fr;
    }

    #planos .lp-diag-question {
        font-size: 23px;
    }

    #planos .lp-diag-choice {
        padding: 15px;
    }

    #planos .lp-diag-result-card {
        padding: 17px;
    }

    #planos .lp-diag-capabilities {
        padding: 18px;
    }

    #planos .lp-diag-breakdown > div {
        flex-wrap: wrap;
        gap: 3px 10px;
    }

    #planos .lp-diag-breakdown strong {
        white-space: normal;
    }

    #planos .lp-diag-price {
        font-size: 32px;
    }

    #planos .lp-diag-cta {
        width: 100%;
        box-sizing: border-box;
    }
}


/* ============================================================
   19. ACESSIBILIDADE — MOVIMENTO REDUZIDO
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .lp-diag-progress span,
    .lp-diag-choice,
    .lp-diag-cta {
        transition: none;
    }

    .lp-diag-choice:hover,
    .lp-diag-choice.is-selected,
    .lp-diag-cta:hover {
        transform: none;
    }
}

/* ============================================================
   SELEÇÃO DO PERCURSO COMERCIAL
   ============================================================ */

/* Botão selecionado */

#planos .lp-entry-actions .lp-btn.is-selected {
    background: #1d4133;
    color: #ffffff;
    border: 1px solid #1d4133;

    opacity: 1;

    box-shadow: 0 5px 16px rgba(29, 65, 51, 0.16);

    transition: all 0.2s ease;
}

/* Botão não selecionado — continua perfeitamente visível */

#planos .lp-entry-actions .lp-btn:not(.is-selected),
#planos .lp-entry-actions .lp-btn.lp-btn-dark:not(.is-selected) {
    background: #ffffff !important;
    color: #244337 !important;
    border: 1px solid #b9cdc1 !important;

    opacity: 1 !important;
    visibility: visible !important;

    box-shadow: 0 2px 8px rgba(20, 43, 38, 0.04);

    transition: all 0.2s ease;
}

#planos .lp-entry-actions .lp-btn:not(.is-selected):hover,
#planos .lp-entry-actions .lp-btn.lp-btn-dark:not(.is-selected):hover {
    background: #edf5ef !important;
    color: #1d4133 !important;
    border-color: #28533f !important;
}

/* ============================================================
   DESCRIÇÃO DO PERCURSO ESCOLHIDO
   ============================================================ */

#planos .lp-path-description {
    display: none;

    margin: -4px 0 2px;
    padding: 0 3px;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;

    color: #526e60;
}

#planos .lp-path-description.is-visible {
    display: block;

    animation: lp-path-fade-in 0.2s ease;
}

@keyframes lp-path-fade-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #planos .lp-path-description.is-visible {
        animation: none;
    }
}


/* ============================================================
   19. FORMULÁRIO DE CONTACTO INTEGRADO
   ============================================================ */

/* ------------------------------------------------------------
   19.1. Estrutura geral
   ------------------------------------------------------------ */

#planos .lp-diag-contact {
    width: 100%;
    min-width: 0;
    animation: lpContactAppear 0.3s ease both;
}

#planos .lp-diag-contact .lp-diag-question {
    margin-top: 8px;
    margin-bottom: 12px;
}

#planos .lp-diag-contact .lp-diag-help {
    margin-bottom: 28px;
    max-width: 480px;
}

/* ------------------------------------------------------------
   19.2. Grelha dos campos
   ------------------------------------------------------------ */

#planos .lp-diag-contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

#planos .lp-diag-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
}

#planos .lp-diag-contact-grid > label {
    display: block;

    min-width: 0;

    font-size: 12px;
    font-weight: 750;
    line-height: 1.5;

    color: #244337;
}

#planos .lp-diag-contact-grid > label input {
    margin-top: 8px;
}

#planos .lp-diag-contact-grid > label > span {
    color: #bc594c;
}

/* ------------------------------------------------------------
   19.3. Inputs
   ------------------------------------------------------------ */

#planos .lp-diag-contact-grid input {
    display: block;

    width: 100%;
    min-width: 0;
    height: 48px;

    padding: 12px 14px;

    border: 1px solid #dce7df;
    border-radius: 11px;

    background: #fbfcfb;
    color: #18392e;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

#planos .lp-diag-contact-grid input::placeholder {
    color: #9aa9a0;
    font-weight: 400;
}

#planos .lp-diag-contact-grid input:hover {
    border-color: #b9cfc0;
}

#planos .lp-diag-contact-grid input:focus {
    outline: none;

    border-color: #28533f;
    background: #ffffff;

    box-shadow: 0 0 0 3px rgba(40, 83, 63, 0.1);
}

#planos .lp-diag-contact-grid input:focus-visible {
    outline: none;
}

/* ------------------------------------------------------------
   19.4. Consentimento
   ------------------------------------------------------------ */

#planos .lp-diag-contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    padding: 15px 16px;

    border: 1px solid #e3ebe5;
    border-radius: 12px;

    background: #f7faf8;

    cursor: pointer;
}

#planos .lp-diag-contact-consent input {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin: 2px 0 0;

    accent-color: #24513c;

    cursor: pointer;
}

#planos .lp-diag-contact-consent span {
    font-size: 11px;
    font-weight: 450;
    line-height: 1.7;

    color: #64786b;
}

#planos .lp-diag-contact-consent strong {
    color: #bc594c;
}

/* ------------------------------------------------------------
   19.5. Botão de envio
   ------------------------------------------------------------ */

#planos .lp-diag-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;

    padding: 15px 20px;

    border-radius: 11px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

#planos .lp-diag-contact-submit:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

/* ------------------------------------------------------------
   19.6. Mensagens de validação
   ------------------------------------------------------------ */

#planos .lp-diag-contact-feedback {
    display: none;

    padding: 13px 15px;

    border-radius: 10px;

    font-size: 12px;
    line-height: 1.6;
}

#planos .lp-diag-contact-feedback:not(:empty) {
    display: block;

    background: #eaf5ed;
    color: #285b3c;
}

#planos .lp-diag-contact-feedback.is-error {
    background: #fff1ee;
    color: #a44338;
}

/* ------------------------------------------------------------
   19.7. Nota de privacidade
   ------------------------------------------------------------ */

#planos .lp-diag-contact-note {
    margin: -10px 0 0;

    font-size: 11px;
    line-height: 1.65;
    text-align: center;

    color: #899a8e;
}

/* ------------------------------------------------------------
   19.8. Confirmação de sucesso
   ------------------------------------------------------------ */

#planos .lp-diag-contact-success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 17px;

    padding: 8px 0;

    animation: lpContactAppear 0.35s ease both;
}

#planos .lp-diag-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    border-radius: 16px;

    background: #e5f3e9;
    color: #285b3c;

    font-size: 27px;
    font-weight: 800;
}

#planos .lp-diag-contact-success .lp-diag-question {
    margin: 0;
}

#planos .lp-diag-contact-success .lp-diag-help {
    margin: 0;
}

#planos .lp-diag-reference {
    display: inline-block;

    margin: 0;
    padding: 10px 14px;

    border: 1px solid #dce8df;
    border-radius: 9px;

    background: #f4f8f5;

    font-size: 12px;
    color: #567061;
}

#planos .lp-diag-reference strong {
    color: #234d38;
}

#planos .lp-diag-contact-success .lp-diag-warning {
    padding: 12px 0;
}

/* ------------------------------------------------------------
   19.9. Animação
   ------------------------------------------------------------ */

@keyframes lpContactAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------------------------------------
   19.10. Tablets
   ------------------------------------------------------------ */

@media (max-width: 800px) {

    #planos .lp-diag-contact-grid {
        gap: 14px 12px;
    }

    #planos .lp-diag-contact-form {
        gap: 18px;
    }
}

/* ------------------------------------------------------------
   19.11. Telemóveis
   ------------------------------------------------------------ */

@media (max-width: 560px) {

    #planos .lp-diag-contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #planos .lp-diag-contact-grid input {
        height: 50px;
    }

    #planos .lp-diag-contact-consent {
        padding: 13px;
    }

    #planos .lp-diag-contact-submit {
        width: 100%;
        min-height: 52px;
    }

    #planos .lp-diag-contact-success {
        align-items: stretch;
    }

    #planos .lp-diag-success-icon {
        align-self: flex-start;
    }
}

/* ------------------------------------------------------------
   19.12. Acessibilidade
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

    #planos .lp-diag-contact,
    #planos .lp-diag-contact-success {
        animation: none;
    }
}


/* Respeitar o atributo hidden dos botões de navegação */

#planos .lp-diag-actions [hidden] {
    display: none !important;
}