* {
    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-attachment: fixed;
    overflow-x: hidden;
    transition: background-color 1.5s ease;
    background-image: url(../img/fotoaura.jpg);
    content: '';
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* header abaixo */

header {
    transition: all 0.6s ease;
    background-color: var(--color-quinta);
    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;
}

.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 */

/* main abaixo */
.overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 150%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.671), rgba(16, 16, 16, 0.562), rgba(20, 20, 20, 0.498));
    pointer-events: none;
    z-index: -1;
}

.container-contato {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(7rem, 14vh, 9rem) 1.5rem 5rem;
    position: relative;
}

.containerform {
    position: relative;
    width: min(900px, 94vw);
    padding: 2px;
    margin-top: 0;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(242, 192, 41, 0.85), rgba(242, 174, 46, 0.55), rgba(255, 255, 255, 0.06));
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.containerform::before,
.containerform::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.35;
    z-index: 0;
}

.containerform::before {
    width: 13rem;
    height: 13rem;
    background: radial-gradient(circle, rgba(242, 192, 41, 0.35), rgba(242, 174, 46, 0));
    top: -4rem;
    left: -3rem;
}

.containerform::after {
    width: 10rem;
    height: 10rem;
    background: radial-gradient(circle, rgba(242, 174, 46, 0.28), rgba(242, 192, 41, 0));
    bottom: -2rem;
    right: -2rem;
}

.containerform form {
    position: relative;
    z-index: 1;
    background: rgba(16, 16, 16, 0.92);
    border-radius: calc(1.5rem - 4px);
    padding: clamp(1.75rem, 4vw, 2.75rem);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    overflow: hidden;
}

.containerform form::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(100% 60% at 0% 0%, rgba(242, 192, 41, 0.08), transparent);
    pointer-events: none;
}

.form-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.pill-tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    background: rgba(242, 192, 41, 0.12);
    color: var(--color-primary);
    border: 1px solid rgba(242, 192, 41, 0.45);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

.pill-tag::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0.45rem rgba(242, 192, 41, 0.65);
}

.form-title {
    font-family: 'Poppins', 'Montserrat', system-ui, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: -0.015em;
}

.form-subtitle {
    color: #cfcfcf;
    max-width: 48ch;
    line-height: 1.6;
    font-size: 0.95rem;
}

fieldset {
    border: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-weight: 600;
    color: var(--color-sexta);
    letter-spacing: 0.01em;
}

.field-hint {
    color: #bcbcbc;
    font-size: 0.85rem;
    opacity: 0.85;
}

input,
textarea {
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 100%;
    min-height: 3.25rem;
    background: rgba(8, 8, 8, 0.85);
    padding: 0.9rem 1rem;
    color: var(--color-sexta);
    border-radius: 0.9rem;
    caret-color: var(--color-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    font-family: 'Poppins', 'Montserrat', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

input::placeholder,
textarea::placeholder {
    color: #9b9b9b;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: #0f0f0f;
    box-shadow: 0 0 0 8px rgba(242, 192, 41, 0.12), 0 10px 25px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}

textarea {
    min-height: clamp(9rem, 22vh, 12.5rem);
    resize: vertical;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.response-time {
    color: #d4d4d4;
    font-size: 0.9rem;
    opacity: 0.85;
}

#botaocont {
    color: #0d0d0d;
    background: linear-gradient(135deg, #f2c029, #f2ae2e 60%, #f2c029);
    min-height: 3.1rem;
    padding: 0.95rem 2.35rem;
    width: auto;
    min-width: 11rem;
    border-radius: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    font-size: 1rem;
    border: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 15px 40px rgba(242, 192, 41, 0.3);
    cursor: pointer;
}

#botaocont:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 18px 50px rgba(242, 192, 41, 0.35);
    filter: brightness(1.02);
}

#botaocont:active {
    transform: translateY(0);
}

/* main acima */

/* footer abaixo */
footer {
    caret-color: transparent;
    background-color: #131313;
    color: var(--color-sexta);
    font-family: Arial, sans-serif;
}

.wave-container {
    width: 100%;
    margin: 0;
    margin-bottom: -12%;
    line-height: 0;
    overflow: hidden;
    color: var(--color-sexta);
}

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

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 2rem 3rem;
    padding: 2.5rem clamp(1.5rem, 4vw, 3.75rem);
    align-items: flex-start;
}

.footer-logo {
    width: clamp(10rem, 22vw, 14rem);
    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: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 1rem 2rem;
}

.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;
    align-items: flex-start;
}

.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 {
        overflow-x: hidden;
        overflow-y: auto;
        font-size: 0.9375rem;
    }

    .container-contato {
        padding: 6.5rem 1.25rem 4rem;
    }

    .containerform {
        width: 100%;
    }

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

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    #botaocont {
        width: 100%;
    }

    .form-title {
        font-size: 1.75rem;
    }

    .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;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 1.75rem 1.25rem;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-logo {
        width: clamp(9rem, 40vw, 13rem);
        margin-bottom: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.75rem;
    }

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

    .footer-contact {
        gap: 1rem;
        width: 100%;
        align-items: center;
    }

    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 */
    }
}
