﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    caret-color: transparent;
}

section {
    transition: transform 0.3s ease-out;
}

:root {
    --color-primary: #F2C029;
    --color-secondary: #F2AE2E;
    --color-tertiary: #595959;
    --color-quarta: #ba8e23;
    --color-quinta: #0D0D0D;
    --color-sexta: #FFFFFF;
    --comeco-divider-angle: 10deg;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--color-sexta);
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url(../img/planodefundoplanos.jpg) center/cover no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

.calculadoras-layout {
    --calc-columns: clamp(10rem, 14vw, 14rem) minmax(0, clamp(44rem, 55vw, 52rem)) clamp(10rem, 14vw, 14rem);
    --calc-gap: clamp(1.1rem, 2.4vw, 2.25rem);
    --pose-size: var(--pose-base-size);
    position: relative;
    display: grid;
    grid-template-columns: var(--calc-columns);
    column-gap: var(--calc-gap);
    width: min(95vw, 90rem);
    margin: 8rem auto 0;
    min-height: calc(100vh - 8rem);
    padding: 0 clamp(2rem, 3vw, 3rem);
    overflow: visible;
}

.calculadoras-main {
    grid-column: 2;
    width: 100%;
    max-width: min(90vw, 72rem);
    margin: 0 auto;
    min-height: calc(100vh - 8rem);
    padding: clamp(4rem, 4vw, 4rem);
    background: #161616;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 4vw, 4.5rem);
    position: relative;
    z-index: 2;
    align-items: center;
    overflow: visible;
    --pose-side: 12rem;
    --pose-inset: 2.5rem;
}

.calculadoras-content {
    width: 100%;
    max-width: 48rem;
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 4vw, 4.5rem);
    align-items: center;
    position: relative;
    z-index: 2;
}

.calculadoras-main section {
    width: 100%;
    max-width: 48rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/* header abaixo */

header {
    transition: all 0.6s ease;
    z-index: 1000;
}

header.scrolled {
    background-color: var(--color-quinta);
    height: 10vh;
    transform: 1s;
}

header .menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    position: relative;
    transition: 1s;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
    top: 60%;
    opacity: 1;
    position: absolute;
    transform: translate(-50%, calc(-50% - 0.625rem));
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.header-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.header-logo img {
    height: clamp(3rem, 4.5vw, 5rem);
    width: auto;
    filter: drop-shadow(0 0.125rem 0.375rem rgba(0, 0, 0, 0.5));
}

header.scrolled .header-logo {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* menu abaixo */

.menu {
    position: fixed;
    top: 0;
    right: -30rem;
    width: 30rem;
    max-width: min(30rem, 90vw);
    height: 100vh;
    background-color: var(--color-quinta);
    padding: 3rem 2.5rem;
    box-shadow: -0.125rem 0 2rem rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: right 0.35s ease;
}

.menu.active {
    right: 0;
    z-index: 999;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu ul li {
    margin-bottom: 0.75rem;
}

.menu ul li:last-child {
    margin-bottom: 0;
}

.menu ul li a {
    color: var(--color-sexta);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 0.75rem;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.25s ease, transform 0.25s ease;
}

.menu ul li a::after {
    content: "\203A";
    font-size: 1.25rem;
    color: inherit;
}

.menu ul li a:hover {
    background: rgba(242, 192, 41, 0.12);
    transform: translateX(0.25rem);
}

.menu ul li a:hover {
    color: #f2c029;
}

.menu-logo {
    cursor: pointer;
}


.menu-logo img {
    width: clamp(7rem, 20vw, 9.375rem);
    max-width: 100%;
    height: auto;
    display: block;
}

.logo-primeiraparte {
    right: auto;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    color: var(--color-sexta);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
}

.menu-toggle-label {
    color: var(--color-sexta);
    letter-spacing: 0.02em;
}

.close-btn {
    position: fixed;
    top: 1.5rem;
    right: 31rem;
    transform: translateX(0.5rem);
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 1100;
}

.close-btn::before,
.close-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.5rem;
    height: 0.0625rem;
    background-color: rgba(255, 255, 255, 0.85);
    transform-origin: center;
}

.close-btn::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close-btn:hover {
    transform: scale(1.08);
}

body.menu-open .close-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 3;
}

body.menu-open .menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.logo1 {
    position: relative;
    width: 50em;
    z-index: 2;
    display: flex;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 3.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

/* header acima */

/* calculadora imc abaixo */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#calcImc {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 34rem;
    margin: 0 auto;
}

.imctitle {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 3.5em;
    margin: 0 0 1.5rem 0;
    animation: pulsante 5s ease infinite;
    width: 100%;
    text-align: center;
    line-height: 1.05;
    padding: 0;
}

.imctitle-line {
    display: block;
    width: 100%;
    text-align: center;
}

.imctitle .imc-highlight {
    font-style: oblique;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0);
    -webkit-text-stroke: 0.125rem var(--color-primary);
    position: static;
}

.fieldimc {
    border: 0.125rem solid var(--color-primary);
    background: rgba(255, 255, 255, 0.04);
    padding: 2.5rem 2rem;
    border: 0.125rem solid var(--color-primary);
    background: rgba(255, 255, 255, 0.04);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    border-radius: 1.2rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 32rem;
}

#botaoimc {
    color: var(--color-sexta);
    background-color: var(--color-primary);
    height: 8vh;
    width: min(100%, 25rem);
    border-radius: 0.625rem;
    transition: 0.3s ease-in-out;
    font-size: 1em;
    border: none;
    font-weight: bold;
    margin-top: 2%;
}

.containerbtnimc {
    width: 100%;
    max-width: 32rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

#peso,
#altura {
    border: none;
    width: 100%;
    max-width: 100%;
    height: 5vh;
    background-color: var(--color-quinta);
    padding: 0.75rem 1rem;
    color: var(--color-sexta);
    border-radius: 0.625rem;
    caret-color: var(--color-primary);
}

#botaoimc:hover {
    transform: scale(1.1);
}

#resultado {
    width: min(100%, 25rem);
    color: var(--color-sexta);
    font-weight: 700;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem auto 5%;
    padding: 0;
    background: transparent;
    border-left: 0 solid var(--color-primary);
    border-radius: 0.5rem;
    opacity: 0;
    transform: translateY(-0.5rem);
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease, padding 0.35s ease, border-left-width 0.35s ease, min-height 0.35s ease, box-shadow 0.35s ease;
}

#resultado.resultado-visivel {
    opacity: 1;
    transform: translateY(0);
    max-height: 12rem;
    min-height: 8vh;
    padding: 1rem 1.25rem;
    border-left-width: 0.25rem;
}

#resultadoKcal {
    width: min(100%, 28rem);
    color: var(--color-sexta);
    font-weight: 700;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem auto 5%;
    padding: 0;
    background: transparent;
    border-left: 0 solid var(--color-primary);
    border-radius: 0.5rem;
    opacity: 0;
    transform: translateY(-0.5rem);
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease, padding 0.35s ease, border-left-width 0.35s ease, min-height 0.35s ease, box-shadow 0.35s ease;
}

#resultadoKcal.resultado-visivel {
    opacity: 1;
    transform: translateY(0);
    max-height: 24rem;
    min-height: 10vh;
    padding: 1rem 1.25rem;
    border-left-width: 0.25rem;
}

#resultado .resultado-text,
#resultadoKcal .resultado-text {
    display: block;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateX(-0.75rem);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

#resultado.resultado-visivel .resultado-text,
#resultadoKcal.resultado-visivel .resultado-text {
    opacity: 1;
    transform: translateX(0);
}

#resultadoKcal .resultado-text p {
    margin: 0.15rem 0;
    line-height: 1.4;
}

#resultado .resultado-titulo,
#resultadoKcal .resultado-titulo {
    text-align: center;
    color: var(--color-primary);
    font-weight: 700;
    margin: 0 0 0.6rem 0;
}

#resultado .resultado-linha,
#resultadoKcal .resultado-linha {
    margin: 0.35rem 0;
    line-height: 1.5;
}

#resultado .resultado-linha.destaque,
#resultadoKcal .resultado-linha.destaque {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

#resultado .resultado-lista,
#resultadoKcal .resultado-lista {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

#resultado .resultado-lista li,
#resultadoKcal .resultado-lista li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.35rem 0;
    text-align: center;
}

#resultado .resultado-lista li::before,
#resultadoKcal .resultado-lista li::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
}

#resultado .resultado-lista {
    width: auto;
}

#resultado .resultado-lista li {
    justify-content: center;
}

#resultado .resultado-lista li::before {
    display: inline-block;
    margin-right: 0.35rem;
}

#resultado.resultado-visivel:hover,
#resultadoKcal.resultado-visivel:hover {
    transform: translateY(-0.15rem);
    border-left-width: 0.3rem;
    box-shadow: 0 0.75rem 1.5rem rgba(242, 192, 41, 0.25);
}

/* calculadora imc acima */

/* Calculadora de Calorias abaixo */
#calcForm {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 34rem;
    margin: 0 auto;
}

.kcaltitle {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 3.5rem;
    margin: 0 0 0.75rem 0;
    animation: pulsante 5s ease infinite;
    line-height: 1.05;
}

.fieldkcal {
    border: 0.125rem solid var(--color-primary);
    background: rgba(255, 255, 255, 0.04);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
    text-align: center;
    border-radius: 1.2rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 32rem;
}

.kcaltitle>span {
    font-style: oblique;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0);
    -webkit-text-stroke: 0.125rem var(--color-primary);
}

#botaokcal {
    color: var(--color-sexta);
    background-color: var(--color-primary);
    height: 8vh;
    width: min(100%, 25rem);
    border-radius: 0.625rem;
    transition: 0.3s ease-in-out;
    font-size: 1em;
    border: none;
    font-weight: bold;
    margin-top: 2%;
}

.containerbtnkcal {
    width: 100%;
    max-width: 32rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

#weight,
#height,
#yo {
    border: none;
    width: 100%;
    max-width: 100%;
    height: 5vh;
    background-color: var(--color-quinta);
    padding: 0.75rem 1rem;
    color: var(--color-sexta);
    border-radius: 0.625rem;
    caret-color: var(--color-primary);
}

#genero,
#atividade,
#atividadeM,
#wl {
    border-radius: 0.625rem;
    border: none;
    width: 100%;
    max-width: 100%;
    height: 5vh;
    color: var(--color-sexta);
    text-align: center;
    background-color: var(--color-quinta);
}

#botaokcal:hover {
    transform: scale(1.1);
}

#resultadoKcal {
    margin: 2% 0 5% 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



/* Calculadora de Calorias acima */

/* footer abaixo */
footer {
    background-color: #131313;
    color: #fff;
    font-family: Arial, sans-serif;
    position: relative;
    z-index: 2;
    padding-top: 7rem;
}


.wave-container {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    margin-bottom: -12%;
    line-height: 0;
    overflow: hidden;
    color: var(--color-sexta);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    box-shadow: none;
}

.wave-container svg {
    display: block;
    width: 100%;
    height: auto;
    background-color: transparent;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 2.5rem 3.75rem;
    flex-wrap: wrap;
}

.footer-logo {
    width: 20rem;
    margin-bottom: 0.9375rem;
}

.footer-logo-address p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #ccc;
}

#locp {
    color: #ccc;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links {
    display: flex;
    gap: 3.75rem;
    flex-wrap: wrap;
}

.links-group {
    min-width: 7.5rem;
}

.links-group h4 {
    font-weight: bold;
    margin-bottom: 0.9375rem;
    font-size: 0.875rem;
}

.links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-group ul li {
    margin-bottom: 0.5rem;
}

.links-group ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.links-group ul li a:hover {
    color: var(--color-primary);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
    min-width: 7.5rem;
    text-align: center;
}

.footer-contact h4 {
    font-weight: bold;
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
}

footer .social-icons img {
    width: 4em;
    cursor: pointer;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

a:hover svg path {
    fill: var(--color-primary);
}

footer .contact-icons img {
    width: 7em;
}

.footer-bottom {
    border-top: 0.125rem solid #555;
    padding: 0.9375rem 3.75rem;
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
}

.clover {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

/* footer acima */

.iconify.iconify--emojione {
    width: 10%;
}

.iconify.iconify--emojitwo {
    width: 11%;
    margin-left: 45%;
}

.horarios-letras {
    margin-top: -5.5%;
}

.ptop.top3 {
    margin-top: -2%;
}

.top.top3 {
    margin-top: -5%;
}

.whatsapp-floating {
    position: fixed;
    bottom: 2.25rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-floating img {
    width: 70%;
    height: 70%;
    display: block;
}

.whatsapp-floating:hover {
    transform: translateY(-0.25rem) scale(1.05);
    box-shadow: 0 0 2.5rem rgba(0, 0, 0, 0.55);
}

/* Responsividade para telas menores que 768px */
@media (max-width: 768px) {
    body {
        font-size: 0.9375rem;
    }

    .close-btn {
        position: fixed;
        top: 1.5rem;
        right: 10%;
        transform: translateX(0.5rem);
        width: 2rem;
        height: 2rem;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
        opacity: 0;
        pointer-events: none;
        z-index: 1100;
    }

    #menu {
        padding-top: 20%;
    }

    .close-btn::before,
    .close-btn::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: 1.5rem;
        height: 0.0625rem;
        background-color: rgba(255, 255, 255, 0.85);
        transform-origin: center;
    }

    .close-btn::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .close-btn::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .close-btn:hover {
        transform: scale(1.08);
    }

    .header-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1;
        position: absolute;
        transform: translate(-50%, calc(-50% - 0.625rem));
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .menu-btn {
        display: flex;
        right: 1rem;
        top: 1rem;
        width: 1.75rem;
        height: 1.375rem;
    }

    .btn:hover {
        background-color: var(--color-primary);
        color: white;
        font-weight: bold;
    }

    header .container {
        justify-content: flex-start;
        padding-left: 1.25rem;
        height: 3.5rem;
    }

    .menu {
        width: 100%;
        height: 100vh;
        top: 0%;
        right: -100%;
        padding: 1rem 1.5rem;
    }

    .menu.active {
        right: 0;
    }

    .menu ul li {
        margin-bottom: 1.25rem;
    }

    .menu ul li a {
        font-size: 1.25rem;
    }

    .links-group ul li a:hover {
        color: var(--color-primary);
    }

    .navbar {
        padding: 0.75rem 1rem;
    }

    header .menu-container {
        width: 100%;
        padding: 0;
        gap: 0.75rem;
    }

    .fieldimc {
        padding: 5% 2%;
        width: 90vw;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .imctitle {
        font-size: 2.5rem;
    }

    #calcForm {
        height: auto;
        padding: 2rem 1rem;
    }

    .kcaltitle {
        font-size: 2.5em;
        margin-bottom: 5%;
    }

    .fieldkcal {
        width: 90vw;
        padding: 5% 2%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #weight,
    #height,
    #yo,
    #genero,
    #atividade,
    #atividadeM,
    #wl {
        width: 80vw;
        height: 6vh;
        padding: 3%;
    }

    #botaokcal,
    #botaoimc {
        width: 50vw;
        height: 7vh;
        font-size: 0.9em;
    }

    #resultado,
    #resultadoKcal {
        width: 60vw;
        max-width: 60vw;
    }

    .calculadoras-layout {
        grid-template-columns: 1fr;
        margin: 7rem auto 3rem;
        padding: 0 1rem;
        min-height: auto;
    }

    .calculadoras-main {
        grid-column: 1;
        width: 100%;
        min-height: auto;
        padding: 1.75rem 1.5rem;
        border-width: 0.25rem;
    }

    .calculadoras-content {
        grid-row: auto;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        /* Empilhar elementos verticalmente */
        padding: 2rem 1.5rem;
        /* Padding reduzido */
        text-align: center;
        /* Centralizar texto */
    }

    .footer-logo {
        width: 15rem;
        /* Logo menor */
        margin-bottom: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        /* Links em coluna */
        gap: 2rem;
        /* Espaçamento entre grupos */
    }

    .links-group {
        min-width: auto;
        /* Remover largura mínima */
    }

    .footer-contact {
        gap: 1rem;
        /* Reduzir gap */
    }

    footer .social-icons img {
        width: 3em;
        /* Ícones menores */
    }

    footer .contact-icons img {
        width: 5em;
        /* Ícones de contato menores */
    }

    .footer-bottom {
        padding: 1rem 1.5rem;
        /* Padding reduzido */
        font-size: 0.75rem;
        /* Fonte menor */
    }
}
