/* --- 1. Reset e Base --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: white;
    background-color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- 2. SEO Utilities (Visually Hidden) --- */
/* Mantém elementos acessíveis ao Google mas invisíveis ao utilizador */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- 3. Hero Section Layout --- */
.hero {
    position: relative;
    height: 100vh;
    /* Altura total do ecrã */
    min-height: 550px;
    /* Evita que fique demasiado pequeno em landscape */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* ATENÇÃO: Confirma se o nome da imagem é mesmo este */
    background-image: url('hero-pico.jpg');
    background-size: cover;
    /* Responsivo: cobre sempre o ecrã */
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 24px;
    max-width: 800px;
    width: 100%;
    /* Animação suave na entrada */
    animation: fadeInUp 0.8s ease-out forwards;
}

/* --- 4. Tipografia e Elementos --- */
.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3rem;
    /* Grande no desktop */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    display: block;
    color: #fbbf24;
    /* Amarelo 'Açores' para contraste */
    font-size: 0.6em;
    font-weight: 600;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- 5. Botões e Ações --- */
.button-container {
    margin-bottom: 2rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #2563eb;
    /* Azul Vibrante */
    color: white;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* --- 6. Trust Signals & Footer --- */
.trust-signals {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    flex-wrap: wrap;
    font-weight: 500;
}

.site-footer {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    z-index: 10;
    padding: 0 20px;
}

/* --- 7. Animações --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 8. Responsividade (Telemóvel) --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .btn-hero {
        width: 100%;
        /* Botão full-width no mobile para toque fácil */
        padding: 16px;
    }

    .trust-signals {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.85rem;
        opacity: 0.8;
    }
}