/* TRANS-LATE, cópia estática do site de 2019-2022.
   Substitui em CSS o que no WordPress dependia de JavaScript (slider, animações de entrada,
   galeria justificada, carrosséis, cabeçalho fixo) e acrescenta o Save the Date de 2027.
   Carregado depois das folhas de estilo originais do tema TheGem. */

/* ---- fontes do tema que o arquivo não guardou ----
   "Montserrat UltraLight" (títulos .light) -> Montserrat 200 (é a mesma família, SIL OFL);
   ícones das redes (thegem-socials) -> Font Awesome Free, marcas (SIL OFL / CC BY 4.0). */
@font-face { font-family: "Montserrat UltraLight"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/Montserrat-200-latin.woff2") format("woff2"); }
@font-face { font-family: "TL Brands"; font-weight: 400; font-style: normal; font-display: block;
  src: url("fonts/fa-brands-400.woff2") format("woff2"); }
.socials-item-icon { font-family: "TL Brands" !important; font-style: normal; }
.socials-item-icon::before { font-family: "TL Brands" !important; }
.socials-item-icon.facebook::before { content: "\f39e" !important; }
.socials-item-icon.linkedin::before { content: "\f0e1" !important; }
.socials-item-icon.instagram::before { content: "\f16d" !important; }
.socials-item-icon.youtube::before { content: "\f167" !important; }
/* seta "voltar ao topo" e ícones de botões (fonte thegem-icons / ElegantIcons em falta) */
.scroll-top-button::before { content: "" !important; position: absolute; left: 50%; top: 55%; width: 10px; height: 10px;
  margin: -5px 0 0 -5px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.gem-print-icon { display: none !important; }
/* ícones da versão móvel do "About us" (MaterialDesignIcons, nunca arquivada): só os círculos ficavam vazios */
.gem-icon-with-text .gem-icon { display: none !important; }
.gem-icon-with-text .gem-icon-with-text-icon { display: none !important; }

/* ---- conteúdo que o tema só mostrava depois de animações JS ---- */
.wpb_animate_when_almost_visible,
.lazy-loading-item, .lazy-loading .lazy-loading-item,
.item-animations-not-inited, .gem-gallery-grid .gallery-item,
.gem-clients, .gem-clients-slide, .gallery-preloader-wrapper, .gem-gallery-grid,
.fullwidth-block-background, .tgpli-background-inited {
  opacity: 1 !important; visibility: visible !important;
  transform: none !important; animation: none !important;
}
#page-preloader, .preloader, .page-preloader { display: none !important; }
body.tl-static { overflow-x: hidden; }
/* ligações do menu (#about, #gallery…): o cabeçalho fixo não tapa o título da secção */
.tl-static [id] { scroll-margin-top: 80px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img { max-width: 100%; height: auto; }

/* vc_row "full width": o tema calculava a largura em JS */
.tl-static .vc_row[data-vc-full-width] { left: 0 !important; width: auto !important;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); }
.tl-static .vc_row[data-vc-full-width][data-vc-stretch-content] { padding-left: 0; padding-right: 0; }
.tl-static .fullwidth-block { left: 0 !important; width: auto !important;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* ---- cabeçalho: fixo no topo, transparente sobre a primeira área, claro depois de rolar ---- */
#site-header-wrapper { height: auto !important; }
#site-header { position: fixed !important; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background-color .3s, box-shadow .3s; }
.admin-bar #site-header { top: 0; }
.top-area-background { display: none; }
body:not(.home) #main { padding-top: 110px; }
body #page #site-header.tl-scrolled, body #page #site-header.tl-scrolled .transparent-header-background {
  background-color: #fff !important; }
body #page #site-header.tl-scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.08); }
#site-header.tl-scrolled .header-main { padding-top: 10px !important; padding-bottom: 10px !important; }
.home #site-header:not(.tl-scrolled) .header-main #primary-menu > li > a { color: #fff !important; }
#site-header.tl-scrolled #primary-menu > li > a { color: #3c3950 !important; }
/* dois logótipos: .default é branco (sobre a primeira área escura), .small é preto (cabeçalho claro) */
body #page #site-header .site-logo .logo img.small { display: none !important; }
body #page #site-header .site-logo .logo img.default { display: inline-block !important; opacity: 1 !important;
  position: static !important; visibility: visible !important; }
body.home #page #site-header.tl-scrolled .site-logo .logo img.default { display: none !important; }
body.home #page #site-header.tl-scrolled .site-logo .logo img.small { display: inline-block !important; opacity: 1 !important;
  position: static !important; visibility: visible !important; }
/* páginas interiores: cabeçalho sempre claro e um só logótipo (escuro), como no original */

/* menu no telemóvel (o tema usava jquery.dlmenu) */
.tl-menu-btn { display: none; }
@media (max-width: 1211px) {
  .tl-static #primary-navigation .menu-toggle { display: none !important; }
  .tl-menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; }
  .tl-menu-btn span { display: block; height: 2px; background: currentColor; }
  #site-header .header-main { display: flex !important; align-items: center; justify-content: space-between; }
  #site-header .site-title { display: block !important; }
  #site-header { color: #fff; }
  #site-header.tl-scrolled, body:not(.home) #site-header { color: #3c3950; background: #fff; }
  #primary-menu { display: none !important; }
  #primary-navigation.tl-open #primary-menu { display: block !important; position: fixed !important; left: 0 !important;
    right: 0 !important; top: 70px !important; width: auto !important; height: auto !important; max-height: calc(100vh - 70px);
    overflow-y: auto; background: #0a0a0a !important; padding: 8px 0 16px !important; margin: 0 !important;
    opacity: 1 !important; visibility: visible !important; transform: none !important; z-index: 1001; }
  #primary-navigation.tl-open #primary-menu > li { display: block !important; float: none !important; height: auto !important;
    width: auto !important; padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 1 !important;
    transform: none !important; }
  #primary-navigation.tl-open #primary-menu > li > a { display: block !important; height: auto !important;
    line-height: 1.4 !important; padding: 14px 24px !important; color: #fff !important; font-size: 15px !important;
    letter-spacing: .12em; text-align: left !important; }
  #primary-navigation.tl-open #primary-menu > li > a:hover { color: #b58bd0 !important; }
  #primary-navigation.tl-open #primary-menu > li.menu-item-logo { display: none !important; }
}

/* ---- topo (antes: Slider Revolution com vídeo de fundo) ---- */
.tl-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  justify-content: center; text-align: center; color: #fff; background: #050505 center / cover no-repeat;
  padding: 120px 20px 110px; box-sizing: border-box; overflow: hidden; }
.tl-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.tl-hero-inner { position: relative; max-width: 1240px; }
.tl-hero-logo { width: 231px; height: auto; display: block; margin: 0 auto 28px; }
.tl-hero-title { font-family: "Open Sans", sans-serif; font-weight: 400; font-size: 80px; line-height: 1.2;
  letter-spacing: 13px; margin: 0; color: #fff; text-transform: none; }
.tl-hero-sub { font-family: Montserrat, sans-serif; font-weight: 100; font-size: 61px; line-height: 1.3;
  letter-spacing: -1px; margin: 4px 0 0; color: #fff; }
.tl-hero-tag { font-family: Montserrat, sans-serif; font-size: 15px; letter-spacing: 2px; margin: 26px 0 0; color: #fff; }
.tl-hero-by img { width: 202px; height: auto; margin-top: 34px; }
.tl-hero-down { position: absolute; left: 50%; bottom: 34px; width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255,255,255,.8); border-radius: 14px; }
.tl-hero-down span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: tl-wheel 1.8s infinite; }
@keyframes tl-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 1024px) { .tl-hero-title { font-size: 66px; } .tl-hero-sub { font-size: 50px; } }
@media (max-width: 778px) { .tl-hero-title { font-size: 50px; letter-spacing: 9px; } .tl-hero-sub { font-size: 37px; } }
@media (max-width: 480px) { .tl-hero-logo { width: 150px; } .tl-hero-title { font-size: 34px; letter-spacing: 5px; }
  .tl-hero-sub { font-size: 25px; letter-spacing: 0; } .tl-hero-tag { font-size: 14px; letter-spacing: 0; }
  .tl-hero-by img { width: 151px; } }

/* ---- vídeo de 2019: imagem com ligação para o YouTube ---- */
.tl-video a { position: relative; display: block; border-radius: 6px; overflow: hidden; background: #000; }
.tl-video img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .85; transition: opacity .3s; }
.tl-video a:hover img { opacity: 1; }
.tl-video-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%; background: rgba(143,68,173,.9); }
.tl-video-play::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid;
  border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.tl-video-label { position: absolute; left: 0; right: 0; bottom: 18px; color: #fff; font-size: 14px; letter-spacing: .14em;
  text-transform: uppercase; }

/* ---- galeria (antes: grelha justificada em JS) ---- */
.tl-static .gallery-set { display: flex; flex-wrap: wrap; height: auto !important; position: static !important; }
.tl-static .gallery-set > li.gallery-item { position: static !important; float: none !important;
  transform: none !important; flex: 0 0 33.333%; max-width: 33.333%; box-sizing: border-box; }
.tl-static .gallery-set .image-wrap { height: auto !important; }
.tl-static .gallery-set .image-wrap img { width: 100% !important; height: 300px !important; object-fit: cover;
  display: block; }
@media (max-width: 991px) { .tl-static .gallery-set > li.gallery-item { flex-basis: 50%; max-width: 50%; }
  .tl-static .gallery-set .image-wrap img { height: 240px !important; } }
@media (max-width: 560px) { .tl-static .gallery-set { margin-left: -6px !important; margin-right: -6px !important; }
  .tl-static .gallery-set > li.gallery-item { padding: 6px !important; }
  .tl-static .gallery-set .image-wrap img { height: 150px !important; } }

/* ---- carrosséis de imagens das experiências (antes: vc_carousel) ---- */
.tl-static .vc_images_carousel { width: 100% !important; height: auto !important; }
.tl-static .vc_images_carousel .vc_carousel-inner, .tl-static .vc_images_carousel .vc_carousel-slideline {
  width: auto !important; height: auto !important; overflow: visible !important; }
.tl-static .vc_images_carousel .vc_carousel-slideline-inner { display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; width: auto !important; left: 0 !important; padding-bottom: 10px; }
.tl-static .vc_images_carousel .vc_item { float: none !important; flex: 0 0 auto; width: min(340px, 80vw) !important;
  height: auto !important; scroll-snap-align: start; display: block !important; opacity: 1 !important;
  visibility: visible !important; }
.tl-static .vc_images_carousel .vc_item img { width: 100%; height: auto; }

/* separadores das experiências (o script tl-static.js troca o painel ativo) */
.tl-static .vc_tta-panel:not(.vc_active) .vc_tta-panel-body { display: none; }
.tl-static .vc_tta-panel.vc_active .vc_tta-panel-body { display: block !important; height: auto !important; }

/* ---- parceiros (antes: carrossel) ---- */
.tl-static .gem-clients-slide { display: block !important; }
.tl-static .gem-clients-slide-inner { display: flex; flex-wrap: wrap; justify-content: center; }
.tl-static .gem-client-item { float: none !important; }
@media (max-width: 767px) { .tl-static .gem-client-item { width: 50% !important; } }

/* ---- contacto: o formulário morreu com o domínio; fica o email ---- */
.tl-mailto { text-align: center; color: #fff; padding: 10px 0 30px; }
.tl-mailto-text { font-size: 18px; margin: 0 0 22px; color: #fff; }
.tl-mailto-text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tl-mailto-btn { display: inline-block; padding: 12px 34px; background: #fff; color: #0a0a0a !important;
  text-transform: uppercase; letter-spacing: .1em; font-size: 14px; border-radius: 3px; text-decoration: none; }
.tl-mailto-btn:hover { background: #8f44ad; color: #fff !important; }

/* =========================================================
   Save the Date, 2.ª edição (maio de 2027): primeira área da homepage.
   Reaproveita o bloco .std da pré-visualização MuEvents, com a paleta e a letra deste site
   (fundo #0a0a0a, violeta #8f44ad, maiúsculas espaçadas).
   ========================================================= */
.tl-std { position: relative; background: #0a0a0a; color: #f4f1f8; overflow: hidden; padding-top: 104px; }
.tl-std-planes { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.tl-std-planes::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to bottom, rgba(10,10,10,0), #0a0a0a); pointer-events: none; }
.tl-std-planes img { display: block; width: 100%; height: clamp(140px, 22vw, 320px); object-fit: cover;
  object-position: center 58%; }
@media (prefers-reduced-motion: reduce) { .tl-hero-down span { animation: none; } }
.tl-std-inner { max-width: 1170px; margin: 0 auto; padding: clamp(34px, 5vw, 64px) 21px clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 76px); align-items: end;
  box-sizing: border-box; }
.tl-std-title { font-family: Axiforma, Poppins, sans-serif; font-weight: 300; text-transform: uppercase;
  letter-spacing: .3em; font-size: clamp(36px, 6.4vw, 88px); line-height: 1.16; margin: 0; color: #fff; }
.tl-std-title span { display: block; }
.tl-std-title span:last-child { color: #8f44ad; }
.tl-std-info p { margin: 0; padding: 0; }
.tl-std-logo img { width: clamp(150px, 16vw, 210px); height: auto; display: block; }
.tl-std-when { font-family: Axiforma, Poppins, sans-serif; font-weight: 300; font-size: clamp(42px, 5vw, 68px);
  line-height: 1; letter-spacing: .04em; margin-top: clamp(22px, 3vw, 34px) !important; color: #fff; }
.tl-std-edition { font-family: Montserrat, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .32em;
  text-transform: uppercase; color: #b58bd0; margin-top: 14px !important; }
.tl-std-note { font-size: 17px; line-height: 1.6; color: #cfc6d9; max-width: 38ch; margin-top: 20px !important; }
.tl-std-cta { margin-top: 28px !important; }
.tl-std-btn { display: inline-block; text-decoration: none; font-family: Montserrat, sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; padding: 15px 30px; border: 1px solid #fff;
  color: #0a0a0a !important; background: #fff; transition: background-color .25s, color .25s, border-color .25s; }
.tl-std-btn:hover { background: #8f44ad; border-color: #8f44ad; color: #fff !important; }
.tl-std-btn:focus-visible { outline: 2px solid #b58bd0; outline-offset: 3px; }
@media (max-width: 760px) {
  .tl-std { padding-top: 84px; }
  .tl-std-inner { grid-template-columns: 1fr; align-items: start; }
  .tl-std-title { letter-spacing: .22em; }
}
