/* =============================================
   ESTILOS GLOBAIS E RESET
   ============================================= */
body, html { margin: 0; padding: 0; font-family: "Lato", sans-serif; background-color: #f4f4f4; overflow-x: hidden; }
.container { max-width: 1100px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
.content-box { background-color: #ffffff; border-radius: 8px; padding: 20px; margin: 20px 0; }

/* =============================================
   LAYOUT PRINCIPAL (HEADER, NAV, FOOTER)
   ============================================= */

#main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 990; padding: 10px 0; border-bottom: 1px solid transparent; transition: all 0.3s ease-in-out; box-sizing: border-box; }
/* ALTERADO: padding reduzido de 20px para 10px */
.header-content-wrapper { display: flex; align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 10px; box-sizing: border-box; }

/* Botão Hamburger - ALTERADO: margin-right reduzido de 20px para 5px */
#menu-toggle { font-size: 20px; background-color: rgba(0, 0, 0, 0.4); border: none; cursor: pointer; color: #fff; margin-right: 5px; transition: all 0.3s ease-in-out; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); }
#menu-toggle:hover { background-color: rgba(0, 0, 0, 0.7); transform: scale(1.05); }

/* Botão de Perfil - ALTERADO: margin-left 15->5px, margin-right 20->15px */
.header-profile-btn { margin-left: 5px; margin-right: 15px; font-size: 20px; background-color: rgba(0, 0, 0, 0.4); border: none; cursor: pointer; color: #fff; transition: all 0.3s ease-in-out; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); text-decoration: none; }
.header-profile-btn:hover { background-color: rgba(0, 0, 0, 0.7); transform: scale(1.05); color: #ffd700; }

/* --- Logo --- */
.header-logo a { display: inline-block; position: relative; height: 40px; width: 150px; }
.header-logo img { height: 40px; display: block; transition: opacity 0.3s ease-in-out 0.1s; position: absolute; top: 0; left: 0; }
#logo-white { opacity: 1; filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(0, 0, 0, 0.9)); }
#logo-black { opacity: 0; }

/* --- ESTADO SCROLLED --- */
#main-header.scrolled { background-color: #1a1a1a; transition: all 0.3s ease-in-out; }
#main-header.scrolled #logo-white { opacity: 0; }
#main-header.scrolled #logo-black { opacity: 1; }  

/* --- AJUSTE PARA CONTEÚDO NÃO FICAR ATRÁS DO HEADER --- */
#page-content { padding-top: 0px; transition: padding-top 0.3s ease-in-out; }

/* =============================================
   MENU LATERAL MODERNIZADO (FUNDO ESCURO)
   ============================================= */
#menu-lateral { position: fixed; top: 0; left: 0; width: 350px; max-width: 90%; height: 100vh; background-color: #1a1a1a; color: #aaa; padding: 25px; box-shadow: 2px 0 10px rgba(0, 0, 0, 0.25); z-index: 1000; transform: translateX(-100%); transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); box-sizing: border-box; overflow-y: auto; display: flex; flex-direction: column; }
@media (max-width: 768px) { #menu-lateral { width: 330px; } }
#menu-lateral.active { transform: translateX(0); }

/* Botão de Fechar */
#close-menu-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; color: #eee; font-size: 2.8rem; font-weight: 300; line-height: 1; cursor: pointer; padding: 5px; transition: color 0.2s ease, transform 0.2s ease; }
#close-menu-btn:hover { color: #ffd700; transform: rotate(90deg); }

/* Logo no Menu */
#menu-lateral .menu-logo { text-align: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #333; }
#menu-lateral .menu-logo img { max-width: 60%; display: inline-block; }

/* Lista de Links */
#menu-lateral ul { list-style: none; padding: 0; margin: 0 0 30px 0; flex-grow: 1; }
#menu-lateral li { border-bottom: 1px solid #333; }
#menu-lateral li:last-child { border-bottom: none; }
#menu-lateral li a { display: block; padding: 16px 10px; text-decoration: none; color: #f4f4f4; font-size: 1rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.5px; border-left: 3px solid transparent; transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease, border-color 0.2s ease; }
#menu-lateral li a:hover { color: #ffd700; background-color: #222; padding-left: 20px; }
#menu-lateral li.current-page a { color: #ffd700; font-weight: 700; border-left-color: #ffd700; padding-left: 17px; }

/* Ícones Sociais */
.menu-social-icons { margin-top: 20px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; padding-bottom: 25px; border-bottom: 1px solid #333; }
.menu-social-icons a { color: #eee; font-size: 1.4rem; text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; }
.menu-social-icons a:hover { color: #ffd700; transform: scale(1.1); }

/* Informação de Contacto */
.menu-contact-info { margin-top: 25px; padding-top: 0; border-top: none; font-size: 0.95rem; }
.menu-contact-info p { margin: 0 0 12px 0; display: flex; align-items: center; color: #aaa; }
.menu-contact-info i { color: #ffd700; font-size: 1.1rem; width: 25px; margin-right: 10px; text-align: center; flex-shrink: 0; }
.menu-contact-info a { color: #aaa; text-decoration: none; word-break: break-all; transition: color 0.2s ease; }
.menu-contact-info a:hover { color: #ffd700; }

/* --- Overlay --- */
#overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 999; display: none; opacity: 0; transition: opacity 0.3s ease-in-out; }
#overlay.active { display: block; opacity: 1; }

/* --- Rodapé (Footer) --- */
#main-footer { background-color: #2e2e2e; color: #ccc; padding-top: 60px; font-size: 0.9rem; line-height: 1.6; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-bottom: 50px; padding-right: 10px; padding-left: 10px; }
@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 { color: #ffffff; font-size: 1rem; font-weight: 600; text-transform: uppercase; margin-top: 0; margin-bottom: 25px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #ccc; text-decoration: none; transition: color 0.3s ease; }
.footer-col ul a:hover { color: #ffd700; }
.footer-col.col-links { justify-self: center; }
@media (max-width: 768px) { .footer-col.col-links { justify-self: start; } }

.col-contact { margin-bottom: 25px; filter: brightness(0) invert(1) saturate(0) contrast(5) brightness(1.5) hue-rotate(0deg) saturate(100%) brightness(1.1) contrast(1.1) hue-rotate(-50deg) saturate(1000%); }
.logo-footer { margin-bottom: 25px; }
.logo-footer img { max-height: 70px; width: auto; }

.contact-list li { display: flex; align-items: flex-start; margin-bottom: 15px; }
.contact-list i { color: #ffd700; font-size: 1.1rem; width: 25px; margin-right: 10px; margin-top: 5px; text-align: center; flex-shrink: 0; }
.contact-list span { flex: 1; word-break: break-word; }
.contact-list span a { color: #ccc; text-decoration: none; transition: color 0.3s ease; word-break: break-all; }
.contact-list span a:hover { color: #ffd700; }

.social-icons-footer { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 25px; }
.social-icons-footer a { color: #ffffff; font-size: 1.2rem; transition: color 0.3s ease; }
.social-icons-footer a:hover { color: #ffd700; }

.col-social ul { margin-top: 20px; }
.col-newsletter input[type="email"] { width: 100%; padding: 12px; color: #fff; background-color: #333; border: 1px solid #555; border-radius: 4px; margin-bottom: 10px; box-sizing: border-box; }
.col-newsletter button { width: 100%; background-color: #ffd700; color: #222; font-weight: bold; border: none; padding: 12px; cursor: pointer; border-radius: 4px; font-size: 1em; text-transform: uppercase; }
.col-newsletter button:hover { background-color: #e6c300; }

.footer-sub { background-color: #1c1c1c; padding: 5px; }
.footer-sub .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
@media (max-width: 768px) { .footer-sub .container { flex-direction: column; gap: 20px; text-align: center; } }
.footer-sub img { display: block; height: 50px; width: auto; filter: grayscale(1) brightness(1.5); }

.footer-post { background-color: #000000; padding: 25px 0; color: #888; font-size: 0.8rem; }
.footer-post .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
@media (max-width: 768px) { .footer-post .container { flex-direction: column; gap: 20px; text-align: center; } }

.copyright-text span { display: block; }
.copyright-text a { color: #ffd700; text-decoration: none; }
.disclaimer-text { text-align: right; }
@media (max-width: 768px) { .disclaimer-text { text-align: center; } }

/* Botão WhatsApp Simples (Círculo Amarelo) */
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; background-color: #ffd700; color: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; z-index: 998; box-shadow: 0 4px 10px rgba(0,0,0,0.3); text-decoration: none; transition: transform 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); }
@media (max-width: 768px) { .whatsapp-float { width: 50px; height: 50px; font-size: 28px; bottom: 15px; right: 15px; } }

/* =============================================
   COMPONENTES (SLIDER HOME, FORMULÁRIOS)
   ============================================= */

/* --- SLIDER HOME (BANNER) --- */
.slider-container { width: 100%; height: 100vh; position: relative; }
.swiper-slide { width: 100%; height: 100%; position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.swiper-slide::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.slide-bg-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
@media (max-width: 768px) { .slide-bg-image[src*="mercado-viagens.jpg"] { object-position: center bottom !important; transform: translateY(-2%) !important; } }

.swiper-slide:has(img[src*="chic-banner.jpg"]) .slide-bg-image { transform: scale(1.3); transition: transform 0.8s ease-out;}
@media (max-width: 1500px) { .swiper-slide:has(img[src*="chic-banner.jpg"]) .slide-bg-image { transform: scale(1.3) translate(+10%, +5%); transition: transform 0.8s ease-out; } }
@media (max-width: 768px) { .swiper-slide:has(img[src*="chic-banner.jpg"]) .slide-bg-image { transform: scale(1.3) translate(+10%, +5%); transition: transform 0.8s ease-out; } }

.slide-content { position: relative; z-index: 10; color: white; text-align: center; max-width: 90%; }
.slide-logo-overlay { max-height: 100px; margin-bottom: 10px; filter: brightness(0) invert(1); }
.slide-subtitle { font-size: 1.2rem; font-weight: 300; letter-spacing: 2px; text-transform: uppercase; opacity: 0; transform: translateX(-300px); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.slide-title { font-size: 2.8rem; font-weight: 700; margin: 10px 0 30px 0; opacity: 0; transform: translateX(300px); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
@media (max-width: 768px) { .slide-title { font-size: 1.5rem; white-space: nowrap; margin: 10px 0 20px 0; } }

.btn-saiba-mais { display: inline-block; padding: 12px 30px; border: none; background-color: #ffd700; color: #222; text-decoration: none; text-transform: uppercase; font-weight: bold; opacity: 0; transform: translateY(20px); transition: background-color 0.3s ease; border-radius: 4px; }
.btn-saiba-mais:hover { background-color: #e6c300; color: #222; }

.swiper-slide-active .slide-subtitle { opacity: 1; transform: translateX(0) translateY(0); transition: transform 0.8s ease-out, opacity 0.8s ease-out; }
.swiper-slide-active .slide-title { opacity: 1; transform: translateX(0) translateY(0); transition: transform 0.8s ease-out 0.2s, opacity 0.8s ease-out 0.2s; }
.swiper-slide-active .btn-saiba-mais { opacity: 1; transform: translateX(0) translateY(0); transition: transform 0.6s ease-out 0.4s, opacity 0.6s ease-out 0.4s, background-color 0.3s ease; }

.swiper-pagination { bottom: 20px !important; }
.swiper-pagination-bullet { width: 25px; height: 4px; border-radius: 2px; background-color: rgba(255, 255, 255, 0.5); opacity: 1; transition: all 0.3s ease; }
.swiper-pagination-bullet-active { background-color: #ffd700; width: 35px; }
.swiper-button-prev, .swiper-button-next { color: #ffd700; }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 2rem !important; font-weight: bold; }
@media (max-width: 768px) { .services-prev, .services-next { display: none; } }

/* Formulários Globais */
form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; background-color: #f4f4f4; padding: 20px; border-radius: 8px; margin-top: 20px; }
#main-footer form { display: block; background-color: transparent; padding: 0; margin-top: 0; border-radius: 0; gap: 0; }
form label { font-weight: bold; margin-bottom: 5px; display: block; }
form input[type="text"], form input[type="email"], form input[type="tel"], form input[type="number"], form textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
form button { grid-column: 1 / -1; padding: 12px; background-color: #ffd700; color: #333; border: none; border-radius: 4px; cursor: pointer; font-size: 1.1em; font-weight: bold; }

/* =============================================
   SECÇÕES DE PÁGINA (INTRO HOME & PARALLAX HOME)
   ============================================= */
.intro-section { padding: 100px 0; background-color: #ffffff; text-align: center; }
.intro-grid { max-width: 900px; margin: 0 auto; display: block; }
@media (max-width: 768px) { .intro-grid { grid-template-columns: 1fr; gap: 30px; } }

.intro-text { /* Vazio por agora, mas mantido para estrutura */ }
@media (max-width: 768px) { .intro-text { text-align: center; } }

.intro-text .text-decoration { margin-bottom: 35px; }
.intro-text .text-decoration hr { border: none; height: 4px; background-color: #ffd700; width: 80px; margin: 0 auto; }
@media (max-width: 768px) { .intro-text .text-decoration hr { width: 120px; } }

.intro-text h2 { font-size: 3rem; font-weight: 700; color: #333; margin-top: 0; margin-bottom: 30px; line-height: 1.2; }
@media (max-width: 768px) { .intro-text h2 { font-size: 2rem; } }

.intro-text p { font-size: 1.1rem; color: #555; line-height: 1.8; margin-bottom: 25px; }

.parallax-section { position: relative; padding: 100px 0; background-image: url("https://yellowgroup.pt/assets/imagens/parallax-about-background.jpg"); background-position: center center; background-repeat: no-repeat; background-size: cover; background-attachment: fixed; color: white; text-align: center; overflow: hidden; }
@media (max-width: 768px) { .parallax-section { background-attachment: scroll !important; background-position: center center !important; } }

.parallax-overlay { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.3); z-index: 1; }
.parallax-section .container { position: relative; z-index: 2; }

.parallax-section h2 { font-size: 2.5rem; font-weight: 700; margin-top: 0; margin-bottom: 20px; text-transform: uppercase; }
@media (max-width: 768px) { .parallax-section h2 { font-size: 1.8rem; } }

.parallax-section p { font-size: 1.2rem; font-weight: 300; max-width: 800px; margin: 0 auto; line-height: 1.6; }
@media (max-width: 768px) { .parallax-section p { font-size: 1rem; } }

/* =============================================
   ESTILOS CABEÇALHO PÁGINA INTERNA
   ============================================= */
.page-header { position: relative; height: 50vh; min-height: 330px; background-color: #555; background-position: center center; background-repeat: no-repeat; background-size: cover; display: flex; align-items: center; justify-content: center; color: white; text-align: center; overflow: hidden; }
@media (max-width: 768px) { .page-header { height: 40vh; min-height: 200px; } }

body.page-sobre-nos .page-header { background-image: url("/assets/imagens/sobre-nos-banner.jpg"); }
body.page-mercado-viagens .page-header { background-image: url("/assets/imagens/mercado-viagens.jpg"); }
@media (max-width: 768px) { body.page-mercado-viagens .page-header { background-position: center bottom !important; } }
body.page-viagens-finalistas .page-header { background-image: url("/assets/imagens/prime-on.jpg"); }
body.page-viagens-culturais .page-header { background-image: url("/assets/imagens/yellow-experience.jpg"); }
body.page-viagens-universitarios .page-header { background-image: url("/assets/imagens/yellow-university.jpg"); }
body.page-corporate .page-header { background-image: url("/assets/imagens/yellow-corporate.jpg"); }
/* Ajuste específico para a Gala de Finalistas (imagem 'contain' + ligeiro zoom) */
body.page-galas-finalistas .page-header { background-image: url("/assets/imagens/chic.jpg"); background-size: contain !important; background-repeat: no-repeat !important; background-color: #ffffff; transform: scale(1.9); }
body.page-galas-finalistas .page-header-overlay, body.page-galas-finalistas .page-header-content { display: none !important; }
/* =============================================
   ESTILOS VÍDEO HEADER
   ============================================= */
.page-header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Essencial para não distorcer o vídeo */
    z-index: 0;         /* Fica atrás do overlay e do texto */
}
body.page-contactos .page-header { background-image: url("/assets/imagens/contact-banner.jpg"); }
body.page-faq .page-header { background-image: url("/assets/imagens/faq-banner.jpg"); }
body.page-seguro-viagem .page-header { background-image: url("/assets/imagens/seguro-viagem-banner.jpg"); }
body.page-condicoes .page-header { background-image: url("/assets/imagens/condicoes-gerais-banner.jpg"); }
body.page-documentacao .page-header { background-image: url("/assets/imagens/seguro-viagem-banner.jpg"); }
body.page-trabalhe-conosco .page-header { background-image: url("/assets/imagens/condicoes-gerais-banner.jpg"); }
body.page-privacidade .page-header { background-image: url("/assets/imagens/condicoes-gerais-banner.jpg"); }

.page-header-overlay { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 1; }
.page-header-content { position: relative; z-index: 2; }

.page-subtitle { display: block; font-size: 0.9rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
@media (max-width: 768px) { .page-subtitle { font-size: 0.8rem; } }

.page-title { font-size: 3rem; font-weight: 700; text-transform: uppercase; margin: 0; }
@media (max-width: 768px) { .page-title { font-size: 2rem; } }

/* =============================================
   ESTILOS CONTEÚDO PÁGINA "QUEM SOMOS"
   ============================================= */
.about-content-parallax { position: relative; padding: 60px 0; background-image: url("/assets/imagens/parallax-about-background.jpg"); background-position: center center; background-repeat: no-repeat; background-size: cover; background-attachment: fixed; overflow: hidden; }
@media (max-width: 768px) { .about-content-parallax { background-attachment: scroll !important; background-position: center center !important; } }
.parallax-overlay-about { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0); z-index: 1; }
.text-container-about, .slider-container-about { position: relative; z-index: 2; }

.about-text-section { background-color: transparent; border-radius: 0; padding: 0; margin: 0 0 40px 0; box-shadow: none; min-height: auto; }
.about-text-section .text-decoration { margin-bottom: 25px; text-align: center; }
.about-text-section .text-decoration hr { border: none; height: 4px; background-color: #ffd700; width: 70px; margin: 0 auto; }

.main-about-text { font-size: 36px; font-weight: 300; line-height: 1.6; color: #444; text-align: center; margin: 20px auto; position: relative; z-index: 1; }
@media (max-width: 992px) { .main-about-text { max-width: 90%; } }
@media (max-width: 768px) { .main-about-text { font-size: 24px; line-height: 46px; max-width: 95%; } }
.main-about-text strong { color: #666; font-weight: bold; }

.secondary-about-text { font-size: 0.9rem; line-height: 1.6; color: #666; text-align: justify; max-width: 1050px; margin: 20px auto; position: relative; z-index: 1; }
@media (max-width: 992px) { .secondary-about-text { max-width: 90%; } }
@media (max-width: 768px) { .secondary-about-text { font-size: 0.85rem; max-width: 95%; } }

.services-slider { width: 100%; height: auto; overflow: hidden; padding-bottom: 50px; margin: 0 auto; max-width: 100%; }
.service-slide { position: relative; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); aspect-ratio: 16 / 10; flex-shrink: 0; height: 100%; overflow: hidden; }
.service-slide img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-slide a { display: block; width: 100%; height: 100%; text-decoration: none; }
.services-slider .swiper-slide::before { display: none; }
.service-slide:hover img { transform: scale(1.05); }

.service-slide-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px 15px 15px 15px; box-sizing: border-box; z-index: 2; opacity: 1; transform: translateY(0); background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%); }
.service-slide-overlay h3 { color: white; font-size: 1.1rem; margin: 0; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }

.services-pagination.swiper-pagination-bullets { bottom: 10px !important; position: absolute; width: 100%; left: 0; z-index: 5; }
.services-pagination .swiper-pagination-bullet { background-color: #aaa; opacity: 1; }
.services-pagination .swiper-pagination-bullet-active { background-color: #ffd700; }
.services-prev, .services-next { color: #333; top: 50%; transform: translateY(-50%); z-index: 10; }
.services-prev::after, .services-next::after { font-size: 1.5rem !important; }

/* =============================================
   ESTILOS ESPECÍFICOS APENAS PARA A PÁGINA DE EVENTOS
   ============================================= */

/* 1. Altera a proporção base do slide para ser vertical (antes era 16/10 horizontal) */
body.page-eventos .service-slide {
    aspect-ratio: 2 / 3 !important; /* Define uma proporção vertical (ex: poster) */
    height: auto !important;       /* Deixa a altura ser definida pela largura * aspect-ratio */
}

/* 2. Garante que a imagem preenche todo esse novo espaço vertical */
body.page-eventos .service-slide img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
}

/* Ajuste opcional para ecrãs menores se ficarem muito altos */
@media (max-width: 768px) {
    body.page-eventos .service-slide {
        aspect-ratio: 3 / 4 !important; /* Um pouco menos vertical em telemóveis */
    }
}

/* =============================================
   AJUSTES DA PAGINAÇÃO SWIPER (Responsivo)
   ============================================= */

/* Garante que a paginação fica numa linha e centralizada */
.services-pagination.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 10px !important;
    width: 100%;
    left: 0;
    display: flex;           /* Usa Flexbox para alinhar */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center;     /* Centraliza verticalmente */
    flex-wrap: nowrap;       /* Impede que quebre para a próxima linha */
    z-index: 10;             /* Garante que fica acima de outros elementos */ 
    border-radius: 5px; 
}

/* Estilo base das "bolinhas" */
.swiper-pagination-bullet {
    width: 10px;           /* Largura base */
    height: 10px;          /* Altura base */
    margin: 0 4px !important; /* Espaçamento reduzido entre elas */
    flex-shrink: 0;        /* Impede que as bolinhas encolham demasiado */
    transition: all 0.3s ease;
    border-radius: 5px; 
}

/* Ajustes específicos para ecrãs muito pequenos */
@media (max-width: 480px) {
    .swiper-pagination-bullet {
        width: 8px;        /* Bolinhas ligeiramente menores */
        height: 8px;
        margin: 0 3px !important;
        border-radius: 5px;  /* Menos espaço entre elas */
    }

    /* Opcional: Se tiver MUITOS slides, pode esconder alguns */
    /* .swiper-pagination-bullet:nth-child(n+8) { display: none; } */
}

/* Estilo da bolinha ativa (mantém o destaque) */
.swiper-pagination-bullet-active {
    width: 20px;           /* Um pouco mais larga para destacar */
    border-radius: 5px;    /* Opcional: formato mais oval */
    background-color: #ffd700;
}

/* =============================================
   ESTILOS SECÇÃO CTA
   ============================================= */
.cta-section { position: relative; min-height: 90vh; background-image: url("/assets/imagens/cta-background.jpg"); background-position: center center; background-repeat: no-repeat; background-size: cover; color: #4a4a4a; display: flex; align-items: center; justify-content: center; padding: 40px 0; box-sizing: border-box; overflow: hidden; }
@media (max-width: 992px) { .cta-section { display: flex; padding: 60px 0; min-height: auto; } }
@media (max-width: 768px) { .cta-section { min-height: auto; padding: 60px 0; display: block; } }

.cta-section .container { position: static; width: 100%; display: flex; justify-content: flex-start; align-items: center; }
@media (max-width: 992px) { .cta-section .container { justify-content: center; } }
@media (max-width: 768px) { .cta-section .container { justify-content: center; padding: 0 15px; width: 100%; box-sizing: border-box; } }

.cta-content-box { background-color: #ffffff; padding: 70px 50px; border-radius: 6px; max-width: 555px; width: 50%; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); box-sizing: border-box; position: relative; left: auto; top: auto; transform: none; text-align: center; color: #4a4a4a; margin: 0; }
@media (max-width: 992px) { .cta-content-box { width: 70%; } }
@media (max-width: 768px) { .cta-content-box { position: static; transform: none; width: auto; max-width: 100%; padding: 40px 30px; text-align: center; margin: 0 auto; left: unset; top: unset; } }

.cta-content-box h2 { color: #43484d; font-size: 34px; font-weight: 300; line-height: 40.8px; margin: 0 0 30px 0; }
@media (max-width: 768px) { .cta-content-box h2 { font-size: 1.8rem; line-height: 1.4; margin-bottom: 20px; } }

.cta-content-box h3 { color: #43484d; font-size: 16px; font-weight: 300; line-height: 19.2px; margin: 0 15px 50px 15px; }
@media (max-width: 768px) { .cta-content-box h3 { font-size: 15px; line-height: 1.5; margin: 0 0 30px 0; } }

.cta-content-box p { display: none; }

.cta-button { display: inline-block; background-color: #ffd700; color: #222; padding: 12px 30px; text-decoration: none; font-weight: bold; border-radius: 25px; margin-top: 0; transition: background-color 0.3s ease; text-transform: uppercase; font-size: 0.9rem; border: none; cursor: pointer; }
.cta-button:hover { background-color: #e6c300; }

/* =============================================
   ESTILOS PÁGINA DE CONTACTOS
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } }

.contact-form-col h2, .contact-info-col h2 { font-size: 1.8rem; color: #333; margin-top: 0; margin-bottom: 30px; }
@media (max-width: 768px) { .contact-form-col h2, .contact-info-col h2 { text-align: center; font-size: 1.6rem; } }

.contact-form-col form { display: flex; flex-wrap: wrap; gap: 20px; background-color: transparent; padding: 0; margin: 0; border-radius: 0; }
.form-row { display: flex; gap: 20px; width: 100%; }
@media (max-width: 768px) { .form-row { flex-direction: column; gap: 20px; } }

.form-group { flex: 1; min-width: calc(50% - 10px); }
@media (max-width: 768px) { .form-group { min-width: 100%; } }
.form-group.full-width { width: 100%; flex-basis: 100%; }

.contact-form-col label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; color: #555; }
.contact-form-col input[type="text"], .contact-form-col input[type="email"], .contact-form-col input[type="tel"], .contact-form-col textarea { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; font-family: inherit; font-size: 1rem; background-color: #fff; }
.contact-form-col input::placeholder, .contact-form-col textarea::placeholder { color: #aaa; }
.contact-form-col textarea { min-height: 120px; resize: vertical; }

.gdpr-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 5px; }
.gdpr-check input[type="checkbox"] { margin-top: 4px; flex-shrink: 0; width: 16px; height: 16px; }
.gdpr-check label { font-size: 0.8rem; color: #666; font-weight: normal; margin-bottom: 0; }
.gdpr-check label a { color: #ffd700; text-decoration: underline; }
.gdpr-check label a:hover { text-decoration: none; }

.contact-form-col button { background-color: #ffd700; color: #222; padding: 14px 30px; border: none; border-radius: 4px; cursor: pointer; font-size: 1rem; font-weight: bold; text-transform: uppercase; transition: background-color 0.3s ease; grid-column: auto; }
.contact-form-col button:hover { background-color: #e6c300; }

@media (max-width: 768px) { .contact-info-col { text-align: center; } }
.contact-info-col p { color: #666; font-size: 0.95rem; line-height: 1.7; margin-bottom: 30px; }

.contact-details { list-style: none; padding: 0; margin: 0; }
.contact-details li { display: flex; align-items: flex-start; margin-bottom: 20px; color: #555; font-size: 0.95rem; }
@media (max-width: 768px) { .contact-details li { text-align: left; justify-content: center; } }

.contact-details i { color: #ffd700; font-size: 1.1rem; width: 30px; margin-right: 15px; margin-top: 3px; text-align: center; flex-shrink: 0; }
.contact-details span { flex: 1; line-height: 1.6; }
.contact-details span a { color: #555; text-decoration: none; transition: color 0.3s ease; }
.contact-details span a:hover { color: #ffd700; }

.map-section { margin-top: 40px; }
#mapa-contacto { width: 100%; height: 450px; background-color: #333; }

/* =============================================
   UTILITÁRIOS E ANIMAÇÕES
   ============================================= */
.slide-in-from-left { opacity: 0; transform: translateX(-150px); transition: transform 1s ease-out, opacity 1s ease-out; }
.slide-in-from-right { opacity: 0; transform: translateX(150px); transition: transform 1s ease-out, opacity 1s ease-out; transition-delay: 0.2s; }
.slide-in-from-left.is-visible, .slide-in-from-right.is-visible { opacity: 1; transform: translateX(0); }

/* =============================================
   ESTILOS FORMULÁRIO DE CONTACTO ÚNICO
   ============================================= */
#unified-contact-form { display: grid; grid-template-columns: 1fr; gap: 20px; background-color: transparent; padding: 0; margin: 0; border-radius: 0; }
#unified-contact-form .form-group { width: 100%; }
#unified-contact-form select { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; font-family: inherit; font-size: 1rem; background-color: #fff; color: #555; -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22%23555%22%3E%3Cpath%20d%3D%22M5.516%207.548c0.436-0.446%201.144-0.446%201.584%200l2.9%202.948%202.9-2.948c0.44-0.446%201.148-0.446%201.584%200%200.44%200.436%200.44%201.144%200%201.584l-3.692%203.744c-0.436%200.446-1.148%200.446-1.584%200l-3.692-3.744c-0.44-0.436-0.44-1.148%200-1.584z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 1em; }
#unified-contact-form select:invalid { color: #aaa; }

/* =============================================
   ESTILOS DAS PÁGINAS DE OFERTAS (CARDS)
   ============================================= */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 20px; }
@media (max-width: 768px) { .offer-grid { grid-template-columns: 1fr; gap: 20px; } }

.offer-card { position: relative; display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); text-decoration: none; aspect-ratio: 16 / 10; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.offer-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); }
.offer-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.offer-card:hover img { transform: scale(1.05); }

.offer-card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 20px 20px; background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0)); z-index: 2; transition: background 0.3s ease; }
.offer-card-overlay h3 { margin: 0; color: #ffffff; font-size: 1.5rem; font-weight: 700; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
@media (max-width: 768px) { .offer-card-overlay h3 { font-size: 1.3rem; } }

/* =============================================
   ESTILOS PÁGINA DE CONTEÚDO LEGAL
   ============================================= */
.about-text-section.text-content-legal { text-align: left; color: #555; font-size: 1rem; line-height: 1.7; }
.about-text-section.text-content-legal h2 { text-align: left; font-size: 1.5rem; color: #222; font-weight: 700; margin-top: 25px; margin-bottom: 10px; text-transform: uppercase; }
.about-text-section.text-content-legal p { text-align: left; margin-bottom: 12px; }
.about-text-section.text-content-legal .main-about-text, .about-text-section.text-content-legal .secondary-about-text { text-align: left; max-width: none; font-size: 1rem; line-height: 1.7; margin-bottom: 12px; }
.about-text-section.text-content-legal ul { margin-left: 20px; padding-left: 15px; margin-bottom: 12px; }
.about-text-section.text-content-legal li { margin-bottom: 8px; }

/* =============================================
   ESTILOS FAQ (ACORDEÃO)
   ============================================= */
.faq-section-title { font-size: 1.8rem; color: #333; font-weight: 700; text-transform: uppercase; border-bottom: 3px solid #ffd700; padding-bottom: 10px; margin-top: 40px; margin-bottom: 20px; }
.faq-accordion:first-of-type .faq-section-title { margin-top: 0; }
.faq-item { margin-bottom: 10px; }
.faq-question { background-color: #ffffff; border: 2px solid #ffd700; color: #333; font-weight: 700; font-size: 1.1rem; font-family: "Lato", sans-serif; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px 20px; cursor: pointer; text-align: left; transition: all 0.3s ease; border-radius: 4px; position: relative; z-index: 10; }
.faq-question:hover { background-color: #fffaf0; color: #222; }
.faq-question.active { background-color: #ffd700; color: #222; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.faq-question.active .faq-icon { transform: rotate(180deg); }
.faq-icon { font-size: 1.2rem; transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; background-color: #fff; transition: max-height 0.4s ease-out, padding-top 0.4s ease-out, padding-bottom 0.4s ease-out; border-left: 2px solid #ffd700; border-right: 2px solid #ffd700; border-bottom: 2px solid #ffd700; margin-top: -2px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; padding-left: 20px; padding-right: 20px; }
.faq-answer p, .faq-answer ul { font-size: 0.95rem; line-height: 1.7; color: #555; margin-bottom: 15px; }
.faq-answer ul { margin-left: 20px; padding-left: 15px; }
.faq-answer li { margin-bottom: 8px; }
.faq-answer p:first-child { margin-top: 25px; }
.faq-answer p:last-child { margin-bottom: 10px; }

/* =============================================
   ESTILOS PÁGINA DOCUMENTAÇÃO LEGAL
   ============================================= */
.doc-legal-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 768px) { .doc-legal-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; } }

.doc-legal-subtitle { display: block; font-size: 0.8rem; font-weight: 700; color: #ffd700; text-transform: uppercase; margin-bottom: 5px; }
.doc-legal-title { font-size: 2.2rem; color: #333; font-weight: 300; margin-top: 0; margin-bottom: 15px; }
@media (max-width: 768px) { .doc-legal-title { font-size: 1.8rem; } }
.doc-legal-title strong { font-weight: 700; color: #222; }

.doc-legal-description { font-size: 0.95rem; line-height: 1.7; color: #555; margin: 0; }

.doc-legal-button { display: flex; justify-content: flex-end; align-items: center; }
@media (max-width: 768px) { .doc-legal-button { justify-content: center; } }

.doc-legal-btn { background-color: #222; color: #ffffff; font-family: "Lato", sans-serif; padding: 12px 25px; font-size: 0.9rem; font-weight: 700; text-decoration: none; text-transform: uppercase; border-radius: 4px; transition: background-color 0.3s ease, transform 0.3s ease; display: inline-block; border: none; cursor: pointer; }
.doc-legal-btn:hover { background-color: #000; transform: translateY(-2px); }

body.page-documentacao main { padding-top: 60px; padding-bottom: 60px; box-sizing: border-box; }

/* =============================================
   ESTILOS PÁGINA TRABALHE CONOSCO
   ============================================= */
body.page-trabalhe-conosco { background-color: #ffffff; }
body.page-trabalhe-conosco main { padding-top: 60px; padding-bottom: 100px; }

.recrutamento-intro { font-size: 0.95rem; line-height: 1.7; color: #555; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 30px; }
.recrutamento-intro a { color: #ffd700; font-weight: 700; }

#recrutamento-form { display: grid; grid-template-columns: repeat(6, 1fr); gap: 25px; background-color: transparent; padding: 0; margin-top: 0; }
.form-col-span-6 { grid-column: span 6; }
.form-col-span-3 { grid-column: span 3; }
.form-col-span-2 { grid-column: span 2; }
@media (max-width: 768px) { .form-col-span-6, .form-col-span-3, .form-col-span-2 { grid-column: span 6; } }

#recrutamento-form .form-group { width: 100%; }
#recrutamento-form label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; color: #555; }
#recrutamento-form input[type="text"], #recrutamento-form input[type="email"], #recrutamento-form input[type="tel"], #recrutamento-form input[type="date"], #recrutamento-form select, #recrutamento-form textarea { width: 100%; padding: 10px 10px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; font-family: inherit; font-size: 1rem; background-color: #fff; color: #999999; }
#recrutamento-form textarea { min-height: 120px; resize: vertical; }
#recrutamento-form select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22%23555%22%3E%3Cpath%20d%3D%22M5.516%207.548c0.436-0.446%201.144-0.446%201.584%200l2.9%202.948%202.9-2.948c0.44-0.446%201.148-0.446%201.584%200%200.44%200.436%200.44%201.144%200%201.584l-3.692%203.744c-0.436%200.446-1.148%200.446-1.584%200l-3.692-3.744c-0.44-0.436-0.44-1.148%200-1.584z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 1em; color: #999999; }
#recrutamento-form select:invalid { color: #999999; }
#recrutamento-form option[value=""] { color: #999999; }
#recrutamento-form input[type="date"]:invalid { color: #999999; }

/* =============================================
   ESTILOS PÁGINAS COM FUNDO BRANCO
   ============================================= */
body.page-documentacao, body.page-trabalhe-conosco, body.page-seguro-viagem { background-color: #ffffff; }
body.page-documentacao main, body.page-trabalhe-conosco main, body.page-seguro-viagem main { padding-top: 60px; padding-bottom: 60px; box-sizing: border-box; }
.doc-legal-divider { border: none; border-top: 1px solid #eee; margin: 40px 0; }
.doc-legal-subtitle-desc { font-size: 1.2rem; font-weight: 300; color: #555; margin-top: -10px; margin-bottom: 15px; }
@media (max-width: 768px) { .doc-legal-subtitle-desc { font-size: 1rem; } }


/* =======================================
   REGRAS GERAIS DE TEXTO (REMOVIDAS DO HTML)
   ======================================= */
.about-text-section .about-hr {
    margin: 0 auto;
    height: 4px;
    background-color: #FFD700;
    width: 70px;
    border: none;
}

.about-text-section .about-p-main {
    font-size: 1.5rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin-bottom: 0.5rem;
}

.about-text-section .about-p-secondary-1 {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin-top: 1rem;
}

.about-text-section .about-p-secondary-2,
.about-text-section .about-p-secondary-3 {
    text-align: center;
    max-width: 800px;
    margin-top: 2rem;
    line-height: 1.7;
}

/* TÍTULO DA SECÇÃO DESTAQUES */
.destaque-slider-container {
    margin-top: 40px;
    margin-bottom: 40px;
}
.destaque-heading-decoration {
    text-align: center;
    margin-bottom: 30px;
}
.destaque-heading {
    color: #444;
    font-weight: 700;
    text-transform: uppercase;
}
.destaque-hr {
    margin: 10px auto;
    height: 3px;
    background-color: #FFD700;
    width: 50px;
    border: none;
}


/* =======================================
   SLIDER DESTAQUES (.destaque-slider) - CORREÇÃO COMPLETA
   ======================================= */

/* 1. Container do Slider: Adiciona padding para que a paginação caiba abaixo */
.destaque-slider { 
    width: 100%; 
    height: auto; 
    overflow: hidden; 
    padding-bottom: 50px; /* CHAVE: Cria espaço para a paginação absoluta */
    margin: 0 auto; 
    max-width: 100%; 
}

/* 2. Slide Individual e Imagem: Configura layout, proporção e clique */
.destaque-slide { 
    position: relative; 
    overflow: hidden; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Adiciona a sombra do slider de serviços */
    aspect-ratio: 1 / 1.414; /* Proporção vertical (semelhante ao A4) */
    height: 100%; 
}

/* Garante que o link ocupa todo o slide e está no topo (z-index) */
.destaque-slide a {
    position: relative; 
    z-index: 99;      /* Garante que o link está acima da maioria dos elementos do Swiper */
    display: block;   
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.destaque-slide img { 
    display: block; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.4s ease;
}

/* Efeito Hover (opcional, mas bom para dar feedback) */
.destaque-slide:hover img { 
    transform: scale(1.05); 
}

/* 3. Paginação (Bolhas) */
.destaque-pagination.swiper-pagination-bullets { 
    bottom: 10px !important; 
    position: absolute; 
    width: 100%; 
    left: 0; 
    z-index: 5; 
}
.destaque-pagination .swiper-pagination-bullet { 
    background-color: #aaa; 
    opacity: 1; 
}
.destaque-pagination .swiper-pagination-bullet-active { 
    background-color: #ffd700; 
}

/* 4. Navegação (Setas) */
.destaque-prev, 
.destaque-next { 
    color: #333; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 10; 
}
.destaque-prev::after, 
.destaque-next::after { 
    font-size: 1.5rem !important; 
}

/* =======================================
   REGRAS SOCIAIS (REMOVIDAS DO HTML)
   ======================================= */
.services-heading {
    color: #444; 
    font-weight: 700; 
    margin-top: 15px; 
    text-transform: uppercase; 
    margin-bottom: 15px;
}

.social-links-mercado {
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    margin-bottom: 25px;
}

.social-link {
    display: flex; 
    align-items: center; 
    color: #666; 
    text-decoration: none; 
    font-size: 1rem; 
    transition: color 0.3s ease;
}

.social-link i {
    font-size: 1.2rem; 
    margin-right: 8px;
}

.social-link:hover {
    color: #ffd700; /* Efeito hover igual ao que estava inline */
}