:root {
    --massa-primary: #1a472a;
    --massa-secondary: #2c5f3d;
    --massa-accent: #4a7c5b;
    --massa-light: #f5f5f5;
    --massa-text: #333333;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--massa-text);
    line-height: 1.6;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-height: 3.5rem;
}

.hero {
    position: relative;
    background: linear-gradient(135deg, var(--massa-primary) 0%, var(--massa-secondary) 100%);
}

.hero-body {
    padding: 4rem 1.5rem;
}

.section {
    padding: 3rem 1.5rem;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.button.is-primary {
    background-color: var(--massa-primary);
    border-color: var(--massa-primary);
}

.button.is-primary:hover {
    background-color: var(--massa-secondary);
    border-color: var(--massa-secondary);
}

.footer {
    background-color: var(--massa-primary);
    color: white;
    padding: 3rem 1.5rem 2rem;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    color: var(--massa-accent);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float::before {
    content: attr(title);
    position: absolute;
    right: 70px;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    right: 60px;
    border: 6px solid transparent;
    border-left-color: #333;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-notice {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.company-info {
    font-style: italic;
    color: var(--massa-accent);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-on-scroll {
    opacity: 0;
}

.button {
    transition: all 0.3s ease;
}

.button:active {
    transform: scale(0.95);
}

.card-image {
    overflow: hidden;
}

.card:hover .card-image img {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.whatsapp-float {
    animation: bounce 2s infinite;
}

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

.navbar-item {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.box {
    transition: all 0.3s ease;
}

.box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

input.input:focus, textarea.textarea:focus {
    border-color: var(--massa-primary);
    box-shadow: 0 0 0 0.125em rgba(26, 71, 42, 0.25);
}

@media screen and (max-width: 768px) {
    .hero-body {
        padding: 2rem 1.5rem;
    }
    
    .section {
        padding: 2rem 1.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
