/* RESET E ESTILOS GLOBAIS */

/* VARIÁVEIS DE COR - CUSTOM PROPERTIES */
:root {
    --color-primary: #d72991;
    --color-primary-light: #f9d9ff;
    --color-text: #555;
    --color-text-dark: #333;
    --color-dark: #222;
    --color-white: #fff;
    --color-border: #ddd;
    --color-light-bg: #ffe4f2;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Varela Round', Helvetica, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

button {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 6px;
    transition: .3s;
}

button:hover {
    opacity: .9;
}

/* TIPOGRAFIA PADRÃO */

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    font-size: 1.1rem;
}

/* ANIMAÇÕES GLOBAIS */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease-out;
    will-change: transform, opacity;
}

.animate-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(80px);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease-out;
    will-change: transform, opacity;
}

.animate-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

.hero-container.animate-up.in-view {
    transition-delay: 0.20s;
}

.animate-right.delay.in-view {
    transition-delay: 0.40s;
}

body.menu-open {
    overflow: hidden;
}
.whatsapp-floating {
    position: fixed;
    bottom: 25px;
    right: 25px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 20px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50px;

    text-decoration: none;
    color: #fff;

    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
    z-index: 9999;

    animation: none !important;
    transform: none !important;
}

.whatsapp-floating:hover {
    transform: none !important;
    opacity: .95;
}

.icon-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
}

.globe-icon,
.whatsapp-icon {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 22px;
    color: #fff;
    transition: .3s;
}

.globe-icon {
    opacity: 1;
    animation: rotateGlobe 12s linear infinite;
}

.whatsapp-icon {
    opacity: 0;
}

.whatsapp-floating:hover .globe-icon {
    opacity: 0;
}

.whatsapp-floating:hover .whatsapp-icon {
    opacity: 1;
}

@keyframes rotateGlobe {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.whatsapp-message {
    position: fixed;
    right: 15px;
    bottom: 80px;

    width: 200px;
    text-align: center;

    background: #fff;
    color: #333;

    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 10px;

    box-shadow: 0 8px 25px rgba(0,0,0,.15);

    font-size: 14px;
    font-weight: 500;

    z-index: 9998;

    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s ease;
}

@media(max-width: 768px) {
    .whatsapp-floating {
        padding: 14px;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-floating,
    .whatsapp-message{
        right: 15px !important;
        transform: none !important;
    }

}

@media(max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero,
    .header-container,
    .header-nav,
    .mega-menu,
    .services,
    .about-hero,
    .contact-hero,
    .service-hero {
        max-width: 100%;
        overflow-x: hidden;
    }

    .whatsapp-floating,
    .whatsapp-message {
        right: 15px !important;
    }
}