/*
Theme Name: Tenerife
Theme URI: https://task4it.pt
Author: task4it.pt
Author URI: https://task4it.pt
Description: Custom WordPress theme for the Tenerife Gen Explorador campaign with ACF Pro-managed content and quiz leads.
Version: 1.0.0
Text Domain: tenerife
*/

/* ============================================
   Tenerife Gen Explorador – Pixel-perfect
   Desktop: horizontal scroll | Mobile: vertical
   Breakpoints: 1300px, 1440px, 1920px
   ============================================ */

/* #region General Rules */

:root {
  --color-bg-dark: #0d1624;
  --color-bg-panel: #0f1a2a;
  --color-primary: #1a2d4a;
  --color-primary-dark: #152540;
  --color-accent: #2d4a6f;
  --color-text: #1a2d4a;
  --color-text-light: #4a6b8f;
  --color-white: #f8f6f2;
  --color-offwhite: #ebe8e2;
  --color-border: #1a2d4a;
  --font-sans: "Archivo", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "NB Archiekt", "Archivo", "DM Sans", sans-serif;
  --panel-gap: 0;
  --header-height: 10vh;
  /* Design: desktop + mobile */
  --color-bg-mockup: #e9ded8;
  --color-beige: #f5f0e8;
  --color-beige-grain: #ebe6dc;
  --color-blue-distressed: #1e3a5f;
  --color-blue-bright: #2563ab;
  --color-electric-blue: #2e16c2;
  --color-cta-blue: #2d16be;
  --hero-overlap: clamp(48px, 8vw, 136px);
  --faq-sidebar-width: clamp(78px, 8vw, 96px);
}

/* Registration for Aku&Kamu */
@font-face {
  font-family: "AkuKamu";
  src: url("./Fonts/Aku&Kamu.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Registration for Myriad Pro */
@font-face {
  font-family: "MyriadPro";
  src: url("./Fonts/MyriadPro-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Registration for Halfre */
@font-face {
  font-family: "Halfre";
  src: url("./Fonts/Halfre.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Registration for Cairo */
@font-face {
  font-family: "Cairo";
  src: url("./Fonts/Cairo-VariableFont_slnt,wght.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background-image: url('./img/paper-texture.png');
  background-repeat: repeat;
  background-size: 600px;
  overflow-x: hidden;
}

/* Textura grão (design editorial) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
}

/* Desktop: viewport fixo, zero white space por baixo, conteúdo preenche 100vh */
@media (min-width: 1024px) {
  html {
    overflow: hidden !important;
    height: 100%;
    width: 100%;
  }

  body {
    overflow: hidden !important;
    height: 100%;
    min-height: 100vh;
    max-height: 100vh;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  body .scroll-viewport {
    flex: 1;
    min-height: 0;
    overflow: hidden !important;
  }
}

/* #endregion */

/* #region Vanguard Motion */

:root {
  --motion-snap: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-glide: cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.985);
  filter: blur(12px);
  transition:
    opacity 0.9s var(--motion-glide),
    transform 0.9s var(--motion-glide),
    filter 0.9s ease;
  will-change: opacity, transform, filter;
}

.motion-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.motion-float-anchor {
  will-change: transform;
}

.nav a:hover,
.nav-item:hover {
  text-decoration: none;
}

.motion-menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  padding: 0.22em 0.72em 0.18em;
  border-radius: 4px;
}

.motion-menu-link .nav-item-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  transition: transform 0.55s var(--motion-glide), opacity 0.35s ease;
}

.motion-menu-link::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2E16C2;
  transform: translate3d(0, -118%, 0);
  transition: transform 0.55s var(--motion-glide), opacity 0.35s ease;
  opacity: 1;
  pointer-events: none;
}

.motion-menu-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 2px solid #2E16C2;
  border-radius: 4px;
  opacity: 0;
  transform: scale(0.9);
  transition: transform 0.45s var(--motion-glide), opacity 0.3s ease;
  pointer-events: none;
}

.motion-menu-link:hover::after,
.motion-menu-link:focus-visible::after,
.motion-menu-link.is-pressed::after,
body.menu-is-open .nav.is-open .motion-menu-link.is-pressed::after {
  transform: scale(1);
  opacity: 1;
}

.motion-menu-link:hover::before,
.motion-menu-link:focus-visible::before,
.motion-menu-link.is-pressed::before {
  transform: translate3d(0, 0, 0);
}

.motion-menu-link:hover .nav-item-text,
.motion-menu-link:focus-visible .nav-item-text,
.motion-menu-link.is-pressed .nav-item-text {
  transform: translate3d(0, 118%, 0);
  opacity: 0;
}

.video-slide-link {
  overflow: hidden;
}

.video-slide-aura {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(124px, 17vw, 180px);
  height: clamp(124px, 17vw, 180px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(248, 246, 242, 0.24) 0%, rgba(248, 246, 242, 0.06) 45%, rgba(248, 246, 242, 0) 72%);
  border: 1px solid rgba(248, 246, 242, 0.34);
  box-shadow: 0 0 0 0 rgba(248, 246, 242, 0.25);
  pointer-events: none;
  animation: videoAuraPulse 3.6s ease-in-out infinite;
}

.panel-video .video-slide-thumb {
  transition: transform 1.2s var(--motion-glide), filter 0.9s ease;
  transform-origin: center center;
}

.panel-video .video-slide-play {
  transition: transform 0.65s var(--motion-glide), filter 0.45s ease;
  animation: playOrbFloat 2.8s ease-in-out infinite;
}

.motion-media-trigger:hover .video-slide-thumb,
.motion-media-trigger:focus-visible .video-slide-thumb {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.04);
}

.motion-media-trigger:hover .video-slide-play,
.motion-media-trigger:focus-visible .video-slide-play {
  transform: translate(-50%, -50%) scale(1.08) rotate(-7deg);
  filter: drop-shadow(0 14px 34px rgba(13, 22, 36, 0.38));
}

.motion-media-trigger:hover .video-slide-aura,
.motion-media-trigger:focus-visible .video-slide-aura {
  animation-duration: 1.9s;
}

[data-magnetic] {
  --magnetic-x: 0px;
  --magnetic-y: 0px;
  transform: translate3d(var(--magnetic-x), var(--magnetic-y), 0);
  transition:
    transform 0.38s var(--motion-glide),
    filter 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease;
  will-change: transform;
}

.section4-cta,
.section5-arrow,
.section5-cta,
.faq-sidebar-icon-link {
  position: relative;
}

.section4-cta::after,
.section5-cta::after,
.faq-sidebar-icon-link::after {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(46, 22, 194, 0.22) 0%, rgba(46, 22, 194, 0) 72%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.section4-cta:hover::after,
.section4-cta:focus-visible::after,
.section5-cta:hover::after,
.section5-cta:focus-visible::after,
.faq-sidebar-icon-link:hover::after,
.faq-sidebar-icon-link:focus-visible::after {
  opacity: 1;
}

.section4-cta:hover img,
.section4-cta:focus-visible img,
.section5-cta:hover img,
.section5-cta:focus-visible img {
  transform: scale(1.08) rotate(-2deg);
}

.section5-arrow:hover,
.section5-arrow:focus-visible {
  box-shadow: 0 18px 40px rgba(46, 22, 194, 0.16);
}

.faq-sidebar-icon {
  transition: transform 0.45s var(--motion-glide), filter 0.35s ease;
}

.faq-sidebar-icon-link:hover .faq-sidebar-icon,
.faq-sidebar-icon-link:focus-visible .faq-sidebar-icon {
  transform: scale(1.08) rotate(-4deg);
  filter: drop-shadow(0 12px 22px rgba(46, 22, 194, 0.2));
}

.section4-title-art.motion-reveal,
.section5-heading-art.motion-reveal,
.explorador-heading-art.motion-reveal,
.faq-heading-block.motion-reveal {
  clip-path: inset(0 0 100% 0);
  transition:
    opacity 0.9s var(--motion-glide),
    transform 0.9s var(--motion-glide),
    filter 0.9s ease,
    clip-path 0.95s var(--motion-snap);
}

.section4-title-art.motion-reveal.is-revealed,
.section5-heading-art.motion-reveal.is-revealed,
.explorador-heading-art.motion-reveal.is-revealed,
.faq-heading-block.motion-reveal.is-revealed {
  clip-path: inset(0 0 0 0);
}

@media (min-width: 1024px) {
  body.has-vanguard-motion .hero-zoom-target {
    transition: transform 0.55s var(--motion-glide), filter 0.4s ease;
  }

  body.has-vanguard-motion .hero-zoom-target:hover {
    transform: scale(1.08) rotate(-1deg);
    filter: drop-shadow(0 18px 34px rgba(13, 22, 36, 0.16));
  }

  body.has-vanguard-motion .header-logo.hero-zoom-target:hover {
    transform: translateY(-50%) scale(1.06);
  }

  body.has-vanguard-motion .panel.is-visible .motion-float-anchor:not(.hero-zoom-target) {
    animation: driftDesktop 8.5s ease-in-out infinite;
  }

  body.has-vanguard-motion .panel.is-visible .explorador-chromosome,
  body.has-vanguard-motion .panel.is-visible .section5-rd-code,
  body.has-vanguard-motion .panel.is-visible .faq-heading-fingerprint {
    animation-duration: 6.8s;
  }
}

@media (max-width: 1023px) {
  body.menu-is-open {
    overflow: hidden;
  }

  .nav {
    overflow: hidden;
  }

  .nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 18%, rgba(46, 22, 194, 0.14) 0%, rgba(46, 22, 194, 0) 42%),
      linear-gradient(180deg, rgba(248, 246, 242, 0.9) 0%, rgba(235, 232, 226, 0.95) 100%);
    pointer-events: none;
  }

  .nav > * {
    position: relative;
    z-index: 1;
  }

  /* Menu full-screen: links alinhados à esquerda */
  .nav .motion-menu-link {
    justify-content: flex-start;
    padding: 0.12em 0.38em 0.08em;
    transform: translate3d(0, 0, 0);
    transition:
      transform 0.3s var(--motion-glide),
      background-color 0.24s ease,
      opacity 0.24s ease;
  }

  .motion-menu-link::before {
    display: none;
  }

  .motion-menu-link::after {
    transform: scale(0.985);
    opacity: 0;
    border-width: 1.5px;
    transition:
      transform 0.3s var(--motion-glide),
      opacity 0.24s ease,
      box-shadow 0.24s ease;
  }

  .motion-menu-link .nav-item-text {
    transform: none !important;
    opacity: 1 !important;
    transition: opacity 0.2s ease, color 0.2s ease;
  }

  .motion-menu-link.is-pressed {
    background-color: rgba(46, 22, 194, 0.035);
  }

  .motion-menu-link.is-pressed::after {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 10px 26px rgba(46, 22, 194, 0.08);
  }

  .motion-menu-link.is-pressed .nav-item-text {
    transform: none !important;
  }

  .nav.is-open .motion-menu-link {
    animation: mobileMenuRise 0.8s var(--motion-glide) both;
  }

  .nav.is-open .motion-menu-link:nth-of-type(1) {
    animation-delay: 0.04s;
  }

  .nav.is-open .motion-menu-link:nth-of-type(2) {
    animation-delay: 0.1s;
  }

  .nav.is-open .motion-menu-link:nth-of-type(3) {
    animation-delay: 0.16s;
  }

  .nav.is-open .motion-menu-link:nth-of-type(4) {
    animation-delay: 0.22s;
  }

  body.has-vanguard-motion .panel.is-visible .motion-float-anchor {
    animation: floatMobile 6.4s ease-in-out infinite;
  }

  body.has-vanguard-motion .panel-hero.is-visible .hero-buscando-img.motion-float-anchor {
    animation-duration: 7.4s;
  }

  body.has-vanguard-motion .panel-hero.is-visible .hero-person-overlay.motion-float-anchor {
    animation-name: floatMobileWide;
    animation-duration: 8.2s;
  }

  body.has-vanguard-motion .panel-water.is-visible .section4-frase2.motion-float-anchor,
  body.has-vanguard-motion .panel-water.is-visible .section4-box-art.motion-float-anchor,
  body.has-vanguard-motion .panel-section5.is-visible .section5-icon-slider.motion-float-anchor,
  body.has-vanguard-motion .panel-section5.is-visible .section5-rd-code.motion-float-anchor,
  body.has-vanguard-motion .panel-faq.is-visible .faq-map-mobile.motion-float-anchor,
  body.has-vanguard-motion .panel-faq.is-visible .faq-heading-fingerprint.motion-float-anchor {
    animation-name: floatMobileAccent;
    animation-duration: 5.6s;
  }

  .motion-reveal {
    transform: translate3d(0, 28px, 0) scale(0.99);
  }
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor summary,
  body.has-custom-cursor input,
  body.has-custom-cursor select,
  body.has-custom-cursor textarea {
    cursor: none !important;
  }

  .cursor-ring,
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    /* Above CMP overlays; !important beats late-injected widget CSS. Nodes live under <html> after <body>. */
    z-index: 2147483647 !important;
    isolation: isolate;
    opacity: 1;
    transition: opacity 0.25s ease;
  }

  .cursor-ring {
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
  }

  .cursor-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(46, 22, 194, 0.48);
    background: rgba(248, 246, 242, 0.08);
    box-shadow: 0 0 0 0 rgba(46, 22, 194, 0.16);
    transition:
      transform 0.25s var(--motion-glide),
      border-color 0.25s ease,
      background 0.25s ease,
      box-shadow 0.25s ease;
  }

  .cursor-dot {
    width: 8px;
    height: 8px;
    margin-left: -4px;
    margin-top: -4px;
    border-radius: 50%;
    background: #2E16C2;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .cursor-ring.is-active::before {
    transform: scale(1.55);
    border-color: rgba(46, 22, 194, 0.68);
    background: rgba(46, 22, 194, 0.12);
    box-shadow: 0 0 0 14px rgba(46, 22, 194, 0.08);
  }

  .cursor-ring.is-down::before {
    transform: scale(0.9);
  }

  .cursor-dot.is-down {
    opacity: 0.45;
  }

  .cursor-ring.is-hidden,
  .cursor-dot.is-hidden {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-reveal,
  .motion-reveal.is-revealed,
  .motion-float-anchor,
  .video-slide-aura,
  .panel-video .video-slide-play,
  [data-magnetic] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    clip-path: none !important;
  }

  .motion-menu-link::before,
  .motion-menu-link::after,
  .motion-menu-link .nav-item-text {
    animation: none !important;
    transition: none !important;
    filter: none !important;
    clip-path: none !important;
  }

  .motion-menu-link::before,
  .motion-menu-link::after {
    opacity: 0 !important;
    transform: none !important;
  }
}

@keyframes videoAuraPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(248, 246, 242, 0.16);
    transform: translate(-50%, -50%) scale(0.96);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(248, 246, 242, 0);
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes playOrbFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    transform: translate(-50%, calc(-50% - 10px)) rotate(-4deg);
  }
}

@keyframes driftDesktop {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -10px, 0) rotate(0.8deg);
  }
}

@keyframes floatMobile {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(1.2deg);
  }
}

@keyframes floatMobileAccent {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(8px, -14px, 0) rotate(-1.4deg);
  }
}

@keyframes floatMobileWide {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-8px, -10px, 0) rotate(1deg);
  }
}

@keyframes heroTeIntroEntry {
  0% {
    opacity: 0;
    transform: translate3d(0, -4vh, 0) scale(0.92) rotate(-1.2deg);
    filter: blur(14px) drop-shadow(0 6px 14px rgba(46, 22, 194, 0.08));
    clip-path: inset(0 0 100% 0);
  }
  65% {
    opacity: 1;
    transform: translate3d(0, 0.4vh, 0) scale(1.02) rotate(0.3deg);
    filter: blur(1px) drop-shadow(0 18px 30px rgba(46, 22, 194, 0.18));
    clip-path: inset(0 0 0 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: drop-shadow(0 14px 32px rgba(46, 22, 194, 0.14));
    clip-path: inset(0 0 0 0);
  }
}

@keyframes mobileMenuRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* #endregion */

/* #region WordPress */

.default-page-shell {
  min-height: 100vh;
  padding: calc(var(--header-height) + 3rem) 1.5rem 4rem;
}

.default-page-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.default-page-content {
  background: rgba(248, 246, 242, 0.9);
  border: 1px solid rgba(26, 45, 74, 0.12);
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: 0 24px 60px rgba(26, 45, 74, 0.08);
}

.entry-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  color: #2E16C2;
  text-transform: uppercase;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.faq-legal-text {
  font-size: clamp(0.70rem, 1.1vh, 0.75rem);
  color: rgba(30, 58, 95, 0.85);
  margin-top: clamp(0.5rem, 1.5vh, 1rem);
  line-height: 1.4;
  padding-right: 1.5rem;
}

.quiz-form-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.quiz-form-status.is-error {
  color: #b42318;
}

.quiz-form-status.is-success {
  color: #0f7b6c;
}

.quiz-legal-link {
  color: #2E16C2;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.quiz-legal-link:hover,
.quiz-legal-link:focus-visible {
  color: #1e0f83;
}

.error-404-home-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #2E16C2;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.error-404-home-link:hover,
.error-404-home-link:focus-visible {
  color: #1e0f83;
}

@media (max-width: 1023px) {
  .default-page-shell {
    padding-top: calc(var(--header-height) + 2rem);
  }
}

/* #endregion */

/* #region ----- Acessibilidade: skip link e conteúdo apenas para leitores de ecrã ----- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10001;
  padding: 0.75rem 1rem;
  background: #2E16C2;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid #2E16C2;
  outline-offset: 2px;
}

/* WCAG 2.1: indicador de foco visível para teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid #2E16C2;
  outline-offset: 2px;
}

button:focus-visible,
.btn:focus-visible {
  outline: 2px solid #2E16C2;
  outline-offset: 2px;
}

details summary:focus-visible {
  outline: 2px solid #2E16C2;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  flex-shrink: 0;
  padding: 1rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(46, 22, 194, 0.12);
}

.site-footer-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

@media (min-width: 1024px) {
  .site-footer {
    display: none;
  }
}

/* #endregion */

/* #region ----- Header ----- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('./img/fundo.webp');
  background-repeat: repeat;
  background-size: 100vw;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

@media (min-width: 1024px) {
  body.nav-hidden .site-header {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }
}

/* Navbar: estilo do design (NB Archiekt, #2E16C2, 20px, 500, dots) */
.nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav .nav-item:first-child {
  padding-left: 10px;
}

.nav-item,
.nav a {
  color: #2E16C2;
  fill: #2E16C2;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nav--layout-horizontal .nav-item:not(:last-child),
.nav--layout-horizontal .nav a:not(:last-of-type) {
  margin-inline-end: var(--nav-menu-item-margin, 1.25rem);
}

.nav--layout-horizontal .nav-item:not(:first-child),
.nav--layout-horizontal .nav a:not(:first-of-type) {
  margin-inline-start: var(--nav-menu-item-margin, 1.25rem);
}

.nav-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2E16C2;
  margin: 0 0.5rem;
  flex-shrink: 0;
}

/* Idioma (ES - PT) na navbar, alinhado aos outros itens */
.nav-lang-sep {
  color: #2E16C2;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0.15em;
  flex-shrink: 0;
}

.nav-lang-link--current .nav-item-text {
  text-decoration: none;
  cursor: default;
}

.nav-lang-link--current:hover {
  text-decoration: none;
}

/* ES / PT numa única linha (desktop + mobile dentro do menu) */
.nav-lang-row {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.12em;
}

.nav a:hover,
.nav-item:hover {
  text-decoration: underline;
}

.header-logo {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-image: url('./img/fundo.webp');
  background-repeat: repeat;
  background-size: 600px;
  height: 100%;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.header-logo img {
  height: 5vh;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 102;
}

.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  margin-left: -18px;
  width: 36px;
  height: 4px;
  background: #2E16C2;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), top 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 2px;
}

.nav-toggle::before {
  top: 13px;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  margin-left: -18px;
  top: 22px;
  width: 36px;
  height: 4px;
  background: #2E16C2;
  transition: opacity 0.3s;
  border-radius: 2px;
}

.nav-toggle::after {
  top: 31px;
}

.nav-toggle[aria-expanded="true"]::before {
  top: 22px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  top: 22px;
  transform: rotate(-45deg);
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

@media (min-width: 1024px) {
  .site-header {
    justify-content: flex-end;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .header-logo img {
    height: 48px;
  }

  .header-tagline {
    font-size: 0.75rem;
  }

  .nav {
    display: flex;
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0;
  }

  .nav a,
  .nav .nav-item {
    color: #2E16C2 !important;
    fill: #2E16C2;
    font-family: var(--font-display) !important;
    font-size: 20px !important;
    font-weight: 500 !important;
  }
}

/* #endregion */

/* #region Scroll viewport + container (lógica tipo tenerife.dev.jbd.pt: viewport fixo, strip com transform) */
.scroll-viewport {
  width: 100%;
  height: 100dvh;
  padding-top: var(--header-height);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .scroll-viewport {
    width: 100vw;
    height: 100dvh;
    min-height: 0;
    padding-top: 0;
    overflow: hidden;
    position: relative;
  }
}

.scroll-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  min-height: 100vh;
  padding-top: 0;
  background-image: url('./img/fundo.webp');
  background-repeat: repeat;
  background-size: 100vw 100vh;
}

@media (min-width: 1024px) {
  .scroll-container {
    width: max-content;
    min-height: 100%;
    height: 100%;
    flex-shrink: 0;
    will-change: transform;
  }
}

/* Barra de scroll sempre visível por cima de todos os slides (fundo + contorno) */
.scroll-indicator {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 1.5rem;
  z-index: 10000;
  width: 120px;
  padding: 10px 14px;
  background-color: transparent;
  background-image: url('./img/paper-texture.png');
  background-repeat: repeat;
  background-size: 600px;
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(46, 22, 194, 0.25), 0 0 0 1px rgba(46, 22, 194, 0.35);
  pointer-events: none;
  align-items: center;
  overflow: visible;
}

@media (min-width: 1024px) {
  .scroll-indicator {
    display: flex;
  }
}

/* Pista (track) da barra – atrás do progresso */
.scroll-indicator::before {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}

.scroll-indicator-bar {
  display: none;
}

.scroll-indicator-progress {
  position: relative;
  z-index: 1;
  display: block;
  height: 4px;
  width: 30%;
  min-width: 24px;
  background: var(--color-cta-blue);
  border-radius: 2px;
  transition: width 0.2s ease;
}

/* #endregion */

/* #region ----- Panels (sections) + Panel 1: Hero ----- */
.panel {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Hero e vídeo: O de BUSCANDO sobrepõe-se ao slide 2 (vídeo) */
@media (min-width: 1024px) {
  body.nav-hidden .panel:not(.panel-hero) {
    --header-height: 0px;
  }

  .panel-hero {
    overflow: visible;
    z-index: 2;
  }

  .panel-video {
    z-index: 1;
    height: calc(100dvh - var(--header-height));
  }
}

/* Vicio-style: conteúdo com fade suave ao entrar em vista */
.panel .panel-inner {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.panel:not(.is-visible) .panel-inner {
  opacity: 0.85;
  transform: scale(0.98);
}

.panel.is-visible .panel-inner {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 1024px) {
  .panel {
    position: relative;
    width: 100vw;
    min-width: 100vw;
    flex: 0 0 100vw;
    flex-shrink: 0;
    min-height: 100%;
    height: 100dvh;
  }
}

/* Desktop pequeno: 1300px – espaçamentos consistentes (notas cliente) */
@media (min-width: 1300px) {
  .panel-inner:not(.panel-inner--hero) {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    max-width: 100vw;
    margin: 0;
  }
}

/* Desktop médio: 1440px */
@media (min-width: 1440px) {
  .panel-inner:not(.panel-inner--hero) {
    max-width: 100vw;
    padding-right: 4.5rem;
  }
}

/* Desktop grande: 1920px+ */
@media (min-width: 1920px) {
  .panel-inner:not(.panel-inner--hero) {
    max-width: 100vw;
    padding-right: 6rem;
  }
}

.panel-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100dvh;
}

@media (min-width: 1024px) {
  .panel-inner--hero {
    height: calc(100dvh - var(--header-height)) !important;
  }
}

.panel-inner--hero.panel-inner {
  padding: 0;
  max-width: none;
}

/* ----- Design panels: beige + blue distressed ----- */
.design-panel {
  background-color: transparent;
}


.panel-inner--hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 100%;
  position: relative;
}

.hero-buscando-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: visible;
}

@media (min-width: 1024px) {

  /* Desktop: wrap ocupa toda a altura do slide para person ficar colado ao fundo */
  .panel-inner--hero {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    padding-bottom: 0;
    height: calc(100dvh - var(--header-height));
    align-items: center;
    overflow: visible;
  }

  .hero-buscando-wrap {
    position: relative;
    width: 100vw;
    max-width: none;
    margin: 0;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
  }

  .hero-headline-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 2;
    padding: 0;
    overflow: visible;
  }

  .hero-headline-picture {
    width: 100%;
    max-width: none;
    flex: 0 0 100%;
  }

  .hero-buscando-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    flex-shrink: 0;
  }
}

/* Vários ecrãs: O de BUSCANDO mantém-se na layer 2 (sobre o slide vídeo) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-buscando-wrap {
    --hero-overlap: clamp(40px, 5vw, 72px);
  }
}

@media (min-width: 1280px) and (max-width: 1599px) {
  .hero-buscando-wrap {
    --hero-overlap: clamp(64px, 7vw, 110px);
  }
}

@media (min-width: 1600px) {
  .hero-buscando-wrap {
    --hero-overlap: clamp(96px, 9vw, 160px);
  }
}

/* Headline única do slide 1: entra e permanece visível */
.hero-headline-layer {
  position: relative;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
  padding-top: clamp(2.5rem, 8vh, 6rem);
}

.hero-headline-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  height: auto;
  transform-origin: 18% 24%;
  filter: drop-shadow(0 14px 32px rgba(46, 22, 194, 0.14));
}

.hero-headline-picture {
  display: block;
  width: 100%;
}

body.has-vanguard-motion .panel-hero.is-visible .hero-headline-layer {
  animation: heroTeIntroEntry 1.15s var(--motion-snap) both;
}

@media (prefers-reduced-motion: reduce) {
  body.has-vanguard-motion .panel-hero.is-visible .hero-headline-layer {
    animation: none !important;
  }

  .hero-headline-layer,
  .hero-headline-img,
  .hero-person-overlay.hero-person--left {
    transition: none !important;
  }
}

/* Person overlay – izquierda; desktop: colado ao fundo do slide 1, maior escala */
.hero-person-overlay.hero-person--left {
  position: absolute;
  left: 25vw;
  bottom: 0;
  width: 75vw;
  max-width: 100%;
  max-height: 80dvh;
  object-fit: contain;
  object-position: left bottom;
  z-index: 4;
  filter: grayscale(1);
  transition:
    opacity 0.78s var(--motion-glide),
    transform 0.9s var(--motion-snap),
    filter 0.6s ease;
}

@media (min-width: 1024px) {
  .hero-person-overlay.hero-person--left {
    bottom: 0;
    height: auto;
    max-height: calc(100dvh - var(--header-height));
    width: auto;
    max-width: 55vw;
  }
}

/* Hero: gráficos (Te estamos, Esperando, person). Hover zoom estilo vicio.com */
@media (min-width: 1024px) {
  .hero-zoom-target {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
  }

  .hero-zoom-target:hover {
    transform: scale(1.06);
  }

  .header-logo.hero-zoom-target:hover {
    transform: translateY(-50%) scale(1.06);
  }
}

/* #endregion */

/* #region ----- Panel 2: Video YouTube (100% viewport, botão play abre o vídeo) ----- */
.panel-video {

  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100dvh - var(--header-height));
}

.panel-video .video-slide-link {
  position: relative;
  display: block;
  width: 100vw;
  height: calc(100dvh - var(--header-height));
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

.panel-video .video-slide-thumb {
  width: 100vw;
  height: 100dvh;
  object-fit: cover;
  display: block;
}

.panel-video .video-slide-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(80px, 15vw, 120px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

/* #endregion */

/* #region ----- Panel 3: EXPLORADOR ----- */

.panel-explorador {
  overflow: visible;
  /* Higher than panel-water's z-index: 3 */
  z-index: 4;
  position: relative;
}

.panel-explorador .panel-inner {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: calc(100dvh - var(--header-height));
  overflow: visible;
}

.chromo-container {
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  width: fit-content;
  height: fit-content;
}

.explorador-chromosome {
  max-width: 100%;
  opacity: 0.92;
  height: 30vh;
}

.explorador-graphic-wrap {
  position: absolute;
  left: 3vw;
  bottom: 0;
  width: 50vw;
  z-index: 3;
}

.explorador-graphic-mobile {
  position: absolute;
  left: 3vw;
  bottom: 0;
  width: 50vw;
  z-index: 3;
  display: none;
}

.explorador-graphic {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(32, 25, 104, 0.12));
}

.explorador-copy {
  position: absolute;
  top: 8vh;
  right: 8vw;
  width: 35vw;
  z-index: 3;
  color: #130f0b;
}

.explorador-copy-icon {
  display: block;
  width: clamp(4rem, 7vw, 6.2rem);
  margin: 0 auto clamp(0.8rem, 2vh, 1.1rem);
}

.explorador-heading-art {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 1rem;
}

.explorador-paragraph {
  margin: 0 0 1rem;
  font-family: "Halfre", "Archivo", "DM Sans", sans-serif;
  font-size: clamp(0.7rem, 1.8vh, 4.8vh);
  line-height: 1.2;
  text-align: justify;
  max-width: 100%;
}

.explorador-bottom-graphic {
  position: absolute;
  right: -10vw;
  bottom: -3vh;
  max-height: 30vh;
  width: 35vw;
  pointer-events: none;
  z-index: 5;
}

/* #endregion */

/* #region ----- Panel 4: Water / Info ----- */
.panel-water {
  position: relative;
  overflow: visible;
}

.panel-inner--water {
  position: absolute;
  bottom: 0;
  width: 100vw;
  min-height: calc(100dvh - var(--header-height));
  overflow: visible;
  padding: 0;
}

.section4-water-bg {
  position: absolute;
  top: -10px;
  right: -10vw;
  width: 95vw;
  max-width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.section4-frase2 {
  position: absolute;
  top: 7vh;
  right: 15vw;
  width: 17vw;
  max-width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.section4-box-art {
  position: absolute;
  left: 0vw;
  bottom: clamp(0px, calc(321.43px - 16.741vw), 150px);
  width: min(47vw, 90vh);
  height: auto;
  z-index: 3;
}

.water-bottom-mobile {
  display: none;
}

.section4-copy {
  position: absolute;
  right: 6vw;
  bottom: 1vh;
  width: 45vw;
  z-index: 4;
  padding: 1rem;
  border-radius: 10px;
  text-align: justify;
  isolation: isolate;
}

.section4-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-image: url('./img/card-bg-0.7.webp');
  background-repeat: repeat;
  background-size: 600px;
  opacity: 0.7;
  pointer-events: none;
}

.section4-copy > * {
  position: relative;
  z-index: 1;
}

.section4-title-art {
  display: block;
  max-width: 75%;
  height: auto;
  margin: 0 0 1.25rem;
}

.section4-text {
  margin: 0 0 1rem;
  font-family: "Halfre", "Archivo", "DM Sans", sans-serif;
  font-size: clamp(0.7rem, 1.8vh, 4.8vh);
  line-height: 1.22;
  color: #111111;
}

.section4-cta {
  background: transparent !important;
  border: none;
  padding: 0;
}

.section4-cta img {
  width: 12vw;
  height: auto;
  transition: transform 0.1s ease;
  cursor: pointer;
}

.section4-cta img:hover {
  transform: scale(1.05);
}
/* #endregion */

/* #region ----- Panel 5: Section 5 slider ----- */

/* #region Layers */
.panel-section5 {
  position: relative;
  overflow: visible;
}

.panel-inner.panel-inner--section5 {
  max-width: none;
  position: absolute;
  bottom: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.section5-layout {
  position: relative;
  height: calc(100dvh - var(--header-height));
  width: 100%;
  overflow: visible;
}

/* #endregion */

.section5-icon-slider {
  position: absolute;
  top: 0;
  left: -3vw;
  width: 8vw;
  height: auto;
  z-index: 999;
  pointer-events: none;
}

/* #region Slider */
.section5-slider-shell {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: max-content;
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  margin: 0 auto;
  z-index: 10;
  overflow: visible;
}

/* Transparency transition so that the arrow is visible on the background. */
.section5-slider {
  width: max-content;
  min-width: 0;
  min-height: 0;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(236, 231, 223, 0.5) 50%,
      transparent 100%);
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.section5-slider,
.section5-slider .slick-list,
.section5-slider .slick-track {
  height: 100%;
  width: max-content !important;
}

.section5-slider .slick-track {
  display: grid !important;
}

.section5-slide {
  height: 100%;
  outline: none;
  width: max-content !important;
  grid-area: 1 / 1;
  float: none !important;
  left: 0 !important;
}

.section5-slide-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100vh;
  object-fit: contain;
}

.section5-svg {
  width: 100%; 
  height: 100%;
  /* Controls the thickness of the line */
  stroke-width: 2;
  color: var(--color-cta-blue); 
}

.section5-arrow {
  z-index: 5;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  width: 6vw;  
  height: 6vw; 
  line-height: 0;  
  padding: 0;      
  text-align: center;
}

.section5-bg-arrow {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  height: 100dvh;
}

.section5-arrow--prev {
  grid-row: 2;
  align-self: center;
  width: 3vw;
  
}
.section5-arrow--next {
  grid-row: 2;
  align-self: center;
  width: 3vw;
}

/* This background vector was placed inside this container so that it can easily stay glued to the side of the slide image */
.section5-rd-wrap {
  grid-row: 1;
  width: clamp(65vw, calc(-768px + 140vw), 100vw);
  height: 15vh;
  align-self: start;
  justify-self: start;
  position: relative;
  z-index: 0;
  pointer-events: none;
  border: none;
  padding: 0;
}


.section5-rd-code {
  position: absolute;
  top: -45%;
  left: -3px;
  width: auto;
  max-width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  border: none;
  padding: 0;
}

/* #endregion */

/* #region Copy */

/* #region copy container */

.section5-copy {
  position: absolute;
  bottom: 0;
  right: 2vw;
  width: 40vw;
  height: 100%;
  background: transparent;
  overflow: visible;
}

.section5-copy>* {
  z-index: 0
}

.section5-copy-fade-container {
  position: absolute;
  right: -11vw;
  bottom: -5vh;
  width: 80vw;
  height: 40vh;
  opacity: 0.1;
  pointer-events: none;
  z-index: 5;
  display: flex;
  flex-direction: row;
}


.section5-copy-fade {
  width: 50%;
  height: auto;
  padding: 0;
}

.section5-copy-fade-container :last-child {
  margin-left: -70px;
}

/* #endregion */

/* #region copy text */

.section5-article {
  position: absolute;
  top: clamp(60px, calc(-199.98px + 19.53vw), 175px);
  right: clamp(0px, calc(-109.67px + 10.71vw), 5vw);
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 35vw;
  height: fit-content;
  padding: 1rem;
  background-image: url('./img/card-bg-0.7.webp');
  background-repeat: repeat;
  background-size: 600px;
  border-radius: 10px;
  z-index: 20;
}

.section5-heading-art {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 1.4rem;
}

.section5-text {
  margin: 0 0 1rem;
  font-family: "Halfre", "Archivo", "DM Sans", sans-serif;
  font-size: clamp(0.7rem, 1.8vh, 4.8vh);
  line-height: 1.22;
  color: #111111;
  max-width: 100%;
  text-align: justify;
}

/* #endregion */

/* #region copy cta */

.section5-cta {
  align-self: flex-start;
  box-shadow: none;
  border: none;
  text-decoration: none;
  background: transparent !important;
  padding: 0;
}

.section5-cta img {
  width: 20vw;
  height: auto;
  transition: transform 0.1s ease;
  cursor: pointer;
  border: none;
}


.section5-cta img:hover {
  transform: scale(1.05);
}

/* #endregion */
/* #endregion */

.section5-slider .slick-dots {
  display: none !important;
}

.section5-slider .slick-prev,
.section5-slider .slick-next {
  display: none !important;
}



/* #endregion */

/* #region ----- Panel 6: FAQs + Timeline ----- */

/* #region layers */
.panel-faq {
  position: relative;
  align-items: stretch;
}

.panel-inner--faq {
  position: absolute;
  bottom: 0;
  max-width: none;
  width: 100vw;
  height: calc(100vh - var(--header-height));
  padding: 0;
  padding-left: 0 !important;
  z-index: 1;
}

.faq-layout {
  height: calc(100vh - var(--header-height));
  width: 100vw;
}

/* #endregion */

/* #region vectors */
.faq-main {
  width: 100%;
  height: calc(100vh - var(--header-height));
  padding: 0;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

.faq-deco-top {
  position: absolute;
  top: 1vh;
  left: 21vw;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 0 0 1rem;
  min-height: 110px;
}

.faq-deco-bars {
  display: block;
  width: 30vw;
  height: auto;
  opacity: 0.92;
}

.faq-showcase {
  position: absolute;
  bottom: 0;
  min-height: 0;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  left: -5vw;
}

.faq-map-art {
  display: block;
  width: clamp(25vw, 60vw, 85vw);
  height: auto;
  max-height: 60dvh;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.04));
}

.faq-map-mobile {
  display: none;
}

/* #endregion */

/* #region faq */
.faq-content {
  position: absolute;
  right: calc(var(--faq-sidebar-width) * 1.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: calc(100vh - var(--header-height));
  top: 1vh;
  max-width: 35vw;
}

.faq-heading-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1vh;
}

.faq-heading-fingerprint {
  display: block;
  width: auto;
  height: 13vh;
}

.faq-title-art {
  display: block;
  width: auto;
  height: 8vh;
}

.faq-accordion {
  margin: 0;
  max-width: 100%;
  max-height: 80dvh;
  overflow-y: auto;
  scrollbar-width: thin;
  /* Firefox only allows 'auto', 'thin', or 'none' */
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  /* Thumb color first, Track (background) second */
}

/* --- CHROME, SAFARI, & EDGE --- */

/* 1. The overall scrollbar width */
.faq-accordion::-webkit-scrollbar {
  width: 4px;
  /* Very, very slim. */
}

/* 2. The scrollbar track (the background) */
.faq-accordion::-webkit-scrollbar-track {
  background: transparent;
  /* Keeps the background completely invisible */
}

/* 3. The scrollbar thumb (the part you actually grab and drag) */
.faq-accordion::-webkit-scrollbar-thumb {
  background-color: rgba(46, 22, 194, 0.4);
  /* Semi-transparent brand color */
  border-radius: 10px;
}

/* Optional: Make the thumb slightly darker when they hover over it */
.faq-accordion::-webkit-scrollbar-thumb:hover {
  background-color: rgba(46, 22, 194, 0.8);
}

.faq-item {
  border-bottom: 1px solid rgba(46, 22, 194, 0.25);
  padding: 0;
}

.faq-item summary {
  font-family: "AkuKamu";
  font-size: clamp(0.85rem, 0.6vw, 1.35rem);
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-cta-blue);
  cursor: pointer;
  list-style: none;
  padding: clamp(0.5rem, 1.5vh, 1rem) 0;
  padding-right: 1.5rem;
  /* Add padding so scrollbar doesn't overlap arrows */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item-icon {
  width: 26px;
  height: 16px;
  margin-left: 1.15rem;
  flex-shrink: 0;
  background: url("./img/section 6/vetor ilha_section3.png") center / contain no-repeat;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.faq-item[open] .faq-item-icon {
  transform: rotate(180deg);
}

.faq-item summary:hover {
  color: #1e2a8a;
}

.faq-item[open] summary {
  color: #2E16C2;
  border-bottom: 1px solid #2E16C2;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.56s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
  will-change: max-height, opacity;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-item[open] .faq-answer {
  opacity: 1;
}

.faq-item p {
  margin: 0;
  padding: clamp(0.4rem, 1vh, 0.9rem) 0 clamp(0.5rem, 1.2vh, 1rem);
  font-size: clamp(0.85rem, 1.6vh, 0.98rem);
  color: var(--color-text);
  line-height: 1.5;
  max-width: 32rem;
}

.faq-accordion>p {
  font-size: clamp(0.70rem, 1.1vh, 0.75rem);
  color: rgba(30, 58, 95, 0.85);
  margin-top: clamp(0.5rem, 1.5vh, 1rem);
  line-height: 1.4;
  padding-right: 1.5rem;
}

/* #endregion */

.faq-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - var(--header-height));
  width: var(--faq-sidebar-width);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.faq-sidebar-track {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  background: var(--color-electric-blue) url("./img/section 6/barra_1.png") center/100% 100% no-repeat;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.faq-sidebar-track::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.faq-sidebar-icon-link {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-sidebar-icon-link--top {
  top: 5dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faq-sidebar-icon-link--bottom {
  bottom: 5dvh;
}

.faq-sidebar-icon {
  display: block;
  height: auto;
}

.faq-sidebar-icon--top {
  width: 5vw;
  padding-top: 5dvh;
  ;
}

.faq-sidebar-icon--bottom {
  width: 4vw;
  padding-bottom: 5dvh;
  ;
}

.timeline {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  padding-top: 1.1rem;
}

.timeline-year {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-blue-distressed);
}

/* #endregion */

/* #region Panel Text */

.blue-text {
  color: var(--color-cta-blue);
}

/* #endregion */

/* #region ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  /* Setting for buttons that need borders*/
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-primary-dark);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

/* #endregion */

/* #region ---------- QUIZ SECTION ---------- */

/* ----- Quiz overlay ----- */
.quiz-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 22, 36, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;


}

.quiz-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.quiz-overlay.is-open .quiz-modal {
  transform: scale(1);
  opacity: 1;
}

/* Thank you (pós-envio): mesmo invólucro que o quiz + blur por cima */
.quiz-thankyou-layer {
  position: absolute;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.quiz-thankyou-layer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quiz-thankyou-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(13, 22, 36, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.quiz-thankyou-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.3s ease;
}

.quiz-thankyou-layer.is-open .quiz-thankyou-modal {
  transform: scale(1);
  opacity: 1;
}

.quiz-thankyou-body {
  justify-content: flex-start;
  padding-top: 0.35rem;
  padding-bottom: 2rem;
}

.quiz-thankyou-body .quiz-intro.quiz-thankyou-text {
  text-align: center;
  text-justify: auto;
  max-width: min(36rem, 100%);
  width: 100%;
  box-sizing: border-box;
  margin: 0.5rem auto 0;
  padding-left: clamp(1.25rem, 4vw, 2.75rem);
  padding-right: clamp(1.25rem, 4vw, 2.75rem);
  hyphens: manual;
  -webkit-hyphens: manual;
}

.quiz-thankyou-body .quiz-title-img.quiz-thankyou-title-img {
  margin: 0.5rem auto 0.65rem;
  max-width: min(420px, 90%);
  width: auto;
  height: auto;
}

.quiz-thankyou-title-img {
  margin-left: auto;
  margin-right: auto;
}

.quiz-thankyou-title-fallback {
  position: relative;
  z-index: 1;
  margin: 0.65rem auto 0.75rem;
  max-width: 640px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #2E16C2;
  font-stretch: condensed;
  text-align: center;
}

.quiz-thankyou-text strong {
  font-weight: 700;
}

/* TYP: faixa opcional no topo — mais pequena e sem invadir o botão (X) */
.quiz-thankyou-top-band {
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 3.75rem 0.15rem 0.85rem;
  line-height: 0;
  border-radius: 11px 11px 0 0;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.quiz-thankyou-top-band img {
  display: block;
  width: auto;
  max-width: min(68%, calc(100% - 3.25rem));
  height: auto;
  max-height: clamp(36px, 9.5vw, 88px);
  object-fit: contain;
  object-position: center top;
  margin: 0 auto;
}

.quiz-thankyou-modal .quiz-modal-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.quiz-thankyou-modal .quiz-thankyou-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 5rem clamp(0.85rem, 3vw, 1.5rem) 1.85rem;
  max-width: 100%;
  overflow-x: hidden;
  /* Sobrescreve .quiz-body (space-between), que empurrava o texto para o fundo do modal */
  justify-content: flex-start;
  align-items: center;
  gap: 0.35rem;
}

/* TYP: decoração vertical à esquerda (substitui fingerprint fixo neste popup) */
.quiz-thankyou-modal .quiz-thankyou-left-deco {
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 10%;
  width: min(36%, 270px);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.quiz-thankyou-modal--has-top-band .quiz-thankyou-left-deco {
  top: clamp(72px, 22vw, 140px);
}

.quiz-thankyou-left-deco img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  opacity: 0.34;
}

.quiz-modal-inner--typ-custom-left::before {
  display: none;
}

.quiz-thankyou-modal--custom-left .quiz-thankyou-body .quiz-intro.quiz-thankyou-text {
  /* Mantém bloco centrado (decoração à esquerda é só marca d'água) */
  padding-left: clamp(1.25rem, 4vw, 2.75rem);
  padding-right: clamp(1.25rem, 4vw, 2.75rem);
}

@media (prefers-reduced-motion: reduce) {

  .quiz-thankyou-modal {
    transition: none;
  }

  .quiz-thankyou-layer.is-open .quiz-thankyou-modal {
    transform: none;
    opacity: 1;
  }
}

/* Retângulo do modal (quiz + popup obrigado) */
.quiz-modal,
.quiz-thankyou-modal {
  position: relative;
  border: 3px solid #2E16C2;
  border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .35);
  overflow: visible;
  width: 100%;
  max-width: 900px;
  height: auto;
  min-height: 480px;
  max-height: 90svh;
  display: flex;
  flex-direction: column;
  background: url(img/paper-texture.png);
  background-size: 600px;
  background-position: center;
  background-repeat: repeat;
}

.quiz-thankyou-modal {
  min-height: min(620px, 88svh);
  max-height: min(92svh, 920px);
}

/* Marca d'água (igual ao formulário): impressão digital + gráfico ADN */
.quiz-modal::after,
.quiz-thankyou-modal::after {
  content: '';
  position: absolute;
  bottom: -40px;
  width: 700px;
  height: 380px;
  right: -120px;
  background: url("./img/section5/fundo_aplicar_opacidade.png") no-repeat right bottom;
  background-size: contain;
  opacity: 0.06;
  pointer-events: none;
}

.quiz-modal-inner {
  position: relative;
}

/* Quiz principal: o interior do modal tem de poder encolher (< max-height) para o .quiz-body fazer scroll e os CTA ficarem dentro da box */
.quiz-modal > .quiz-modal-inner {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.quiz-modal-inner::before {
  content: "";
  position: absolute;
  left: -70px;
  top: 28%;
  width: 280px;
  height: 420px;
  background: url("./img/fingerprint.png") no-repeat;
  background-size: cover;
  opacity: 0.25;
  pointer-events: none;
}

/* Quiz close ----- */
.quiz-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #2E16C2;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  z-index: 5;
  transition: opacity 0.2s;
  width: 26px;
  height: 26px;
  font-size: 2rem;
  font-size: 2rem;
}

.quiz-close:hover {
  opacity: 0.8;
}

/* Quiz progress P1–P10 – estilo maquete: tabs arredondadas, azul vivo ativo ----- */
.quiz-progress {
  position: absolute;
  top: -25px;
  left: 0px;
  right: 30px;
  display: flex;
  gap: 0px;
}

/* Barra azul de cima*/
.quiz-progress-step {

  flex: 1;

  height: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 18px;


  font-size: 12px;
  font-weight: 700;

  color: white;

  background: #2E16C2;

  clip-path: polygon(16px 0,
      calc(100% - 16px) 0,
      100% 100%,
      calc(100% - 16px) 100%,
      50% calc(100% + 8px),
      16px 100%,
      0 100%);

}

/*Barra Branca quando a pergunta é selecionada*/
.quiz-progress-step.is-active {

  background: url(img/paper-texture.png);
  background-position: center;
  background-repeat: repeat;

  color: #2E16C2;
  border: 3px solid #2E16C2;
  border-bottom: none;
  clip-path: none;

  height: 30px;

  border-top-left-radius: 12px;
  border-top-right-radius: 12px;



  position: relative;
  top: 2px;

  z-index: 3;

}

/* Quiz body ----- */


.quiz-body {
  padding: clamp(20px, 4vh, 30px) clamp(20px, 5vw, 40px) clamp(24px, 3vh, 32px);
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(46, 22, 194, 0.4) transparent;
  font-size: clamp(0.9rem, 1.8vh, 1rem);
  box-sizing: border-box;
  /* Make sure scrollbars do not overlap content */
  padding-right: clamp(20px, 5vw, 40px);
}

.quiz-body::-webkit-scrollbar {
  width: 6px;
}

.quiz-body::-webkit-scrollbar-track {
  background: transparent;
}

.quiz-body::-webkit-scrollbar-thumb {
  background-color: rgba(46, 22, 194, 0.4);
  border-radius: 10px;
}

.quiz-body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(46, 22, 194, 0.8);
}



.quiz-step {
  display: block;
  min-height: 210px;
  margin-top: 4px;
}

.quiz-step[hidden] {
  display: none !important;
}

/* Quiz title (intro step) – maquete: azul #2E16C2 ----- */


.quiz-title-img {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 40px auto 30px;
}



.quiz-intro {
  font-size: 18px;
  line-height: 1.6;
  max-width: 760px;

  margin: auto;
  text-align: center;
  margin-bottom: 50px;
}

.quiz-intro a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Quiz question + options ----- */
.quiz-question {
  width: 100%;
  min-height: 22px;
  font-size: 22px;
  padding-bottom: 4px;
  font-family: 'Oswald', sans-serif;
  display: flex;
  align-items: flex-end;
  margin-top: 10px;
  margin-bottom: 6px;
  font-weight: 700;

  color: #2E16C2;
  border-bottom: 2px solid #2E16C2;


}

.quiz-options {
  display: flex;
  flex-direction: column;
  margin-top: 25px;
  gap: 10px;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 2px;
  line-height: 1;
  line-height: 1;
}

.quiz-option,
.quiz-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--color-text);
}

.quiz-option input,
.quiz-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.quiz-option-box {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  min-width: 18px;
  min-height: 18px;
  border: 2px solid #2E16C2;
  position: relative;
  background: transparent;
  position: relative;
  background: transparent;
}

.quiz-option input:checked+.quiz-option-box,
.quiz-check input:checked+.quiz-option-box {
  background: transparent;
  background: transparent;
}

/* Checked: checkmark (como nos screenshots do formulário) */
/* X roxo */
/* X roxo */
.quiz-option input:checked+.quiz-option-box::after,
.quiz-check input:checked+.quiz-option-box::after {
  content: "X";
  color: #2E16C2;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Quiz next button (outline style like screenshot) ----- */
.btn-quiz-next {
  display: block;
  margin-top: auto;
  margin-left: auto;
  padding: 4px 8px;
  background: transparent;
  color: #2E16C2;
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
  border: 2px solid #2E16C2;
  border-radius: 5px;

}

.btn-quiz-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-quiz-next:not(:disabled):hover {
  background: rgba(46, 22, 194, 0.08);
}

/* Step 7: Result + form ----- */
.quiz-step-result .quiz-result-title {

  font-family: "Archivo", sans-serif;
  font-weight: 700;

  text-align: center;

  font-size: 22px;

  letter-spacing: 1px;

  color: #2E16C2;

  max-width: 640px;

  margin: 0 auto 30px;

  line-height: 1.2;

}

.quiz-step-result .quiz-intro {

  max-width: 720px;

  margin: auto;

  font-size: 14px;

  line-height: 1.6;

  margin-bottom: 30px;
  text-align: center;

}

.quiz-result-percent {
  display: block;
  font-size: 40px;
  margin-bottom: 6px;
}

.quiz-step-result .quiz-form[hidden] {
  display: none !important;
}

.quiz-step-result--no-form .quiz-result-message {
  margin-bottom: 10px;
}

.quiz-form {

  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

  gap: 14px 28px;
  max-width: 860px;

  margin: auto;

  width: 100%;
  box-sizing: border-box;
  padding-bottom: 0.35rem;

}

.quiz-form .form-group:nth-child(5) {
  grid-column: 1 / -1;
}

.form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.8);
  margin-bottom: 0.18rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select {

  border: none;

  border-bottom: 2px solid #2E16C2;

  background: transparent;

  padding: 10px 0;

  font-size: 16px;

  width: 100%;

}

.quiz-check {

  grid-column: 1 / -1;

  font-size: 10px;

  margin-top: 5px;

}

.form-group select {
  cursor: pointer;
}

.form-group:nth-of-type(5),
.form-group:nth-of-type(6) {
  grid-column: 1 / -1;
}

.quiz-form>.quiz-check {
  grid-column: 1 / -1;
  font-size: 0.76rem;
  gap: 0.55rem;
  line-height: 1.4;
}

.quiz-form > .quiz-form-status {
  grid-column: 1 / -1;
}

/* PIDE TU TEST: botão sólido azul (design #2E16C2) */
.btn-submit {

  grid-column: 2;

  justify-self: end;

  margin-top: 20px;

}

.btn-submit:hover {
  background: rgba(46, 22, 194, 0.08);
  border-color: #2E16C2;
  color: #2E16C2;
  opacity: 1;
}

/* HAZ TU TEST: botão secundário (outline) no passo resultado */
.btn-quiz-outline {
  width: auto;
  margin-top: 0;
  padding: 0.76rem 1.45rem 0.7rem;
  background: transparent;
  color: #2E16C2;
  border: 2px solid #2E16C2;
  font-weight: 600;
  font-family: "NB Archiekt", "DM Sans", sans-serif;
  border-radius: 0;
  grid-column: 1;
  justify-self: start;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

.btn-quiz-outline:hover {
  background: rgba(46, 22, 194, 0.08);
}



.quiz-loader {
  width: 48px;
  height: 48px;
  margin: 1rem auto;
  border: 3px solid rgba(26, 45, 74, 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile: ajustes adicionais quiz (progress já definido acima) ----- */


@media (max-width: 768px) {

  .quiz-overlay {
    justify-content: center;
    align-items: center;
    padding: 0.5rem max(0.45rem, env(safe-area-inset-right, 0px)) 0.5rem max(0.7rem, env(safe-area-inset-left, 0px));
  }

  .quiz-thankyou-layer {
    padding: 0.5rem max(0.45rem, env(safe-area-inset-right, 0px)) 0.5rem max(0.7rem, env(safe-area-inset-left, 0px));
  }

  .quiz-thankyou-modal .quiz-thankyou-body {
    padding: 3rem clamp(0.85rem, 3vw, 1.5rem) 1.85rem;
  }

  .quiz-thankyou-title-fallback {
    margin-left: 0.35rem;
    margin-right: 0.35rem;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
  }

  .quiz-thankyou-body .quiz-intro.quiz-thankyou-text {
    margin-top: 0.5rem;
    text-align: center;
    padding-left: clamp(1.15rem, 6vw, 2.5rem);
    padding-right: clamp(1.15rem, 6vw, 2.5rem);
  }

  .quiz-thankyou-modal--custom-left .quiz-thankyou-body .quiz-intro.quiz-thankyou-text {
    padding-left: clamp(1.15rem, 6vw, 2.5rem);
    padding-right: clamp(1.15rem, 6vw, 2.5rem);
  }

  .quiz-thankyou-top-band {
    padding: 0.45rem 3.25rem 0.1rem 0.65rem;
  }

  .quiz-thankyou-top-band img {
    max-width: min(72%, calc(100% - 2.75rem));
    max-height: clamp(32px, 18vw, 72px);
  }

  .quiz-thankyou-body .quiz-title-img.quiz-thankyou-title-img {
    margin: 0.35rem auto 0.5rem;
  }

  .quiz-thankyou-modal {
    min-height: min(520px, 82svh);
    max-height: 88svh;
  }

  .quiz-thankyou-modal .quiz-thankyou-left-deco {
    width: min(42%, 120px);
  }

  .quiz-thankyou-left-deco img {
    opacity: 0.28;
  }

  .quiz-thankyou-top-band img {
    max-height: clamp(40px, 22vw, 88px);
  }

  .quiz-overlay.is-open .quiz-modal {
    transform: scale(1) translateX(-10px);
  }

  .quiz-modal::after,
  .quiz-thankyou-modal::after,
  .quiz-modal-inner::before {
    display: none;
  }

  .quiz-body {
    width: 100%;
    height: auto;
    max-height: 80vh;
    overflow-y: auto;
    padding: 1.25rem 1.25rem 1.5rem;
    transform: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .quiz-modal,
  .quiz-thankyou-modal {
    height: auto;
    display: flex;
    max-height: 85svh;
    /* 60px = espaço para as tabs à direita (fora do modal) */
    width: calc(100vw - 0.5rem - 56px);
    max-width: 352px;
    min-height: 0;
    overflow: visible;
    flex-direction: row;
    position: relative;
    box-sizing: border-box;
  }

  .quiz-title-img {
    margin: 1rem auto 0.75rem;
    max-width: 100%;
    width: auto;
    height: auto;
  }

  .quiz-title {
    font-size: 20px;
    line-height: 1.2;
    margin-top: 20px;
  }

  .quiz-intro {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 1.15rem;
    margin-left: 0;
    margin-right: 0;
  }

  .quiz-question {
    font-size: 15px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
  }

  .quiz-options {
    margin-top: 0.75rem;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .quiz-step {
    min-height: 0;
    margin-top: 0;
  }

  .quiz-progress {
    left: auto;
    /* Encostar mais as tabs ao modal (reduz gap) */
    right: -52px;
    top: 50%;
    transform: translateY(-50%);
    height: 90%;
    width: 52px;
    flex-direction: column;
    background: transparent;
    position: absolute;
    z-index: 4;
    gap: 0.4vh;
    justify-content: space-around;
  }

  .quiz-progress-step {
    flex: 1;
    max-height: 34px;
    height: auto;
    display: flex;
    position: relative;
    left: -9px;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    padding-bottom: 14px;
    font-size: 8px;
    color: white;
    background: #2E16C2;
    clip-path: polygon(14px 0,
        calc(100% - 14px) 0,
        100% 100%,
        calc(100% - 14px) 100%,
        50% calc(100% + 6px),
        14px 100%,
        0 100%);
    transform: rotate(90deg);
  }

  .quiz-progress-step.is-active {
    background: url(img/paper-texture.png);
    background-position: center;
    background-repeat: repeat;
    color: #2E16C2;
    border: 3px solid #2E16C2;
    border-bottom: none;
    clip-path: none;
    height: 34px;
    padding: 10px 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    top: 2px;
    z-index: 3;
  }

  .quiz-progress-step span {
    display: inline-block;
    transform: rotate(-90deg);
  }

  .quiz-option,
  .quiz-check {
    align-items: flex-start;
  }

  .quiz-option > span:last-child,
  .quiz-check > span:last-child {
    flex: 1 1 auto;
    min-width: 0;
  }

  .btn-quiz-next {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    padding: 6px 14px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .quiz-form {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .quiz-step-result .quiz-intro {
    margin-bottom: 1.1rem;
    text-align: left;
  }

  .quiz-step-result .quiz-result-title {
    margin-bottom: 1rem;
    font-size: 18px;
    line-height: 1.2;
    text-align: left;
  }

  .quiz-step-result .quiz-result-percent {
    font-size: 32px;
    margin-bottom: 0.25rem;
  }

  .quiz-step-result .form-group label {
    font-size: 0.78rem;
    line-height: 1.35;
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
  }

  .form-group input,
  .form-group select {
    padding: 12px 0;
  }

  .quiz-step-result .quiz-form > .quiz-check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 0.7rem;
    font-size: 0.92rem;
    line-height: 1.45;
    margin-top: 0;
  }

  .quiz-step-result .quiz-form > .quiz-check .quiz-option-box {
    margin-top: 0.18rem;
  }

  .quiz-step-result .btn-submit,
  .quiz-step-result .btn-quiz-outline {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    margin-top: 0.25rem;
  }

  .quiz-step-result .btn-submit {
    order: 20;
  }

  .quiz-step-result .btn-quiz-outline {
    order: 21;
    padding: 0.9rem 1rem 0.82rem;
    text-align: center;
    margin-bottom: 1.25rem;
  }

}

/* #endregion */

/* #region ----- Overlay vídeo (embed no próprio site) ----- */
.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: stretch;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.video-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.video-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.video-overlay-inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: unset;
  z-index: 1;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.video-overlay-close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
  background: #2E16C2;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.2s;
}

.video-overlay-close:hover {
  opacity: 0.9;
}

.video-overlay-embed {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.video-overlay-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-overlay-fallback {
  position: absolute;
  bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  left: 0;
  right: 0;
  padding: 0 1rem;
  font-size: 0.9rem;
  color: #2E16C2;
  text-decoration: underline;
  text-align: center;
  z-index: 2;
}

.video-overlay-fallback:hover {
  color: #2512a0;
}

/* WPML: ocultar faixa de “development / staging” no front-end */
.otgs-development-site-front-end {
  display: none;
}

/* #endregion */

/* #region RESPONSIVE: <1024px — Vertical layout */

/* ============================================================
   RESPONSIVE: <1024px — Vertical layout
   Single consolidated block. Uses dynamic values only (vw, dvh, %).
   Does NOT affect ≥1024px desktop.
   ============================================================ */
@media (max-width: 1023px) {

  /* #region meta CSS rules */
  /* ---- Scroll infrastructure ---- */
  .scroll-viewport {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100dvh;
    padding-top: var(--header-height);
    /* scroll-snap-type removed for smoother free-scroll */
  }

  .scroll-container {
    flex-direction: column;
    width: 100%;
    min-height: auto;
    transform: none !important;
    background-size: 100vw auto;
  }

  .scroll-indicator {
    display: none !important;
  }

  /* ---- Panels (global overrides) ---- */
  .panel {
    width: 100%;
    min-width: 100%;
    height: fit-content;
    flex: 0 0 auto;
    overflow: visible;
  }

  .panel-inner {
    width: 100%;
  }

  /* Remove desktop scale transitions on mobile */
  .panel:not(.is-visible) .panel-inner {
    opacity: 1;
    transform: none;
  }

  .panel-inner--tenerife {
    padding: 0;
  }

  /* #endregion */

  /* #region ---- Header ---- */
  .site-header {
    height: var(--header-height);
    background-image: url('./img/fundo.webp');
    background-repeat: repeat;
    background-size: 100vw;
  }

  .header-logo {
    left: 0;
    padding: 0 3vw;
    border-radius: 0;
  }

  .header-logo img {
    height: clamp(28px, 15vw, 50px);
  }

  /* #endregion */

  /* #region ---- Nav ---- */

    .nav-toggle {
    display: block;
  }

  /* Margens horizontais de desktop (.nav--layout-horizontal) não se aplicam ao menu full-screen */
  .nav--layout-horizontal .nav-item:not(:last-child),
  .nav--layout-horizontal .nav a:not(:last-of-type) {
    margin-inline-end: 0 !important;
  }

  .nav--layout-horizontal .nav-item:not(:first-child),
  .nav--layout-horizontal .nav a:not(:first-of-type) {
    margin-inline-start: 0 !important;
  }

  .nav .nav-item:first-child {
    padding-left: 0 !important;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f5f0e8;
    background-image: url('./img/pattern_menu_mobile.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 0 max(1.25rem, 5vw);
    gap: 1rem;
    /* closer spacing */
    box-shadow: none;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, visibility 0.4s;
    z-index: 101;
    height: 100dvh;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* stagger items */
  .nav .nav-item {
    padding: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
  }

  .nav.is-open .nav-item:nth-child(1) {
    transition-delay: 0.1s;
    transform: translateY(0);
    opacity: 1;
  }

  .nav.is-open .nav-item:nth-child(3) {
    transition-delay: 0.15s;
    transform: translateY(0);
    opacity: 1;
  }

  .nav.is-open .nav-item:nth-child(5) {
    transition-delay: 0.2s;
    transform: translateY(0);
    opacity: 1;
  }

  .nav.is-open .nav-item:nth-child(7) {
    transition-delay: 0.25s;
    transform: translateY(0);
    opacity: 1;
  }

  .nav.is-open .nav-item:nth-child(9),
  .nav.is-open .nav-item:nth-child(11) {
    transition-delay: 0.3s;
    transform: translateY(0);
    opacity: 1;
  }

  .nav a,
  .nav .nav-item {
    padding: 0.5rem 0;
  }

  .nav-item,
  .nav a {
    color: #2E16C2;
    fill: #2E16C2;
    font-family: var(--font-display);
    font-size: min(11vw, 3.25rem);
    /* Huge text like Vicio */
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    text-align: left;
  }

  .nav > a.motion-menu-link {
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
  }

  .nav > .nav-lang-row {
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-lang-sep {
    font-size: 11vw;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  .nav-lang-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35em;
    margin-top: 0.5rem;
    width: 100%;
    max-width: 100%;
  }

  .nav-lang-row .nav-lang-sep {
    font-size: clamp(1.05rem, 4.8vw, 1.65rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    margin: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
    flex-shrink: 0;
  }

  .nav-lang-row .nav-item,
  .nav-lang-row a.nav-lang-link {
    font-size: clamp(1.05rem, 4.8vw, 1.65rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-align: left;
    padding: 0.35em 0.45em 0.35em 0.38em !important;
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
  }

  .nav.is-open .nav-lang-row .nav-item,
  .nav.is-open .nav-lang-row a.nav-lang-link {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.32s;
  }

  .nav.is-open .nav-lang-row .nav-lang-sep {
    opacity: 1;
    transition-delay: 0.36s;
  }

  .nav-toggle[aria-expanded="true"]::before,
  .nav-toggle[aria-expanded="true"]::after {
    background: #2E16C2;
  }

  .nav-dot {
    display: none;
  }

  /* #endregion */
  
  /* #region ---- Panel 1: Hero ---- */
  .panel-hero {
    height: 72dvh;
    overflow: visible;
    z-index: 2;
    position: relative;
    top: auto;
  }

  .panel-inner--hero {
    height: 100%;
    width: 100vw;
    overflow: visible;
    position: relative;
  }

  .hero-buscando-wrap {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: visible;
    max-width: 100%;
    position: relative;
  }

  .hero-headline-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: clamp(3.5rem, 8vh, 5rem);
    overflow: visible;
  }

  .hero-headline-picture {
    width: 100vw;
    max-width: none;
    flex: 0 0 100vw;
  }

  .hero-buscando-img {
    position: relative;
    top: auto;
    left: 0;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    z-index: 2;
  }

  .hero-person-overlay.hero-person--left {
    position: absolute;
    left: -2vw;
    bottom: 0;
    height: auto;
    width: 104vw;
    max-width: none;
    max-height: 85dvh;
    object-fit: contain;
    object-position: center bottom;
    z-index: 4;
  }

  /* Landscape mobile: limitar pessoa para não dominar o viewport */
  @media (orientation: landscape) {
    .hero-person-overlay.hero-person--left {
      width: 55vw;
      max-height: 70dvh;
      left: 20vw;
    }

    .hero-headline-layer {
      padding-top: clamp(1rem, 3vh, 2rem);
    }

    .panel-hero {
      height: 85dvh;
    }
  }

  /* Disable hero zoom on mobile */
  .hero-zoom-target {
    transition: none;
  }

  .hero-zoom-target:hover {
    transform: none;
  }

  .header-logo.hero-zoom-target:hover {
    transform: translateY(-50%);
  }

  /* #endregion */

  /* #region ---- Panel 2: Video ---- */
  .panel-video {
    position: relative;
    top: auto;
    min-height: 55dvh;
    height: 55dvh;
  }

  .panel-video .video-slide-link {
    width: 100%;
    height: 100%;
    min-height: auto;
  }

  .panel-video .video-slide-thumb {
    width: 100%;
    height: 100%;
    min-height: auto;
    object-fit: cover;
  }

  .panel-video .video-slide-play {
    width: clamp(56px, 15vw, 96px);
  }

  /* #endregion */

  /* #region ----  Panel 3: Explorador ---- */
  .panel-explorador {
    z-index: 4;
    height: fit-content;
    width: 100vw;
    position: relative;
    top: auto;
  }

  .panel-explorador .panel-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content;
    padding: 0;
    margin: 0;
    overflow: hidden;
    align-items: center;
    justify-content: center;
  }

  .chromo-container {
    position: relative;
    padding-top: 0;
    width: 100%;
    height: fit-content;
    align-self: flex-start;
    z-index: 1;
    order: 1;
  }

  .explorador-chromosome {
    height: auto;
    width: 80%;
    max-width: 80%;
  }

  /* #region Copy Styles */
  .explorador-copy {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 90%;
    height: fit-content;
    max-width: none;
    text-align: justify;
    z-index: 1;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 3;

  }

  .explorador-copy-icon {
    width: 17vw;
  }

  .explorador-heading-art {
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .explorador-paragraph {
    font-size: clamp(0.88rem, 3.5vw, 1.5rem);
    line-height: 1.35;
  }

  /* #endregion */

  .explorador-graphic-wrap {
    display: none;
  }

  .explorador-graphic-mobile {
    display: block;
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    order: 2;
    align-self: center;
    padding-bottom: 5vh;
    overflow: visible;
  }

  .explorador-fundo {
    position: absolute;
    top: -20vh;
    right: 0;
    width: 60%;
    height: 80vh;
    z-index: 0;
  }


  .explorador-bottom-graphic {
  display: none;
  }

  .water-bottom-mobile {
    display: block;
    position: absolute;
    top: min(500px, 60vh);
    right: -15vw;
    max-height: none;
    width: 50vw;
    height: auto;
    pointer-events: none;
    z-index: 1;
  }

  @media (min-height: 1000px) {
    .water-bottom-mobile {
      top: 60vh;
      right: -15vw;
      max-height: none;
      width: 45vw;
      height: auto;
      pointer-events: none;
      z-index: 1;
    }
  }

  /* #endregion */

  /* #region ---- Panel 4: Water / Info ---- */
  .panel-water {
    overflow: hidden;
    height: fit-content;
    position: relative;
    top: auto;
    bottom: auto;
  }

  .panel-inner--water {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 8vw 0 0 0;
    overflow: hidden;
  }

  .section4-water-bg {
    position: relative;
    display: block;
    top: 0;
    right: -55vw;
    align-self: flex-end;
    width: auto;
    height: 50vh;
    max-width: none;
    z-index: 1;
  }

  .section4-frase2 {
    position: absolute;
    top: 5%;
    right: 15vw;
    width: 60%;
    margin: 0 0 0 0;
    z-index: 2;
  }

  .section4-box-art {
    position: absolute;
    left: -5%;
    top: 23%;
    width: 90%;
    min-width: 0;
    max-width: 90%;
    z-index: 3;
  }

  .section4-copy {
    position: relative;
    right: auto;
    bottom: auto;
    width: 90%;
    max-width: none;
    z-index: 4;
    margin-top: 45%;
    padding: 5vw 1vw;
    border-radius: 10px;
    align-self: center;
  }

  .section4-title-art {
    max-width: 100%;
    padding-bottom: 2vw;
  }

  .section4-text {
    font-size: clamp(0.88rem, 3.5vw, 1.5rem);
    line-height: 1.35;
  }

  .section4-cta img {
    width: clamp(100px, 45vw, 300px);
  }

  /* #endregion */

  /* #region ---- Panel 5: Slider + Copy ---- */

  /* #region layers */
  .panel-section5 {
    position: relative;
    top: auto;
    bottom: auto;
    overflow: visible;
    z-index: 5;
    height: fit-content;
    display: flex;
    flex-direction: column;
  }

  .panel-inner.panel-inner--section5 {
    overflow: visible;
    position: relative;
    padding: 0;
    height: fit-content;
    display: flex;
    flex-direction: column;
  }

  .section5-layout {
    position: relative;
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: 100%;
    overflow: visible;
  }
  /* #endregion */

  /* #region Slider */

.section5-icon-slider {
  display: block;
  position: absolute;
  top: -1dvh;
  left: auto;
  right: 0;
  width: auto;
  height: 25dvh;
  z-index: 999;
  pointer-events: none;
}

.section5-rd-wrap {
  grid-row: 1;
  width: 0;
  height: 0;
  align-self: top;
  justify-self: start;
  position: relative;
  z-index: 0;
  pointer-events: none;
  border: none;
  padding: 0;
}

.section5-rd-code {
  display: none;
}

  .section5-slider-shell {
    position: relative;
    top: 0;
    left: auto;
    width: 100%;
    height: fit-content;
    min-height: 250px;
    padding-top: 0;
    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: space-around;
    z-index: 10;
    margin: 0;
    order: 1;
  }

  .section5-bg-arrow {
  display: grid;
  grid-template-rows: 1fr auto 1fr; 
  height: 100%;
  justify-items: center;
}



  .section5-slider,
  .section5-slider .slick-list,
  .section5-slider .slick-track {
    width: 100% !important;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .section5-slider {
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
  }

  .section5-slide {
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
  }

  .section5-slide-image {
    width: auto;
    height: 80dvh;
    min-height: 250px;
    object-fit: contain;
    /* override desktop contain */
    object-position: center;
    align-self: center;
  }

.section5-arrow {
  z-index: 5;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  width: 6vw;  
  height: 6vw; 
  line-height: 0;  
  padding: 0;     
  text-align: center;
}

.section5-bg-arrow {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr; /* Top and bottom rows share equal space */
  height: 100%;
}

.section5-arrow--prev {
  grid-row: 2;
  align-self: center;
}
.section5-arrow--next {
  grid-row: 2;
  align-self: center;
}


  /* #endregion  */

  /* #region Copy */
  .section5-copy {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    height: auto;
    overflow: hidden;
    order: 2;
  }

  .section5-copy-fade-container {
    display: none;
    /* hide decorative fade on mobile */
  }

  .section5-article {
    position: relative;
    top: auto;
    right: auto;
    width: 90%;
    max-width: none;
    margin: 0 auto;
    padding: 5vw;
    z-index: 20;
  }

  .section5-heading-art {
    width: 100%;
    margin-bottom: 1rem;
  }

  .section5-text {
    font-size: clamp(0.88rem, 3.5vw, 1.5rem);
    line-height: 1.35;
  }

  .section5-cta img {
    width: clamp(120px, 75vw, 500px);
  }

  /* #endregion */
  /* #endregion  */

  /* #region ---- Panel 6: FAQs ---- */
  .panel-faq {
    align-items: flex-start;
    z-index: 6;
    align-items: flex-start;
    position: relative;
    top: auto;
    bottom: auto;
  }

  .panel-inner--faq {
    position: relative;
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 0 !important;
    overflow: hidden;
  }

  .faq-layout {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    padding: 0;
  }

  /* #region DECO */
  .faq-main {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 0 0;
  }

  .faq-deco-top {
    display: none;
    position: relative;
    top: auto;
    left: auto;
    justify-content: center;
    margin-bottom: 2dvh;
    min-height: auto;
  }

  .faq-deco-bars {
    height: auto;
    width: clamp(180px, 50vw, 320px);
  }

  .faq-showcase {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 5dvh;
  }

  .faq-map-art {
    width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    display: none;
  }

  .faq-map-mobile {
    display: block;
    width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
  }

  /* #endregion */

  /* #region FAQ */
  .faq-content {
    position: relative;
    right: auto;
    width: 90%;
    max-width: none;
    height: auto;
    padding: 0 0 6dvh;
    margin: 0 auto;
  }

  .faq-heading-block {
    align-items: center;
    margin-bottom: 2dvh;
  }

  .faq-heading-fingerprint {
    height: auto;
    width: clamp(48px, 12vw, 72px);
    display: none;
  }

  .faq-title-art {
    height: auto;
    width: clamp(80px, 25vw, 140px);
  }

  .faq-accordion {
    max-height: none;
    /* allow full scroll on page */
    overflow-y: visible;
  }

  .faq-item summary {
    font-size: clamp(0.88rem, 3.5vw, 1.5rem);
    padding: 3.5vw 0;
  }

  .faq-item p {
    font-size: clamp(0.88rem, 3.5vw, 1.5rem);
    max-width: none;
  }

  /* #endregion */

  /* #region SIDEBAR */
  .faq-sidebar {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    padding-top: 0;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
  }

  .faq-sidebar-track {
    flex: 0 0 auto;
    width: 100%;
    min-height: 80px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3vw;
    overflow: visible;
  }

  .faq-sidebar-icon-link {
    transform: none !important;
    top: auto;
    bottom: auto;
    align-self: center;
    flex-direction: row;
  }

  .faq-sidebar-icon-link--top,
  .faq-sidebar-icon-link--bottom {
    top: auto;
    bottom: auto;
  }

  .faq-sidebar-icon {
    display: block;
    height: auto;
    object-fit: contain;
  }

  .faq-sidebar-icon--top {
    width: clamp(32px, 19vw, 90px);
    padding: 0;
  }

  .faq-sidebar-icon--bottom {
    width: clamp(32px, 15vw, 60px);
    padding: 0;
  }

  /*   #endregion */

  /*   #endregion */

  .timeline {
    display: none;
    /* hide timeline on mobile */
  }

  /* ---- Footer ---- */
  .site-footer {
    display: block;
    padding: 4vw 5vw;
  }
}

/* #endregion */