/* Site de apresentação YourMaid. Cores da marca: BRAND/LEIA-ME.md */

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-display: swap;
    font-weight: 200 1000;
    src: url('fonts/nunito-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-display: swap;
    font-weight: 200 1000;
    src: url('fonts/nunito-latin-ext-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --marca: #0e8c7e;
    --marca-escura: #0a6f65;
    --marca-clara: #5fe0cc;
    --marca-suave: #e7f6f3;
    --tinta: #1f2d3d;
    --cinza: #5f7380;
    --ambar: #f5b83d;
    --fundo: #f3f7f6;
    --branco: #ffffff;
    --linha: #dbe7e4;
    --erro: #c2410c;

    --sombra-cartao: 0 1px 2px rgb(31 45 61 / 0.05), 0 18px 40px -20px rgb(31 45 61 / 0.25);
    --sombra-botao: 0 12px 26px -10px rgb(14 140 126 / 0.7);
    --raio: 1.5rem;
    --topo-altura: 4.5rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--topo-altura);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Nunito', ui-sans-serif, system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--tinta);
    background: var(--branco);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.25rem, 5.2vw, 3.75rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(1.75rem, 3.6vw, 2.6rem);
    font-weight: 850;
}

h3 {
    font-size: 1.2rem;
    font-weight: 800;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

.contentor {
    width: min(1160px, 100% - 2.5rem);
    margin-inline: auto;
}

/* ---------- Botões e etiquetas ---------- */

.botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    padding: 0 1.6rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, color 0.2s;
}

.botao svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s;
}

.botao:hover svg {
    transform: translateX(3px);
}

.botao--principal {
    background: var(--marca);
    color: var(--branco);
    box-shadow: var(--sombra-botao);
}

.botao--principal:hover {
    background: var(--marca-escura);
    transform: translateY(-2px);
}

.botao--claro {
    background: var(--branco);
    color: var(--tinta);
    border-color: var(--linha);
}

.botao--claro:hover {
    border-color: var(--marca);
    color: var(--marca);
}

.botao--contorno {
    border-color: var(--marca);
    color: var(--marca);
}

.botao--contorno:hover {
    background: var(--marca);
    color: var(--branco);
}

.botao--pequeno {
    min-height: 2.75rem;
    padding: 0 1.2rem;
}

.botao--largo {
    width: 100%;
}

.botao:focus-visible,
.topo__menu:focus-visible,
.topo__nav a:focus-visible {
    outline: 3px solid var(--ambar);
    outline-offset: 3px;
}

.etiqueta {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgb(95 224 204 / 0.18);
    color: var(--marca-escura);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.etiqueta--suave {
    background: var(--marca-suave);
}

.realce {
    background: linear-gradient(90deg, var(--marca), #13a896);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    white-space: nowrap;
}

.realce::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.05em;
    height: 0.18em;
    border-radius: 999px;
    background: var(--ambar);
    opacity: 0.55;
    z-index: -1;
}

/* ---------- Topo ---------- */

.topo {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(255 255 255 / 0.85);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.topo--rolado {
    border-color: var(--linha);
    box-shadow: 0 8px 24px -18px rgb(31 45 61 / 0.4);
}

.topo__barra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--topo-altura);
}

.topo__logo img {
    width: 150px;
    height: auto;
}

.topo__nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.topo__nav a:not(.botao) {
    color: var(--cinza);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.topo__nav a:not(.botao):hover {
    color: var(--marca);
}

.topo__menu {
    display: none;
    width: 3rem;
    height: 3rem;
    padding: 0.85rem;
    border: 0;
    border-radius: 0.9rem;
    background: var(--marca-suave);
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.topo__menu span {
    display: block;
    height: 2.5px;
    border-radius: 2px;
    background: var(--marca-escura);
    transition: transform 0.25s, opacity 0.25s;
}

.topo__menu[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(8.2px) rotate(45deg);
}

.topo__menu[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
}

.topo__menu[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-8.2px) rotate(-45deg);
}

/* ---------- Herói ---------- */

.heroi {
    position: relative;
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
    isolation: isolate;
    overflow: hidden;
}

.heroi__fundo {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(40rem 30rem at 85% 20%, rgb(95 224 204 / 0.35), transparent 70%),
        radial-gradient(30rem 24rem at 10% 90%, rgb(245 184 61 / 0.16), transparent 70%),
        linear-gradient(180deg, var(--branco), var(--fundo));
}

.heroi__fundo::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgb(14 140 126 / 0.12) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.heroi__grelha {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
}

.heroi__lead {
    margin-top: 1.4rem;
    max-width: 34rem;
    color: var(--cinza);
    font-size: 1.2rem;
}

.heroi__acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.heroi__garantias {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    margin: 1.8rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--cinza);
    font-weight: 700;
    font-size: 0.95rem;
}

.heroi__garantias li,
.faixa__lista li,
.plano li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.heroi__garantias svg,
.faixa__lista svg,
.plano li svg {
    flex: none;
    width: 1.3rem;
    height: 1.3rem;
    margin-top: 0.12rem;
    padding: 0.2rem;
    border-radius: 50%;
    background: var(--marca);
    fill: none;
    stroke: var(--branco);
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Telemóvel desenhado em CSS */
.heroi__visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.telemovel {
    width: 290px;
    padding: 12px;
    border-radius: 46px;
    background: var(--tinta);
    box-shadow:
        0 0 0 2px #2f4357,
        0 40px 80px -30px rgb(31 45 61 / 0.55),
        0 20px 40px -20px rgb(14 140 126 / 0.4);
    transform: rotate(-3deg);
    animation: flutuar 7s ease-in-out infinite;
}

.telemovel__ecra {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 540px;
    padding: 1.1rem;
    border-radius: 36px;
    background: var(--fundo);
    font-size: 0.85rem;
    overflow: hidden;
}

.telemovel__ecra small {
    display: block;
    color: var(--cinza);
    font-size: 0.75rem;
}

.app-topo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: -1.1rem -1.1rem 0.2rem;
    padding: 1.6rem 1.1rem 1.1rem;
    background: linear-gradient(135deg, var(--marca), #13a896);
    color: var(--branco);
}

.app-topo small {
    color: rgb(255 255 255 / 0.8);
}

.app-topo strong {
    font-size: 1.15rem;
}

.app-cartao {
    padding: 0.9rem 1rem;
    border-radius: 1.1rem;
    background: var(--branco);
    box-shadow: var(--sombra-cartao);
}

.app-cartao strong {
    display: block;
    margin: 0.15rem 0;
    font-size: 1rem;
}

.app-cartao--ativo {
    border: 2px solid var(--marca-clara);
}

.app-linha {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.app-ponto {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
}

.app-ponto--verde {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgb(34 197 94 / 0.2);
    animation: pulsar 2s infinite;
}

.app-barra {
    height: 0.4rem;
    margin: 0.7rem 0 0.6rem;
    border-radius: 999px;
    background: var(--marca-suave);
    overflow: hidden;
}

.app-barra span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--marca);
}

.app-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.app-chips span {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--marca-suave);
    color: var(--marca-escura);
    font-size: 0.72rem;
    font-weight: 800;
}

.app-botao {
    margin-top: auto;
    padding: 0.9rem;
    border-radius: 999px;
    background: var(--marca);
    color: var(--branco);
    font-weight: 800;
    text-align: center;
    box-shadow: var(--sombra-botao);
}

.flutuante {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 1rem 0.75rem 0.75rem;
    border-radius: 1.1rem;
    background: var(--branco);
    box-shadow: var(--sombra-cartao);
    font-size: 0.85rem;
    line-height: 1.3;
    animation: flutuar 6s ease-in-out infinite;
}

.flutuante strong {
    display: block;
}

.flutuante small {
    color: var(--cinza);
}

.flutuante--gps {
    top: 8%;
    left: -1rem;
    animation-delay: -2s;
}

.flutuante--fotos {
    bottom: 14%;
    right: -0.5rem;
    animation-delay: -4s;
}

.flutuante__icone {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.8rem;
    background: var(--marca-suave);
}

.flutuante__icone--ambar {
    background: #fdf1d8;
}

.flutuante__icone svg {
    width: 1.3rem;
    height: 1.3rem;
    fill: none;
    stroke: var(--marca);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flutuante__icone--ambar svg {
    stroke: #c98a0e;
}

@keyframes flutuar {
    0%,
    100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -12px;
    }
}

@keyframes pulsar {
    50% {
        box-shadow: 0 0 0 7px rgb(34 197 94 / 0);
    }
}

/* ---------- Números ---------- */

.numeros {
    background: var(--tinta);
    color: var(--branco);
}

.numeros__grelha {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2.2rem 0;
    text-align: center;
}

.numeros strong {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--marca-clara);
}

.numeros span {
    color: rgb(255 255 255 / 0.75);
}

/* ---------- Secções ---------- */

.seccao {
    padding: clamp(4rem, 9vw, 7rem) 0;
}

.seccao--suave {
    background: var(--fundo);
}

.seccao__cabeca {
    max-width: 44rem;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.seccao__cabeca p {
    margin-top: 1rem;
    color: var(--cinza);
    font-size: 1.15rem;
}

.cartoes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cartao {
    padding: 2rem;
    border: 1px solid var(--linha);
    border-radius: var(--raio);
    background: var(--branco);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.cartao:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--sombra-cartao);
}

.cartao__icone {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.3rem;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, var(--marca-suave), rgb(95 224 204 / 0.35));
    transition: transform 0.25s;
}

.cartao:hover .cartao__icone {
    transform: rotate(-6deg) scale(1.05);
}

.cartao__icone svg {
    width: 1.7rem;
    height: 1.7rem;
    fill: none;
    stroke: var(--marca);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cartao p,
.passo p {
    margin-top: 0.6rem;
    color: var(--cinza);
}

/* ---------- Passos ---------- */

.passos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: passo;
}

.passo {
    position: relative;
    padding: 2rem;
    border-radius: var(--raio);
    background: var(--branco);
    box-shadow: var(--sombra-cartao);
}

.passo__numero {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.2rem;
    border-radius: 50%;
    background: var(--ambar);
    color: var(--tinta);
    font-size: 1.3rem;
    font-weight: 900;
}

/* ---------- Faixa escura ---------- */

.faixa {
    position: relative;
    background: linear-gradient(135deg, var(--marca-escura), var(--marca) 60%, #13a896);
    color: var(--branco);
    overflow: hidden;
}

.faixa::before {
    content: '';
    position: absolute;
    right: -6rem;
    top: -6rem;
    width: 26rem;
    height: 26rem;
    background: url('img/simbolo-branco.svg') center / contain no-repeat;
    opacity: 0.07;
}

.faixa__grelha {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.faixa .etiqueta {
    background: rgb(255 255 255 / 0.16);
    color: var(--branco);
}

.faixa p {
    margin-top: 1.2rem;
    color: rgb(255 255 255 / 0.85);
    font-size: 1.15rem;
}

.faixa__lista {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.faixa__lista li {
    padding: 1.1rem 1.3rem;
    border: 1px solid rgb(255 255 255 / 0.18);
    border-radius: 1.1rem;
    background: rgb(255 255 255 / 0.08);
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.faixa__lista svg {
    background: var(--ambar);
    stroke: var(--tinta);
}

/* ---------- Planos ---------- */

.planos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 1.5rem;
}

.plano {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.2rem 2rem;
    border: 1px solid var(--linha);
    border-radius: var(--raio);
    background: var(--branco);
}

.plano--destaque {
    border: 2px solid var(--marca);
    box-shadow: 0 30px 60px -30px rgb(14 140 126 / 0.55);
    transform: translateY(-0.75rem);
}

.plano__selo {
    position: absolute;
    top: -0.85rem;
    left: 50%;
    translate: -50% 0;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: var(--ambar);
    color: var(--tinta);
    font-size: 0.8rem;
    font-weight: 900;
    white-space: nowrap;
}

.plano__limite {
    margin-top: 0.2rem;
    color: var(--cinza);
    font-weight: 700;
}

.plano__preco {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin: 1.3rem 0;
}

.plano__preco strong {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--marca);
}

.plano__preco span {
    color: var(--cinza);
    font-size: 0.95rem;
}

.plano ul {
    display: grid;
    gap: 0.7rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.plano .botao {
    margin-top: auto;
}

.planos__nota {
    margin-top: 2.2rem;
    color: var(--cinza);
    text-align: center;
}

/* ---------- Contacto ---------- */

.contacto {
    background: var(--fundo);
}

.contacto__grelha {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 3.5rem;
}

.contacto__texto p {
    margin-top: 1rem;
    color: var(--cinza);
    font-size: 1.15rem;
}

.contacto__info {
    display: grid;
    gap: 1rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.contacto__info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
}

.contacto__info svg {
    flex: none;
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    border-radius: 1rem;
    background: var(--branco);
    box-shadow: var(--sombra-cartao);
    fill: none;
    stroke: var(--marca);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contacto__info a {
    color: var(--tinta);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contacto__info a:hover {
    color: var(--marca);
}

.formulario {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--raio);
    background: var(--branco);
    box-shadow: var(--sombra-cartao);
}

.formulario__mel {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

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

.campo {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.campo--largo {
    grid-column: 1 / -1;
}

.campo > span {
    font-size: 0.92rem;
    font-weight: 800;
}

.campo input,
.campo select,
.campo textarea {
    width: 100%;
    min-height: 3.1rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--linha);
    border-radius: 0.9rem;
    background: var(--fundo);
    color: var(--tinta);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.campo textarea {
    resize: vertical;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
    outline: none;
    border-color: var(--marca);
    background: var(--branco);
    box-shadow: 0 0 0 4px rgb(14 140 126 / 0.15);
}

.campo--invalido input,
.campo--invalido textarea {
    border-color: var(--erro);
}

.campo__erro {
    min-height: 0;
    color: var(--erro);
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 700;
}

.campo__erro:empty {
    display: none;
}

.consentimento {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 1.3rem 0 0.4rem;
    color: var(--cinza);
    font-size: 0.95rem;
    cursor: pointer;
}

.consentimento input {
    flex: none;
    width: 1.3rem;
    height: 1.3rem;
    margin-top: 0.15rem;
    accent-color: var(--marca);
}

.formulario .botao--largo {
    margin-top: 1.2rem;
}

.botao__roda {
    display: none;
    width: 1.2rem;
    height: 1.2rem;
    border: 2.5px solid rgb(255 255 255 / 0.4);
    border-top-color: var(--branco);
    border-radius: 50%;
    animation: rodar 0.8s linear infinite;
}

.botao--aenviar .botao__roda {
    display: block;
}

.botao--aenviar {
    pointer-events: none;
    opacity: 0.85;
}

@keyframes rodar {
    to {
        rotate: 360deg;
    }
}

.aviso {
    margin-bottom: 1.3rem;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    font-weight: 700;
}

.aviso[hidden] {
    display: none;
}

.aviso--ok {
    background: var(--marca-suave);
    color: var(--marca-escura);
}

.aviso--erro {
    background: #fdecdf;
    color: var(--erro);
}

/* ---------- Rodapé ---------- */

.rodape {
    padding: 3rem 0;
    background: var(--tinta);
    color: rgb(255 255 255 / 0.7);
}

.rodape__grelha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.rodape nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.6rem;
}

.rodape a {
    color: rgb(255 255 255 / 0.85);
    font-weight: 700;
    text-decoration: none;
}

.rodape a:hover {
    color: var(--marca-clara);
}

/* ---------- Animação ao rolar ---------- */

.js .revelar {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .revelar.visivel {
    opacity: 1;
    transform: none;
}

.js .plano--destaque.revelar.visivel {
    transform: translateY(-0.75rem);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .revelar {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Ecrãs pequenos ---------- */

@media (max-width: 960px) {
    .heroi__grelha,
    .faixa__grelha,
    .contacto__grelha {
        grid-template-columns: 1fr;
    }

    .heroi__texto {
        text-align: center;
    }

    .heroi__lead {
        margin-inline: auto;
    }

    .heroi__acoes,
    .heroi__garantias {
        justify-content: center;
    }

    .cartoes,
    .planos {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .plano--destaque,
    .js .plano--destaque.revelar.visivel {
        transform: none;
    }
}

@media (max-width: 820px) {
    .topo__menu {
        display: flex;
    }

    .topo__nav {
        position: absolute;
        top: var(--topo-altura);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1.25rem 1.25rem;
        background: var(--branco);
        border-bottom: 1px solid var(--linha);
        box-shadow: 0 20px 30px -20px rgb(31 45 61 / 0.35);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    }

    .topo__nav--aberto {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .topo__nav a:not(.botao) {
        padding: 0.9rem 0.25rem;
        border-bottom: 1px solid var(--fundo);
        color: var(--tinta);
        font-size: 1.1rem;
    }

    .topo__nav .botao {
        margin-top: 1rem;
        min-height: 3.25rem;
    }
}

@media (max-width: 640px) {
    .contentor {
        width: calc(100% - 2rem);
    }

    .cartoes,
    .planos,
    .campos {
        grid-template-columns: 1fr;
    }

    .numeros__grelha {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .heroi__acoes .botao {
        width: 100%;
    }

    .telemovel {
        width: 250px;
    }

    .telemovel__ecra {
        min-height: 470px;
    }

    .flutuante {
        font-size: 0.78rem;
    }

    .flutuante--gps {
        left: 0;
    }

    .flutuante--fotos {
        right: 0;
    }

    .realce {
        white-space: normal;
    }
}
