:root {
    --shader: #bbbbca;
}
.lpeficiencia {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 1rem 0;
}
.lpeficiencia > h2 {
    font-family: "Lora", sans-serif;
    text-align: center;
    font-size: 2rem;
    color: var(--primarycolor);
    font-weight: bold;
}
.lpeficiencia > p {
    font-family: "Noso Sans", sans-serif;
    text-align: center;
    margin: 1rem 10vw;
}
.lpeficiencia > p strong {
    font-weight: 600;
}
.lpeficiencia .flex {
    display: flex;
    align-items: center;
    margin: 2.5rem auto;
    justify-content: space-between;
    position: relative;
    background: var(--lightgrey);
    padding: 0;
    border-radius: 2rem;
    overflow: hidden;
    max-width: 1200px;
}
.lpeficiencia .flex .calculadora {
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    width: 45%;
}
.lpeficiencia .flex .calculadora h3 {
    margin: 0;
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
}
.lpeficiencia .flex .calculadora form {
    display: flex;
    flex-direction: column;
    z-index: 100;
}
.lpeficiencia .flex .calculadora form label {
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
}
.lpeficiencia .flex .calculadora form input,
.lpeficiencia .flex .calculadora form select {
    border: 1px solid var(--hr);
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background: var(--white);
    font-size: 1rem;
}
.lpeficiencia .flex .calculadora form button svg {
    color: var(--green);
}
.lpeficiencia .flex .calculadora form button[type="reset"] {
    background: var(--shader);
    color: var(--secondarycolor);
}
.lpeficiencia .flex .calculadora form button[type="reset"]:hover {
    background: var(--secondarycolor);
    color: var(--white);
}
.lpeficiencia .flex .calculadora form button[type="reset"] svg {
    color: var(--secondarycolor);
    transition: 250ms ease-in-out;
}
.lpeficiencia .flex .calculadora form button[type="reset"]:hover svg {
    color: var(--white);
}
.lpeficiencia .flex .calculadora form .controls {
    display: flex;
    justify-content: space-between;
    column-gap: 1rem;
    align-items: center;
}
.lpeficiencia .flex .calculadora form .controls.toreset {
    flex-direction: column-reverse;
    row-gap: 1rem;
}
.lpeficiencia .flex .calculadora form .controls.toreset button[type="button"] {
    display: none;
}

.lpeficiencia .flex .rightside {
    background: url(https://promo.wavin.com/hubfs/Brazil/lps-2026/calculadora-biax-agrobiax/engenheiro-avaliando-tubos-amanco-wavin.jpg)
        no-repeat;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 55%;
    height: 600px;
    position: relative;
}
.lpeficiencia .flex .rightside #results {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #353750db;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 200ms ease-in-out;
}

.lpeficiencia .flex .rightside #results .values {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    text-align: center;
    margin: 0 1rem;
}

.lpeficiencia .flex .rightside #results .values span {
    font-size: 4rem;
    font-weight: 800;
    color: var(--green);
}

.lpeficiencia .downloadables {
    display: flex;
    align-items: center;
    margin: 2.5rem auto;
    justify-content: center;
    max-width: 1200px;
    flex-direction: row;
    flex-wrap: wrap;
}

.lpeficiencia .downloadables h2 {
    font-family: "Lora", sans-serif;
    text-align: center;
    font-size: 2rem;
    color: var(--primarycolor);
    font-weight: bold;
}

.lpeficiencia .downloadables .downloads {
    display: flex;
    column-gap: 2rem;
    justify-content: space-evenly;
    flex-wrap: wrap;
    row-gap: 2rem;
    margin-top: 1rem;
}
.lpeficiencia .downloadables .downloads .item {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--hr);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    display: flex;
    flex-direction: column;
    max-width: 30%;
}
.lpeficiencia .downloadables .downloads .item span:first-child {
    display: flex;
    align-items: flex-start;
    max-height: 200px;
    height: 100%;
}
.lpeficiencia .downloadables .downloads .item span:first-child img {
    object-fit: cover;
    align-self: anchor-center;
}
.lpeficiencia .downloadables .downloads .item > span:last-child {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--lightgrey);
    padding: 1rem;
    row-gap: 1rem;
    height: 100%;
}
.lpeficiencia .downloadables .downloads .item > span:last-child p {
    font-weight: 300;
    text-align: center;
    margin: 0;
    font-size: 0.95rem;
}
.lpeficiencia .downloadables .downloads .item > span:last-child p strong {
    font-weight: 600;
    display: block;
    font-size: 1.1rem;
}
.lpeficiencia .downloadables .downloads .item > span:last-child a.btn {
    font-size: 1rem;
}
.lpeficiencia .downloadables .downloads .item > span:last-child a.btn svg {
    width: 1rem;
    color: var(--green);
}
button,
a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primarycolor);
    color: var(--white);
    border-radius: 5rem;
    cursor: pointer;
    transition: 250ms ease-in-out;
    text-wrap: nowrap;
    outline: none;
    border: none;
    font-size: 1rem;
}
button:hover,
a.btn:hover {
    background-color: var(--secondarycolor);
    color: var(--white);
    text-decoration: none;
}

/* Custom Alert Styles */
#custom-alert {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(77, 81, 128, 0.7);
    width: 100%;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
#custom-alert > div {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    row-gap: 1rem;
    overflow: hidden;
    margin: 0 1rem;
}
#custom-alert > div .title {
    font-weight: 600;
    padding: 0.7rem;
    background: var(--green);
    width: 100%;
    text-align: center;
    color: #ffffff;
}
#custom-alert > div .message {
    padding: 0 0.7rem;
    text-align: center;
}
#custom-alert > div button {
    max-width: fit-content;
    margin: 0 auto 1rem auto;
}

/* Overrides */
.row-fluid-wrapper.dnd-section:nth-child(2) {
    padding-top: 0 !important;
}

/* Responsive Styles */
@media (max-width: 1210px) {
    .lpeficiencia .flex {
        margin: 2.5rem 0;
    }
    .lpeficiencia .flex .calculadora {
        width: 100%;
        max-width: 45%;
    }
    .lpeficiencia .flex .downloads {
        width: 100%;
        max-width: 45%;
    }
}
@media (max-width: 1024px) {
    .lpeficiencia .flex {
        flex-direction: column;
        align-items: center;
        row-gap: 0;
    }
    .lpeficiencia .flex .calculadora {
        max-width: 480px;
    }
    .lpeficiencia .flex .rightside {
        background: transparent;
        height: auto;
        width: 100%;
    }
    .lpeficiencia .flex .rightside #results {
        position: relative;
        background: transparent;
        opacity: 0;
        height: 0;
        padding: 0;
    }
    .lpeficiencia .flex .rightside #results.show {
        opacity: 1;
        height: auto;
        padding: 0 1rem 2.5rem;
    }
    .lpeficiencia .flex .rightside #results .values {
        box-shadow: 0 0 2rem var(--hr);
    }
    .lpeficiencia .flex .downloads {
        flex-direction: row;
        max-width: 100%;
        padding: 0 2rem;
    }
    .lpeficiencia .flex .downloads .item {
        max-width: 46%;
        max-height: 160px;
    }
}
@media (max-width: 768px) {
    .lpeficiencia .flex .downloads {
        flex-direction: column;
        align-items: center;
    }
    .lpeficiencia .flex .downloads .item {
        max-width: 100%;
        background: var(--lightgrey);
    }
    .lpeficiencia .flex .downloads .item > span:last-child {
        align-self: anchor-center;
    }
    .lpeficiencia .flex .calculadora h3 {
        text-align: center;
        width: 100%;
    }
}
@media (max-width: 600px) {
    .lpeficiencia .downloadables .downloads {
        flex-direction: column;
        align-items: center;
    }
    .lpeficiencia .downloadables .downloads .item {
        max-width: 400px;
        width: 100%;
    }
}
@media (max-width: 480px) {
    .webdoor h1 {
        font-size: 2.2rem;
    }
    .lpeficiencia .flex .calculadora form .controls {
        flex-direction: column-reverse;
        row-gap: 1rem;
    }
    .lpeficiencia .flex .calculadora form .controls button:last-child {
        width: 100%;
        padding: 1.2rem;
        font-size: 1.1rem;
    }
    .lpeficiencia > h2,
    .lpeficiencia .downloadables h2 {
        font-size: 1.5rem;
    }
    .lpeficiencia > p {
        margin: 1rem;
    }
    .lpeficiencia .flex .rightside #results .values span {
        font-size: 2.8rem;
    }

    .lpeficiencia .flex .rightside #results .values {
        padding: 1.2rem;
        font-size: 1.1rem;
    }
}
