/* ==========================================================
   HERO — ELETRICISTA 24 HORAS
   ========================================================== */

.emergency-hero {
    position: relative;
    isolation: isolate;

    min-height: 790px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #ffffff;

    background-image: url("/images/hero/eletricista-24-horas-hero.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* ==========================================================
   GRADIENTE
   ========================================================== */

.emergency-hero__overlay {
    position: absolute;
    z-index: -1;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(2, 10, 20, 0.99) 0%,
            rgba(2, 10, 20, 0.96) 28%,
            rgba(2, 10, 20, 0.80) 48%,
            rgba(2, 10, 20, 0.28) 70%,
            rgba(2, 10, 20, 0.08) 100%);
}

/* ==========================================================
   CONTAINER
   ========================================================== */

.emergency-hero__container {
    padding-top: 72px;
    padding-bottom: 72px;
}

.emergency-hero__content {
    width: min(100%, 720px);
}

/* ==========================================================
   TEXTO SUPERIOR
   ========================================================== */

.emergency-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 0 0 24px;

    color: var(--color-secondary);

    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.emergency-hero__eyebrow svg {
    width: 26px;
    height: 26px;

    flex: 0 0 auto;

    fill: currentColor;
}

/* ==========================================================
   TÍTULO
   ========================================================== */

.emergency-hero__title {
    margin: 0;

    font-size: clamp(4rem, 6.2vw, 5rem);
    font-weight: 800;
    line-height: 0.88;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.emergency-hero__title span,
.emergency-hero__title strong {
    display: block;
}

.emergency-hero__title span {
    color: #ffffff;
}

.emergency-hero__title strong {
    margin-top: 16px;

    color: var(--color-secondary);
    font: inherit;
}

.emergency-hero__line {
    width: 86px;
    height: 4px;

    margin: 38px 0 32px;

    border-radius: 999px;

    background-color: var(--color-secondary);
}

/* ==========================================================
   DESCRIÇÃO
   ========================================================== */

.emergency-hero__description {
    max-width: 650px;
    margin: 0;

    color: rgba(255, 255, 255, 0.92);

    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    font-weight: 500;
    line-height: 1.65;
}

/* ==========================================================
   BENEFÍCIOS
   ========================================================== */

.emergency-hero__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 42px;
}

.emergency-hero__feature {
    min-width: 0;
    padding: 0 26px;

    text-align: center;

    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.emergency-hero__feature:first-child {
    padding-left: 0;
}

.emergency-hero__feature:last-child {
    padding-right: 0;
    border-right: 0;
}

.emergency-hero__feature-icon {
    min-height: 58px;
    margin-bottom: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-secondary);
}

.emergency-hero__feature-icon svg {
    width: 54px;
    height: 54px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.emergency-hero__feature-icon text {
    fill: currentColor;
    stroke: none;

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

.emergency-hero__feature h2 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

.emergency-hero__feature p {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.5;
}

/* ==========================================================
   BOTÕES
   ========================================================== */

.emergency-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    margin-top: 42px;
}

.emergency-hero__button {
    min-height: 68px;
    padding: 0 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    border: 2px solid var(--color-secondary);
    border-radius: 8px;

    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;

    transition:
        transform 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.emergency-hero__button:hover {
    transform: translateY(-3px);
}

.emergency-hero__button svg,
.emergency-hero__button img {
    width: 27px;
    height: 27px;

    flex: 0 0 auto;
}

.emergency-hero__button svg {
    fill: currentColor;
}

.emergency-hero__button--primary {
    min-width: 315px;

    color: var(--color-primary);
    background-color: var(--color-secondary);

    box-shadow: 0 15px 35px rgba(255, 212, 0, 0.17);
}

.emergency-hero__button--primary:hover {
    color: var(--color-primary);
    background-color: #ffe04a;
}

.emergency-hero__button--secondary {
    min-width: 270px;

    color: #ffffff;
    background-color: rgba(6, 20, 40, 0.44);

    backdrop-filter: blur(5px);
}

.emergency-hero__button--secondary img {
    filter:
        brightness(0) saturate(100%) invert(78%) sepia(99%) saturate(1234%) hue-rotate(359deg) brightness(103%) contrast(104%);
}

.emergency-hero__button--secondary:hover {
    color: var(--color-primary);
    background-color: var(--color-secondary);
}

/* ==========================================================
   ÁREA DE CONFIANÇA
   ========================================================== */

.emergency-hero__trust {
    display: flex;
    align-items: center;
    gap: 30px;

    margin-top: 42px;
}

.emergency-hero__trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.emergency-hero__trust-item svg {
    width: 44px;
    height: 44px;

    flex: 0 0 auto;

    fill: none;
    stroke: var(--color-secondary);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.emergency-hero__trust-item p {
    margin: 0;
}

.emergency-hero__trust-item strong,
.emergency-hero__trust-item span {
    display: block;
}

.emergency-hero__trust-item strong {
    color: #ffffff;

    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

.emergency-hero__trust-item span {
    margin-top: 3px;

    color: var(--color-secondary);

    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.emergency-hero__trust-separator {
    width: 1px;
    height: 48px;

    background-color: rgba(255, 255, 255, 0.38);
}

/* ==========================================================
   SINAIS DE AVARIA
   ========================================================== */

.warning-signs {

    background: #E3F0FA;

}

.warning-signs__header {

    max-width: 850px;

    margin: 0 auto 70px;

    text-align: center;

}

.warning-signs__eyebrow {

    display: inline-block;

    margin-bottom: 18px;

    color: #0C65A2;

    font-size: .95rem;

    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;

}

.warning-signs__title {

    margin-bottom: 22px;

    color: #061428;

    font-size: clamp(2.3rem, 3vw, 3.4rem);

    font-weight: 800;

    line-height: 1.15;

}

.warning-signs__description {

    color: #5F6B78;

    font-size: 1.12rem;

    line-height: 1.9;

}

.warning-signs__grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 34px;

}

.warning-card {

    padding: 36px;

    border-radius: 18px;

    background: #FFFFFF;

    text-align: center;

    box-shadow: 0 12px 40px rgba(0, 0, 0, .06);

    transition: .25s;

}

.warning-card:hover {

    transform: translateY(-8px);

}

.warning-card img {

    width: 160px;
    height: 160px;

    object-fit: contain;

    display: block;

    margin: 0 auto 30px;

}

.warning-card h3 {

    margin-bottom: 18px;

    color: #061428;

    font-size: 1.35rem;

    font-weight: 700;

}

.warning-card p {

    color: #666;

    line-height: 1.8;

}

.warning-signs__cta {

    margin-top: 70px;

    padding: 30px 55px;

    border-radius: 18px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;

    background: linear-gradient(90deg, #0B4F87, #1177BF);

}

.warning-signs__cta h3 {

    margin-bottom: 10px;

    color: #fff;

    font-size: 2rem;

}

.warning-signs__cta p {

    color: rgba(255, 255, 255, .92);

}

.warning-signs__cta-button {

    font-weight: 900;

}

/* ==========================================================
   OS NOSSOS SERVIÇOS
   ========================================================== */

.services {
    padding: 0 0 0 0;
}

.services .container {
    display: flex;
    width: 100%;
}


/* ==========================================================
   IMAGEM
   ========================================================== */

.services__background {
    position: relative;
    display: flex;
    width: 100%;
    height: 900px;
    background-image: url('/images/eletricista-24-horas/eletricista-24-horas-reparacao-de-tomada-eletrica.webp');
    background-size: cover;
    background-position: center 25%;
}

/* ==========================================================
   CONTEÚDO SOBRE A IMAGEM
   ========================================================== */

.services__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 50px;
}


/* ==========================================================
   TÍTULO
   ========================================================== */

.services__header {

    text-align: center;
}

.services__header h2 {

    margin-bottom: 12px;

    font-size: 3rem;
    font-weight: 800;

    color: var(--color-primary);
}

.services__header p {

    font-size: 1.15rem;

    color: var(--color-text);
}


/* ==========================================================
   ÍCONES
   ========================================================== */

.services__icons {
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 38px;
    padding-bottom: 30px;
}

.services__item {

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 120px;

    text-align: center;
    transition: transform 0.3s ease;
}

.services__item:hover {
    transform: translateY(-8px);
}

.services__item img {

    width: 56px;
    height: 56px;

    margin-bottom: 14px;
}

.services__item h3 {

    font-size: .95rem;
    font-weight: 600;
    line-height: 1.45;

    color: var(--color-primary);
}


/* ==========================================================
   BANNER
   ========================================================== */

.services__availability {

    align-self: flex-start;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 18px 26px;

    background: var(--color-primary);

    border-radius: 10px;
}

.services__availability img {

    width: 52px;
    height: 52px;
}

.services__availability strong {

    display: block;

    margin-bottom: 4px;

    font-size: 1.25rem;

    color: #fff;
}

.services__availability p {

    color: rgba(255, 255, 255, .9);
}


/* ==========================================================
   SEÇÃO 4 — COMO FUNCIONA O SERVIÇO DE URGÊNCIA
   ========================================================== */

.emergency-process {
    padding: 50px 0;

    background-color: #F7F9FC;
}


/* ==========================================================
   CONTAINER
   ========================================================== */

.emergency-process__container {
    position: relative;

    max-width: 1500px;
    width: calc(100% - 80px);

    margin-inline: auto;
}

/* ==========================================================
   CONTEÚDO
   ========================================================== */

.emergency-process__content {
    width: 100%;
}


/* ==========================================================
   CABEÇALHO
   ========================================================== */

.emergency-process__header {
    max-width: 800px;

    margin: 0 auto 60px;

    text-align: center;
}


/* ==========================================================
   TÍTULO
   ========================================================== */

.emergency-process__header h2 {
    margin: 0 0 16px;

    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;

    color: var(--color-primary);
}


/* ==========================================================
   SUBTÍTULO
   ========================================================== */

.emergency-process__description {
    margin: 0;

    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;

    color: var(--color-text);
}


/* ==========================================================
   GRELHA DOS 4 PASSOS
   ========================================================== */

.emergency-process__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 38px;

    align-items: stretch;
    max-width: 1300px;
    margin-inline: auto;
}


/* ==========================================================
   CARTÃO
   ========================================================== */

.emergency-process__step {
    position: relative;

    min-width: 0;


    padding: 20px 24px 20px 150px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background-color: #FFFFFF;

    border-radius: 12px;

    box-shadow: 0 8px 24px rgba(6, 20, 40, 0.08);

    text-align: left;
}

.emergency-process__icon {
    position: absolute;

    left: 24px;
    top: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    transform: translateY(-50%);
}

/* ==========================================================
   ÍCONE
   ========================================================== */

.emergency-process__icon img {
    display: block;

    width: 70px;
    height: 70px;

    object-fit: contain;
}


/* ==========================================================
   NÚMERO DO PASSO
   ========================================================== */

.emergency-process__number {
    position: absolute;

    left: 85px;
    top: 50%;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    transform: translateY(-50%);

    z-index: 2;

    background-color: var(--color-secondary);

    border-radius: 50%;

    color: var(--color-primary);

    font-size: 1rem;
    font-weight: 800;
}


/* ==========================================================
   TÍTULO DO CARTÃO
   ========================================================== */

.emergency-process__step-title {
    margin: 0 0 10px;

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;

    color: var(--color-primary);
}


/* ==========================================================
   DESCRIÇÃO DO CARTÃO
   ========================================================== */

.emergency-process__step-description {
    margin: 0;

    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.55;

    color: var(--color-text);
}


/* ==========================================================
   SETAS ENTRE OS CARTÕES
   ========================================================== */

.emergency-process__step:not(:last-child)::after {
    content: "›";

    position: absolute;

    top: 50%;
    width: 42px;
    height: 42px;
    right: -40px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 5;
    padding-bottom: 5px;

    transform: translateY(-58%);

    background-color: #FFFFFF;

    border-radius: 50%;

    box-shadow: 0 4px 18px rgba(6, 20, 40, 0.08);

    color: var(--color-secondary);

    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1;
}

/* seção 5 */

.availability-24h {
    /* Estamos a dizer que esta secção será a referência de posicionamento para elementos que colocarmos dentro dela. */
    position: relative;
    /* Agora vamos definir uma altura mínima para esta secção: */
    min-height: 780px;
    /* imagem que criámos como fundo da secção */
    background-image: url("/images/eletricista-24-horas/eletricista-24-horas-assistencia-eletrica-lisboa-setubal.webp");
    /* como a imagem deve ocupar o fundo da secção: */
    background-size: cover;
    /* qual parte da fotografia fica visível dentro da secção: */
    background-position: center;
    /* impedir que a imagem de fundo se repita: */
    background-repeat: no-repeat;
}

.availability-24h__overlay {
    min-height: 780px;
    display: flex;
    align-items: center;
}



.availability-24h__container {
    /* garantir que este container ocupa toda a largura disponível dentro do .container geral. */

}

.availability-24h__content {
    /* Este bloco pode ter uma largura inferior, mas não deve ultrapassar 650 píxeis. */
    max-width: 650px;
    /* definir a cor base do texto deste bloco: */
    color: #ffffff;
    /* Podemos deslocá-la ligeiramente para cima. */
    transform: translateY(-50px);
}

/* estilizar o pequeno texto “ASSISTÊNCIA 24 HORAS”. */
.availability-24h__eyebrow {
    /* fazer com que <span> se comporte como um bloco, o que dá mais controlo sobre os espaçamentos. */
    display: inline-block;
    color: #FFD400;
    /* Tamanho da letra */
    font-size: 0.95rem;
    /* peso da letra, */
    font-weight: 700;
    /* espaçamento entre as letras de “ASSISTÊNCIA 24 HORAS”. */
    letter-spacing: 0.08em;
    /* espaço por baixo de “ASSISTÊNCIA 24 HORAS”, */
    margin-bottom: 18px;
}

.availability-24h__title {
    font-size: 3.4rem;
    /* espessura do título */
    font-weight: 700;
    /* altura de cada linha do título: */
    line-height: 1.15;
    /* espaço por baixo do título */
    margin-bottom: 24px;
    color: #ffffff;
    /* onde o título quebra de linha. */
    max-width: 600px;
}

/* parágrafo principal da secção. */
.availability-24h__text {
    /* tamanho da letra do parágrafo */
    font-size: 1.15rem;
    /* espaçamento entre as linhas do parágrafo */
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.80);
    /* espaço por baixo do parágrafo */
    margin-bottom: 36px;
    max-width: 550px;
}

.availability-24h__features {
    /* transformar o conjunto 24H / 7 DIAS / 365 DIAS num Flexbox. */
    display: flex;
    /* gap define o espaço entre os elementos filhos de um flex ou grid. */
    gap: 40px;
    /* permitir que os indicadores quebrem para uma nova linha em ecrãs mais estreitos, caso não haja espaço suficiente. */
    flex-wrap: wrap;
    /* espaço por baixo do conjunto dos três indicadores, para separá-los do botão LIGAR AGORA. */
    margin-bottom: 40px;
    /* Direção dos componentes */
    flex-direction: column;
}

.availability-24h__feature-value {
    color: #FFD400;
    font-size: 1.4rem;
}

/* Seção 6 */
.service-area {
    /* Estamos a dizer que a .service-area passa a servir de referência de posicionamento para elementos que eventualmente posicionarmos dentro dela. */
    position: relative;
    /* Altura mínima da seção */
    min-height: 900px;
    /* Imagem de fundo */
    background-image: url("/images/eletricista-24-horas/eletricista-24-horas-area-intervencao-lisboa-setubal.webp");
    /* como a imagem deve ocupar o fundo da secção. */
    background-size: cover;
    /* qual parte da imagem fica centrada dentro da secção. */
    background-position: center;
    /* Agora vamos impedir que a imagem de fundo se repita caso exista espaço adicional. */
    background-repeat: no-repeat;
}

/* é basicamente uma caixa colocada entre o fundo da secção e o conteúdo. */
.service-area__overlay {
    /* Altura mínima sa seção*/
    min-height: 900px;
    /* transformamos o overlay num Flex Container. */
    display: flex;
    /* Agora que o overlay é um Flex Container, vamos usar isso para centrar o conteúdo verticalmente. */
    align-items: center;
}

.service-area__content {
    /* Esta caixa pode ser mais pequena, mas não pode ultrapassar 720px de largura. */
    max-width: 1300px;
    color: #061428;
}

.service-area__eyebrow {
    /* ele continua a ocupar apenas a largura necessária ao texto, mas passa a permitir um controlo mais previsível de margens, dimensões e espaçamento. */
    display: inline-flex;
    align-items: center;
    /* espaço entre “ÁREA DE INTERVENÇÃO” e o título principal. */
    margin-bottom: 18px;
    /* Cor de texto amarelo */
    color: #061428;
    /* Tamanho das letras */
    font-size: 1.2rem;
    /* Peso visual */
    font-weight: 800;
    /* Espaço entre as letras */
    letter-spacing: 0.10em;
    gap: 10px;
}

.service-area__title {
    /* Tamanho do título */
    font-size: 3rem;
    /* espessura do título. */
    font-weight: 700;
    /*  ESpaço das letras */
    line-height: 1.15;
    /* espaço entre o título e o parágrafo que vem por baixo. */
    margin-bottom: 24px;
    /* Cor do título */
    color: #061428;
}

.service-area__description {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #4b5563;
    /* Espaço por baixo do paragrafo */
    margin-bottom: 32px;
    max-width: 650px;
}

.service-area__locations {
    /* passam a fazer parte de um Flex Container. */
    display: flex;
    /* O que acontece?Como os três elementos estão num flex, o gap cria espaço entre eles: */
    gap: 30px;
    /* Agora vamos permitir que as três localizações possam passar para outra linha caso não exista largura suficiente. */
    flex-wrap: wrap;
    /* Agora vamos criar um espaço por baixo de todo o conjunto das localizações, separando-o do botão LIGAR AGORA. */
    margin-bottom: 36px;
    flex-direction: column;
}

/* Agora vamos começar a estilizar cada localização individualmente. */
.service-area__location {
    /* Isto transforma cada localização num Flex Container. */
    display: flex;
    flex-direction: row;
    gap: 30px;
    min-width: 0;
    align-items: center;
}

.service-area__location-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #061428;
}


.service-area__location-text {
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.6;
}

.service-area__button {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 34px;
    font-size: 1.15rem;
    font-weight: 800;
}

.service-area__eyebrow-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.service-area__title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD400;
    margin-top: 20px;
}

.service-area__location-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.service-area__location-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.service-area__location:first-child {
    border-bottom: 1px solid #D9E0E8;
    padding-bottom: 24px;
    width: 350px;
    margin-bottom: 10px;
}

.service-area__location-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #061428;
    line-height: 1.4;
}

.service-area__button img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.seção-6__bloco-7 {
    display: flex;
    align-items: center;
    gap: 14px;
}

.service-area__trust-content {
    display: flex;
    flex-direction: column;
}

.service-area__trust-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.service-area__actions {
    display: flex;
    align-items: center;
    gap: 100px;

    max-width: 1400px;
}

.service-area__trust-item {
    font-size: 1rem;
    font-weight: 700;
    color: #061428;
    line-height: 1.6;
    margin-right: auto;
    margin-top: 10px;
}

.service-area__availability {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 20px 28px;
    box-shadow: 0 8px 24px rgba(6, 20, 40, 0.12);
    margin-left: auto;
}

.service-area__availability-content {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 700;

}

.service-area__trust-title {
    font-size: 1rem;
    font-weight: 700;
    color: #061428;
}

.service-area__trust-text {
    font-size: 0.9rem;
    color: #6B7280;
}

.service-area__availability-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.service-area__availability-subtext {
    font-size: 0.85rem;
    font-weight: 400;
    color: #6B7280;
}

.seção-6__imagem-6 {
    width: 40px;
    height: 40px;
    flex-shrink: 0;

}

/* media querie seção 6 */
@media (max-width: 767px) {

    .service-area {
        min-height: auto;
    }

    .service-area__overlay {
        min-height: auto;
        padding-block: 60px;
    }

    .service-area__content {
        max-width: 100%;
    }

    .service-area__title {
        font-size: 2rem;
    }

    .service-area__description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .service-area__location:first-child {
        width: 100%;
    }

    .service-area__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        max-width: 100%;
    }

    .service-area__button {
        width: 100%;
        justify-content: center;
    }

    .seção-6__bloco-7 {
        margin-right: 0;
    }

    .service-area__trust-item {
        margin-right: 0;
        margin-top: 0;
    }

    .service-area__availability {
        margin-left: 0;
        width: 100%;
    }

}






/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1100px) {

    .emergency-process__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 30px;
    }

    .emergency-process__step::after {
        display: none;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .emergency-process {
        padding: 70px 0;
    }

    .emergency-process__header {
        margin-bottom: 40px;
    }

    .emergency-process__header h2 {
        font-size: 2rem;
    }

    .emergency-process__description {
        font-size: 1rem;
    }

    .emergency-process__steps {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .emergency-process__step {
        padding: 40px 24px 32px;
    }

    .emergency-process__icon {
        width: 80px;
        height: 80px;
    }

    .emergency-process__icon img {
        width: 42px;
        height: 42px;
    }

}

@media(max-width:1000px) {

    .warning-signs__grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media(max-width:700px) {

    .warning-signs__grid {

        grid-template-columns: 1fr;

    }

    .warning-signs__cta {

        flex-direction: column;

        text-align: center;

    }

}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1050px) {

    .emergency-hero {
        min-height: 760px;

        background-position: 62% center;
    }

    .emergency-hero__overlay {
        background: linear-gradient(90deg,
                rgba(2, 10, 20, 0.99) 0%,
                rgba(2, 10, 20, 0.96) 38%,
                rgba(2, 10, 20, 0.68) 70%,
                rgba(2, 10, 20, 0.32) 100%);
    }

    .emergency-hero__content {
        width: min(100%, 650px);
    }

}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 760px) {

    .emergency-hero {
        min-height: auto;

        align-items: flex-start;

        background-position: 70% center;
    }

    .emergency-hero__overlay {
        background: linear-gradient(90deg,
                rgba(2, 10, 20, 0.99) 0%,
                rgba(2, 10, 20, 0.96) 100%);
    }

    .emergency-hero__container {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .emergency-hero__eyebrow {
        margin-bottom: 20px;

        font-size: 0.84rem;
    }

    .emergency-hero__eyebrow svg {
        width: 22px;
        height: 22px;
    }

    .emergency-hero__title {
        font-size: clamp(3.1rem, 14vw, 4.8rem);
        line-height: 0.92;
    }

    .emergency-hero__title strong {
        margin-top: 10px;
    }

    .emergency-hero__line {
        margin: 28px 0 25px;
    }

    .emergency-hero__description {
        font-size: 1.04rem;
        line-height: 1.65;
    }

    .emergency-hero__features {
        grid-template-columns: 1fr;
        gap: 0;

        margin-top: 34px;
    }

    .emergency-hero__feature,
    .emergency-hero__feature:first-child,
    .emergency-hero__feature:last-child {
        padding: 22px 0;

        display: grid;
        grid-template-columns: 58px 1fr;
        column-gap: 18px;
        align-items: center;

        text-align: left;

        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .emergency-hero__feature:last-child {
        border-bottom: 0;
    }

    .emergency-hero__feature-icon {
        grid-row: 1 / span 2;

        min-height: 0;
        margin: 0;
    }

    .emergency-hero__feature-icon svg {
        width: 48px;
        height: 48px;
    }

    .emergency-hero__feature h2 {
        margin-bottom: 5px;
    }

    .emergency-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;

        margin-top: 30px;
    }

    .emergency-hero__button,
    .emergency-hero__button--primary,
    .emergency-hero__button--secondary {
        width: 100%;
        min-width: 0;
        min-height: 62px;

        font-size: 1.05rem;
    }

    .emergency-hero__trust {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;

        margin-top: 34px;
    }

    .emergency-hero__trust-separator {
        width: 100%;
        height: 1px;
    }

}

/* ==========================================================
   MOBILE PEQUENO
   ========================================================== */

@media (max-width: 420px) {

    .emergency-hero__title {
        font-size: 2.85rem;
    }

    .emergency-hero__eyebrow {
        gap: 8px;

        font-size: 0.76rem;
    }

    .emergency-hero__button {
        padding-right: 18px;
        padding-left: 18px;
    }

}

@media (max-width: 768px) {

    .services__background {
        height: 1200px;
        min-height: auto;
        background-size: cover;
        background-position: center top;
    }

    .services {
        backgroud-color: #f4f4f2;
    }

    .services .container {
        overflow-x: hidden;
    }

    .services__content {
        padding: 30px 20px;
    }

    .services__header h2 {
        font-size: 2rem;
        padding-top: 40px;
    }

    .services__description {
        font-size: 1rem;
    }

    .services__icons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px 16px;
        padding-bottom: 30px;
    }

    .services__item {
        width: calc(50% - 8px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .services__item img {
        width: 56px;
        height: 56px;
        margin-bottom: 0;
    }

    .services__item h3 {
        font-size: 0.8rem;
    }



    .emergency-process__steps {
        grid-template-columns: 1fr;
        width: calc(100% - 32px);
        margin-inline: auto;
    }

    .emergency-process__step {
        padding: 32px 24px 32px 150px;

        display: flex;
        flex-direction: column;
        align-items: center;

        text-align: center;
    }

    .emergency-process__step:not(:last-child)::after {
        top: auto;
        right: auto;

        left: 50%;
        bottom: -31px;

        transform: translateX(-50%) rotate(90deg);
    }

    .emergency-process__icon img {
        width: 130px;
        height: 130px;
    }

    .emergency-process__number {
        transform: translate(10px, -50%);
    }

    .emergency-process__description {
        padding-inline: 24px;
    }


}

/* vai sobrescrever apenas no móvel as propriedades necessárias. */
@media (max-width: 768px) {
    .availability-24h {
        /* A secção terá no mínimo 680px, mas pode crescer se o conteúdo precisar de mais espaço. */
        min-height: 680px;
        /* definir como a fotografia de fundo se posiciona no telemóvel. */
        background-position: 65% center;
    }

    .availability-24h__overlay {
        /* vamos adaptar a altura mínima ao móvel: */
        min-height: 680px;
        /* dar espaço interior vertical ao overlay */
        padding: 60px 0;
    }

    .availability-24h__content {
        transform: translateY(0);
    }
}

/* Seção 7 */
/* ==========================================================
   SECÇÃO 7 - PORQUÊ ESCOLHER-NOS
   ========================================================== */

.why-choose-us {
    position: relative;
    width: 100%;
    min-height: 900px;

    background-image:
        url("/images/eletricista-24-horas/eletricista-certificado-experiencia-responsabilidade.webp");

    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}


/* ==========================================================
   OVERLAY
   ========================================================== */

.why-choose-us__overlay {
    min-height: 900px;

    padding: 70px 0 80px;

}


/* ==========================================================
   CONTAINER
   ========================================================== */

.why-choose-us__container {
    position: relative;
}


/* ==========================================================
   CABEÇALHO
   ========================================================== */

.why-choose-us__header {
    max-width: 920px;

    margin: 0 auto 45px;

    text-align: center;
}


.why-choose-us__eyebrow {
    position: relative;

    display: inline-block;

    margin-bottom: 30px;

    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.18em;

    color: #f5b000;
}


.why-choose-us__eyebrow::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -14px;

    width: 72px;
    height: 3px;

    transform: translateX(-50%);

    background-color: #f5b000;
}


.why-choose-us__title {
    margin-bottom: 20px;

    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;

    color: #071c3b;
}


.why-choose-us__title span {
    color: #f5b000;
}


.why-choose-us__description {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;

    color: #426b9d;
}


/* ==========================================================
   CARTÕES
   ========================================================== */

.why-choose-us__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 28px;

    max-width: 1380px;

    margin: 0 auto;
}


.why-choose-us__card {
    min-height: 325px;

    padding: 30px 24px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    background-color: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(13, 41, 75, 0.05);
    border-radius: 18px;

    box-shadow:
        0 14px 38px rgba(21, 51, 83, 0.08);
}


/* ==========================================================
   ÍCONES
   ========================================================== */

.why-choose-us__icon {
    width: 100px;
    height: 100px;

    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: #edf5ff;
}


.why-choose-us__icon img {
    width: 62px;
    height: 62px;

    object-fit: contain;
}


/* ==========================================================
   TÍTULO DOS CARTÕES
   ========================================================== */

.why-choose-us__card h3 {
    margin-bottom: 14px;

    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;

    color: #071c3b;
}


/* ==========================================================
   LINHA AMARELA
   ========================================================== */

.why-choose-us__card-line {
    width: 42px;
    height: 3px;

    margin-bottom: 18px;

    background-color: #f5b000;
}


/* ==========================================================
   TEXTO DOS CARTÕES
   ========================================================== */

.why-choose-us__card p {
    max-width: 260px;

    margin: 0;

    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;

    color: #5e6878;
}


/* ==========================================================
   FAIXA INFERIOR
   ========================================================== */

.why-choose-us__commitment {
    max-width: 1380px;

    margin: 30px auto 0;

    padding: 20px 36px;

    display: flex;
    align-items: center;

    gap: 22px;

    border-radius: 18px;

    background-color: rgba(224, 239, 255, 0.8);
}


.why-choose-us__commitment-icon {
    flex: 0 0 auto;

    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.why-choose-us__commitment-icon img {
    width: 50px;
    height: 50px;

    object-fit: contain;
}


.why-choose-us__commitment-divider {
    flex: 0 0 auto;

    width: 2px;
    height: 55px;

    background-color: #17365d;
}


.why-choose-us__commitment-content {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


.why-choose-us__commitment-content strong {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.4;

    color: #071c3b;
}


.why-choose-us__commitment-content p {
    margin: 0;

    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;

    color: #667085;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1100px) {

    .why-choose-us {
        min-height: auto;

        background-position: 72% center;
    }


    .why-choose-us__overlay {
        min-height: auto;

        padding: 70px 0;
    }


    .why-choose-us__cards {
        grid-template-columns: repeat(2, 1fr);
    }


    .why-choose-us__card {
        min-height: 310px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .why-choose-us {
        background-position: 75% center;
    }


    .why-choose-us__overlay {
        padding: 60px 0;
    }


    .why-choose-us__header {
        margin-bottom: 36px;
    }


    .why-choose-us__eyebrow {
        margin-bottom: 28px;

        font-size: 0.9rem;
    }


    .why-choose-us__title {
        font-size: 2.2rem;
        line-height: 1.15;
    }


    .why-choose-us__title br {
        display: none;
    }


    .why-choose-us__description {
        font-size: 1.05rem;
        line-height: 1.6;
    }


    .why-choose-us__description br {
        display: none;
    }


    .why-choose-us__cards {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .why-choose-us__card {
        min-height: auto;

        padding: 30px 22px;
    }


    .why-choose-us__commitment {
        margin-top: 24px;

        padding: 24px;

        align-items: flex-start;

        gap: 18px;
    }


    .why-choose-us__commitment-icon {
        width: 50px;
        height: 50px;
    }


    .why-choose-us__commitment-icon img {
        width: 42px;
        height: 42px;
    }


    .why-choose-us__commitment-divider {
        height: 75px;
    }


    .why-choose-us__commitment-content strong {
        font-size: 0.95rem;
    }


    .why-choose-us__commitment-content p {
        font-size: 0.9rem;
    }

}


/* ==========================================================
   MOBILE PEQUENO
   ========================================================== */

@media (max-width: 480px) {

    .why-choose-us__title {
        font-size: 1.9rem;
    }


    .why-choose-us__commitment {
        padding: 20px 16px;
        gap: 12px;
    }


    .why-choose-us__commitment-icon {
        width: 42px;
    }


    .why-choose-us__commitment-divider {
        height: 85px;
    }

}

/* Seção 8 */
/* ==========================================================
   SECÇÃO 8 - PERGUNTAS FREQUENTES
   ========================================================== */

.faq-24h {
    position: relative;

    min-height: 900px;

    background-image:
        url("/images/eletricista-24-horas/eletricista-24-horas-perguntas-frequentes.webp");

    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}


.faq-24h__container {
    min-height: 900px;

    display: flex;
    align-items: center;

    padding-top: 70px;
    padding-bottom: 70px;
}


/* ==========================================================
   CONTEÚDO
   ========================================================== */

.faq-24h__content {
    width: 100%;
    max-width: 820px;
}


/* ==========================================================
   CABEÇALHO
   ========================================================== */

.faq-24h__header {
    margin-bottom: 32px;
}


.faq-24h__eyebrow {
    position: relative;

    display: inline-block;

    margin-bottom: 28px;

    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.16em;

    color: #f5b000;
}


.faq-24h__eyebrow::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -12px;

    width: 64px;
    height: 3px;

    background-color: #f5b000;
}


.faq-24h__title {
    margin-bottom: 18px;

    font-size: clamp(2.6rem, 4vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;

    color: #061428;
}


.faq-24h__title span {
    color: #f5b000;
}


.faq-24h__description {
    max-width: 680px;

    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.65;

    color: #5e6878;
}


/* ==========================================================
   LISTA FAQ
   ========================================================== */

.faq-24h__list {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


/* ==========================================================
   PERGUNTA
   ========================================================== */

.faq-24h__item {
    overflow: hidden;

    background-color: rgba(255, 255, 255, 0.96);

    border: 1px solid rgba(6, 20, 40, 0.08);
    border-radius: 10px;

    box-shadow:
        0 5px 18px rgba(6, 20, 40, 0.06);
}


.faq-24h__question {
    position: relative;

    min-height: 58px;

    padding: 16px 58px 16px 24px;

    display: flex;
    align-items: center;

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;

    color: #061428;

    cursor: pointer;

    list-style: none;
}


/* Remove marcador nativo */
.faq-24h__question::-webkit-details-marker {
    display: none;
}


/* ==========================================================
   SETA
   ========================================================== */

.faq-24h__question::after {
    content: "";

    position: absolute;

    right: 24px;
    top: 50%;

    width: 9px;
    height: 9px;

    border-right: 2px solid #061428;
    border-bottom: 2px solid #061428;

    transform:
        translateY(-65%) rotate(45deg);

    transition: transform 0.25s ease;
}


.faq-24h__item[open] .faq-24h__question::after {
    transform:
        translateY(-35%) rotate(225deg);
}


/* ==========================================================
   RESPOSTA
   ========================================================== */

.faq-24h__answer {
    padding:
        0 58px 20px 24px;
}


.faq-24h__answer p {
    margin: 0;

    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.65;

    color: #667085;
}


/* ==========================================================
   CTA INFERIOR
   ========================================================== */

.faq-24h__contact {
    margin-top: 16px;

    padding: 20px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    background-color: rgba(224, 239, 255, 0.94);

    border-radius: 12px;
}


.faq-24h__contact-content {
    display: flex;
    flex-direction: column;

    gap: 4px;
}


.faq-24h__contact-content strong {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.4;

    color: #061428;
}


.faq-24h__contact-content p {
    margin: 0;

    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;

    color: #667085;
}


/* ==========================================================
   BOTÃO
   ========================================================== */

.faq-24h__button {
    flex: 0 0 auto;

    padding: 15px 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 0.95rem;
    font-weight: 800;

    color: #061428;

    background-color: #ffd400;

    border-radius: 8px;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.faq-24h__button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(6, 20, 40, 0.15);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1100px) {

    .faq-24h {
        min-height: auto;

        background-position: 65% center;
    }


    .faq-24h__container {
        min-height: auto;

        padding-top: 70px;
        padding-bottom: 70px;
    }


    .faq-24h__content {
        max-width: 680px;
    }


    .faq-24h__title {
        font-size: 3rem;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .faq-24h {
        min-height: auto;

        background-position: left center;
    }


    .faq-24h__container {
        min-height: auto;

        padding-top: 60px;
        padding-bottom: 60px;
    }


    .faq-24h__content {
        max-width: none;
    }


    .faq-24h__header {
        margin-bottom: 30px;

        text-align: center;
    }


    .faq-24h__eyebrow {
        font-size: 0.9rem;
    }


    .faq-24h__eyebrow::after {
        left: 50%;

        transform: translateX(-50%);
    }


    .faq-24h__title {
        font-size: 2.2rem;
        line-height: 1.15;
    }


    .faq-24h__title br {
        display: none;
    }


    .faq-24h__description {
        margin: 0 auto;

        font-size: 1rem;
        line-height: 1.6;
    }


    .faq-24h__question {
        min-height: 64px;

        padding:
            16px 50px 16px 18px;

        font-size: 0.95rem;
    }


    .faq-24h__question::after {
        right: 20px;
    }


    .faq-24h__answer {
        padding:
            0 50px 18px 18px;
    }


    .faq-24h__answer p {
        font-size: 0.92rem;
    }


    .faq-24h__contact {
        padding: 22px;

        flex-direction: column;
        align-items: stretch;

        text-align: center;
    }


    .faq-24h__button {
        width: 100%;
    }

}


/* ==========================================================
   MOBILE PEQUENO
   ========================================================== */

@media (max-width: 480px) {

    .faq-24h__title {
        font-size: 1.9rem;
    }


    .faq-24h__question {
        font-size: 0.9rem;
    }


    .faq-24h__contact {
        padding: 20px 16px;
    }

}

/* ==========================================================
   SECÇÃO 9 — CONTACTO / ASSISTÊNCIA 24 HORAS
   ========================================================== */

.emergency-cta {
    min-height: 620px;

    background-image:
        url("../images/eletricista-24-horas/eletricista-24-horas-contacto-urgente-lisboa-setubal.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.emergency-cta__button-icon {
    width: 24px;
    height: 24px;

    display: block;
    flex-shrink: 0;
}


/* ==========================================================
   OVERLAY
   ========================================================== */

.emergency-cta__overlay {
    min-height: 620px;

    display: flex;
    align-items: center;
}


/* ==========================================================
   CONTEÚDO
   ========================================================== */

.emergency-cta__content {
    width: 100%;
    max-width: 620px;
}


/* ==========================================================
   EYEBROW
   ========================================================== */

.emergency-cta__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 22px;

    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;

    color: #f5ad00;
}

.emergency-cta__logo {
    width: 40px;
    height: auto;

    display: block;
    flex-shrink: 0;
}


/* ==========================================================
   TÍTULO
   ========================================================== */

.emergency-cta__title {
    margin: 0 0 22px;

    font-size: clamp(2.7rem, 4vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;

    color: #061428;
}

.emergency-cta__title span {
    display: block;

    color: #f5ad00;
}


/* ==========================================================
   TEXTO
   ========================================================== */

.emergency-cta__text {
    max-width: 590px;

    margin: 0 0 34px;

    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.7;

    color: #536174;
}


/* ==========================================================
   BOTÕES
   ========================================================== */

.emergency-cta__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.emergency-cta__button {
    min-width: 235px;
    min-height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px 28px;

    border-radius: 12px;

    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;

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


/* LIGAR AGORA */

.emergency-cta__button--phone {
    background-color: #f5ad00;
    color: #061428;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.emergency-cta__button--phone:hover {
    color: #061428;
}


/* WHATSAPP */

.emergency-cta__button--whatsapp {
    background-color: #ffffff;
    color: #16b84e;

    border: 1px solid #e5e9ef;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.emergency-cta__button--whatsapp:hover {
    color: #16b84e;
}


/* ==========================================================
   SECÇÃO 9 — MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .emergency-cta {
        min-height: 680px;

        background-position: 65% center;
    }

    .emergency-cta__overlay {
        min-height: 680px;

        padding: 60px 0;
    }

    .emergency-cta__content {
        max-width: 100%;
    }

    .emergency-cta__eyebrow {
        font-size: 0.85rem;
    }

    .emergency-cta__logo {
        width: 40px;
    }

    .emergency-cta__title {
        font-size: 2.5rem;
    }

    .emergency-cta__text {
        max-width: 540px;

        padding-right: 80px;

        font-size: 1.05rem;
        color: #1a1a1a;
    }

    .emergency-cta__actions {
        flex-direction: column;
        align-items: flex-start;

        gap: 14px;
    }

    .emergency-cta__button {
        width: 100%;
        max-width: 320px;
    }

    .emergency-cta__button-icon {
        width: 20px;
        height: 20px;
    }

}