/* ── Hero ─────────────────────────────────────────────────── */

@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  background-color: #0D1F3C;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: hidden;
  /* padding-top = altura do navbar, para o conteúdo nunca sobrepor o menu;
     padding-bottom empurra o texto para a metade inferior do ecrã, para não
     ficar por cima das pessoas no vídeo (normalmente ao centro/topo do enquadramento) */
  padding-top: var(--navbar-height, 130px);
  padding-bottom: clamp(56px, 10vh, 120px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* 42.1.4 - aquece a gradação do vídeo (estava com um tom azulado) */
  filter: sepia(18%) saturate(1.15) brightness(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* 42.1.4 - overlay aquecido (âmbar/dourado) em vez de navy/azulado */
  background: linear-gradient(
    to top,
    rgba(46, 31, 12, 0.75) 0%,
    rgba(46, 31, 12, 0.25) 55%,
    rgba(46, 31, 12, 0.1) 100%
  );
}

.hero__sound-toggle {
  position: absolute;
  top: calc(var(--navbar-height, 130px) + 20px);
  right: var(--section-padding-x);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(13, 31, 60, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

@media (hover: hover) {
  .hero__sound-toggle:hover {
    border-color: #D4B483;
    background: rgba(13, 31, 60, 0.55);
  }
}

.hero__sound-toggle:active {
  transform: scale(0.94);
}

.hero__sound-icon {
  width: 20px;
  height: 20px;
}

.hero__sound-icon--off {
  display: none;
}

.hero__sound-toggle.is-muted .hero__sound-icon--on {
  display: none;
}

.hero__sound-toggle.is-muted .hero__sound-icon--off {
  display: block;
}

@media (max-width: 768px) {
  .hero__sound-toggle {
    width: 38px;
    height: 38px;
    top: calc(var(--navbar-height, 104px) + 12px);
  }

  .hero__sound-icon {
    width: 17px;
    height: 17px;
  }
}

/* ── Intro Video Overlay (splash na 1ª visita à homepage) ────── */

.intro-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.intro-video-overlay--closing {
  opacity: 0;
}

.intro-video-overlay__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-video-overlay__mute {
  position: absolute;
  bottom: max(24px, env(safe-area-inset-bottom));
  right: var(--section-padding-x);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(13, 31, 60, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.intro-video-overlay__mute:hover {
  background: rgba(13, 31, 60, 0.55);
}

.intro-video-overlay__mute:active {
  transform: scale(0.94);
}

.intro-video-overlay__mute-icon {
  width: 20px;
  height: 20px;
}

.intro-video-overlay__mute-icon--off {
  display: none;
}

.intro-video-overlay__mute.is-muted .intro-video-overlay__mute-icon--on {
  display: none;
}

.intro-video-overlay__mute.is-muted .intro-video-overlay__mute-icon--off {
  display: block;
}

@media (max-width: 768px) {
  .intro-video-overlay__mute {
    width: 38px;
    height: 38px;
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .intro-video-overlay__mute-icon {
    width: 17px;
    height: 17px;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-wide);
  padding: 0 var(--section-padding-x);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 24px);
}


.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 700;
  font-style: italic;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  max-width: 100%;
}

/* 33.2 - destaque tipográfico geométrico (não-manuscrito) para 1 palavra-chave por título */
.text-highlight {
  position: relative;
  display: inline-block;
}

.text-highlight__mark {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.16em;
  width: 104%;
  height: 0.32em;
  pointer-events: none;
}

.text-highlight__mark path {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 3;
  stroke-linecap: round;
}

/* 42.1.3 - destaque por cor sólida (hero da homepage), sem traço por baixo */
.text-gold {
  color: var(--color-gold);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.3px;
  max-width: 480px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 8px;
}


/* ── Hero responsivo ──────────────────────────────────────── */

/* Tablet (769px–1024px): logo menor → navbar mais baixa */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    padding-top: var(--navbar-height, 112px);
  }
}

/* Mobile (≤768px): hamburger menu, navbar compacta */
@media (max-width: 768px) {
  .hero {
    padding-top: var(--navbar-height, 104px);
    /* ecrãs verticais recortam o vídeo de forma diferente (mais alto/estreito);
       manter uma margem generosa por baixo para o texto não cair em cima das
       pessoas, que costumam ficar centradas verticalmente no enquadramento */
    padding-bottom: clamp(40px, 12vh, 80px);
  }
  .hero__title {
    font-size: clamp(28px, 7vw, 40px);
  }
  .hero__subtitle {
    font-size: 15px;
    max-width: 100%;
  }
}

/* Ecrãs muito estreitos (≤480px): o texto do CTA da hero não cabe numa
   linha com o padding base (14px 40px) - larguras completas + padding
   menor evitam quebra de linha desalinhada. */
@media (max-width: 480px) {
  .hero__ctas {
    width: 100%;
  }
  .hero__ctas .btn-primary {
    width: 100%;
    padding: 14px 24px;
    font-size: 10px;
  }
}

/* ── Navbar ───────────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

/* O fundo/blur da barra vive num ::before, não diretamente no .site-nav -
   backdrop-filter no próprio .site-nav criaria um novo "containing block"
   para descendentes position:fixed (ex.: .site-nav__overlay, o menu mobile),
   fazendo-o ficar confinado dentro da caixa pequena da barra em vez de
   cobrir o ecrã todo. Pôr o efeito no pseudo-elemento evita esse problema
   sem alterar a aparência. */
.site-nav::before {
  content: '';
  position: absolute;
  /* pára 45px acima da base da navbar - exactamente onde .site-nav__wave
     começa - para não sobrepor o retângulo à curva com a cor sólida antiga
     e deixar uma tira azul reta por baixo da linha dourada nos troços onde
     a onda é mais rasa. */
  inset: 0 0 45px 0;
  z-index: -1;
  /* totalmente transparente por omissão (topo da homepage) - a legibilidade
     dos itens do menu vem do text-shadow reforçado, não de um fundo escuro */
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 300ms ease, backdrop-filter 300ms ease;
}

/* Solid state - applied by JS after 80px scroll, or always on inner pages */
.site-nav--scrolled {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-nav--scrolled::before {
  background: rgba(13, 31, 60, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Inner pages start solid immediately */
.site-nav--solid::before {
  background: #0D1F3C;
}

/* Véu subtil por trás do menu, só na Sobre Nós (.site-nav--scrim, aplicada
   via navbar.js) - dá contraste ao texto branco sobre a foto clara, sem
   escurecer visivelmente o resto do hero. Desaparece assim que a navbar
   fica sólida no scroll, altura em que o próprio fundo navy já chega. */
.site-nav--scrim::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 70%, transparent 100%);
  opacity: 1;
  transition: opacity 300ms ease;
}

.site-nav--scrim.site-nav--scrolled::after {
  opacity: 0;
}

/* A onda prolonga o próprio fundo da navbar - .site-nav__wave-fill usa a
   mesma cor da navbar sólida/scrolled e desenha-se encostada ao fundo dela,
   por isso não há costura nem linha reta entre os dois: o contorno dourado,
   por baixo, traça exactamente a mesma curva do preenchimento.
   Sobe ~45px para dentro da própria navbar (sem tocar no conteúdo - logo,
   links e botão mantêm-se exactamente onde estavam) para reduzir a faixa
   azul vazia por baixo do menu a uns 15-20px antes da onda começar. */
.site-nav__wave {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 45px);
  height: 70px;
  pointer-events: none;
  z-index: -1;
}

.site-nav__wave svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.site-nav__wave-fill {
  fill: transparent;
  transition: fill 300ms ease;
}

.site-nav--scrolled .site-nav__wave-fill {
  fill: rgba(13, 31, 60, 0.97);
}

.site-nav--solid .site-nav__wave-fill {
  fill: #0D1F3C;
}

/* O traço dourado só faz sentido em cima do fundo navy - fica invisível
   enquanto a navbar está transparente sobre o vídeo, e surge junto com ele. */
.site-nav__wave-line {
  opacity: 0;
  transition: opacity 300ms ease;
}

.site-nav--scrolled .site-nav__wave-line,
.site-nav--solid .site-nav__wave-line {
  opacity: 1;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--section-padding-x);
  max-width: var(--container-wide);
  margin: 0 auto;
}

.site-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-nav__logo-icon {
  height: 110px;
  width: auto;
  flex-shrink: 0;
  display: block;
  /* contorno preto subtil (sem desfoque) à volta do logótipo, simulado com
     drop-shadows de raio 0 nas 4 direções */
  filter:
    drop-shadow(0.75px 0 0 rgba(0, 0, 0, 0.35))
    drop-shadow(-0.75px 0 0 rgba(0, 0, 0, 0.35))
    drop-shadow(0 0.75px 0 rgba(0, 0, 0, 0.35))
    drop-shadow(0 -0.75px 0 rgba(0, 0, 0, 0.35));
  transition: filter 300ms ease;
}

@media (max-width: 1024px) {
  .site-nav__logo-icon {
    height: 72px;
  }
}

.site-nav--scrolled .site-nav__logo,
.site-nav--solid .site-nav__logo {
  text-shadow: none;
}

.site-nav--scrolled .site-nav__logo-icon,
.site-nav--solid .site-nav__logo-icon {
  filter: none;
}

.site-nav__links {
  display: flex;
  gap: var(--space-6);
}

.site-nav__link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55), 0 2px 12px rgba(0, 0, 0, 0.35);
  -webkit-text-stroke: 0.4px rgba(255, 255, 255, 0.5);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s, text-shadow 0.3s, -webkit-text-stroke 0.3s;
}

.site-nav--scrolled .site-nav__link,
.site-nav--solid .site-nav__link {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #D4B483;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

@media (hover: hover) {
  .site-nav__link:hover {
    color: #FFFFFF;
    text-shadow: none;
  }

  .site-nav__link:hover::after {
    transform: scaleX(1);
  }
}

.site-nav__link--active {
  color: #FFFFFF;
}

.site-nav__link--active::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .site-nav__link::after {
    transition: none;
  }
}

.site-nav__cta {
  text-decoration: none;
}

.site-nav__hamburger {
  display: none;
  position: relative;
  z-index: 201; /* stays above .site-nav__overlay (200) so it remains
                   visible and animates into an X instead of disappearing */
  flex-direction: column;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.site-nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #FFFFFF;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
  transition: background 300ms ease, transform 300ms ease, opacity 300ms ease, filter 300ms ease;
}

.site-nav--scrolled .site-nav__hamburger span,
.site-nav--solid .site-nav__hamburger span {
  filter: none;
}

/* Hamburger → X animation (Épico 24.3), driven by aria-expanded - no extra JS class needed */
.site-nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay */

@keyframes nav-overlay-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0D1F3C;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}

.site-nav__overlay--open {
  display: flex;
  animation: nav-overlay-in 250ms ease forwards;
}

.site-nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.site-nav__mobile-link {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text-on-dark);
  text-decoration: none;
  transition: color 200ms;
}

@media (hover: hover) {
  .site-nav__mobile-link:hover {
    color: #D4B483;
  }
}

.site-nav__mobile-link--active {
  color: #D4B483;
}

.site-nav__mobile-directions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D4B483;
  text-decoration: none;
}

.site-nav__mobile-directions .site-footer__social-icon {
  width: 32px;
  height: 32px;
}

@media (hover: hover) {
  .site-nav__mobile-directions:hover .site-footer__social-icon {
    background: #D4B483;
    color: #0D1F3C;
  }
}

/* Entre 769–1024px o menu desktop (6 links + CTA + logótipo numa única
   linha) fica apertado e o texto quebra (ex.: "Sobre Nós" ou "Agendar
   Visita" a passar para 2 linhas) - compacta-se gap/padding/tamanho de
   fonte para caber tudo numa linha, sem passar para o menu hamburger
   (que só entra a partir de 768px). */
@media (min-width: 769px) and (max-width: 1024px) {
  .site-nav__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-nav__links {
    gap: var(--space-4);
  }

  .site-nav__link {
    font-size: 10px;
    white-space: nowrap;
  }

  .site-nav__cta {
    padding: 12px 20px;
    font-size: 10px;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .site-nav__links,
  .site-nav__cta {
    display: none;
  }

  .site-nav__hamburger {
    display: flex;
  }

  .site-nav__inner {
    padding: 16px var(--section-padding-x);
  }
}

/* Spacer for pages without hero (navbar is fixed, so content would be hidden under it) */
.nav-spacer {
  height: var(--navbar-height, 150px);
}

@media (max-width: 1024px) {
  .nav-spacer {
    height: calc(var(--navbar-height, 150px) + 24px);
  }
}

/* ── Secções azuis - banda de transição dourada (topo/base) ───
   Traço luminoso + linhas onduladas finas concentradas junto às bordas de
   cada secção (shared/assets/edge-glow.svg), partilhado pelas 5 secções
   escuras que consomem --gradient-navy-gold - em vez de textura espalhada
   por toda a secção, fica confinado a uma banda estreita no topo e na
   base, como na referência fornecida por Francisco.
   Nota: .partilha-cta-section saiu deste grupo - passou a ter fundo claro
   (--color-surface-section), a pedido do Francisco, por isso já não usa
   o glow dourado nem o gradiente navy. */

.cta-section::before,
.stats-section::before,
.faq-section::before,
.testimonials-carousel::before,
.sobre-quote::before,
.espaco-editorial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: url('/shared/assets/edge-glow.svg') no-repeat top center / 100% 100%;
  pointer-events: none;
}

.cta-section::after,
.stats-section::after,
.faq-section::after,
.testimonials-carousel::after,
.sobre-quote::after,
.espaco-editorial::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: url('/shared/assets/edge-glow.svg') no-repeat top center / 100% 100%;
  transform: scaleY(-1);
  pointer-events: none;
}

/* ── CTA section ──────────────────────────────────────────── */

.cta-section {
  position: relative;
  background: var(--gradient-navy-gold);
  border-bottom: 1px solid rgba(212, 180, 131, 0.35);
  padding: var(--section-padding-y) var(--section-padding-x);
}

.cta-section__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.cta-section__content {
  max-width: 560px;
}

/* 37.1 - colagem de 2 fotos reais, junto ao texto, em vez do fundo de
   imagem partido (/assets/cta-bg.jpg nunca existiu no projeto) */
.cta-section__collage {
  position: relative;
  height: 320px;
}

.cta-section__collage-img {
  position: absolute;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.cta-section__collage-img--main {
  top: 0;
  left: 0;
  width: 76%;
  height: 78%;
}

.cta-section__collage-img--accent {
  bottom: 0;
  right: 0;
  width: 52%;
  height: 52%;
  border: 4px solid #0D1F3C;
}

@media (max-width: 900px) {
  .cta-section__inner {
    grid-template-columns: 1fr;
  }

  .cta-section__content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .cta-section__collage {
    /* Item de grid com filhos position:absolute (sem tamanho intrínseco) -
       margin:auto desativa o "stretch" por omissão do grid e a caixa
       encolhe para 0 de largura sem um width explícito. */
    width: 100%;
    height: 220px;
    max-width: 420px;
    margin: 32px auto 0;
  }
}

@media (max-width: 600px) {
  .cta-section__collage {
    height: 180px;
    max-width: 320px;
  }

  .cta-section {
    padding-bottom: clamp(32px, 5vw, 48px);
  }
}

.cta-section__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #D4B483;
  margin-bottom: 16px;
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-section__lead {
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-section__btn {
  padding: 16px 40px;
  font-size: 14px;
}

/* ── Newsletter (37.2) ────────────────────────────────────── */

.newsletter-section {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-section);
  padding: clamp(48px, 6vw, 72px) var(--section-padding-x);
}

.newsletter-section__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
}

.newsletter-section__text {
  max-width: 480px;
}

.newsletter-section__title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.newsletter-section__lead {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.newsletter-section__form {
  flex: 1 1 360px;
  max-width: 420px;
}

.newsletter-section__field-wrap {
  display: flex;
  gap: 10px;
}

.newsletter-section__input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--color-surface-card);
  color: var(--color-text-primary);
  transition: border-color 200ms ease;
}

.newsletter-section__input:focus {
  outline: none;
  border-color: #D4B483;
}

.newsletter-section__input--error {
  border-color: #C0392B;
}

.newsletter-section__btn {
  padding: 13px 26px;
  font-size: 13px;
  white-space: nowrap;
}

.newsletter-section__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
}

.consent-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--color-gold-on-light);
  cursor: pointer;
}

.consent-label {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.consent-label a {
  color: var(--color-gold-on-light);
  text-decoration: underline;
}

.consent-label a:hover {
  color: var(--color-text-heading);
}

.newsletter-section__note {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.newsletter-section__msg {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 13px;
}

.newsletter-section__msg--success {
  color: #1A6B3C;
}

.newsletter-section__msg--error {
  color: #C0392B;
}

@media (max-width: 700px) {
  .newsletter-section__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .newsletter-section__text,
  .newsletter-section__form {
    max-width: 100%;
  }

  .newsletter-section__field-wrap {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .newsletter-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .newsletter-section__form {
    flex-basis: auto;
  }
}

/* ── Cancelar Inscrição (38.3) ────────────────────────────── */

.unsub-container {
  max-width: 480px;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(64px, 10vw, 120px);
  text-align: center;
}

.unsub-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

#unsub-confirm-btn,
.unsub-state .btn-secondary {
  margin-top: 4px;
}

/* ── Footer ───────────────────────────────────────────────── */

.site-footer {
  background: #091629;
  border-top: 2px solid #D4B483;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 64px var(--section-padding-x) 40px;
}

.site-footer__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 16px;
}

.site-footer__logo-icon {
  height: 120px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.site-footer__tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__social-icons {
  display: flex;
  gap: 12px;
}

.site-footer__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #D4B483;
  background: transparent;
  color: #D4B483;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.site-footer__social-icon .icon {
  width: 17px;
  height: 17px;
}

@media (hover: hover) {
  .site-footer__social-icon:hover {
    background: #D4B483;
    color: #0D1F3C;
    transform: scale(1.1);
  }
}

.site-footer__social-icon:active {
  transform: scale(0.95);
}

.site-footer__col-title {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #D4B483;
  margin-bottom: 20px;
}

.site-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.site-footer__nav-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 200ms;
}

@media (hover: hover) {
  .site-footer__nav-link:hover {
    color: #D4B483;
  }
}

.site-footer__nav-link--active {
  color: #D4B483;
}

.site-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.site-footer__contact-item .icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #D4B483;
}

.site-footer__contact-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 200ms;
}

@media (hover: hover) {
  .site-footer__contact-link:hover {
    color: #D4B483;
  }
}

.site-footer__bottom {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 20px var(--section-padding-x);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__powered-by {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__elevate-link {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__elevate-link:hover {
  color: #fff;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__legal-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__legal-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__legal-sep {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ── Stats section ────────────────────────────────────────── */

.stats-section {
  position: relative;
  background: var(--gradient-navy-gold);
  border-bottom: 1px solid rgba(212, 180, 131, 0.35);
  padding: 64px var(--section-padding-x);
}

.stats-section--split {
  padding: 0;
}

.stats-row {
  padding: 56px var(--section-padding-x) 40px;
}

.awards-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px var(--section-padding-x);
}

.awards-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: var(--container-max);
  margin: 0 auto;
}

.award-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.award-chip__trophy {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-gold);
}

.award-chip__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #D4B483;
}

.award-chip__stars .icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: none;
}

.award-chip__sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 20px;
  line-height: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 4vw, 48px);
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item__icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border: 1px solid rgba(212, 180, 131, 0.4);
  border-radius: 50%;
}

.stat-item__icon-wrap::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(212, 180, 131, 0.28), transparent 70%);
  z-index: -1;
}

.stat-item__icon {
  width: 22px;
  height: 22px;
  color: #D4B483;
}

.stat-item__number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: #D4B483;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 767px) {
  .stats-grid {
    gap: 16px;
  }

  .stat-item__number {
    font-size: 16px;
  }

  .award-chip__sep {
    display: none;
  }
}

@media (max-width: 599px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
  }

  .stat-item:nth-child(3) {
    grid-column: 1 / -1;
  }

  .stat-item__number {
    font-size: 14px;
  }

  .stat-item__label {
    font-size: 11px;
    letter-spacing: 2px;
  }
}

/* ── Tipos de Eventos section (19.2) ──────────────────────── */

.eventos-tipo-section {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-section);
  padding: clamp(48px, 6vw, 80px) var(--section-padding-x);
}

.eventos-tipo-section .section-header {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.evento-tipo-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 0;
}

.evento-tipo-divider span {
  width: 32px;
  height: 1px;
  background: rgba(184, 146, 42, 0.4);
}

.evento-tipo-divider i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent-gold);
  transform: rotate(45deg);
}

.evento-tipo-columns {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(24px, 4vw, 40px) 20px;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.evento-tipo-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  gap: 10px;
}

.evento-tipo-column__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent-gold);
  color: var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: background 0.25s ease, color 0.25s ease;
}

@media (hover: hover) {
  .evento-tipo-column:hover .evento-tipo-column__icon {
    background: var(--color-accent-gold);
    color: #fff;
  }
}

.evento-tipo-column__name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-heading);
}

.evento-tipo-column__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.evento-tipo-cta-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: clamp(32px, 5vw, 48px);
}

.evento-tipo-column-skeleton {
  background: rgba(13, 31, 60, 0.06);
  border-radius: var(--radius-md);
  height: 160px;
}

@media (max-width: 1023px) {
  .evento-tipo-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 599px) {
  .evento-tipo-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
}

@media (max-width: 425px) {
  .evento-tipo-columns {
    grid-template-columns: 1fr;
  }
}

/* ── O Espaço Editorial (19.3) ────────────────────────────── */

.espaco-editorial {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  background: var(--color-navy);
  background-image: radial-gradient(circle at 15% 20%, rgba(212, 180, 131, 0.06), transparent 45%);
  padding: var(--section-padding-y) var(--section-padding-x);
}

.espaco-editorial__content-wrap {
  display: flex;
  align-items: center;
}

.espaco-editorial__content {
  max-width: 480px;
}

.espaco-editorial__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #D4B483;
  margin-bottom: 12px;
}

.espaco-editorial__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.espaco-editorial .divider-gold {
  margin: 24px 0 28px;
}

.espaco-editorial__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.espaco-editorial__text p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-on-dark-muted);
}

.espaco-editorial__text p + p {
  margin-top: 16px;
}

.espaco-editorial__icon-features {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 20px;
  margin-bottom: 36px;
}

.espaco-editorial__icon-features--rooms {
  grid-template-columns: repeat(3, auto);
  margin-top: -16px;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 250, 248, 0.12);
}

.espaco-editorial__icon-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.espaco-editorial__icon-feature .icon {
  width: 22px;
  height: 22px;
  color: #D4B483;
}

.espaco-editorial__icon-feature span {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-text-on-dark-muted);
}

.espaco-editorial__visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-xl);
}

.espaco-editorial__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.espaco-editorial__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(250, 250, 248, 0.9);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.espaco-editorial__play .icon {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

@media (hover: hover) {
  .espaco-editorial__play:hover {
    background: #FFFFFF;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.espaco-editorial__play.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.85);
}

@media (max-width: 767px) {
  .espaco-editorial {
    grid-template-columns: 1fr;
  }

  .espaco-editorial__content-wrap {
    order: 1;
  }

  .espaco-editorial__visual {
    order: 2;
    aspect-ratio: 16 / 10;
  }

  .espaco-editorial__icon-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .espaco-editorial__icon-features--rooms {
    grid-template-columns: repeat(3, 1fr);
  }

  .espaco-editorial__content > .btn-primary {
    display: flex;
    width: fit-content;
    margin-inline: auto;
  }
}

/* ── Como Organizar o Seu Evento (34) ─────────────────────── */

.processo-section {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-section);
  padding: var(--section-padding-y) var(--section-padding-x);
}

.processo-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.processo-section .section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
  text-align: center;
}

.processo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.processo-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

@media (min-width: 901px) {
  .processo-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    width: calc(100% + 32px);
    height: 2px;
    background: rgba(212, 180, 131, 0.35);
    z-index: 0;
  }
}

/* 36.3 - mesmo selo decorativo do Épico 36.1 (navy + ícone dourado),
   unificado em toda a homepage; o fundo opaco também mascara a linha
   conectora (34.2) que passa por detrás do selo */
.processo-step__icon-wrap {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #D4B483;
  border-radius: 50%;
  background: #0D1F3C;
  color: #D4B483;
}

.processo-step__icon-wrap .icon {
  width: 22px;
  height: 22px;
}

.processo-step__number {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-on-light);
  margin: 16px 0 8px;
}

.processo-step__title {
  font-family: var(--font-heading);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 400;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.processo-step__text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.processo-cta {
  text-align: center;
  margin-top: clamp(40px, 6vw, 56px);
}

@media (max-width: 900px) {
  .processo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 24px;
  }
}

@media (max-width: 540px) {
  .processo-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ── Porquê a Quinta do Monte (19.4) ──────────────────────── */

.porque-section {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-base);
  padding: clamp(48px, 6vw, 80px) var(--section-padding-x) var(--section-padding-y);
}

.porque-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
}

.porque-section .section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
  text-align: center;
}

.porque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}

.porque-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-base);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) {
  .porque-card:hover {
    border-color: rgba(212, 180, 131, 0.45);
    box-shadow: 0 6px 28px rgba(13, 31, 60, 0.09);
    transform: translateY(-3px);
  }
}

/* 36.1 - selo decorativo "sólido" (navy + ícone dourado), sempre visível -
   não depende de :hover, ao contrário do selo interativo (contactos/footer) */
.porque-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #D4B483;
  background: #0D1F3C;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #D4B483;
  transition: transform 250ms ease;
}

.porque-card__icon-wrap svg {
  width: 22px;
  height: 22px;
}

@media (hover: hover) {
  .porque-card:hover .porque-card__icon-wrap {
    transform: scale(1.08);
  }
}

.porque-card__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.3;
}

.porque-card__text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

@media (max-width: 1023px) {
  .porque-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .porque-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Partilha CTA Section ────────────────────────────────── */

.partilha-cta-section {
  position: relative;
  background: var(--color-surface-section);
  padding: clamp(72px, 10vw, 120px) 0;
  overflow: hidden;
}

.partilha-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.partilha-cta-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--color-gold-on-light);
  margin-bottom: 20px;
}

.partilha-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.1;
  margin: 0 0 12px;
}

.partilha-cta-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--color-gold-on-light);
  font-style: italic;
  font-weight: 400;
  margin: 0 0 28px;
  line-height: 1.4;
}

.partilha-cta-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.85;
  margin: 0 0 44px;
  max-width: 420px;
}

/* Cor/gradiente/borda/glow vêm agora de .btn-primary (classe combinada no
   HTML) - aqui só ficam os ajustes de tamanho/tipografia próprios desta
   secção. */
.partilha-cta-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 18px 36px;
}

/* Images composition */

.partilha-cta-images {
  position: relative;
  height: 480px;
}

.partilha-cta-img {
  position: absolute;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

.partilha-cta-img--back {
  width: 78%;
  height: 370px;
  top: 0;
  right: 0;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.partilha-cta-img--front {
  width: 58%;
  height: 260px;
  bottom: 0;
  left: 0;
  border: 5px solid #0D1F3C;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.partilha-cta-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-accent-gold);
  color: #0D1F3C;
  border-radius: 50%;
  width: 88px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 3px solid #0D1F3C;
  z-index: 2;
}

@media (max-width: 900px) {
  .partilha-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .partilha-cta-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .partilha-cta-btn {
    justify-content: center;
  }

  .partilha-cta-images {
    height: 320px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .partilha-cta-img--back {
    height: 240px;
  }

  .partilha-cta-img--front {
    height: 170px;
  }

  .partilha-cta-badge {
    width: 72px;
    height: 72px;
    font-size: 9px;
  }
}

@media (max-width: 375px) {
  .partilha-cta-btn svg {
    display: none;
  }
}

/* ── FAQ (19.5) ───────────────────────────────────────────── */

.faq-section {
  position: relative;
  background: var(--gradient-navy-gold);
  border-bottom: 1px solid rgba(212, 180, 131, 0.35);
  padding: var(--section-padding-y) var(--section-padding-x);
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section .section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
  text-align: center;
}

.faq-section .section-header__title {
  color: #FFFFFF;
}

.faq-section .section-header__eyebrow {
  color: #D4B483;
}

.faq-section .divider-gold {
  opacity: 0.5;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(212, 180, 131, 0.18);
}

.faq-item:first-child {
  border-top: 1px solid rgba(212, 180, 131, 0.18);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 600;
  color: #FFFFFF;
  background: none;
  border: none;
  cursor: pointer;
  gap: 20px;
  transition: color 0.2s ease, opacity 0.15s ease;
}

.faq-item__question:active {
  opacity: 0.7;
}

@media (hover: hover) {
  .faq-item__question:hover {
    color: #D4B483;
  }
}

.faq-item__icon {
  font-size: 24px;
  font-weight: 300;
  color: #D4B483;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s ease;
  display: inline-block;
}

.faq-item--open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq-item--open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.68);
  padding-bottom: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__icon { transition: none; }
  .faq-item__answer { transition: none; }
}

/* ── Homepage sections ────────────────────────────────────── */

.hp-section {
  padding: var(--space-8) var(--space-7);
}

.hp-section--alt {
  background: var(--color-surface-section);
}

.hp-section--dark {
  background: var(--color-surface-footer);
}

.hp-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  margin-bottom: var(--space-7);
}

.hp-section__title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 600;
  color: var(--color-text-heading);
}

.hp-section--dark .hp-section__title {
  color: var(--color-text-on-dark);
}

.hp-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  max-width: var(--container-max);
  margin: 0 auto;
}

.hp-section__cta {
  text-align: center;
  margin-top: var(--space-7);
}

/* skeletons on dark background */
.hp-section--dark .skeleton {
  background: rgba(255, 255, 255, 0.12);
}

/* ── Service card extras ──────────────────────────────────── */

.card__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D4B483;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) {
  .card:hover .card__eyebrow {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .card__eyebrow {
    opacity: 1;
    transform: none;
  }
}

.card__title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.3;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D4B483;
  text-decoration: none;
  margin-top: 8px;
  transition: gap 0.2s ease;
}

@media (hover: hover) {
  .card__link:hover {
    gap: 10px;
  }
}

/* ── Testimonials carousel ────────────────────────────────── */

.testimonials-carousel {
  background: var(--gradient-navy-gold);
  border-bottom: 1px solid rgba(212, 180, 131, 0.35);
  padding: clamp(96px, 10vw, 140px) 0 clamp(48px, 6vw, 72px);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.testimonials-carousel .section-header {
  position: relative;
  z-index: 2;
  text-align: left;
  margin-bottom: clamp(32px, 5vw, 56px);
  padding: 0 var(--section-padding-x);
}

.testimonials-carousel .section-header__title {
  color: #FFFFFF;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.testimonials-carousel__stage {
  position: relative;
  z-index: 2;
}

.testimonials-carousel__track {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 30vw, 380px);
}

.testimonials-carousel__item {
  display: none;
  position: absolute;
  inset: 0;
}

.testimonials-carousel__item.is-active {
  display: flex;
  animation: testimonial-fade-in 500ms ease forwards;
}

@keyframes testimonial-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-carousel__item.is-active {
    animation: none;
  }
}

.testimonials-carousel__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/assets/image-depoimentos-final.jpg');
  background-size: cover;
  background-position: center 20%;
}

@media (max-width: 430px) {
  .testimonials-carousel__media {
    /* Foto original é paisagem com o casal à direita - em ecrãs muito
       estreitos "cover" fica demasiado apertado na horizontal para mostrar
       os dois com qualquer position-x. Usa-se um recorte vertical dedicado
       (já centrado no casal) em vez de tentar acertar a posição na foto larga.
       Limite em 430px (não 425px) como margem de segurança contra
       arredondamentos de subpixel do browser exatamente nos 425px. */
    background-image: url('/assets/image-depoimentos-mobile.jpg');
    background-position: center 10%;
  }
}

.testimonials-carousel__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 22, 41, 0.9) 0%, rgba(9, 22, 41, 0.55) 12%, rgba(9, 22, 41, 0.15) 24%, transparent 34%),
    linear-gradient(90deg, rgba(9, 22, 41, 0.94) 0%, rgba(9, 22, 41, 0.8) 32%, rgba(9, 22, 41, 0.35) 60%, rgba(9, 22, 41, 0.1) 100%),
    linear-gradient(0deg, rgba(9, 22, 41, 0.55) 0%, transparent 30%);
}

.testimonials-carousel__quote {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  max-width: 1000px;
  margin: 0;
  padding: clamp(12px, 2vw, 24px) var(--section-padding-x) clamp(48px, 6vw, 64px);
  text-align: left;
}

.testimonials-carousel__btn {
  align-self: flex-start;
  margin-top: 8px;
}

.testimonials-carousel__mark {
  font-family: var(--font-heading);
  font-size: 1.3em;
  color: #D4B483;
  opacity: 0.9;
  margin-right: 3px;
}

.testimonials-carousel__text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(15px, 1.9vw, 20px);
  color: #FFFFFF;
  line-height: 1.5;
  margin-bottom: 14px;
}

.testimonials-carousel__stars {
  display: flex;
  gap: 4px;
  color: #D4B483;
  margin-bottom: 12px;
}

.testimonials-carousel__stars .icon {
  width: 14px;
  height: 14px;
}

.testimonials-carousel__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonials-carousel__name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.testimonials-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(9, 22, 41, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 18px;
  color: #FFFFFF;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms, border-color 200ms, transform 150ms ease;
  z-index: 2;
}

.testimonials-carousel__arrow--prev { left: 16px; }
.testimonials-carousel__arrow--next { right: 16px; }

.testimonials-carousel__arrow:active {
  transform: translateY(-50%) scale(0.9);
}

@media (hover: hover) {
  .testimonials-carousel__arrow:hover {
    background: rgba(9, 22, 41, 0.65);
    border-color: #D4B483;
  }
}

.testimonials-carousel__dots {
  position: absolute;
  left: var(--section-padding-x);
  bottom: clamp(20px, 3vw, 32px);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.testimonials-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background 200ms;
}

.testimonials-carousel__dot.is-active {
  background: #D4B483;
}

.testimonials-carousel__skeleton {
  padding: 40px 0;
}

@media (max-width: 767px) {
  .testimonials-carousel__quote {
    max-width: none;
    padding: 24px 24px 56px;
  }
}

/* Tablet e mobile: setas juntas em baixo, em vez de nos lados
   (mais faceis de tocar). O stage ganha altura extra dedicada para as
   setas, para nao sobrepor o conteudo do depoimento (texto mais longo
   empurra o botao "Ver este evento" para baixo, dentro do track). */
@media (max-width: 1024px) {
  .testimonials-carousel__stage {
    min-height: calc(clamp(320px, 30vw, 380px) + 76px);
  }

  .testimonials-carousel__arrow {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .testimonials-carousel__arrow--prev {
    left: calc(50% - 48px);
    right: auto;
  }

  .testimonials-carousel__arrow--next {
    left: calc(50% + 8px);
    right: auto;
  }

  .testimonials-carousel__arrow:active {
    transform: scale(0.9);
  }
}

@media (max-width: 1199px) {
  .hp-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hp-section {
    padding: var(--space-6) var(--space-5);
  }

  .hp-section__grid {
    grid-template-columns: 1fr;
  }

  .hp-section__title {
    font-size: 28px;
  }
}

/* ── Split section ────────────────────────────────────────── */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* fica no próprio .split-section (não nas colunas) para que a camada de
     pétalas - inserida como filho da secção - pinte por cima deste fundo
     e continue visível por trás do texto/foto, em vez de ficar tapada por
     um fundo opaco a nível da coluna. */
  background: var(--color-surface-section);
}

.split-section--reverse .split-section__img-col {
  order: 2;
}

.split-section--reverse .split-section__text-col {
  order: 1;
}

.split-section__img-col {
  min-height: 600px;
  overflow: hidden;
  position: relative;
}

.split-section__img-col--card {
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vw, 64px);
}

.owners-photo-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.owners-photo-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.owners-photo-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 25, 0.8) 0%, rgba(10, 15, 25, 0.3) 38%, transparent 62%);
}

@media (hover: hover) {
  .owners-photo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
  }

  .owners-photo-card:hover .owners-photo-card__img {
    transform: scale(1.04);
  }
}

.owners-photo-card__captions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px 24px;
}

.owners-photo-card__person {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.owners-photo-card__person--right {
  align-items: flex-end;
  text-align: right;
}

.owners-photo-card__signature {
  font-family: 'Dancing Script', 'Bagnard', var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1;
  color: #D8B979;
  margin-bottom: 4px;
}

.owners-photo-card__name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.owners-photo-card__role {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.split-section__highlight {
  font-family: var(--font-heading);
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.6;
  color: #B8892E;
  margin-bottom: 20px;
}

.split-section__flourish {
  width: 56px;
  height: 20px;
  color: #D4B483;
}

@media (max-width: 767px) {
  .split-section__img-col--card {
    min-height: 0;
    height: auto;
    margin-bottom: clamp(32px, 6vw, 64px);
  }

  .owners-photo-card {
    max-width: 340px;
  }
}

@media (max-width: 590px) {
  .owners-photo-card {
    margin-top: 80px;
  }
}

.split-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.split-section__img-col.in-view .split-section__img {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .split-section__img {
    transform: scale(1) !important;
    transition: none !important;
  }
}

.split-section__text-col {
  padding: clamp(48px, 8vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-section--dark .split-section__text-col {
  background: #0D1F3C;
}

.split-section__text-col .divider-gold {
  margin: 0 0 24px;
}

.split-section__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-on-light);
  margin-bottom: 12px;
}

.split-section--dark .split-section__eyebrow {
  color: #D4B483;
}

.split-section__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--color-text-heading);
  line-height: 1.2;
  margin-bottom: 20px;
}

/* Título "Um Projeto de Vida" (Sobre Nós) pede um serif elegante, mais
   próximo da referência do Francisco, em vez do heading sans-serif do
   resto do site - por isso este ecrã usa Playfair Display à parte. */
.sobre-page .split-section__title {
  font-family: 'Playfair Display', var(--font-heading);
  font-weight: 700;
}

.split-section--dark .split-section__title {
  color: #FFFFFF;
}

.split-section__text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.split-section--dark .split-section__text {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 767px) {
  .split-section {
    grid-template-columns: 1fr;
  }

  .split-section--reverse .split-section__img-col,
  .split-section--reverse .split-section__text-col {
    order: unset;
  }

  .split-section__img-col:not(.split-section__img-col--card) {
    min-height: unset;
    height: 70vw;
  }

  .split-section__text-col {
    padding: clamp(32px, 6vw, 64px);
  }
}

/* ── Page hero (inner pages) ──────────────────────────────── */

.page-hero {
  position: relative;
  height: 50vh;
  min-height: 320px;
  background-color: #0D1F3C;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero--eventos {
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  background-image: url('/assets/bg-eventos-final.jpg');
  align-items: flex-start;
  padding-top: var(--navbar-height, 130px);
}

.page-hero--sobre {
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  background-image: url('/assets/herosection-sobrenos.jpeg');
  align-items: center;
}

.page-hero--galeria {
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  background-image: url('/assets/image-background-herosection-galeria.jpg');
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
}

/* Texto à esquerda + filtros encostados à base do hero (em vez de tudo
   centrado verticalmente/horizontalmente) - o conteúdo passa a ocupar a
   altura toda do hero, com a legenda/título no meio e os filtros empurrados
   para o fundo via margin-top: auto. */
.page-hero--galeria .page-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
  padding: 26vh var(--section-padding-x) clamp(40px, 6vw, 59px);
  box-sizing: border-box;
}

.page-hero--galeria .page-hero__subtitle {
  margin-left: 0;
  margin-right: 0;
}

.page-hero--galeria .gallery-filters--on-hero {
  margin-top: auto;
  justify-content: center;
}

/* Em tablets o texto fica demasiado colado ao topo/logótipo com os 26vh
   pensados para ecrãs largos - desce-se um pouco mais. */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-hero--galeria .page-hero__content {
    padding-top: 34vh;
  }
}

/* Em ecrãs pequenos os 44vh de padding-top somados ao título, subtítulo e
   filtros (que quebram em mais linhas) não cabem nos 100svh do hero - reduz-se
   o afastamento do topo e deixa-se a secção crescer em altura (em vez de
   altura fixa) para o conteúdo caber sem transbordar para fora da secção. */
@media (max-width: 768px) {
  .page-hero--galeria {
    height: auto;
    min-height: 100svh;
  }

  .page-hero--galeria .page-hero__content {
    height: auto;
    min-height: 100svh;
    padding-top: clamp(56px, 14vh, 120px);
  }

  /* O título fica junto ao topo (padding-top acima) - só o subtítulo (e os
     filtros, que o seguem no fluxo) descem, para deixar a imagem de fundo
     (noivos + pôr do sol) visível por baixo do título. */
  .page-hero--galeria .page-hero__subtitle {
    margin-top: clamp(124px, 28vh, 200px);
  }
}

/* Com a hero de altura automática (mobile), o margin-top: auto dos filtros
   deixa de ter espaço sobrante para "empurrar" - sem isto encostam ao
   subtítulo. */
@media (max-width: 425px) {
  .page-hero--galeria .page-hero__subtitle {
    display: none;
  }

  /* Com o subtítulo escondido, o seu margin-top deixa de contar para o
     layout - passa-se a mesma margem para os filtros (que ficam a seguir
     no fluxo), para manter o espaçamento igual ao de quando o subtítulo
     estava visível. */
  .page-hero--galeria .gallery-filters--on-hero {
    margin-top: 345px;
  }
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 60, 0.65);
}

/* Sem o filtro azulado (tom navy) do overlay por omissão - gradiente neutro
   (preto) mais forte na base, onde ficam os filtros, e mais subtil no topo,
   para deixar as cores quentes da foto por si só. */
.page-hero--galeria .page-hero__overlay,
.page-hero--eventos .page-hero__overlay,
.page-hero--sobre .page-hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 0 var(--section-padding-x);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 12px;
}

/* 63.2.2 - mesmo "toque preto" do título da Home (.hero__title), só na
   Galeria (não em .page-hero--eventos nem cancelar-inscricao.html, que
   partilham a classe base .page-hero__title). */
.page-hero--galeria .page-hero__title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* 64.1.4 - mesmo "toque preto" do título da Home (.hero__title), agora
   também no hero fotográfico da Eventos. */
.page-hero--eventos .page-hero__title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Mesmo "toque preto" do título da Home, agora também no hero da Sobre Nós
   - e alinhado à esquerda (como na Home/Eventos), em vez de centrado. */
.page-hero--sobre .page-hero__title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.page-hero--sobre {
  justify-content: flex-start;
}

.page-hero--sobre .page-hero__content {
  text-align: left;
}

/* Tablet (769–1024px): a hero de 100svh + centragem vertical de base já
   funciona bem em ecrãs largos, mas em tablets estreitos o título fica
   demasiado colado ao logótipo - desce-se um pouco, mesmo padrão já usado
   em .page-hero--galeria. */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-hero--sobre .page-hero__content {
    padding-top: 8vh;
  }
}

/* Mobile/tablet estreito (≤768px): a centragem vertical (align-items:center)
   numa hero de altura fixa (100svh/min-height:640px) não dá uma posição
   previsível - em ecrãs baixos ou com muito texto, o título pode ficar
   fora da área visível. Em vez disso, ancora-se o conteúdo a uma distância
   fixa do topo (mesmo padrão já usado em .page-hero--galeria/--eventos),
   e deixa-se a secção crescer em altura consoante o conteúdo. */
@media (max-width: 768px) {
  .page-hero--sobre {
    height: auto;
    min-height: 100svh;
    align-items: flex-start;
  }
  .page-hero--sobre .page-hero__content {
    padding-top: calc(var(--navbar-height, 104px) + 24px);
  }
}

/* 63.2.3 - mesmo tratamento do subtítulo da Home (.hero__subtitle):
   tamanho, opacidade e letter-spacing; max-width/margin mantidos
   (específicos do layout à esquerda da Galeria). */
.page-hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.3px;
  max-width: 560px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* ── Inner page header (legacy, kept for compat) ──────────── */

.page-header {
  padding: var(--space-8) var(--space-7) var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 300;
  color: var(--color-text-heading);
}

.page-header__title--bold {
  font-weight: 600;
}

/* ── Inner page section wrapper ───────────────────────────── */

.page-section {
  padding: var(--space-8) var(--space-7);
  max-width: var(--container-wide);
  margin: 0 auto;
}

.card__description {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
}

.page-empty {
  font-size: 15px;
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--space-8) 0;
  grid-column: 1 / -1;
}

@media (max-width: 767px) {
  .page-header {
    padding: var(--space-6) var(--space-5) var(--space-5);
  }

  .page-header__title {
    font-size: 32px;
  }

  .page-section {
    padding: var(--space-6) var(--space-5);
  }
}

/* ── Sobre Nós ────────────────────────────────────────────── */

.sobre-lead {
  max-width: 680px;
  margin: 0 auto var(--space-8);
  text-align: center;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-text-secondary);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  max-width: 1100px;
  margin: 0 auto var(--space-8);
}

.sobre-block__label {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 300;
  color: var(--color-text-heading);
  margin-bottom: var(--space-4);
}

.sobre-block__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-text-secondary);
}

.sobre-block__text + .sobre-block__text {
  margin-top: var(--space-4);
}

.sobre-highlight {
  background: var(--color-surface-section);
  border-left: 3px solid var(--color-accent-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-5) var(--space-6);
  max-width: 680px;
  margin: 0 auto var(--space-8);
}

.sobre-highlight__quote {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.6;
}

.sobre-highlight__source {
  display: block;
  margin-top: var(--space-3);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
}

@media (max-width: 767px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* ── Contactos ────────────────────────────────────────────── */

.contactos-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-8);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contactos-info__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: var(--space-5);
}

.contactos-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contactos-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.contactos-item__label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
}

.contactos-item__value {
  font-size: 15px;
  font-weight: 300;
  color: var(--color-text-primary);
  text-decoration: none;
}

a.contactos-item__value:hover {
  color: var(--color-accent-gold);
}

.contactos-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.contactos-social__link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.contactos-social__link:hover {
  color: var(--color-accent-gold);
}

.contactos-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
}

.contactos-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

@media (max-width: 767px) {
  .contactos-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .contactos-map {
    aspect-ratio: 3 / 2;
  }
}

/* ── Eventos grid (Portfolio) ─────────────────────────────── */

.eventos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.evento-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FFFFFF;
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .evento-card:hover {
    transform: translateY(-3px);
  }
}

.evento-card__image {
  position: relative;
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}

.evento-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

@media (hover: hover) {
  .evento-card:hover .evento-card__image img {
    transform: scale(1.04);
  }
}

.evento-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  padding: 4px 12px;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-pill);
  background: rgba(13, 31, 60, 0.55);
  backdrop-filter: blur(4px);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.evento-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--color-surface-section);
}

.evento-card__date {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm-gray);
  margin-bottom: 6px;
}

.evento-card__title {
  font-family: var(--font-heading);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  color: var(--color-text-heading);
  line-height: 1.3;
}

.evento-card__excerpt {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.evento-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-on-light);
}

.evento-card__cta .icon {
  width: 14px;
  height: 14px;
  transition: transform 200ms ease;
}

@media (hover: hover) {
  .evento-card:hover .evento-card__cta .icon {
    transform: translateX(4px);
  }
}

@media (max-width: 1199px) {
  .eventos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .eventos-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Evento detalhe ───────────────────────────────────────── */

.evento-hero {
  position: relative;
  /* sobe 50px por baixo da onda dourada da navbar (que desce um pouco além
     da base do menu) - sem isto, os troços mais rasos da onda deixam ver
     o fundo claro do .nav-spacer entre a curva e o topo da foto. */
  margin-top: -50px;
  height: calc(70vh + 50px);
  min-height: 470px;
  max-height: 770px;
  overflow: hidden;
  background: var(--color-surface-footer);
}

.evento-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evento-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 31, 60, 0.88) 0%,
    rgba(13, 31, 60, 0.15) 55%,
    rgba(13, 31, 60, 0.1) 100%
  );
}

.evento-hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--section-padding-x) clamp(32px, 6vw, 64px);
}

.evento-hero__tipo {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 16px;
  border: 1px solid #F6E2B0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-accent-gold) 0%, #F3DBA6 50%, var(--color-accent-gold) 100%);
  box-shadow: 0 0 12px 2px rgba(212, 180, 131, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
}

.evento-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.15;
  max-width: 800px;
}

.evento-content {
  max-width: 760px;
  margin: 0 auto;
}

.evento-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: clamp(16px, 3vw, 24px);
}

.evento-facts__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
}

.evento-facts__item .icon {
  width: 16px;
  height: 16px;
  color: var(--color-gold-on-light);
  flex-shrink: 0;
}

.evento-facts__date-short {
  display: none;
}

@media (max-width: 552px) {
  .evento-facts__date-long {
    display: none;
  }
  .evento-facts__date-short {
    display: inline;
  }
  /* Grid de 2 colunas iguais em vez de flex-wrap - todos os badges (data,
     tipo, fotos, vídeo) ficam com a mesma largura/altura, uniformes. */
  .evento-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .evento-facts__item {
    width: auto;
    justify-content: center;
  }
}

@media (max-width: 340px) {
  .evento-facts {
    grid-template-columns: 1fr;
  }
}

.evento-desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  white-space: pre-line;
}

.evento-section {
  margin-bottom: var(--space-8);
}

.evento-section__header {
  margin-bottom: var(--space-5);
}

.evento-section__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-on-light);
  margin-bottom: var(--space-3);
}

.evento-section .divider-gold {
  margin: 0 0 16px;
}

.evento-section-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: var(--space-5);
}

.evento-gallery__grid {
  columns: 3;
  gap: 8px;
}

.evento-gallery__item {
  break-inside: avoid;
  display: block;
  width: 100%;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  position: relative;
}

.evento-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease;
}

.evento-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 60, 0.3);
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: var(--radius-sm);
}

@media (hover: hover) {
  .evento-gallery__item:hover img {
    transform: scale(1.04);
  }

  .evento-gallery__item:hover::after {
    opacity: 1;
  }
}

/* Gallery carousel */
.evento-gallery-carousel {
  position: relative;
}

.evento-gallery-carousel__track {
  position: relative;
}

.evento-gallery-carousel__slide {
  display: none;
}

.evento-gallery-carousel__slide.is-active {
  display: block;
}

.evento-gallery-carousel__slide .evento-gallery__item {
  display: block;
  width: 100%;
  height: 520px;
  margin-bottom: 0;
  cursor: zoom-in;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.evento-gallery-carousel__slide .evento-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evento-gallery-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.evento-gallery-carousel__btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

.evento-gallery-carousel__btn--prev { left: 12px; }
.evento-gallery-carousel__btn--next { right: 12px; }

.evento-gallery-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.evento-gallery-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212, 180, 131, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.evento-gallery-carousel__dot.is-active {
  background: var(--color-gold);
}

.evento-video-wrap {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.evento-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Video carousel */
.evento-video-carousel {
  position: relative;
}

.evento-video-carousel__slide {
  display: none;
}

.evento-video-carousel__slide.is-active {
  display: block;
}

.evento-video-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 16px));
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.evento-video-carousel__btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.evento-video-carousel__btn--prev { left: -20px; }
.evento-video-carousel__btn--next { right: -20px; }

.evento-video-carousel__counter {
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-warm-gray);
}

.evento-testimonial-section {
  background: #F5EFE3;
  border-radius: 16px;
  padding: 52px 48px 56px;
  text-align: center;
  margin-bottom: var(--space-8);
}

.evento-testimonial-section__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-on-light);
  margin-bottom: 16px;
}

.evento-testimonial-section__rule {
  width: 48px;
  height: 2px;
  background: var(--color-gold);
  border: none;
  margin: 0 auto 32px;
}

.evento-testimonial-section__text {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  font-style: italic;
  color: var(--color-text-heading);
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.evento-cta {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface-section);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-7);
}

.evento-cta__text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-on-light);
  margin-bottom: var(--space-3);
}

.evento-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: var(--space-5);
}

.evento-cta__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .evento-hero {
    height: calc(56vh + 50px);
    min-height: 390px;
  }

  .evento-gallery__grid {
    columns: 2;
  }

  .evento-cta {
    padding: var(--space-6) var(--space-4);
  }
}

/* Lightbox */

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes lightbox-zoom-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes lightbox-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.lightbox {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
}

.lightbox[open] {
  animation: lightbox-fade-in 200ms ease forwards;
}

.lightbox[open] .lightbox__img {
  animation: lightbox-zoom-in 250ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lightbox--closing {
  animation: lightbox-fade-out 150ms ease forwards;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: fixed;
  top: var(--space-5);
  right: var(--space-5);
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: transform 200ms ease;
}

@media (hover: hover) {
  .lightbox__close:hover {
    transform: rotate(90deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox[open],
  .lightbox[open] .lightbox__img,
  .lightbox--closing {
    animation: none;
  }
}


/* ── Mobile overhaul (Story 10.11) ───────────────────────── */

html, body {
  overflow-x: hidden;
}

@media (max-width: 767px) {
  /* Minimum font sizes */
  body { font-size: 14px; }

}

/* ── Depoimento form ──────────────────────────────────────── */

.depoimento-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.depoimento-lead {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-7);
  text-align: center;
}

.depoimento-form {
  margin-top: var(--space-6);
}

/* ── Agendar form ─────────────────────────────────────────── */

.agendar-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.agendar-lead {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-7);
  text-align: center;
}

.agendar-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-5);
}

@media (max-width: 767px) {
  .agendar-form__grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet (768px–1200px, cobre o iPad Pro 11" em retrato e paisagem):
   o widget nativo de <input type="date"> no iPadOS/Safari não encolhe
   de forma fiável dentro de uma coluna de ~380–540px desta grid, por
   mais que o CSS diga width:100% (confirmado em dispositivo real; o
   mesmo CSS funciona bem no WebKit de secretária a qualquer largura -
   é uma limitação do controlo nativo, não um bug de layout).

   Em vez de marcar campo a campo quais precisam da linha inteira
   (frágil - falha sempre que se adiciona um novo campo e alguém se
   esquece de o marcar), a grid inteira passa a 1 coluna nesta gama:
   todos os campos ficam garantidamente com a mesma largura, sem
   excepções para rastrear. Desktop (>1200px, onde a coluna já tem
   espaço de sobra) e mobile (<768px, já é 1 coluna acima) mantêm o
   layout original de 2 colunas / 1 coluna, respectivamente. */
@media (min-width: 768px) and (max-width: 1200px) {
  .agendar-form__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Partilha form section titles ───────────────────────────── */

.form-section-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid #E8E1D5;
}

/* ── Partilha - grelha ordenável de fotos adicionais ───────────
   Mesmo padrão visual/interação do backoffice (.admin-img-* em
   admin/css/admin.css): arrastar para reordenar, campo numérico de
   posição, badge de ordem e botão de remover por foto. */

.partilha-img-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.partilha-img-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.partilha-img-thumb {
  position: relative;
  cursor: grab;
}

.partilha-img-item.is-dragging .partilha-img-thumb {
  opacity: 0.4;
}

.partilha-img-item.is-drag-over .partilha-img-thumb {
  outline: 2px dashed var(--color-accent-gold);
  outline-offset: 3px;
}

.partilha-img-preview {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  display: block;
}

.partilha-img-order-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(13, 31, 60, 0.85);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.partilha-img-order-input {
  width: 56px;
  text-align: center;
  padding: 4px 6px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.partilha-img-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DC3545;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s;
}

.partilha-img-remove:hover {
  background: #b02030;
}

/* ── Gallery page ──────────────────────────────────────────── */

.gallery-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.gallery-filter-btn {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid rgba(13, 31, 60, 0.22);
  border-radius: 100px;
  background: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 150ms ease;
}

@media (hover: hover) {
  .gallery-filter-btn:hover {
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
  }
}

.gallery-filter-btn:active {
  transform: scale(0.96);
}

.gallery-filter-btn.is-active {
  background: linear-gradient(90deg, var(--color-accent-gold) 0%, #F3DBA6 50%, var(--color-accent-gold) 100%);
  border-color: #F6E2B0;
  color: #0D1F3C;
}

/* Variante sobre a foto do hero (Épico 62.2) - contorno branco translúcido
   por omissão, preenchimento dourado sólido no estado activo, em vez das
   cores pensadas para fundo claro usadas pela variante por omissão. */
.gallery-filters--on-hero {
  margin-top: clamp(28px, 4vw, 40px);
  margin-bottom: 0;
}

.gallery-filters--on-hero .gallery-filter-btn {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

@media (hover: hover) {
  .gallery-filters--on-hero .gallery-filter-btn:hover {
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
  }
}

.gallery-filters--on-hero .gallery-filter-btn.is-active {
  background: linear-gradient(90deg, var(--color-accent-gold) 0%, #F3DBA6 50%, var(--color-accent-gold) 100%);
  border-color: #F6E2B0;
  color: #0D1F3C;
}

@media (max-width: 768px) {
  .gallery-filters {
    justify-content: stretch;
  }

  .gallery-filter-btn {
    flex: 0 0 calc(50% - var(--space-2) / 2);
    text-align: center;
  }
}

@media (max-width: 425px) {
  .gallery-filter-btn {
    flex: 0 0 100%;
    margin-top: 8px;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.gallery-item.reveal--visible {
  opacity: 1;
  transform: none;
}

.gallery-item--skeleton {
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: 0;
  overflow: hidden;
}

.gallery-item__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 60, 0);
  transition: background 300ms ease;
  pointer-events: none;
}

@media (hover: hover) {
  .gallery-item:hover .gallery-item__img    { transform: scale(1.04); }
  .gallery-item:hover .gallery-item__overlay { background: rgba(13, 31, 60, 0.22); }
}

.gallery-empty {
  text-align: center;
  color: var(--color-text-secondary);
  padding: clamp(40px, 8vw, 80px) 0;
  font-family: var(--font-body);
  font-size: 15px;
}

/* ── Gallery lightbox ───────────────────────────────────────── */

@keyframes gallery-lb-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes gallery-lb-out { from { opacity: 1; } to { opacity: 0; } }

.gallery-lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(5, 10, 20, 0.94);
}

.gallery-lightbox::backdrop { background: transparent; }

.gallery-lightbox[open] { animation: gallery-lb-in 220ms ease forwards; }
/* higher specificity (2 classes) beats [open] (class+attr) on equal length - must come after */
.gallery-lightbox.gallery-lightbox--closing { animation: gallery-lb-out 200ms ease forwards; }

.gallery-lightbox__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox__img {
  max-width: min(90vw, 1200px);
  max-height: 85vh;
  object-fit: contain;
  display: block;
  user-select: none;
  position: relative;
  z-index: 1;
}

/* absolute (not fixed) so they stay inside the dialog stacking context */
.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 200ms ease, transform 150ms ease;
}

.gallery-lightbox__close:active {
  transform: scale(0.88);
}

.gallery-lightbox__nav:active {
  transform: translateY(-50%) scale(0.88);
}

.gallery-lightbox__close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
}

.gallery-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}

.gallery-lightbox__nav--prev { left: 20px; }
.gallery-lightbox__nav--next { right: 20px; }

@media (hover: hover) {
  .gallery-lightbox__close:hover,
  .gallery-lightbox__nav:hover { background: rgba(255, 255, 255, 0.2); }
}

.gallery-lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .gallery-lightbox__nav { width: 40px; height: 40px; }
  .gallery-lightbox__nav--prev { left: 10px; }
  .gallery-lightbox__nav--next { right: 10px; }
}

/* ── Homepage gallery preview ───────────────────────────────── */

.hp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.hp-gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

.hp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  display: block;
}

@media (hover: hover) {
  .hp-gallery-item:hover img { transform: scale(1.05); }
}

@media (max-width: 767px) {
  .hp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hp-gallery-item:nth-child(n+5) { display: none; }
}

/* ── Sobre page ──────────────────────────────────────────────── */

/* ── Valores ────────────────────────────────────────────────── */

.sobre-valores {
  background-color: var(--color-surface-section);
  padding: clamp(80px, 10vw, 140px) var(--section-padding-x);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 96px);
  margin-top: clamp(48px, 6vw, 72px);
}

/* 36.2 - selo numerado, mesmo padrão decorativo do Épico 36.1/36.3
   (antes era texto grande e ténue, sem ligação visual ao selo do resto do site) */
.valor-item__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #D4B483;
  background: #0D1F3C;
  color: #D4B483;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.valor-item__title {
  font-family: var(--font-heading);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 400;
  color: var(--color-text-heading);
  margin-bottom: 12px;
}

.valor-item__text {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--color-text-secondary);
  line-height: 1.85;
}

/* ── Quote ──────────────────────────────────────────────────── */

.sobre-quote {
  position: relative;
  background: var(--gradient-navy-gold);
  border-bottom: 1px solid rgba(212, 180, 131, 0.35);
  padding: clamp(72px, 10vw, 120px) var(--section-padding-x);
}

.sobre-quote__block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.sobre-quote__text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(20px, 2.8vw, 30px);
  color: #fff;
  line-height: 1.55;
  margin-bottom: 24px;
}

.sobre-quote__author {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #D4B483;
}

/* ── A Quinta em Imagens ────────────────────────────────────── */

.sobre-galeria {
  padding: clamp(80px, 10vw, 140px) var(--section-padding-x);
  text-align: center;
}

.sobre-galeria .hp-gallery-grid {
  margin-top: clamp(40px, 6vw, 64px);
}

@media (max-width: 767px) {
  .sobre-galeria .hp-gallery-item:nth-child(n+5) { display: block; }
}

/* ── Awards ─────────────────────────────────────────────────── */

.sobre-awards {
  padding: 0 var(--section-padding-x) clamp(80px, 10vw, 140px);
  text-align: center;
}

@media (max-width: 767px) {
  .sobre-awards {
    padding-top: 0;
  }
}

.section-header__title--gold {
  color: var(--color-accent-gold);
}

.section-header__lead {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 16px auto 0;
  line-height: 1.75;
}

.awards-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2.5vw, 24px);
  flex-wrap: wrap;
  margin: clamp(40px, 6vw, 64px) auto clamp(32px, 4vw, 48px);
}

.award-badge-img {
  width: clamp(84px, 9vw, 120px);
  height: clamp(84px, 9vw, 120px);
  object-fit: contain;
  transition: transform 250ms ease;
}

@media (hover: hover) {
  .award-badge-img:hover {
    transform: translateY(-3px);
  }
}

.sobre-awards__cta {
  margin-top: clamp(24px, 4vw, 40px);
  font-weight: 500;
}

@media (max-width: 480px) {
  .sobre-awards__cta {
    padding: 14px 22px;
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 1.6;
    text-align: center;
    white-space: normal;
  }
}

.sobre-awards__cta strong {
  font-weight: 800;
}

/* Versão compacta só para a homepage (Épico 61) - a mesma secção na página
   Sobre Nós mantém o espaçamento original; #home-awards-section aperta o
   padding da secção e as margens entre título/badges/rating/CTA. */
#home-awards-section {
  padding: clamp(48px, 6vw, 80px) var(--section-padding-x);
}

#home-awards-section .section-header {
  margin-bottom: clamp(20px, 3vw, 32px);
}

#home-awards-section .awards-row {
  margin: clamp(20px, 3vw, 32px) auto clamp(16px, 2vw, 24px);
}

#home-awards-section .sobre-awards__cta {
  margin-top: clamp(12px, 2vw, 20px);
}

.awards-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 16px);
  flex-wrap: wrap;
}

.awards-rating__stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #D4B483;
}

.awards-rating__stars .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.awards-rating__score {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
  color: var(--color-text-heading);
}

.awards-rating__count {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-secondary);
}

@media (max-width: 767px) {
  .valores-grid {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 48px);
  }
}

/* ── Parceiros page ────────────────────────────────────────── */

.parceiros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.parceiro-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

@media (hover: hover) {
  .parceiro-card:hover {
    border-color: #D4B483;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }
}

.parceiro-card__logo-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-section);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.parceiro-card__logo {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.parceiro-card__initial {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent-gold);
}

.parceiro-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.parceiro-card__nome {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-heading);
  margin: 0;
}

.parceiro-card__categoria {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-on-light);
  margin: -6px 0 0;
}

.parceiro-card__descricao {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.parceiro-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
}

.parceiro-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 11px;
}

.parceiro-card__cta .icon {
  width: 13px;
  height: 13px;
  transition: transform 200ms ease;
}

@media (hover: hover) {
  .parceiro-card:hover .parceiro-card__cta .icon {
    transform: translateX(3px);
  }
}

.parceiro-card__whatsapp {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.4);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.parceiro-card__whatsapp svg {
  width: 20px;
  height: 20px;
}

@media (hover: hover) {
  .parceiro-card__whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.55);
  }
}

.parceiro-card__whatsapp:active {
  transform: scale(0.95);
}

.parceiro-card--skeleton {
  height: 220px;
  border-radius: var(--radius-lg);
}

/* ── Parceiro em destaque (primeiro por ordem) ──────────────────
   Réplica fiel de elevate-card-full.html: mesmas cores, blur,
   box-shadow e estrutura de camadas (glow ambiente fora do cartão,
   arcos concêntricos, partículas internas e externas). A única
   adaptação necessária: o mockup tinha um "stage" isolado à sua
   volta - aqui isso é o próprio `.parceiro-card--featured` (grid
   item, overflow:visible), e o cartão visível em si passa a viver
   em `.parceiro-card__surface` (overflow:hidden), para que o glow/
   arcos/cosmos nunca fiquem cortados. */

.parceiro-card--featured {
  position: relative;
  isolation: isolate;
  display: block;
  grid-column: span 2;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  overflow: visible;
}

@media (hover: hover) {
  .parceiro-card--featured:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
  }
}

/* .ambient-glow */

.parceiro-card__ambient {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.parceiro-card__ambient--1 {
  width: 520px;
  height: 520px;
  left: -120px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(245, 204, 111, 0.55) 0%, rgba(245, 204, 111, 0) 68%);
  filter: blur(10px);
}

.parceiro-card__ambient--2 {
  width: 420px;
  height: 420px;
  right: -100px;
  top: -140px;
  background: radial-gradient(circle, rgba(245, 204, 111, 0.4) 0%, rgba(245, 204, 111, 0) 68%);
  filter: blur(10px);
}

/* .arcs / .arc - concentric rings */

.parceiro-card__arcs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.parceiro-card__arc {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 204, 111, 0.35);
}

.parceiro-card__arc--1 { width: 340px; height: 340px; left: -80px;  bottom: -150px; border-color: rgba(245, 204, 111, 0.5); }
.parceiro-card__arc--2 { width: 460px; height: 460px; left: -140px; bottom: -210px; border-color: rgba(245, 204, 111, 0.25); }
.parceiro-card__arc--3 { width: 580px; height: 580px; left: -200px; bottom: -270px; border-color: rgba(245, 204, 111, 0.15); }

/* #outer-dust / #outer-sparkle - "cosmos": external particles scattered
   both over and beyond the card, matching the mockup's stage scattering. */

.parceiro-card__cosmos {
  position: absolute;
  inset: -140px -160px;
  pointer-events: none;
}

.parceiro-card__cosmos-sparkle {
  position: absolute;
  color: #f5cc6f;
  opacity: 0;
  animation: parceiroSparklePop ease-in-out infinite;
  pointer-events: none;
}

@keyframes parceiroSparklePop {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1) rotate(20deg); }
}

.parceiro-card__cosmos-dust {
  position: absolute;
  border-radius: 50%;
  background: #f5d98a;
  animation: parceiroTwinkle ease-in-out infinite;
  pointer-events: none;
}

@keyframes parceiroTwinkle {
  0%, 100% { opacity: 0.05; }
  50%      { opacity: 0.85; }
}

/* .glow-corner */

.parceiro-card__glow-corner {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 204, 111, 0.55) 0%, rgba(245, 204, 111, 0) 70%);
  filter: blur(35px);
  pointer-events: none;
  z-index: 0;
}

.parceiro-card__glow-corner--tl { top: -70px;    left: -70px; }
.parceiro-card__glow-corner--br { bottom: -70px; right: -70px; }

/* .card - the visible surface (overflow:hidden clips .particles only) */

.parceiro-card__surface {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 26px;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top right, #101a30 0%, #060a14 65%);
  border: 1px solid rgba(245, 204, 111, 0.35);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.2);
  padding: 42px 44px;
  overflow: hidden;
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .parceiro-card--featured:hover .parceiro-card__surface {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 0 56px rgba(212, 175, 55, 0.32), 0 0 0 1px rgba(0, 0, 0, 0.2);
  }

  .parceiro-card--featured:hover .parceiro-card__surface::before {
    filter: brightness(1.3);
  }
}

/* Animated wavy circuit-line texture, drifting slowly behind the particles -
   clipped to the card's rounded corners since it lives on .surface itself. */

.parceiro-card__surface::before {
  content: '';
  position: absolute;
  inset: -20% -100%;
  z-index: 0;
  background-image: url('/shared/assets/gold-circuit-wave.svg');
  background-repeat: repeat-x;
  background-size: 800px 100%;
  background-position: 0 0;
  opacity: 0.8;
  filter: brightness(1);
  animation: parceiroCircuits 40s linear infinite;
  transition: filter 450ms ease;
  pointer-events: none;
}

@keyframes parceiroCircuits {
  from { transform: translateX(0); }
  to   { transform: translateX(-800px); }
}

/* .particles / .particle - internal particles (clipped to the card) */

.parceiro-card__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.parceiro-card__particle {
  position: absolute;
  border-radius: 50%;
  background: #f5d98a;
  animation: parceiroTwinkle ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .parceiro-card__cosmos-sparkle,
  .parceiro-card__cosmos-dust,
  .parceiro-card__particle,
  .parceiro-card__surface::before {
    animation: none;
    opacity: 0.4;
  }

  .parceiro-card--featured:hover .parceiro-card__surface {
    transform: none;
  }
}

.parceiro-card--featured .parceiro-card__logo-wrap {
  position: relative;
  z-index: 1;
  width: 90px;
  height: 90px;
  min-width: 90px;
  border-radius: 14px;
  background: #0a0e1a;
  border: 1px solid rgba(245, 204, 111, 0.4);
}

.parceiro-card--featured .parceiro-card__body {
  position: relative;
  z-index: 1;
}

.parceiro-card--featured .parceiro-card__categoria {
  color: #f0c25c;
  letter-spacing: 0.12em;
}

.parceiro-card--featured .parceiro-card__nome {
  color: #ffffff;
  font-size: 26px;
}

.parceiro-card--featured .parceiro-card__descricao {
  color: #cfd3dc;
  -webkit-line-clamp: 3;
}

.parceiro-card--featured .parceiro-card__cta {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #f5cc6f, #c9963a);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}

@media (hover: hover) {
  .parceiro-card--featured .parceiro-card__cta:hover {
    background: linear-gradient(135deg, #f9dfa0, #d4a542);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
  }
}

.parceiro-card__ribbon {
  position: absolute;
  top: 0;
  right: 28px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 16px 20px;
  background: linear-gradient(180deg, #F9DFA0 0%, #F5CC6F 100%);
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  box-shadow: 0 6px 18px rgba(184, 146, 42, 0.45), var(--shadow-md);
}

.parceiro-card__ribbon::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #B8922A, #8A6A30);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  transform: translate(3px, 5px);
}

.parceiro-card__ribbon .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px rgba(255, 245, 220, 0.8));
  fill: currentColor;
  stroke: none;
}

@media (max-width: 900px) {
  .parceiro-card--featured {
    grid-column: 1 / -1;
  }

  .parceiro-card__surface {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Contactos page ──────────────────────────────────────────── */

.contactos-top {
  padding: clamp(48px, 7vw, 88px) var(--section-padding-x) 0;
}

.contactos-top__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 3vw, 32px);
  align-items: stretch;
}

.contactos-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 40px);
}

.contactos-card--map {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 28px);
}

.contactos-card__title {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: clamp(20px, 3vw, 28px);
}

.contactos-card__title--sm {
  font-size: 16px;
  margin-bottom: 2px;
}

.contactos-card__title--no-subtitle {
  margin-bottom: 0;
}

.contactos-card__map-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: clamp(16px, 2vw, 20px);
}

.contactos-card__map-header-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.contactos-card__map-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #D4B483;
  color: #D4B483;
}

.contactos-card__map-icon .icon {
  width: 18px;
  height: 18px;
}

.contactos-card__map-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-secondary);
}

.contactos-card__map-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent-gold);
  color: #FFFFFF;
  transition: transform 200ms ease;
}

.contactos-card__map-link .icon {
  width: 14px;
  height: 14px;
}

@media (hover: hover) {
  .contactos-card__map-link:hover {
    transform: scale(1.08);
  }
}

.contactos-map-iframe {
  width: 100%;
  flex: 1 1 auto;
  min-height: 260px;
  border: none;
  display: block;
  border-radius: var(--radius-md);
}

.contactos-card__map-address {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(16px, 2vw, 20px);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-secondary);
}

.contactos-card__map-address .icon {
  width: 15px;
  height: 15px;
  color: #D4B483;
  flex-shrink: 0;
}

/* ── Formulário (dentro do cartão) ────────────────────────── */

.contactos-form {
  max-width: none;
  margin: 0;
}

.contactos-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-5);
}

.contactos-success {
  padding: clamp(24px, 4vw, 32px) 0 0;
  text-align: center;
}

.contactos-success__text {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ── Métodos de contacto (cartões) ─────────────────────────── */

.contactos-methods {
  padding: clamp(32px, 5vw, 56px) var(--section-padding-x) clamp(72px, 10vw, 120px);
}

.contactos-methods__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 3vw, 32px);
}

.contactos-method-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
}

.contactos-method-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contactos-method-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #D4B483;
  color: #D4B483;
}

.contactos-method-card__icon .icon {
  width: 18px;
  height: 18px;
}

.contactos-method-card__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text-heading);
}

.contactos-method-card__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contactos-method-card__cols {
  display: flex;
  gap: 24px;
}

.contactos-method-card__cols .contactos-method-card__row {
  flex: 1;
  min-width: 0;
}

@media (max-width: 480px) {
  .contactos-method-card__cols {
    flex-direction: column;
    gap: 16px;
  }
}

.contactos-method-card__divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

.contactos-method-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

/* ── Pares label/valor (reutilizados dentro dos cartões) ───── */

.contactos-item__label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contactos-item__value {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 15px);
  color: var(--color-text-primary);
  line-height: 1.6;
}

.contactos-item__link {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 200ms ease;
}

.contactos-item__link:hover {
  color: var(--color-accent-gold);
}

.contactos-socials {
  display: flex;
  gap: 10px;
}

.contactos-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #D4B483;
  color: #D4B483;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.contactos-social-icon .icon {
  width: 15px;
  height: 15px;
}

@media (hover: hover) {
  .contactos-social-icon:hover {
    background: #D4B483;
    color: #FFFFFF;
    transform: scale(1.08);
  }
}

.contactos-social-icon:active {
  transform: scale(0.94);
}

@media (max-width: 900px) {
  .contactos-top__grid {
    grid-template-columns: 1fr;
  }

  .contactos-methods__grid {
    grid-template-columns: 1fr;
  }
}

/* ── WhatsApp FAB ────────────────────────────────────────────── */

.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 220ms ease, box-shadow 220ms ease;
  text-decoration: none;
}

@media (hover: hover) {
  .whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  }
}

.whatsapp-fab:active {
  transform: scale(0.95);
}

@media (max-width: 767px) {
  .contactos-map-iframe {
    min-height: 220px;
  }
  .contactos-form__grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-fab {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
}

/* ── O Espaço Carousel ────────────────────────────────────── */

.espaco-carousel-section {
  padding: var(--section-padding-y) 0 0;
  background: var(--color-surface-base);
}

.espaco-carousel__header {
  padding: 0 var(--section-padding-x) clamp(32px, 5vw, 48px);
  margin-bottom: 0;
}

.espaco-carousel {
  position: relative;
  background: #0D1F3C;
  overflow: hidden;
}

.espaco-carousel__track {
  position: relative;
  height: clamp(300px, 52vw, 680px);
}

.espaco-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}

.espaco-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.espaco-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
}

.espaco-slide--cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0D1F3C 0%, #162D52 100%);
}

.espaco-slide__cta-content {
  text-align: center;
  padding: var(--section-padding-x);
  max-width: 540px;
}

.espaco-slide__cta-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #D4B483;
  margin-bottom: 20px;
}

.espaco-slide__cta-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 12px;
}

.espaco-slide__cta-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  line-height: 1.7;
}

.espaco-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background 200ms ease;
}

.espaco-carousel__btn--prev { left: 20px; }
.espaco-carousel__btn--next { right: 20px; }

@media (hover: hover) {
  .espaco-carousel__btn:hover {
    background: rgba(255, 255, 255, 0.22);
  }
}

.espaco-carousel__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.espaco-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.espaco-carousel__dot.is-active {
  background: #D4B483;
  transform: scale(1.4);
}

@media (prefers-reduced-motion: reduce) {
  .espaco-slide {
    transition: none;
  }
}

@media (max-width: 767px) {
  .espaco-carousel__btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .espaco-carousel__btn--prev { left: 12px; }
  .espaco-carousel__btn--next { right: 12px; }
}

/* ── Mobile ≤480px ────────────────────────────────────────── */

@media (max-width: 480px) {
  .hero__content {
    padding-bottom: 80px;
  }

  .hero__title {
    font-size: 27px;
  }

  .page-hero:not(.page-hero--galeria):not(.page-hero--eventos):not(.page-hero--sobre) {
    height: 42vh;
    min-height: 240px;
  }

  .page-hero__title {
    font-size: 26px;
  }

  .split-section__text-col {
    padding: 32px 24px;
  }

  .site-footer__top {
    padding-top: 40px;
  }

  body {
    overflow-x: hidden;
  }
}

/* ── Reading progress bar (Épico 25.1) ───────────────────────── */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--color-gold);
  z-index: 150;
  transition: width 100ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .progress-bar {
    transition: none;
  }
}

/* ── Back to top button (Épico 25.2) ─────────────────────────── */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0D1F3C;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 250ms ease, transform 250ms ease, visibility 250ms, background 200ms ease;
}

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

.back-to-top svg {
  width: 20px;
  height: 20px;
}

@media (hover: hover) {
  .back-to-top:hover {
    background: var(--color-gold);
  }
}

.back-to-top:active {
  transform: scale(0.92);
}

.back-to-top--visible:active {
  transform: scale(0.92);
}

@media (max-width: 767px) {
  .back-to-top {
    right: 16px;
    bottom: 78px;
    width: 44px;
    height: 44px;
  }
}

/* ── Cookie banner (Épico 25.4) ───────────────────────────────── */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 20px);
  z-index: 600;
  width: min(640px, calc(100% - 32px));
  background: #0D1F3C;
  border: 1px solid rgba(212, 180, 131, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  transition: opacity 300ms ease, transform 300ms ease;
}

.cookie-banner--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cookie-banner__text {
  flex: 1;
  min-width: 200px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

@media (max-width: 599px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-banner__actions {
    justify-content: center;
  }
}

/* ── Anchor scroll offset for sticky navbar (Épico 25.3) ─────── */

section[id] {
  scroll-margin-top: var(--navbar-height, 80px);
}

/* ── 404 error page (Épico 27.1) ──────────────────────────────── */

.error-page {
  min-height: calc(100svh - var(--navbar-height, 80px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-padding-y) var(--section-padding-x);
}

.error-page__illustration {
  width: min(280px, 70vw);
  color: var(--color-gold);
  margin-bottom: var(--space-6);
}

.error-page__illustration svg {
  width: 100%;
  height: auto;
  display: block;
}

.error-page__code {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  font-style: italic;
  color: var(--color-gold-on-light);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.error-page__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: var(--space-4);
}

.error-page__text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin-bottom: var(--space-7);
}

.error-page__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-8);
}

.error-page__suggestions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.error-page__suggestions-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.error-page__suggestions nav {
  display: flex;
  gap: var(--space-5);
}

.error-page__suggestion-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.error-page__suggestion-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

@media (hover: hover) {
  .error-page__suggestion-link:hover::after {
    transform: scaleX(1);
  }
}

@media (max-width: 480px) {
  .error-page__actions {
    flex-direction: column;
    width: 100%;
  }

  .error-page__suggestions nav {
    gap: var(--space-4);
  }
}

/* ── Form response-time note ──────────────────────────────────── */

.form-response-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-3);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
}

.form-response-note .icon {
  width: 14px;
  height: 14px;
  color: var(--color-gold-on-light);
  flex-shrink: 0;
}
