/* ==========================================================================
   1. Reset e Estilos Base
   ========================================================================== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    color: #333;
}

body {
    position: relative;
    min-height: 100vh;
}

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

/* ==========================================================================
   2. Header e Navegação
   ========================================================================== */
.hero-header {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background: #000428;
    z-index: 1;
}


/* Em mobile, remover isolation do main-nav para permitir que o menu apareça */
@media screen and (max-width: 768px) {
    .main-nav {
        isolation: auto !important;
        contain: none !important;
    }
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    max-height: 100vh;
    pointer-events: none;
    position: absolute !important;
    clip: rect(0, auto, 100vh, 0) !important;
    clip-path: inset(0 0 0 0) !important;
    will-change: auto; /* Remover otimizações que podem causar problemas */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 4, 40, 0.7),
        rgba(0, 4, 40, 0.3)
    );
    z-index: 1;
    pointer-events: none;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    transition: all 0.3s ease;
    background: rgba(18, 57, 85, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Header quando faz scroll */
.main-nav.scrolled {
    background: rgba(18, 57, 85, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Garantir que o header fique acima do activity-hero e hero-header */
.activity-hero,
.hero-header {
    position: relative;
    z-index: 1;
}

.logo {
    height: 60px;
    cursor: pointer;
    transition: height 0.3s ease;
    pointer-events: auto;
    -webkit-touch-callout: none; /* Desabilitar menu de contexto no iOS */
    -webkit-user-select: none; /* Desabilitar seleção no iOS */
    user-select: none;
}

.logo-link {
    position: relative; 
    z-index: 1000003 !important; /* Acima de tudo, incluindo menu-toggle */
    display: inline-flex;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent; /* Remover highlight no iOS */
    touch-action: manipulation; /* Melhorar responsividade de toque */
    -webkit-touch-callout: none; /* Desabilitar menu de contexto no iOS */
}

.main-nav.scrolled .logo {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    z-index: 99999;
}

/* Overlay para menu mobile */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* IMPORTANTÍSSIMO: não bloquear cliques quando está invisível */
}

.menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto; /* só captura cliques quando o menu está aberto */
}

.activities-menu {
    position: relative;
}

/* Menu de Atividades */
.activities-btn {
    color: white;
    background: linear-gradient(45deg, rgba(0,156,166,0.2), rgba(18,57,85,0.2));
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.activities-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #123955;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10001;
}

/* Estilos do botão de atividades e dropdown */
.activities-btn:hover {
    background: linear-gradient(45deg, rgba(0,156,166,0.3), rgba(18,57,85,0.3));
}

.activities-menu:hover .activities-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.activities-dropdown a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activities-dropdown a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(45deg, #009CA6, #123955);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.activities-dropdown a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 20px;
}

.activities-dropdown a:hover::before {
    transform: scaleY(1);
}

/* Estilo do botão de contacto */
.contact-btn {
    color: white;
    background: linear-gradient(45deg, #009CA6, #123955);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 10000;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 156, 166, 0.3);
}

/* ---- WEBTEKPC: o botão da Quinta do Ondas (20-10-2026) -------------------
   Vive ao lado do Contacto, não dentro do menu das Atividades: a Quinta é um
   ESPAÇO, não uma das atividades que lá se fazem.
   Em CONTORNO e não cheio, de propósito — o botão cheio é o do Contacto, e
   dois cheios lado a lado disputavam a atenção um ao outro. O verde é o da
   mascote nova (as luvas e as folhas do lettering), o mesmo que veste a
   página da Quinta: quem carrega já sabe para onde vai. */
.quinta-btn {
    color: #fff;
    background: rgba(124, 196, 39, .14);
    border: 2px solid #7CC427;
    padding: 8px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10000;
}
.quinta-btn:hover,
.quinta-btn:focus-visible {
    background: #7CC427;
    color: #11270a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 196, 39, .35);
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.hero-content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

.hero-content > * {
    pointer-events: auto;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 80px;
    color: white;
    z-index: 2;
    min-height: 200px;
}

.glitch-text {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left;
    text-shadow: 
        2px 2px 0px #009CA6,
        -2px -2px 0px #123955;
    animation: glitch 3s infinite;
}

.animated-text {
    font-size: 48px;
    font-weight: bold;
    text-align: left;
    /* Fonte simples e limpa */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /* Opção comentada: Fonte de máquina de escrever (descomentar se quiser usar)
    font-family: 'Courier New', Courier, monospace;
    */
    opacity: 0;
    /* Removido transform e animação fadeInUp para evitar salto */
    min-height: 70px;
    display: block;
    position: relative;
    /* Sombras e duplicação colorida removidas - letring simples */
    color: white;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Transição suave para fade in/out */
    transition: opacity 0.8s ease;
}

/* Bottom Content */
.bottom-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    padding-bottom: 40px;
}

.scroll-indicator {
    position: absolute;
    /* Ajustado para considerar altura do header fixo (aprox. 100px) + espaço extra */
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 3;
}

.scroll-indicator p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

/* Wave Animation */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    transform: translateX(0);
}

.wave-path-1, .wave-path-2 {
    width: 100%;
    height: 100%;
}

.wave-path-1 {
    fill: rgba(0, 156, 166, 0.1);
    animation: wave 20s linear infinite;
}

.wave-path-2 {
    fill: rgba(18, 57, 85, 0.1);
    animation: wave 15s linear infinite reverse;
}

/* Animações */
@keyframes glitch {
    0% {
        text-shadow: 2px 2px 0px #009CA6, -2px -2px 0px #123955;
    }
    25% {
        text-shadow: -2px 2px 0px #009CA6, 2px -2px 0px #123955;
    }
    50% {
        text-shadow: 2px -2px 0px #009CA6, -2px 2px 0px #123955;
    }
    75% {
        text-shadow: -2px -2px 0px #009CA6, 2px 2px 0px #123955;
    }
    100% {
        text-shadow: 2px 2px 0px #009CA6, -2px -2px 0px #123955;
    }
}

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

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* Media Queries para o Hero */
@media screen and (max-width: 768px) {
    .hero-text {
        padding-left: 20px;
        align-items: center;
        text-align: center;
    }

    .glitch-text {
        font-size: 42px;
        text-align: center;
    }

    .animated-text {
        text-align: center;
    }
}

/* ==========================================================================
   4. Áreas e Cards
   ========================================================================== */
.areas {
    position: relative;
    background: linear-gradient(45deg, #123955, #000428);
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
    z-index: 2;
}

.areas-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.area {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: none;
    cursor: pointer;
    background: #f5f5f5;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
}

/* Logótipo stamp transparente nas áreas */
.area::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 60px;
    background-image: url('../img/logo_clean.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.25;
    z-index: 10;
    filter: brightness(0) invert(1);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.area:hover::after {
    opacity: 0.4;
}

/* Efeito Spotlight */
.area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.2),
        transparent 40%
    );
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.area:hover::before {
    opacity: 1;
}

.area-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 4, 40, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.area:hover .area-icon {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.area-icon i {
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.area:hover .area-icon i {
    transform: scale(1.1);
    color: #009CA6;
}

.area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.area:hover img {
    transform: scale(1.15);
}

.area .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 4, 40, 0.95) 0%,
        rgba(0, 4, 40, 0.95) 40%,
        rgba(0, 4, 40, 0) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px;
    transform: translateY(180px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.area:hover .overlay {
    transform: translateY(0);
}

.area h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 40px;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    width: 100%;
}

.area p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 20px;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.area:hover h3,
.area:hover p {
    transform: translateY(0);
    opacity: 1;
}

.area-btn {
    display: block;
    width: 100%;
    padding: 12px 25px;
    background: linear-gradient(45deg, #009CA6, #123955);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    text-align: center;
}

.area:hover .area-btn {
    transform: translateY(0);
    opacity: 1;
}

.area-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0, 156, 166, 0.3);
}

/* Estilos específicos para cada área */
#centro-estudos { background: linear-gradient(45deg, #FF6B6B, #FF8E53); }
#atividades-outdoor { background: linear-gradient(45deg, #4ECDC4, #556270); }
#eventos-animacao { background: linear-gradient(45deg, #C06C84, #6C5B7B); }
#programas-escolares { background: linear-gradient(45deg, #3494E6, #EC6EAD); }
#team-building { background: linear-gradient(45deg, #11998e, #38ef7d); }
#escola-surf { background: linear-gradient(45deg, #0082c8, #667db6); }

/* Media queries para os cards */
@media screen and (max-width: 768px) {
    .areas-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .area {
        height: 300px;
        width: 100%;
    }

    .area .overlay {
        transform: translateY(0) !important; /* Sempre visível em mobile */
        background: linear-gradient(
            to top,
            rgba(0, 4, 40, 0.95) 0%,
            rgba(0, 4, 40, 0.95) 60%,
            rgba(0, 4, 40, 0) 100%
        );
        align-items: center;
    }

    .area:hover .overlay {
        transform: translateY(0);
    }
    
    /* Em mobile, mostrar sempre o conteúdo dos cards */
    .area h3,
    .area p,
    .area-btn {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
    
    .area-icon {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .area h3 {
        font-size: 1.5em;
        margin-bottom: 30px;
        text-align: center;
    }

    .area p {
        font-size: 0.95em;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .area-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .area-icon {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }

    .area-icon i {
        font-size: 16px;
    }
}

/* Adicionar um novo media query para garantir uma coluna em dispositivos menores */
@media screen and (max-width: 480px) {
    .areas-inner {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.instagram,
.social-media,
.accreditations {
    position: relative;
    background: #fff;
    z-index: 2;
}

.feedbacks,
.contact-section {
    position: relative;
    background: linear-gradient(45deg, #123955, #000428);
    z-index: 2;
}

.feedbacks {
    padding: 80px 20px;
    perspective: 1000px;
}

/* Adicionar estilo para o título */
.feedbacks .section-title {
    color: #ffffff;
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.feedback-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    height: 300px;
}

.feedback-card {
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden; /* Esconder completamente quando inativo */
    transform: translateY(20px) rotateX(-10deg);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.feedback-card.active {
    opacity: 1;
    visibility: visible; /* Mostrar quando ativo */
    transform: translateY(0) rotateX(0);
    pointer-events: auto;
    z-index: 1; /* Garantir que o card ativo fique por cima */
}

.feedback-card.active .feedback-avatar {
    transform: translateY(0) translateZ(50px) rotateX(0);
}

.feedback-avatar {
    position: absolute;
    top: -30px;
    right: 30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(20px) translateZ(50px) rotateX(-10deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    transform-style: preserve-3d;
}

.feedback-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feedback-card:hover .feedback-avatar {
    transform: translateZ(70px) scale(1.1);
    border-color: #009CA6;
}

.feedback-card:hover .feedback-avatar img {
    transform: scale(1.2);
}

.feedback-content {
    transform: translateZ(30px);
}

.feedback-info {
    margin-bottom: 20px;
}

.feedback-info h3 {
    color: #123955;
    font-size: 1.4em;
    margin: 0;
}

.feedback-info span {
    color: #666;
    font-size: 0.9em;
    display: block;
    margin: 5px 0;
}

.rating {
    margin: 10px 0;
    color: #ffd700;
    font-size: 1.2em;
}

.rating i {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.feedback-card.active .rating i {
    opacity: 1;
    transform: scale(1);
}

.feedback-card.active .rating i:nth-child(1) { transition-delay: 0.1s; }
.feedback-card.active .rating i:nth-child(2) { transition-delay: 0.2s; }
.feedback-card.active .rating i:nth-child(3) { transition-delay: 0.3s; }
.feedback-card.active .rating i:nth-child(4) { transition-delay: 0.4s; }
.feedback-card.active .rating i:nth-child(5) { transition-delay: 0.5s; }

.feedback-text {
    color: #333;
    line-height: 1.6;
    font-size: 1.1em;
    margin: 15px 0;
    transform: translateZ(20px);
}

.feedback-date {
    display: block;
    color: #999;
    font-size: 0.9em;
    margin-top: 15px;
}

.feedback-nav {
    margin-top: 40px;
    text-align: center;
}

.nav-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #009CA6;
    transform: scale(1.2);
}

@media screen and (max-width: 768px) {
    .feedback-container {
        height: 350px;
    }

    .feedback-card {
        padding: 20px;
    }

    .feedback-avatar {
        width: 60px;
        height: 60px;
        top: -20px;
        right: 20px;
    }
}

.footer {
    background: linear-gradient(45deg, #123955, #000428);
    color: #fff;
    padding: 60px 20px 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #009CA6, #123955, #009CA6);
    animation: gradient-shift 8s linear infinite;
    background-size: 200% 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    color: #009CA6;
    font-size: 0.9em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #009CA6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75em;
}

.footer-links a:hover {
    color: #009CA6;
    transform: translateX(5px);
}

.footer-link-ondaplay {
    margin-top: 5px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-ondaplay-logo {
    height: 20px;
    width: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-link-ondaplay:hover .footer-ondaplay-logo {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

.footer-link-ondaplay span {
    margin-left: 8px;
}

.footer-link-ondashare {
    margin-top: 5px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-ondashare-logo {
    height: 20px;
    width: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-link-ondashare:hover .footer-ondashare-logo {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

.footer-link-ondashare span {
    margin-left: 8px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-social .footer-social-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    border-radius: 50% !important;
    background: linear-gradient(45deg, #009CA6, #123955) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden !important;
    flex-shrink: 0;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Garantir que todos os ícones, incluindo Instagram, sejam circulares */
.footer-social .footer-social-icon.instagram,
.footer-social .footer-social-icon.facebook,
.footer-social .footer-social-icon.whatsapp,
.footer-social .footer-social-icon.twitter,
.footer-social .footer-social-icon.tiktok,
.footer-social .footer-social-icon.linkedin,
.footer-social .footer-social-icon.telegram,
.footer-social .footer-social-icon.sms,
.footer-social .footer-social-icon.telefone {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
}

.footer-social .footer-social-icon i {
    font-size: 18px;
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    line-height: 1;
}

.footer-social .footer-social-icon .footer-hover-effect {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50% !important;
    width: 100% !important;
    height: 100% !important;
}

/* Cores originais de cada rede social no hover */
.footer-social .footer-social-icon.instagram .footer-hover-effect {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer-social .footer-social-icon.facebook .footer-hover-effect {
    background: linear-gradient(45deg, #3b5998, #0078ff);
}

.footer-social .footer-social-icon.whatsapp .footer-hover-effect {
    background: linear-gradient(45deg, #25d366, #128C7E);
}

.footer-social .footer-social-icon.twitter .footer-hover-effect {
    background: linear-gradient(45deg, #1DA1F2, #0d8bd9);
}

.footer-social .footer-social-icon.tiktok .footer-hover-effect {
    background: linear-gradient(45deg, #000000, #ff0050);
}

.footer-social .footer-social-icon.linkedin .footer-hover-effect {
    background: linear-gradient(45deg, #0077b5, #00a0dc);
}

.footer-social .footer-social-icon.telegram .footer-hover-effect {
    background: linear-gradient(45deg, #0088cc, #229ED9);
}

.footer-social .footer-social-icon.sms .footer-hover-effect {
    background: linear-gradient(45deg, #009CA6, #123955);
}

.footer-social .footer-social-icon.telefone .footer-hover-effect {
    background: linear-gradient(45deg, #009CA6, #123955);
}

.footer-social .footer-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-social .footer-social-icon:hover .footer-hover-effect {
    opacity: 1;
}

.footer-contact {
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75em;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
}

.footer-bottom .footer-links a i {
    font-size: 1.1em;
    opacity: 0.8;
}

.footer-bottom .footer-links a:hover {
    color: #009CA6;
    transform: translateY(-2px);
}

/* Media query para ajustar em mobile */
@media screen and (max-width: 768px) {
    .footer-bottom .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-bottom .footer-links a {
        justify-content: center;
    }
}

@keyframes gradient-shift {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* Media Queries para o Footer */
@media screen and (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-column:nth-child(4),
    .footer-column:nth-child(5) {
        grid-column: span 3;
        margin-top: 20px;
    }
    
    .footer-legal {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-column:nth-child(4),
    .footer-column:nth-child(5) {
        grid-column: span 1;
    }
    
    .footer-legal {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

.particle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
    transform: translateZ(0);
    will-change: transform;
}

/* ==========================================================================
   Últimas publicações — grelha de cards estilo rede social (index.php)
   ========================================================================== */
.instagram {
    background: linear-gradient(180deg, #f4f7fb 0%, #edf2f7 100%);
    padding: 70px 20px 80px;
}

.instagram .section-title {
    color: #123955;
    font-size: 2.5em;
    margin-bottom: 50px;
}

.social-grid-wrap {
    max-width: 1140px;
    margin: 0 auto;
}

.social-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.social-grid[hidden],
.social-grid-status[hidden],
.social-more[hidden] {
    display: none;
}

/* Card */
.social-card {
    --net-color: #dd2a7b;
    --net-text: #c13584;
    --net-ring: linear-gradient(45deg, #f58529 0%, #dd2a7b 40%, #8134af 75%, #515bd4 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(18, 57, 85, 0.06), 0 8px 24px rgba(18, 57, 85, 0.08);
    color: #1f2d3a;
    text-align: left;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card--facebook {
    --net-color: #1877F2;
    --net-text: #0f63d6;
    --net-ring: linear-gradient(45deg, #1877F2 0%, #0b5fcc 100%);
}

.social-card:focus-within {
    box-shadow: 0 1px 2px rgba(18, 57, 85, 0.06), 0 8px 24px rgba(18, 57, 85, 0.08), 0 0 0 3px rgba(0, 156, 166, 0.35);
}

/* Ligação que cobre o card inteiro (os controlos internos ficam por cima) */
.social-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}

/* Cabeçalho: avatar + nome + @conta + rede */
.social-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.social-card-avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 2px;
    border-radius: 50%;
    background: var(--net-ring);
}

.social-card-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
}

.social-card-id {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.social-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #123955;
}

.social-card-handle {
    font-size: 13px;
    color: #6b7a88;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-card-net {
    flex: 0 0 auto;
    display: inline-block;
    font-size: 23px;
    color: var(--net-color);
}

.social-card--instagram .social-card-net {
    background: var(--net-ring);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Imagem / vídeo */
.social-card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #e9eef3;
}

.social-card-media > img,
.social-card .video-thumbnail-preview,
.social-card .post-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-card .video-container {
    position: absolute;
    inset: 0;
}

.social-card .post-video {
    z-index: 3;
    background: #000;
    cursor: pointer;
}

.social-card .video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-card .video-play-overlay i {
    font-size: 22px;
    margin-left: 4px;
}

.social-card .video-play-overlay.is-external i {
    margin-left: 0;
    font-size: 20px;
}

.social-card .video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: scale(1.08);
}

/* Post sem imagem (ou imagem expirada): cor da rede + logótipo */
.social-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--net-ring);
    color: rgba(255, 255, 255, 0.92);
    font-size: 64px;
}

/* Ícone "várias imagens" */
.social-card-kind {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    font-size: 15px;
    pointer-events: none;
}

/* Corpo: ações, legenda, data e ligação */
.social-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 12px 16px 14px;
}

.social-card-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    color: #1f2d3a;
}

.social-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.social-stat i {
    font-size: 19px;
    color: #1f2d3a;
}

.social-stat--likes i {
    color: #e0245e;
}

.social-stat-num.is-empty {
    color: #9aa7b3;
    font-weight: 400;
}

.social-card-caption {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.5;
    color: #34495e;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.social-card-caption strong {
    color: #123955;
    font-weight: 700;
}

.social-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eef2f6;
}

.social-card-time {
    font-size: 12.5px;
    color: #7b8b9a;
}

.social-card-cta {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 2px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--net-text);
    text-decoration: none;
    white-space: nowrap;
}

.social-card-cta:hover {
    text-decoration: underline;
}

.social-card-cta:focus-visible,
.social-card .video-play-overlay:focus-visible,
.social-more-btn:focus-visible {
    outline: 3px solid #009CA6;
    outline-offset: 3px;
}

.social-card .vh {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Esqueletos (a carregar) */
.social-card--skeleton {
    cursor: default;
}

.social-sk {
    display: block;
    border-radius: 6px;
    background: linear-gradient(90deg, #e6ecf1 0%, #f3f6f9 45%, #e6ecf1 90%);
    background-size: 200% 100%;
    animation: socialSkeleton 1.4s ease-in-out infinite;
}

.social-sk-avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.social-sk-lines {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 7px;
}

.social-sk-line { height: 10px; }
.social-sk-w30 { width: 30%; }
.social-sk-w40 { width: 40%; }
.social-sk-w60 { width: 60%; }
.social-sk-w70 { width: 70%; }
.social-sk-w90 { width: 90%; }

.social-card-media.social-sk {
    border-radius: 0;
}

@keyframes socialSkeleton {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Mensagens (sem posts / erro) */
.social-grid-status {
    max-width: 520px;
    margin: 0 auto;
    padding: 36px 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(18, 57, 85, 0.06), 0 8px 24px rgba(18, 57, 85, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    color: #4a5d6e;
}

.social-grid-status i {
    font-size: 30px;
    color: #009CA6;
}

/* Ver mais publicações */
.social-more {
    margin-top: 36px;
    text-align: center;
}

.social-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border: 2px solid #123955;
    border-radius: 999px;
    background: #fff;
    color: #123955;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) {
    .social-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 2px 4px rgba(18, 57, 85, 0.06), 0 16px 36px rgba(18, 57, 85, 0.14);
    }

    .social-card:hover .social-card-media > img,
    .social-card:hover .video-thumbnail-preview {
        transform: scale(1.03);
    }

    .social-card--skeleton:hover {
        transform: none;
        box-shadow: 0 1px 2px rgba(18, 57, 85, 0.06), 0 8px 24px rgba(18, 57, 85, 0.08);
    }

    .social-more-btn:hover {
        background: #123955;
        color: #fff;
        transform: translateY(-2px);
    }
}

/* Tablet: 2 colunas */
@media screen and (max-width: 1024px) {
    .social-grid-wrap {
        max-width: 760px;
    }

    .social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

/* Telemóvel: fila que desliza (scroll-snap), card a ~82% */
@media screen and (max-width: 640px) {
    .instagram {
        padding: 50px 0 60px;
    }

    .instagram .section-title {
        font-size: 2em;
        margin: 0 20px 40px;
    }

    .social-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        gap: 14px;
        padding: 6px 20px 20px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 20px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .social-grid::-webkit-scrollbar {
        display: none;
    }

    .social-card {
        scroll-snap-align: start;
    }

    .social-more {
        margin: 8px 20px 0;
    }

    .social-grid-status {
        margin: 0 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .social-card,
    .social-card-media > img,
    .social-card .video-thumbnail-preview,
    .social-card .video-play-overlay,
    .social-more-btn {
        transition: none;
    }

    .social-card:hover,
    .social-more-btn:hover,
    .social-card .video-play-overlay:hover,
    .social-card:hover .social-card-media > img,
    .social-card:hover .video-thumbnail-preview {
        transform: none;
    }

    .social-sk {
        animation: none;
    }
}

.social-media {
    background: #ffffff;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.social-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 4, 40, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(18, 57, 85, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(45deg, #123955, #000428);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    overflow: hidden;
    min-width: 250px;
}

.social-icon {
    font-size: 24px;
    margin-right: 15px;
    position: relative;
    z-index: 2;
}

.social-info {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.social-name {
    font-size: 18px;
    font-weight: 600;
}

.social-handle {
    font-size: 14px;
    opacity: 0.8;
}

.hover-effect {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Estilos específicos para cada rede social */
.social-link.instagram .hover-effect {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-link.facebook .hover-effect {
    background: linear-gradient(45deg, #3b5998, #0078ff);
}

.social-link.whatsapp .hover-effect {
    background: linear-gradient(45deg, #25d366, #128C7E);
}

.social-link.twitter .hover-effect {
    background: linear-gradient(45deg, #1DA1F2, #0d8bd9);
}

.social-link.tiktok .hover-effect {
    background: linear-gradient(45deg, #000000, #ff0050);
}

.social-link.linkedin .hover-effect {
    background: linear-gradient(45deg, #0077b5, #00a0dc);
}

.social-link.telegram .hover-effect {
    background: linear-gradient(45deg, #0088cc, #229ED9);
}

.social-link.sms .hover-effect {
    background: linear-gradient(45deg, #009CA6, #123955);
}

.social-link.telefone .hover-effect {
    background: linear-gradient(45deg, #009CA6, #123955);
}

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

.social-link:hover .hover-effect {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .social-link {
        width: 90%;
        max-width: 300px;
    }
}

.accreditations {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.accreditations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,156,166,0.05) 0%, rgba(18,57,85,0.05) 100%);
    z-index: 1;
}

.accreditations .section-title {
    color: #123955;
    font-size: 2.5em;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.accreditations .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #009CA6, #123955);
    border-radius: 2px;
}

.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.accreditation-item {
    perspective: 1000px;
}

.accreditation-card {
    position: relative;
    width: 100%;
    height: 180px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.accreditation-item:hover .accreditation-card {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.card-front {
    background: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-front img {
    max-width: 100px;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: all 0.3s ease;
}

.card-back {
    background: linear-gradient(45deg, #123955, #000428);
    transform: rotateY(180deg);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.card-back h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #009CA6;
}

.card-back p {
    font-size: 0.85em;
    line-height: 1.3;
    opacity: 0.9;
}

.accreditation-number {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    color: #FFD700;
    font-size: 0.8em;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
    .accreditations-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
    }

    .accreditation-card {
        height: 160px;
    }
}

/* Estilos para menu mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1000000 !important;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Media queries para responsividade */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    /* NÃO forçar display:block aqui - o overlay só aparece quando .active está presente */
    .menu-overlay {
        display: none;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100%;
        height: 100vh !important;
        width: 80%;
        max-width: 300px;
        background: rgba(17, 17, 17, 0.98) !important;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        backdrop-filter: blur(10px);
        z-index: 9999999 !important;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        isolation: auto !important;
        contain: none !important;
        transform: translateZ(0);
    }

    .nav-links.active {
        right: 0;
        display: flex !important;
        z-index: 9999999 !important;
    }
    
    /* Garantir que o menu overlay também tenha z-index alto */
    .menu-overlay {
        z-index: 9999998 !important;
    }

    .activities-menu {
        width: 100%;
    }

    .activities-btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .activities-dropdown {
        position: static;
        width: 100%;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .activities-dropdown.active {
        display: block;
    }

    .activities-dropdown a {
        color: white;
        padding: 15px;
        text-align: center;
        background: rgba(255,255,255,0.1);
        margin: 5px 0;
    }

    .quinta-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        box-sizing: border-box;
    }

    .contact-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

/* ==========================================================================
   8. Formulário de Contacto
   ========================================================================== */
.contact-section {
    padding: 80px 20px;
    position: static;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 156, 166, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(18, 57, 85, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #009CA6, #123955);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #009CA6, #123955);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.input-wrapper input:focus ~ .input-border,
.input-wrapper textarea:focus ~ .input-border,
.input-wrapper input:valid ~ .input-border,
.input-wrapper textarea:valid ~ .input-border {
    transform: scaleX(1);
}

.input-wrapper label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-wrapper textarea ~ label {
    top: 20px;
    transform: none;
}

.input-wrapper input:focus ~ label,
.input-wrapper textarea:focus ~ label,
.input-wrapper input:valid ~ label,
.input-wrapper textarea:valid ~ label {
    transform: translateY(-30px) scale(0.8);
    color: #009CA6;
}

.validation-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 5px;
}

.validation-icon i {
    opacity: 0;
    transition: all 0.3s ease;
}

.validation-icon .fa-check {
    color: #009CA6;
}

.validation-icon .fa-times {
    color: #ff4444;
}

.input-wrapper input:valid ~ .validation-icon .fa-check {
    opacity: 1;
}

.input-wrapper input:invalid:not(:placeholder-shown) ~ .validation-icon .fa-times {
    opacity: 1;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    appearance: none;
    cursor: pointer;
}

.select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #009CA6;
    pointer-events: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #009CA6, #123955);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 156, 166, 0.3);
}

.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 4, 40, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.success-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    transform: scale(0.7) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 450px;
}

.success-modal.active .success-content {
    transform: scale(1) translateY(0);
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #009CA6, #123955);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(0, 156, 166, 0.4);
    animation: successPulse 0.6s ease-out;
    position: relative;
}

.success-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, #009CA6, #123955);
    opacity: 0.5;
    animation: ripple 1.5s ease-out infinite;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.success-icon i {
    color: #fff;
    font-size: 50px;
    position: relative;
    z-index: 1;
    animation: checkMark 0.5s ease-out 0.2s both;
}

@keyframes checkMark {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-content h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.success-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

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

@media screen and (max-width: 768px) {
    .success-content {
        padding: 40px 30px;
        width: 90%;
    }
    
    .success-icon {
        width: 80px;
        height: 80px;
    }
    
    .success-icon i {
        font-size: 40px;
    }
    
    .success-content h3 {
        font-size: 24px;
    }
    
    .success-content p {
        font-size: 14px;
    }
}

/* ==========================================================================
   Announcement Popup
   ========================================================================== */
.announcement-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.announcement-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 4, 40, 0.95);
    backdrop-filter: blur(5px);
    z-index: 10000;
}

.announcement-content {
    position: relative;
    z-index: 10001;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 50px 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.7) translateY(20px);
    animation: announcementSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    color: white;
    opacity: 1 !important;
}

@keyframes announcementSlideIn {
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.announcement-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.announcement-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.announcement-body {
    margin-top: 10px;
}

.announcement-body h1,
.announcement-body h2,
.announcement-body h3 {
    color: white;
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.announcement-body h1:first-child,
.announcement-body h2:first-child,
.announcement-body h3:first-child {
    margin-top: 0;
}

.announcement-body p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.announcement-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.announcement-body video {
    max-width: 100%;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.announcement-body ul,
.announcement-body ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.announcement-body li {
    margin-bottom: 8px;
}

.announcement-body a {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.announcement-body a:hover {
    color: #FFA500;
}

.announcement-body strong {
    font-weight: 700;
}

.announcement-body em {
    font-style: italic;
}

.announcement-body code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.announcement-body blockquote {
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


@media (max-width: 768px) {
    .announcement-content {
        padding: 30px 20px;
        max-width: 95%;
    }
    
    .announcement-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

@media screen and (max-width: 768px) {
    .contact-container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }
}

/* Estilos para a seção legal */
.footer-legal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    max-width: 200px; /* Limitar a largura para manter compacto */
}

.legal-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.75em;
}

.legal-item i {
    font-size: 0.9em;
    color: #009CA6;
    width: 14px;
    text-align: center;
}

.legal-item span {
    white-space: nowrap;
    font-weight: 300;
}

.legal-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(2px);
    color: #009CA6;
}

/* Estilos específicos para o logo do Livro de Reclamações */
.legal-item.livro-reclamacoes {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
}

.livro-reclamacoes-logo {
    height: auto;
    max-width: 160px;
    width: auto;
    max-height: 40px;
    display: block;
    transition: all 0.3s ease;
    filter: brightness(1);
    object-fit: contain;
    margin: 0;
}

.legal-item.livro-reclamacoes:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(2px);
}

.legal-item.livro-reclamacoes:hover .livro-reclamacoes-logo {
    filter: brightness(1.1);
}

/* Garantir visibilidade e contraste no footer escuro */
.footer .livro-reclamacoes-logo {
    opacity: 1;
}

/* Media query para mobile */
@media screen and (max-width: 768px) {
    .livro-reclamacoes-logo {
        max-width: 140px;
        max-height: 35px;
    }
}

/* Ajuste das media queries */
@media screen and (max-width: 1200px) {
    .footer-legal {
        margin: 0 auto; /* Centralizar quando estiver em tela menor */
    }
}

@media screen and (max-width: 768px) {
    .footer-legal {
        gap: 4px;
    }
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
}

.developer-link {
    color: #009CA6;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.developer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 4, 40, 0.9);
    border: 2px solid #009CA6;
    color: #009CA6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    backdrop-filter: blur(8px);
}

.back-to-top::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, #009CA6, #123955);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 156, 166, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Efeito de Typing */
.typing-container {
    display: flex;
    align-items: center;
    height: 50px;
    margin-top: 20px;
}

.typing-text {
    color: white;
    font-size: 24px;
    margin: 0;
    white-space: nowrap;
}

.typing-cursor {
    color: #009CA6;
    font-size: 24px;
    animation: blink 0.7s infinite;
    margin-left: 2px;
}

/* Wave Animation */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 2;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    transform: translateX(0);
}

.wave-path-1, .wave-path-2 {
    width: 100%;
    height: 100%;
}

.wave-path-1 {
    fill: rgba(0, 156, 166, 0.1);
    animation: wave 20s linear infinite;
}

.wave-path-2 {
    fill: rgba(18, 57, 85, 0.1);
    animation: wave 15s linear infinite reverse;
}

/* Animações */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Parallax Effect */
.particle-overlay {
    transform: translateZ(0);
    will-change: transform;
}

.hero-text {
    transform: translateZ(50px);
    perspective: 1000px;
}

/* Media query para mobile */
@media screen and (max-width: 768px) {
    .hero-text {
        padding-left: 20px;
    }
    
    .animated-text {
        font-size: 32px;
        min-height: 50px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        word-wrap: break-word;
        max-width: calc(100vw - 40px);
    }
    
    .logo {
        height: 50px;
    }
    
    .main-nav.scrolled .logo {
        height: 45px;
    }
}

.social-media .section-title {
    color: #123955;
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: none;
    position: relative;
    z-index: 2;
}

/* Estilo base para todos os títulos de seção */
.section-title {
    font-size: 2.5em;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #009CA6, #123955);
    border-radius: 2px;
}

/* Títulos em fundo claro (Instagram, Acreditações, Social Media) */
.instagram .section-title,
.accreditations .section-title,
.social-media .section-title {
    color: #123955;
}

/* Títulos em fundo escuro (Feedbacks, Contacto) */
.feedbacks .section-title,
.contact-section .section-title {
    color: #ffffff;
}

/* Ajuste para mobile */
@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }
}

/* Estilos para o formulário de contacto mantendo o visual atual */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 25px;
    position: relative;
}

.form-row.form-required .form-label::after {
    content: " *";
    color: #ff4444;
}

.form-label {
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(0, 156, 166, 0.3);
}

.form-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #009CA6, #123955) !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 156, 166, 0.3);
}

.form-errormsg {
    color: #ff4444;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.form-checkbox-wrapper {
    margin-bottom: 25px;
    position: relative;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #009CA6;
    flex-shrink: 0;
}

.checkbox-label {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    cursor: pointer;
    user-select: none;
}

.checkbox-label .required {
    color: #ff4444;
    margin-left: 3px;
}

.terms-link {
    color: #009CA6;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #00d4e6;
    text-decoration: none;
}

.form-error,
.form-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-error {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.5);
}

.form-message {
    background: rgba(0, 156, 166, 0.2);
    color: #009CA6;
    border: 1px solid rgba(0, 156, 166, 0.5);
}

/* Estilizar o select */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%2300ff88'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-select option {
    background: #1a1a2e;
    color: #fff;
}

/* Ajustes para mobile */
@media screen and (max-width: 768px) {
    .contact-form {
        padding: 0 15px;
    }
    
    .form-button {
        font-size: 16px !important;
    }
}
/* ---- WEBTEKPC: rodapé em ecrãs médios e pequenos ----
   Até 1200px o rodapé passava a 3 colunas e as duas últimas ("Redes Sociais" e
   "Legal") ocupavam cada uma uma linha inteira, com o Legal espremido a 200px e
   centrado; até 768px ficava tudo numa coluna. Agora:
   · até 1200px: 3 colunas em cima + Redes Sociais e Legal lado a lado em baixo
   · até 900px:  2 colunas (Sobre | Atividades, Contactos | Redes) + Legal a toda a largura
   · até 560px:  1 coluna, com os links legais em duas colunas
   Vem no fim do ficheiro de propósito: ganha às regras antigas do rodapé. */
@media screen and (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 36px 32px;
    }
    .footer-column {
        grid-column: span 2;
    }
    .footer-column:nth-child(4),
    .footer-column:nth-child(5) {
        grid-column: span 3;
        margin-top: 0;
    }
    .footer-legal {
        max-width: none;
        margin: 0;
        grid-template-columns: repeat(2, max-content);
        gap: 8px;
    }
}

@media screen and (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-column,
    .footer-column:nth-child(4) {
        grid-column: span 1;
    }
    .footer-column:nth-child(5) {
        grid-column: 1 / -1;
    }
    .footer-legal {
        grid-template-columns: repeat(auto-fill, minmax(180px, max-content));
    }
}

@media screen and (max-width: 560px) {
    .footer-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .footer-column:nth-child(5) {
        grid-column: auto;
    }
    .footer-legal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   A FAIXA DE PRÉ-VISUALIZAÇÃO (16-10-2026)
   ══════════════════════════════════════════════════════════════════════════
   Só aparece a quem entrou com a chave enquanto o site está em manutenção.
   É deliberadamente amarela: não é decoração, é um aviso de que o que se está
   a ver não é o que o público vê. A mesma faixa existe no `assets/css/v2.css`
   para a página da Quinta.
   ══════════════════════════════════════════════════════════════════════════ */
.pre-visualizacao {
    position: sticky; top: 0; z-index: 2500;
    margin: 0; padding: 9px 16px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: #FFD24A; color: #3A2B00;
    font-size: .9rem; font-weight: 600; text-align: center; line-height: 1.35;
    box-shadow: 0 2px 10px -4px rgba(0, 0, 0, .35);
}
.pre-visualizacao strong { font-weight: 800; }

/* O link para a versão da Quinta em avaliação (16-10-2026). Discreto: não é
   para o público, é para a Onda d'Ideias comparar as duas. Sai daqui quando
   houver decisão. */
.footer-link-previa {
    opacity: .6;
    font-style: italic;
    font-size: .92em;
}
.footer-link-previa:hover { opacity: 1; }
