/* global.css */
:root {
    /* Paleta Oficial do Manual de Identidade Visual */
    --clr-navy: #263650;      /* Azul Marinho */
    --clr-turquoise: #9bc0ce; /* Azul Turquesa (Claro) */
    --clr-sand: #d6b896;      /* Areia / Laranja Acinzentado */
    --clr-brown: #714e3a;     /* Marrom */
    --clr-darkred: #632224;   /* Vermelho Escuro */
    --clr-beige: #f2e9df;     /* Fundo suave / Creme / Gelo */
    --clr-white: #FFFFFF;
    
    /* Tipografia Oficial */
    --ff-main: 'Quicksand', sans-serif;
    --ff-logo: 'Megrim', sans-serif;
    
    /* Variáveis de Borda (como solicitado nas diretrizes para trazer pertencimento e acolhimento) */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-pill: 9999px;
    
    /* Espaçamentos e Sombras */
    --shadow-soft: 0 10px 25px rgba(26, 40, 64, 0.08);
    --shadow-hover: 0 20px 40px rgba(26, 40, 64, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

body {
    font-family: var(--ff-main);
    background-color: var(--clr-beige);
    color: var(--clr-navy);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Utilitários de Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 500;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--clr-navy);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-turquoise);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--clr-navy);
    color: var(--clr-navy);
}

.btn-outline:hover {
    background-color: var(--clr-navy);
    color: var(--clr-white);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

/* Texture Overlay Background */
.texture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../img/paper-texture.webp');
    background-size: cover;
    opacity: 0.25; 
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 9999;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; 
    color: #FFF;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    transition: var(--transition);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    z-index: -1;
    animation: ripple-whatsapp 1.5s infinite ease-out;
}

@keyframes ripple-whatsapp {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover::before {
    animation: none;
    display: none;
}

/* UTILITÁRIOS GLOBAIS E GERAIS MOBILE */
body.menu-open {
    overflow: hidden;
}

@media (max-width: 500px) {
    .btn-large {
        padding: 0.8rem 1.5rem;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}
