html {
    overflow-x: clip;
}

/* Molduras com as proporções das fotos originais de cada seção do Rakar. */
img.landing-foto {
    width: 100%;
    height: auto;
    aspect-ratio: var(--proporcao-foto);
    object-fit: cover;
    object-position: center;
}

.landing-foto--abertura { --proporcao-foto: 614 / 700; }
.landing-foto--sobre { --proporcao-foto: 424 / 552; }
.landing-foto--aplicacao { --proporcao-foto: 608 / 370; }
.landing-foto--servico { --proporcao-foto: 424 / 255; }

/* O selo da prévia não tem o botão que servia de âncora no Rakar. */
#hero .hero-img .box-badge {
    width: clamp(112px, 11vw, 160px);
    bottom: 18%;
    left: 8%;
    border-radius: 50%;
    background-color: var(--white-color);
}

#hero .hero-img .box-badge .spin-text {
    position: relative;
    inset: auto;
}

#hero .hero-img .box-badge .spin-text svg {
    display: block;
    width: 100%;
    height: auto;
    transform: none;
}

#hero .hero-title {
    text-transform: none;
    font-size: clamp(24px, 7vw, 46px);
}

@media (min-width: 992px) {
    #hero .hero-title { font-size: clamp(30px, 3.45vw, 64px); }
}

.video-sec2[data-overlay]::before {
    pointer-events: none;
}

.video-sec2 .video-content2 {
    position: relative;
    z-index: 1;
}

#avaliacao {
    scroll-margin-top: 100px;
}

#form-orcamento {
    text-align: left;
}

#form-orcamento .orcamento-campo {
    margin-bottom: 16px;
}

#form-orcamento label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

#form-orcamento input,
#form-orcamento select {
    width: 100%;
    min-height: 54px;
    border: 1px solid #cfd4dc;
    border-radius: 12px;
    background-color: var(--white-color);
    font-size: 16px;
}

#form-orcamento :is(input, select):focus {
    border-color: var(--title-color);
    outline: 2px solid var(--title-color);
    outline-offset: 2px;
}

#form-orcamento button {
    width: 100%;
}

.whatsapp-flutuante {
    position: fixed;
    right: 30px;
    bottom: 94px;
    z-index: 9999;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #16794a;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 12px #1437264d;
}

.whatsapp-flutuante:hover,
.whatsapp-flutuante:focus-visible {
    background: #11623c;
    color: #fff;
}

.whatsapp-flutuante:focus-visible {
    outline: 2px solid var(--title-color);
    outline-offset: 4px;
}

.whatsapp-flutuante::after {
    position: absolute;
    inset: 0;
    border: 2px solid #16794a;
    border-radius: inherit;
    pointer-events: none;
    content:"";
    animation: whatsapp-pulso 2.2s ease-out infinite;
}

@keyframes whatsapp-pulso {
    0% { opacity: .65; transform: scale(1); }
    75%, 100% { opacity: 0; transform: scale(1.5); }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-flutuante::after { animation: none; }
}
