/* ==========================================================================
   Socequi blog — seccoes da landing page
   --------------------------------------------------------------------------
   Porte de _design-reference/Lps/src/app/components (varios .tsx)

   Divisao dos ficheiros:
     socequi.css          tokens da marca, reset, HERO
     socequi-seccoes.css  este ficheiro — sistema partilhado + 8 seccoes
     socequi-header.css   header portado do site principal
     socequi-footer.css   footer portado do site principal

   As animacoes whileInView do motion/react estao em /media/js/socequi.js
   (IntersectionObserver -> classe .sqRevelado).

   Breakpoints, iguais aos do Tailwind no design:
     sm 640px   md 768px   lg 1024px
   ========================================================================== */


/* ==========================================================================
   SISTEMA PARTILHADO
   ========================================================================== */

.sqSeccao { padding: 3.5rem 1rem; }

.sqSeccaoBranca { background-color: #fff; }
.sqSeccaoCinza  { background-color: #F5F5F5; }
.sqSeccaoAzul   { background-color: var(--sq-azul); }

.sqContentor {
    max-width: var(--sq-largura-max);
    margin: 0 auto;
}

.sqContentorEstreito {
    max-width: 48rem;   /* = max-w-3xl, usado nas FAQs */
    margin: 0 auto;
}

.sqCabecalho {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sqEyebrow {
    color: var(--sq-azul);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 0 .75rem;
}

.sqEyebrowLima { color: var(--sq-lima); }

.sqTitulo {
    color: var(--sq-azul);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 .75rem;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.sqTituloBranco { color: #fff; }

.sqSubtitulo {
    color: #555;
    font-size: .875rem;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 42rem;
}

.sqSubtituloBranco { color: rgba(255, 255, 255, .7); }

.sqBtnAzul {
    background-color: var(--sq-azul);
    color: #fff;
    font-weight: 700;
    border: 1px solid transparent;
    padding: .875rem 2rem;
    border-radius: var(--sq-raio-lg);
}

.sqBtnAzul:hover,
.sqBtnAzul:focus-visible {
    background-color: #002d5e;
    color: #fff;
}

.sqBtnLima {
    background-color: var(--sq-lima);
    color: var(--sq-azul);
    font-weight: 700;
    border: 1px solid transparent;
    padding: .875rem 2rem;
    border-radius: var(--sq-raio-lg);
}

.sqBtnLima:hover,
.sqBtnLima:focus-visible {
    background-color: var(--sq-lima-hover);
    color: var(--sq-azul);
}

.sqCentrado { text-align: center; }
.sqMt10     { margin-top: 2.5rem; }

/* --- revelacao ao scroll (whileInView do motion) ------------------------- */

.sqReveal {
    opacity: 0;
    transition: opacity .55s cubic-bezier(.22,1,.36,1),
                transform .55s cubic-bezier(.22,1,.36,1);
}

.sqRevealSubir    { transform: translateY(28px); }
.sqRevealEsquerda { transform: translateX(-40px); }
.sqRevealDireita  { transform: translateX(40px); }

.sqRevelado {
    opacity: 1;
    transform: none;
}

/* Filhos de .sqStagger — o transition-delay (0.08s * indice) e' posto em JS */
.sqStagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s cubic-bezier(.22,1,.36,1),
                transform .5s cubic-bezier(.22,1,.36,1);
}

.sqStagger.sqRevelado > * {
    opacity: 1;
    transform: none;
}

/* Rede de seguranca: sem isto, quem tenha animacoes desactivadas ficaria
   com a pagina toda invisivel (os elementos comecam em opacity:0). */
@media (prefers-reduced-motion: reduce) {
    .sqReveal,
    .sqStagger > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Impressao e captura de pagina inteira.
   Estas animacoes dependem do IntersectionObserver, que so dispara para o
   que passa mesmo pela janela. Ao imprimir — ou numa captura de pagina
   inteira, que desenha o documento todo sem o percorrer — tudo o que fica
   abaixo da primeira dobra nunca chega a ser revelado e sai desbotado ou
   invisivel. Aqui mostra-se tudo. */
@media print {
    .sqReveal,
    .sqStagger > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (min-width: 640px) {
    .sqSeccao    { padding: 5rem 1.5rem; }
    .sqCabecalho { margin-bottom: 3.5rem; }
    .sqSubtitulo { font-size: 1rem; }
}


/* ==========================================================================
   INTRO  <- IntroSection.tsx
   ========================================================================== */

.sqIntroGrelha {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.sqIntroTexto { min-width: 0; }

.sqIntroTitulo {
    color: var(--sq-azul);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.25rem;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.sqIntroTexto p {
    color: #555;
    font-size: .875rem;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.sqIntroTexto p:last-of-type { margin-bottom: 1.75rem; }

.sqIntroLista {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.sqIntroLista li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.sqIntroLista .sqIcone {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--sq-lima);
    flex: 0 0 auto;
    margin-top: .125rem;
}

.sqIntroLista span {
    color: var(--sq-texto);
    font-size: .875rem;
}

.sqIntroMedia {
    position: relative;
    margin-top: 1.5rem;
}

.sqIntroImagem {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
}

.sqIntroImagem img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    display: block;
}

.sqIntroSelo {
    position: absolute;
    bottom: -1.25rem;
    left: 1rem;
    background-color: var(--sq-azul);
    color: #fff;
    border-radius: var(--sq-raio-lg);
    padding: .75rem 1.25rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}

.sqIntroSeloValor {
    color: var(--sq-lima);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

.sqIntroSeloLabel {
    color: rgba(255,255,255,.8);
    font-size: .75rem;
    margin: 0;
}

@media (min-width: 640px) {
    .sqIntroTexto p   { font-size: 1rem; }
    .sqIntroImagem img { height: 20rem; }
    .sqIntroSelo      { bottom: -1.5rem; left: -1.5rem; padding: 1rem 1.5rem; }
    .sqIntroSeloValor { font-size: 1.5rem; }
    .sqIntroSeloLabel { font-size: .875rem; }
}

@media (min-width: 1024px) {
    .sqIntroGrelha { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
    .sqIntroMedia  { margin-top: 0; }
}


/* ==========================================================================
   SOLUCOES  <- SolutionsSection.tsx
   ========================================================================== */

.sqGrelha3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.sqCartao {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow .2s ease, transform .2s ease;
}

.sqCartao:hover {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    transform: translateY(-4px);
}

.sqCartaoIcone {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background-color: var(--sq-azul);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex: 0 0 auto;
}

.sqCartaoIcone .sqIcone {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--sq-lima);
}

.sqCartaoTitulo {
    color: var(--sq-azul);
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 .5rem;
}

.sqCartaoTexto {
    color: #555;
    font-size: .875rem;
    line-height: 1.65;
    margin: 0 0 1rem;
    flex: 1;
}

.sqCartaoRodape {
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
    margin-top: auto;
}

.sqCartaoRodape p {
    color: #888;
    font-size: .75rem;
    margin: 0;
}

.sqCartaoRodape strong {
    font-weight: 600;
    color: var(--sq-azul);
}

@media (min-width: 640px) {
    .sqGrelha3     { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
    .sqCartaoIcone { width: 3.5rem; height: 3.5rem; margin-bottom: 1.25rem; }
}

@media (min-width: 1024px) {
    .sqGrelha3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ==========================================================================
   APLICACOES  <- ApplicationsSection.tsx
   ========================================================================== */

.sqGrelhaApp {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.sqApp {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow .3s ease;
    background-color: #fff;
}

.sqApp:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
}

.sqAppTopo {
    background-color: var(--sq-azul);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sqAppIcone {
    width: 2.75rem;
    height: 2.75rem;
    background-color: var(--sq-lima);
    border-radius: var(--sq-raio-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.sqAppIcone .sqIcone {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--sq-azul);
}

.sqAppTitulo {
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0;
}

.sqAppCorpo {
    padding: 1.5rem;
    flex: 1;
    background-color: #fff;
}

.sqAppCorpo > p {
    color: #555;
    font-size: .875rem;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.sqAppLista {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sqAppLista li {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.sqAppLista li::before {
    content: '';
    width: .375rem;
    height: .375rem;
    border-radius: 50%;
    background-color: var(--sq-lima);
    flex: 0 0 auto;
}

.sqAppLista span {
    color: var(--sq-texto);
    font-size: .875rem;
}

@media (min-width: 640px) {
    .sqGrelhaApp         { gap: 2rem; }
    .sqAppTopo           { padding: 2rem; }
    .sqAppIcone          { width: 3rem; height: 3rem; }
    .sqAppIcone .sqIcone { width: 1.5rem; height: 1.5rem; }
    .sqAppTitulo         { font-size: 1.25rem; }
    .sqAppCorpo          { padding: 1.75rem; }
}

@media (min-width: 768px) {
    .sqGrelhaApp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ==========================================================================
   ENCONTRAR SOLUCAO  <- FindSolutionSection.tsx
   ========================================================================== */

.sqGrelhaCasos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.sqCaso {
    display: block;
    height: 100%;
    background-color: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 1rem;
    padding: 1.25rem;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}

.sqCaso:hover,
.sqCaso:focus-visible {
    background-color: rgba(255,255,255,.15);
    border-color: rgba(194, 213, 0, .4);
}

.sqCasoTitulo {
    color: #fff;
    font-weight: 700;
    font-size: .875rem;
    margin: 0 0 .5rem;
}

.sqCasoTexto {
    color: rgba(255,255,255,.7);
    font-size: .75rem;
    line-height: 1.65;
    margin: 0;
}

@media (min-width: 640px) {
    .sqGrelhaCasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sqCaso        { padding: 1.5rem; }
    .sqCasoTitulo  { font-size: 1rem; }
    .sqCasoTexto   { font-size: .875rem; }
}

@media (min-width: 1024px) {
    .sqGrelhaCasos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ==========================================================================
   ARTIGOS  <- ArticlesSection.tsx
   ========================================================================== */

.sqArtigosCabecalho {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.sqArtigosCabecalho .sqTitulo { margin-bottom: 0; }

.sqArtigosNota {
    color: #666;
    font-size: .75rem;
    line-height: 1.65;
    max-width: 20rem;
    margin: 0;
}

.sqGrelhaArtigos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.sqArtigo {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    height: 100%;
    transition: box-shadow .3s ease;
}

.sqArtigo:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
}

.sqArtigoMedia {
    position: relative;
    height: 11rem;
    overflow: hidden;
    flex: 0 0 auto;
}

.sqArtigoMedia img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.sqArtigo:hover .sqArtigoMedia img { transform: scale(1.05); }

.sqArtigoEtiqueta {
    position: absolute;
    top: .75rem;
    left: .75rem;
    background-color: var(--sq-lima);
    color: var(--sq-azul);
    font-weight: 700;
    font-size: .625rem;
    padding: .25rem .625rem;
    border-radius: 9999px;
}

.sqArtigoCorpo {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sqArtigoTitulo {
    color: var(--sq-azul);
    font-weight: 700;
    font-size: .875rem;
    line-height: 1.4;
    margin: 0 0 .5rem;
    transition: color .2s ease;
}

.sqArtigo:hover .sqArtigoTitulo { color: #0056b3; }

.sqArtigoResumo {
    color: #666;
    font-size: .75rem;
    line-height: 1.65;
    margin: 0 0 1rem;
    flex: 1;
}

/* limita a 3 linhas para os cartoes ficarem todos com a mesma altura */
.sqArtigoTitulo,
.sqArtigoResumo {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sqArtigoRodape {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: .75rem;
    border-top: 1px solid #f3f4f6;
    gap: .5rem;
}

.sqArtigoMeta {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.sqArtigoMeta span {
    display: flex;
    align-items: center;
    gap: .25rem;
    color: #aaa;
    font-size: .625rem;
}

.sqArtigoMeta .sqIcone {
    width: .75rem;
    height: .75rem;
}

.sqArtigoLer {
    display: flex;
    align-items: center;
    gap: .25rem;
    color: var(--sq-azul);
    font-weight: 600;
    font-size: .625rem;
    white-space: nowrap;
}

.sqArtigoLer .sqIcone {
    width: .75rem;
    height: .75rem;
    color: var(--sq-lima);
}

@media (min-width: 640px) {
    .sqArtigosCabecalho {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
    .sqArtigosNota   { text-align: right; }
    .sqGrelhaArtigos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .sqGrelhaArtigos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* ==========================================================================
   FAQ  <- FaqSection.tsx
   ========================================================================== */

.sqFaqLista {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.sqFaqItem {
    border: 1px solid #e5e7eb;
    border-radius: var(--sq-raio-lg);
    overflow: hidden;
    background-color: #fff;
}

.sqFaqPergunta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem;
    background-color: #fff;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--sq-fonte);
    font-weight: 600;
    font-size: .875rem;
    line-height: 1.4;
    color: var(--sq-azul);
    transition: background-color .2s ease;
}

.sqFaqPergunta:hover { background-color: #f9fafb; }

.sqFaqPergunta .sqIcone {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--sq-lima);
    flex: 0 0 auto;
    transition: transform .25s ease;
}

.sqFaqPergunta[aria-expanded="true"] .sqIcone { transform: rotate(180deg); }

/* max-height animavel — o valor real e' posto em JS a partir do scrollHeight,
   porque height:auto nao e' animavel em CSS. */
.sqFaqResposta {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s cubic-bezier(.22,1,.36,1);
}

.sqFaqRespostaInterior {
    padding: 1rem;
    border-top: 1px solid #f3f4f6;
}

.sqFaqRespostaInterior p {
    color: #555;
    font-size: .875rem;
    line-height: 1.65;
    margin: 0;
}

@media (min-width: 640px) {
    .sqFaqPergunta         { padding: 1.25rem 1.5rem; }
    .sqFaqRespostaInterior { padding: 1rem 1.5rem 1.25rem; }
}


/* ==========================================================================
   CTA  <- CtaSection.tsx
   ========================================================================== */

.sqCta {
    position: relative;
    overflow: hidden;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #003E7E 0%, #0056b3 100%);
}

/* dois circulos decorativos muito tenues, como no design */
.sqCta::before,
.sqCta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.sqCta::before {
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    background-color: var(--sq-lima);
    opacity: .05;
    transform: translate(50%, -50%);
}

.sqCta::after {
    bottom: 0;
    left: 0;
    width: 12rem;
    height: 12rem;
    background-color: #fff;
    opacity: .05;
    transform: translate(-50%, 50%);
}

.sqCtaConteudo {
    position: relative;
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.sqCtaTitulo {
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.25rem;
    font-size: clamp(1.5rem, 4vw, 2.8rem);
}

.sqCtaTexto {
    color: rgba(255,255,255,.8);
    font-size: .875rem;
    line-height: 1.65;
    margin: 0 auto 2rem;
    max-width: 42rem;
}

.sqCtaAccoes {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    align-items: center;
    justify-content: center;
}

.sqCtaAccoes .sqBtn { width: 100%; }

.sqBtnTexto {
    background: none;
    border: 0;
    color: rgba(255,255,255,.7);
    font-weight: 500;
    padding: 1rem;
}

.sqBtnTexto:hover,
.sqBtnTexto:focus-visible { color: #fff; }

@media (min-width: 640px) {
    .sqCta              { padding: 6rem 1.5rem; }
    .sqCtaTexto         { font-size: 1rem; margin-bottom: 2.5rem; }
    .sqCtaAccoes        { flex-direction: row; }
    .sqCtaAccoes .sqBtn { width: auto; }
    .sqCta::before      { width: 24rem; height: 24rem; }
    .sqCta::after       { width: 16rem; height: 16rem; }
}


/* ==========================================================================
   CONTACTOS  <- ContactSection.tsx
   ========================================================================== */

.sqContactosGrelha {
    display: grid;
    gap: 2.5rem;
}

.sqContactosInfo { min-width: 0; }

.sqContactosLista {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sqContactoItem {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.sqContactoIcone {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(0, 62, 126, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.sqContactoIcone .sqIcone {
    width: 1rem;
    height: 1rem;
    color: var(--sq-azul);
}

.sqContactoPrincipal {
    font-weight: 600;
    color: var(--sq-texto);
    font-size: .875rem;
    margin: 0;
}

.sqContactoPrincipal a { color: inherit; text-decoration: none; }
.sqContactoPrincipal a:hover { text-decoration: underline; }

.sqContactoSecundario {
    color: #999;
    font-size: .75rem;
    margin: .125rem 0 0;
}

/* --- formulario --- */

.sqFormCartao {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
}

.sqForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sqFormLinha {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.sqCampo {
    display: flex;
    flex-direction: column;
    gap: .375rem;
}

.sqCampo label {
    font-weight: 600;
    color: var(--sq-texto);
    font-size: .75rem;
}

.sqObrigatorio { color: #ef4444; }

.sqCampo input,
.sqCampo textarea {
    border: 1px solid #e5e7eb;
    border-radius: var(--sq-raio);
    padding: .75rem .875rem;
    font-family: var(--sq-fonte);
    font-size: .875rem;
    color: var(--sq-texto);
    background-color: #fff;
    transition: border-color .2s ease;
}

.sqCampo textarea { resize: none; }

.sqCampo input::placeholder,
.sqCampo textarea::placeholder { color: #9ca3af; }

.sqCampo input:focus,
.sqCampo textarea:focus {
    outline: none;
    border-color: var(--sq-azul);
}

.sqFormPrivacidade {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.sqFormPrivacidade input {
    margin-top: .125rem;
    accent-color: var(--sq-azul);
    flex: 0 0 auto;
}

.sqFormPrivacidade label {
    color: #666;
    font-size: .75rem;
    line-height: 1.65;
}

.sqFormSubmeter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    background-color: var(--sq-azul);
    color: #fff;
    font-family: var(--sq-fonte);
    font-weight: 700;
    font-size: .875rem;
    padding: .875rem;
    border: 0;
    border-radius: var(--sq-raio-lg);
    cursor: pointer;
    transition: background-color .2s ease, transform .1s ease;
}

.sqFormSubmeter:hover  { background-color: #002d5e; }
.sqFormSubmeter:active { transform: scale(.97); }

@media (min-width: 640px) {
    .sqFormCartao { padding: 2rem; }
    .sqFormLinha  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .sqContactosGrelha { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
}

/* ==========================================================================
   Pagina de erro (views/404.tpl)

   Substitui o layout da instalacao base do SM8, que trazia o azul do Site
   Manager e o widget de chat de demonstracao.
   ========================================================================== */

.sqErro {
    background-color: #fff;
    padding-block: clamp(4rem, 12vw, 9rem);
}

.sqErroConteudo {
    text-align: center;
    max-width: 34rem;
}

.sqErroCodigo {
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--sq-lima);
    margin: 0 0 .5rem;
}

.sqErroTitulo {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--sq-azul);
    margin: 0 0 1rem;
}

.sqErroTexto {
    color: var(--sq-texto-claro);
    margin: 0 0 2rem;
}

.sqErroAccoes {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}
