body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #ffffff;
    color: #1c1917;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
}

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse-whatsapp 2.5s infinite;
}

.no-copy {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Ajustes precisos para não cortar fontes/elementos em 320px */
@media (max-width: 320px) {
    h1 {
        /* Reduzido de 1.875rem para caber na tela sem cortes */
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 1.35rem !important;
    }

    h3 {
        font-size: 1.15rem !important;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns a {
        width: 100%;
        text-align: center;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Prevenção extra para palavras não quebrarem a tela */
    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

#mobile-menu {
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
}

#mobile-menu.open {
    transform: translateX(0);
}

/* Desativa a seleção de texto e o toque longo nos telemóveis */
body {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* EXCEÇÃO IMPORTANTE: Permite que o utilizador consiga escrever nos formulários */
input,
textarea,
select {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}