* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}

body {
    font-family: var(--fonte-principal);
    overflow-x: hidden;
    background: var(--cor-de-fundo);
}

::selection {
    background: rgba(53, 147, 209, 0.26);
    color: var(--cor-azul-escuro);
}

a,
button,
summary,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a,
button {
    transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

button,
a {
    font-family: inherit;
}

:focus-visible {
    outline: 3px solid rgba(53, 147, 209, 0.38);
    outline-offset: 4px;
}

.animar-entrada {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 0.75s ease, transform 0.75s ease;
    transition-delay: var(--atraso-animacao, 0ms);
    will-change: opacity, transform;
}

.animar-entrada.visivel {
    opacity: 1;
    transform: translateY(0);
}

@keyframes flutuar-suave {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.55rem);
    }
}

@keyframes brilho-botao {
    0% {
        transform: translateX(-140%) skewX(-18deg);
    }

    100% {
        transform: translateX(180%) skewX(-18deg);
    }
}

@keyframes entrada-hero {
    from {
        opacity: 0;
        transform: translateY(1.5rem) scale(0.98);
    }

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

/* HEADER */
header {
    display: flex;
    width: 100%;
    max-width: 100%;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    background-color: #ffffffaa;
    backdrop-filter: blur(12px);
    padding: 0.35rem 20px;
    box-shadow: 0 10px 30px rgba(4, 18, 35, 0);
    transition: padding 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
}

header.header-rolado {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 32px rgba(27, 64, 138, 0.12);
    padding-block: 0.25rem;
}

.logo img {
    width: 80px;
    height: auto;
    transition: transform 0.24s ease, filter 0.24s ease;
}

.logo img:hover {
    transform: scale(1.04) rotate(-1deg);
    filter: drop-shadow(0 10px 18px rgba(53, 147, 209, 0.22));
}

header nav {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.75rem 1rem;
    justify-content: flex-end;
    align-items: center;
}

.menu-hamburguer {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #0002;
    border-radius: 12px;
    background: #fff7;
    backdrop-filter: blur(10px);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0;
}

.menu-hamburguer span {
    display: block;
    width: 1.15rem;
    height: 2px;
    border-radius: 99px;
    background-color: #1f2f49;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

header ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.6rem 1.15rem;
    list-style: none;
}

header a {
    position: relative;
    text-decoration: none;
    color: var(--cor-do-texto);
}

header nav ul a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cor-azul-escuro), var(--cor-azul));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.24s ease;
}

header nav ul a:hover {
    color: var(--cor-azul-escuro);
}

header nav ul a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.botao-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #fff3;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--cor-azul-escuro), var(--cor-azul));
    color: #fff;
    font: inherit;
    font-size: clamp(0.8rem, 0.75rem + 0.2vw, 0.95rem);
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(53, 147, 209, 0.24);
}

.botao-cta::before,
.div-esquerda .botoes-iniciais .botao1::before,
.formulario-contato button::before {
    content: "";
    position: absolute;
    inset: -35% auto -35% -45%;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: translateX(-140%) skewX(-18deg);
}

.botao-cta:hover,
.div-esquerda .botoes-iniciais a:hover,
.formulario-contato button:hover,
.rodape-cta:hover {
    transform: translateY(-0.18rem);
    box-shadow: 0 18px 38px rgba(53, 147, 209, 0.34);
}

.botao-cta:hover::before,
.div-esquerda .botoes-iniciais .botao1:hover::before,
.formulario-contato button:hover::before,
.rodape-cta:hover::before {
    animation: brilho-botao 0.75s ease;
}

.botao-cta:active,
.div-esquerda .botoes-iniciais a:active,
.formulario-contato button:active,
.rodape-cta:active {
    transform: translateY(0) scale(0.98);
}

/* HERO SECTION */
.secao-hero {
    --hero-espacamento-x: clamp(0.9rem, 4vw, 1.75rem);
    --hero-espacamento-topo: calc(clamp(4.5rem, 10vw, 5.5rem) + 0.5rem);
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: clamp(22rem, 90vh, 100vh);
    min-height: clamp(22rem, 90dvh, 100dvh);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: clamp(1.25rem, 3.5vw, 2rem);
    color: #fff;
    background-color: #041223;
    padding: var(--hero-espacamento-topo) var(--hero-espacamento-x) clamp(1.5rem, 4vw, 2.5rem);
    overflow: hidden;
    isolation: isolate;
}

.secao-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("/assets/img/banco-de-imagens/hig-sofa2.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(1px) grayscale(0.1) sepia(0.4);
    pointer-events: none;
    transform: scale(1.03);
}

.secao-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(53, 147, 209, 0.38), transparent 28%),
        linear-gradient(120deg, rgba(4, 18, 35, 0.74), rgba(27, 64, 138, 0.26));
    pointer-events: none;
}

.secao-hero > * {
    position: relative;
    z-index: 1;
}

.blur-de-fundo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 60px rgba(4, 18, 35, 0.35);
    border: 1px solid #fff4;
}

.div-esquerda {
    display: flex;
    flex-direction: column;
    gap: clamp(0.9rem, 2.5vw, 1.25rem);
    width: 100%;
    max-width: min(38rem, 100%);
    min-width: 0;
    height: auto;
    margin-inline: auto;
    padding: clamp(1.1rem, 3.2vw, 2.1rem) clamp(1.1rem, 3.5vw, 2.8rem);
    border-radius: 15px;
    margin-top: 20px;
    animation: entrada-hero 0.8s ease both, flutuar-suave 6.5s ease-in-out 0.8s infinite;
}

.div-esquerda h1 {
    font-size: var(--tamanho-h1);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.div-esquerda p {
    font-size: var(--tamanho-p);
}

.div-esquerda .card-topo {
    width: fit-content;
    padding: clamp(0.35rem, 0.25rem + 0.4vw, 0.5rem) clamp(0.75rem, 0.65rem + 0.4vw, 0.9rem);
    border-radius: 999px;
}

.div-esquerda .botoes-iniciais {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
}

.div-esquerda .botoes-iniciais a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #fff3;
    padding: 0.6rem 1.1rem;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    font: inherit;
    font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
    flex: 1 1 12rem;
    min-width: 0;
}

.div-esquerda .botoes-iniciais .botao1 {
    background: linear-gradient(135deg, var(--cor-azul), #57c0ff);
    box-shadow: 0 18px 36px rgba(53, 147, 209, 0.3);
}

.div-esquerda .botoes-iniciais .botao2 {
    background-color: #fff1;
    backdrop-filter: blur(10px);
}

.div-esquerda .botoes-iniciais .botao2:hover {
    background-color: rgba(255, 255, 255, 0.22);
}

.redes-hero {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.redes-hero a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.18rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px rgba(4, 18, 35, 0.2);
}

.redes-hero a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-0.12rem);
}

.div-direita {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 0.75rem clamp(0.65rem, 2.5vw, 1.15rem);
    width: 100%;
    max-width: min(38rem, 100%);
    min-width: 0;
    margin-inline: auto;
    animation: entrada-hero 0.8s ease 0.16s both;
}

.div-direita .dados-realizados {
    flex: 1 1 6.5rem;
    min-width: min(100%, 6.5rem);
    max-width: 100%;
    padding: clamp(0.85rem, 2.2vw, 1.1rem) clamp(0.75rem, 2.5vw, 1.15rem);
    border-radius: 15px;
    text-align: center;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.div-direita .dados-realizados:hover {
    transform: translateY(-0.35rem) scale(1.02);
    border-color: rgba(255, 255, 255, 0.58);
    box-shadow: 0 28px 70px rgba(53, 147, 209, 0.28);
}

.div-direita .dados-realizados h2 {
    font-size: clamp(1.15rem, 0.9rem + 1.1vw, 1.75rem);
    line-height: 1.1;
    font-weight: 700;
}

.div-direita .dados-realizados p {
    font-size: clamp(0.78rem, 0.7rem + 0.25vw, 0.9rem);
    line-height: 1.3;
    margin-top: 0.35rem;
    opacity: 0.95;
}

@media (min-width: 56.25em) {
    .secao-hero {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-evenly;
    }

    .div-esquerda {
        width: clamp(16rem, 40%, 38rem);
        max-width: 38rem;
        margin-inline: 0;
    }

    .div-direita {
        width: auto;
        max-width: none;
        flex: 0 1 auto;
        justify-content: flex-end;
    }
}

@media (max-width: 45em) {
    header {
        align-items: center;
        justify-content: space-between;
    }

    .menu-hamburguer {
        display: inline-flex;
    }

    header nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.35rem);
        left: 0.75rem;
        right: 0.75rem;
        z-index: 1000;
        flex-basis: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        padding: 0.9rem;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 12px 30px rgba(4, 18, 35, 0.18);
        border: 1px solid #0001;
    }

    header.menu-aberto nav {
        display: flex;
    }

    header ul {
        width: 100%;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0.9rem;
    }

    .botao-cta {
        align-self: stretch;
        width: 100%;
        max-width: none;
    }

    header.menu-aberto .menu-hamburguer span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    header.menu-aberto .menu-hamburguer span:nth-child(2) {
        opacity: 0;
    }

    header.menu-aberto .menu-hamburguer span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .secao-hero {
        --hero-espacamento-topo: calc(clamp(4.5rem, 10vw, 5.5rem) + 1.2rem);
    }
}

@media (max-width: 24em) {
    .div-direita {
        flex-direction: column;
        align-items: stretch;
    }

    .div-direita .dados-realizados {
        min-width: 0;
    }
}

/* SHOWCASE DOS SERVIÇOS */
.secao-servicos {
    padding: var(--padding-padrao-pagina);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background:
        radial-gradient(circle at 88% 12%, rgba(53, 147, 209, 0.14), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.secao-servicos h2 {
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.7rem);
    color: var(--cor-azul-escuro);
    letter-spacing: -0.03em;
}

.secao-servicos p {
    font-size: var(--tamanho-p);
    color: var(--cor-do-texto);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    grid-template-rows: 1fr;
    gap: 20px;
    margin-top: 2rem;
}

.card-servico {
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 15px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 18px 42px rgba(4, 18, 35, 0.12);
    isolation: isolate;
    cursor: pointer;
    transition: transform 0.32s ease, box-shadow 0.32s ease, filter 0.32s ease;
}

.card-servico::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(4, 18, 35, 0.58) 100%);
    transition: background 0.32s ease;
}

.card-servico::after {
    content: "";
    position: absolute;
    inset: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.card-servico:hover,
.card-servico:focus-visible,
.card-servico:focus {
    transform: translateY(-0.55rem) scale(1.015);
    box-shadow: 0 26px 58px rgba(53, 147, 209, 0.26);
    filter: saturate(1.14);
    outline: none;
}

.card-servico:focus-visible {
    outline: 3px solid rgba(53, 147, 209, 0.65);
    outline-offset: 4px;
}

.card-servico:hover::before,
.card-servico:focus-visible::before,
.card-servico:focus::before {
    background: linear-gradient(180deg, rgba(53, 147, 209, 0.08) 0%, rgba(4, 18, 35, 0.82) 100%);
}

.card-servico:hover::after,
.card-servico:focus-visible::after,
.card-servico:focus::after {
    opacity: 1;
    transform: scale(1);
}

.card-servico h3 {
    position: relative;
    z-index: 1;
    width: 100%;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.card-servico p {
    position: relative;
    z-index: 1;
    width: 100%;
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    max-height: 0;
    transform: translateY(0.6rem);
    overflow: hidden;
    transition: opacity 0.28s ease, max-height 0.28s ease, transform 0.28s ease;
}

.card-servico:hover p,
.card-servico:focus-visible p,
.card-servico:focus p {
    opacity: 1;
    max-height: 6rem;
    transform: translateY(0);
}

#sofas {
    background-image: url("/assets/img/banco-de-imagens/sofa.jpeg");
}

#colchoes {
    background-image: url("/assets/img/banco-de-imagens/colchao.jpeg");
}

#cadeiras {
    background-image: url("/assets/img/banco-de-imagens/cadeira.jpeg");
}

#bancos-automotivos {
    background-image: url("/assets/img/banco-de-imagens/banco-automotivo.jpeg");
}

#poltronas {
    background-image: url("/assets/img/banco-de-imagens/poltrona.jpeg");
}

/* DIFERENCIAIS */
.secao-diferenciais {
    padding: var(--padding-padrao-pagina);
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
    align-items: stretch;
    gap: clamp(1.5rem, 4vw, 3rem);
    background: radial-gradient(circle at top left, rgba(53, 147, 209, 0.18) 0, transparent 32%), linear-gradient(135deg, #ffffff 0%, #eef8ff 100%);
}

.diferenciais-cabecalho {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.diferenciais-cabecalho > p:first-child {
    width: fit-content;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background-color: #e8f4ff;
    color: var(--cor-azul-escuro);
    font-weight: 700;
    font-size: 0.85rem;
}

.diferenciais-cabecalho h2 {
    color: var(--cor-azul-escuro);
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.diferenciais-cabecalho p {
    color: var(--cor-do-texto);
    font-size: var(--tamanho-p);
    line-height: 1.6;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.card-diferencial {
    min-height: 13rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: clamp(1.1rem, 2.5vw, 1.5rem);
    border: 1px solid #dcecff;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 45px rgba(4, 18, 35, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-diferencial:hover {
    transform: translateY(-0.45rem);
    border-color: rgba(53, 147, 209, 0.42);
    box-shadow: 0 24px 58px rgba(53, 147, 209, 0.18);
}

.card-diferencial span {
    width: fit-content;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background-color: var(--cor-azul);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.card-diferencial h3 {
    color: var(--cor-azul-escuro);
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.45rem);
    line-height: 1.2;
}

.card-diferencial p {
    color: var(--cor-do-texto);
    font-size: 0.95rem;
    line-height: 1.55;
}

.card-diferencial-destaque {
    background: linear-gradient(135deg, var(--cor-azul-escuro), var(--cor-azul));
    border-color: transparent;
    box-shadow: 0 22px 58px rgba(53, 147, 209, 0.28);
}

.card-diferencial-destaque span {
    background-color: rgba(255, 255, 255, 0.18);
    border: 1px solid #fff5;
}

.card-diferencial-destaque h3,
.card-diferencial-destaque p {
    color: #fff;
}

/* SEÇÃO ANTES E DEPOIS */
.secao-antes-depois {
    padding: var(--padding-padrao-pagina);
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    background:
        radial-gradient(circle at 8% 20%, rgba(53, 147, 209, 0.13), transparent 25%),
        linear-gradient(135deg, #f7fbff 0%, #ffffff 48%, #edf6ff 100%);
}

.antes-depois-conteudo {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.antes-depois-conteudo > p:first-child {
    width: fit-content;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background-color: #e8f4ff;
    color: var(--cor-azul-escuro);
    font-weight: 700;
    font-size: 0.85rem;
}

.antes-depois-conteudo h2 {
    color: var(--cor-azul-escuro);
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.antes-depois-conteudo p {
    color: var(--cor-do-texto);
    font-size: var(--tamanho-p);
    line-height: 1.6;
}

.comparador-antes-depois {
    position: relative;
    width: min(100%, 30rem);
    aspect-ratio: 3 / 4;
    justify-self: center;
    overflow: hidden;
    border-radius: 24px;
    background: #07111f;
    box-shadow: 0 24px 60px rgba(53, 147, 209, 0.22);
    isolation: isolate;
    cursor: ew-resize;
    user-select: none;
    touch-action: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparador-antes-depois:hover {
    transform: translateY(-0.35rem);
    box-shadow: 0 30px 72px rgba(53, 147, 209, 0.3);
}

.comparador-antes-depois img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.imagem-depois {
    position: absolute;
    inset: 0;
    clip-path: inset(0 0 0 var(--posicao-comparador));
    z-index: 1;
}

.etiqueta-comparador {
    position: absolute;
    top: 1rem;
    z-index: 3;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--cor-azul-escuro);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 8px 18px rgba(4, 18, 35, 0.16);
}

.etiqueta-antes {
    left: 1rem;
}

.etiqueta-depois {
    right: 1rem;
}

.linha-comparador {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--posicao-comparador);
    z-index: 2;
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    box-shadow: 0 0 18px rgba(4, 18, 35, 0.35);
    pointer-events: none;
}

.linha-comparador span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3.15rem;
    height: 3.15rem;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--cor-azul);
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 25px rgba(4, 18, 35, 0.32), 0 0 0 8px rgba(53, 147, 209, 0.18);
}

.linha-comparador span::before,
.linha-comparador span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 0.55rem;
    height: 0.55rem;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

.linha-comparador span::before {
    left: 0.8rem;
    transform: translateY(-50%) rotate(-45deg);
}

.linha-comparador span::after {
    right: 0.8rem;
    transform: translateY(-50%) rotate(135deg);
}

.controle-comparador {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}

/* DÚVIDAS FREQUENTES */
.secao-faq {
    padding: var(--padding-padrao-pagina);
    display: grid;
    grid-template-columns: minmax(18rem, 1.15fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    background:
        radial-gradient(circle at 92% 10%, rgba(53, 147, 209, 0.13), transparent 27%),
        linear-gradient(135deg, #f7fbff 0%, #ffffff 52%, #edf6ff 100%);
}

.faq-cabecalho {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-cabecalho > p:first-child {
    width: fit-content;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background-color: #e8f4ff;
    color: var(--cor-azul-escuro);
    font-weight: 700;
    font-size: 0.85rem;
}

.faq-cabecalho h2 {
    color: var(--cor-azul-escuro);
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.faq-cabecalho p {
    color: var(--cor-do-texto);
    font-size: var(--tamanho-p);
    line-height: 1.6;
}

.faq-lista {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    border: 1px solid #dcecff;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 40px rgba(4, 18, 35, 0.07);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.faq-item:hover {
    transform: translateY(-0.18rem);
    border-color: rgba(53, 147, 209, 0.34);
    box-shadow: 0 20px 48px rgba(53, 147, 209, 0.14);
}

.faq-item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 3rem 1.1rem 1.25rem;
    color: var(--cor-azul-escuro);
    font-weight: 700;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.faq-item summary:hover {
    color: var(--cor-azul);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 1.25rem;
    width: 1.8rem;
    height: 1.8rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background-color: #e8f4ff;
    color: var(--cor-azul-escuro);
    transform: translateY(-50%);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-item[open] summary::after {
    content: "-";
    background-color: var(--cor-azul);
    color: #fff;
    transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
    padding: 0 1.25rem 1.15rem;
    color: var(--cor-do-texto);
    font-size: 0.98rem;
    line-height: 1.65;
}

.faq-item ul {
    padding: 0 1.25rem 1.15rem 2.6rem;
    color: var(--cor-do-texto);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* CONTATO */
.secao-contato {
    padding: var(--padding-padrao-pagina);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    background: radial-gradient(circle at bottom right, rgba(53, 147, 209, 0.2) 0, transparent 34%), linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.contato-conteudo {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contato-conteudo > p:first-child {
    width: fit-content;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background-color: #e8f4ff;
    color: var(--cor-azul-escuro);
    font-weight: 700;
    font-size: 0.85rem;
}

.contato-conteudo h2 {
    color: var(--cor-azul-escuro);
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.contato-conteudo p {
    color: var(--cor-do-texto);
    font-size: var(--tamanho-p);
    line-height: 1.6;
}

.contato-beneficios {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.contato-beneficios span {
    padding: 0.45rem 0.8rem;
    border: 1px solid #dcecff;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.78);
    color: var(--cor-azul-escuro);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(53, 147, 209, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.contato-beneficios span:hover {
    transform: translateY(-0.16rem);
    border-color: rgba(53, 147, 209, 0.36);
    box-shadow: 0 16px 32px rgba(53, 147, 209, 0.16);
}

.formulario-contato {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: clamp(1.1rem, 3vw, 1.6rem);
    border: 1px solid #dcecff;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 55px rgba(53, 147, 209, 0.14);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.formulario-contato:hover {
    transform: translateY(-0.28rem);
    box-shadow: 0 30px 70px rgba(53, 147, 209, 0.2);
}

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

.campo-formulario-completo {
    grid-column: 1 / -1;
}

.campo-formulario label {
    color: var(--cor-azul-escuro);
    font-weight: 700;
    font-size: 0.92rem;
}

.campo-formulario input,
.campo-formulario select,
.campo-formulario textarea {
    width: 100%;
    border: 1px solid #d6e7f8;
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
    background-color: #fff;
    color: var(--cor-do-texto);
    font: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.campo-formulario textarea {
    resize: vertical;
    min-height: 8rem;
}

.campo-formulario input:focus,
.campo-formulario select:focus,
.campo-formulario textarea:focus {
    border-color: var(--cor-azul);
    box-shadow: 0 0 0 4px rgba(53, 147, 209, 0.14);
    transform: translateY(-0.08rem);
}

.formulario-contato button {
    position: relative;
    overflow: hidden;
    grid-column: 1 / -1;
    border: 0;
    border-radius: 999px;
    padding: 0.9rem 1.25rem;
    background: linear-gradient(135deg, var(--cor-azul-escuro), var(--cor-azul));
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(27, 64, 138, 0.22);
}

/* RODAPÉ */
.rodape {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 4rem) 4rem 1.25rem;
    background:
        radial-gradient(circle at top left, rgba(53, 147, 209, 0.34), transparent 34%),
        radial-gradient(circle at bottom right, rgba(154, 183, 210, 0.24), transparent 28%),
        linear-gradient(135deg, #07111f 0%, #102b55 52%, var(--cor-azul-escuro) 100%);
    color: #fff;
    isolation: isolate;
}

.rodape::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    pointer-events: none;
}

.rodape::after {
    content: "";
    position: absolute;
    right: -8rem;
    top: -8rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: rgba(53, 147, 209, 0.2);
    filter: blur(6px);
    animation: flutuar-suave 7s ease-in-out infinite;
    pointer-events: none;
}

.rodape-conteudo,
.rodape-base {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.rodape-conteudo {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(12rem, 0.8fr));
    gap: clamp(1.5rem, 4vw, 3rem);
}

.rodape-marca,
.rodape-links,
.rodape-contato {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.rodape-marca {
    max-width: 32rem;
}

.rodape-marca img {
    width: 6.5rem;
    height: auto;
    padding: 0.35rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(4, 18, 35, 0.3);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.rodape-marca img:hover {
    transform: rotate(-2deg) scale(1.04);
    box-shadow: 0 22px 52px rgba(53, 147, 209, 0.28);
}

.rodape h2 {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.rodape p,
.rodape a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.65;
}

.rodape a {
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.rodape a:hover {
    color: #fff;
    transform: translateX(0.2rem);
}

.rodape-contato-icones {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.rodape-contato-icones a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.15rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 28px rgba(4, 18, 35, 0.18);
}

.rodape-contato-icones a:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
    transform: translateY(-0.12rem);
}

.rodape-base {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.rodape-base p {
    font-size: 0.85rem;
}

.rodape-base .credito-desenvolvedor {
    color: rgba(255, 255, 255, 0.58);
}

.credito-desenvolvedor a {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.credito-desenvolvedor a:hover {
    color: #b9dcff;
    transform: translateY(-0.08rem);
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .animar-entrada {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 48em) {
    .secao-diferenciais {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

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

    .secao-antes-depois {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .secao-faq {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .secao-contato {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .formulario-contato {
        grid-template-columns: 1fr;
    }

    .rodape {
        padding: 2.5rem 1rem 1rem;
    }

    .rodape {
        align-items: center;
        justify-content: center;
    }

    .rodape-marca,
    .rodape-links,
    .rodape-contato {
        align-items: center;
        justify-content: center;
    }

    .rodape-conteudo {
        grid-template-columns: 1fr;
    }
    .rodape-conteudo p,
    .rodape-base p {
        text-align: center;
        margin: 0 1rem;
    }

    .rodape-base {
        flex-direction: column;
    }
}
