/* ============================================================
   PASSAPORTE JURERÊ INTERNACIONAL — Main Stylesheet
   Dark-first luxury design. References: Soho House, Velocity Black
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Cormorant:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

/* ── FONTSHARE ── */
@import url('https://api.fontshare.com/v2/css?f[]=switzer@300,400,500,600&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors — Dark Mode (Default) */
  --bg-base:         #0A0A0B;
  --bg-surface:      #111114;
  --bg-elevated:     #1A1A1F;
  --bg-overlay:      rgba(10,10,11,0.88);
  --border-subtle:   #1F1F26;
  --border-default:  #2A2A35;
  --border-hover:    #3A3A48;

  --gold:            #C9A84C;
  --gold-deep:       #8B6914;
  --gold-pale:       #E8D5A3;
  --gold-glow:       rgba(201,168,76,0.15);
  --navy:            #1B3A5C;
  --navy-light:      #2D5F8A;

  --text-primary:    #F5F0E8;
  --text-secondary:  #A89880;
  --text-muted:      #6B5E50;
  --text-inverse:    #0A0A0B;

  --success:         #4A7C59;
  --error:           #8B3A3A;

  /* Fonts */
  --font-display:    'Cormorant Garamond', 'Georgia', serif;
  --font-body:       'Switzer', 'Helvetica Neue', sans-serif;

  /* Type Scale */
  --text-xs:    clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:    clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base:  clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:    clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:    clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:   clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:   clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero:  clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1280px;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.2);

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --ease-io:   cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:    180ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-mid:     300ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-slow:    500ms cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Convenience aliases used by page-specific styles ── */
  --bg:        var(--bg-base);
  --surface:   var(--bg-surface);
  --elevated:  var(--bg-elevated);
  --border:    var(--border-default);
  --border-light: var(--border-subtle);

  /* Spacing aliases: --space-N = --sp-N */
  --space-1:  var(--sp-1);
  --space-2:  var(--sp-2);
  --space-3:  var(--sp-3);
  --space-4:  var(--sp-4);
  --space-5:  var(--sp-5);
  --space-6:  var(--sp-6);
  --space-8:  var(--sp-8);
  --space-10: var(--sp-10);
  --space-12: var(--sp-12);
  --space-14: 3.5rem;
  --space-16: var(--sp-16);
  --space-20: var(--sp-20);
  --space-24: var(--sp-24);
  --space-32: var(--sp-32);
}

/* Light mode override */
[data-theme="light"] {
  --bg-base:        #F7F4EE;
  --bg-surface:     #FFFFFF;
  --bg-elevated:    #EDE9E0;
  --bg-overlay:     rgba(247,244,238,0.92);
  --border-subtle:  #E2DDD4;
  --border-default: #C8C0B0;
  --border-hover:   #A89880;
  --gold:           #8B6914;
  --gold-pale:      #5A4410;
  --gold-glow:      rgba(139,105,20,0.12);
  --text-primary:   #1A1510;
  --text-secondary: #5A4E40;
  --text-muted:     #9B8C7A;
  --text-inverse:   #F5F0E8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
}

/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--sp-20);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background-color: var(--bg-base);
  overflow-x: clip;
  cursor: none; /* Custom cursor */
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul[role='list'], ol[role='list'] { list-style: none; }

input, button, textarea, select { font: inherit; color: inherit; }

h1,h2,h3,h4,h5,h6 {
  text-wrap: balance;
  line-height: 1.1;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-primary);
}

p, li, figcaption {
  text-wrap: pretty;
  max-width: 70ch;
}

::selection {
  background: rgba(201,168,76,0.25);
  color: var(--text-primary);
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width var(--t-mid), height var(--t-mid), background var(--t-mid), opacity var(--t-mid);
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color var(--t-mid);
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 6px;
  height: 6px;
}

body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 56px;
  height: 56px;
  border-color: var(--gold);
}

@media (hover: none) {
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-5) var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color var(--t-slow), backdrop-filter var(--t-slow), padding var(--t-slow), border-color var(--t-slow);
  border-bottom: 1px solid transparent;
  background-color: transparent;
}

/* Gradiente escuro para legibilidade dos links sobre o hero via ::before para animar suavemente */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,11,0.65) 0%, transparent 100%);
  z-index: -1;
  transition: opacity var(--t-slow);
  pointer-events: none;
}

.nav--scrolled {
  background-color: var(--bg-overlay);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--sp-4) var(--sp-8);
  border-color: var(--border-subtle);
}

.nav--scrolled::before {
  opacity: 0;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--text-primary);
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav__logo-text span {
  display: block;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav__links,
.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__links a,
.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(245, 240, 232, 0.85);
  transition: color var(--t-fast);
  position: relative;
}

.nav__links a::after,
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--t-mid);
}

.nav__links a:hover,
.nav__link:hover {
  color: var(--text-primary);
}

.nav__links a:hover::after,
.nav__link:hover::after { width: 100%; }

.nav__link--active {
  color: var(--gold) !important;
}

.nav__cta {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-inverse);
  background: var(--gold);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.nav__cta:hover {
  background: var(--gold-pale);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.nav__theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: var(--sp-2);
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
}

.nav__theme-toggle:hover { color: var(--gold); }

.nav__hamburger,
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--sp-2);
  color: var(--text-primary);
}

.nav__hamburger span,
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: all var(--t-mid);
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__toggle { display: flex; }
  .nav { padding: var(--sp-4) var(--sp-5); }
  /* Hide desktop menu on mobile */
  .nav__menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100svh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-subtle);
    z-index: 200;
    padding: var(--sp-16) var(--sp-8);
    flex-direction: column;
    gap: var(--sp-6);
    transition: right var(--t-slow);
    list-style: none;
    margin: 0;
    align-items: flex-start;
  }
  .nav__menu.open {
    display: flex;
    right: 0;
  }
  .nav__menu .nav__link {
    font-size: 1.2rem;
    padding: var(--sp-3) 0;
  }
  .nav__menu .btn {
    margin-top: var(--sp-4);
  }
}
@media (min-width: 901px) {
  .nav__toggle { display: none; }
  .nav__hamburger { display: none; }
}

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100svh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 200;
  padding: var(--sp-16) var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  transition: right var(--t-slow);
}

.nav-drawer.open { right: 0; }

.nav-drawer__close {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: var(--text-xl);
}

.nav-drawer__links { display: flex; flex-direction: column; gap: var(--sp-4); }

.nav-drawer__links a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  text-decoration: none;
  color: var(--text-primary);
  transition: color var(--t-fast);
}

.nav-drawer__links a:hover { color: var(--gold); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}

.nav-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  /* flex column: content + scroll empilhados verticalmente */
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-jurere.webp');
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Overlay fixo — separado do hero__bg para não ser arrastado pelo parallax */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10,10,11,0.35) 0%,
    rgba(10,10,11,0.45) 40%,
    rgba(10,10,11,0.88) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  /* ocupa todo o espaço disponível, centrando o conteúdo verticalmente */
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* padding-top: afasta do topo da nav (~72px) */
  padding: 72px var(--sp-8) var(--sp-6);
  max-width: 900px;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--sp-6);
}

.hero__title em {
  font-style: italic;
  color: var(--gold-pale);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-10);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

.btn,
.btn--gold,
.btn-primary {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-inverse);
  background: var(--gold);
  padding: var(--sp-4) var(--sp-10);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-block;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.btn--sm {
  padding: var(--sp-3) var(--sp-6);
  font-size: 0.65rem;
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--text-inverse);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-pale);
  transform: translateX(-101%);
  transition: transform var(--t-mid);
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-primary span { position: relative; z-index: 1; }

.btn-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-primary);
  background: transparent;
  padding: var(--sp-4) var(--sp-8);
  border: 1px solid rgba(245,240,232,0.3);
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero__scroll {
  /* oculto no desktop — só visível no mobile */
  display: none;
}

.mouse-indicator {
  width: 22px;
  height: 34px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
  opacity: 0.6;
}

.mouse-wheel {
  width: 2px;
  height: 6px;
  background: var(--gold);
  border-radius: 1px;
  animation: scrollWheel 2.5s var(--ease-io) infinite;
}

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

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

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ============================================================
   MARQUEE — PARCEIROS STRIP
   ============================================================ */
.marquee-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--sp-5) 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: var(--sp-12);
  animation: marquee 35s linear infinite;
  width: max-content;
}

.marquee-section:hover .marquee-track { animation-play-state: paused; }

.marquee-track::after {
  content: attr(data-content);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.marquee-item::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.5em;
  opacity: 0.6;
}

/* Fade edges */
.marquee-section {
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section {
  padding: clamp(var(--sp-12), 10vw, var(--sp-32)) var(--sp-5);
}

.section--dark {
  background: var(--bg-base);
}

.section--surface {
  background: var(--bg-surface);
}

.section--elevated {
  background: var(--bg-elevated);
}

.container {
  max-width: var(--content-wide);
  margin: 0 auto;
  width: 100%;
}

.container--narrow {
  max-width: var(--content-default);
  margin: 0 auto;
}

.section__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.section__label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: var(--sp-6);
}

.section__title em {
  font-style: italic;
  color: var(--gold-pale);
}

.section__body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 60ch;
}

/* ============================================================
   O QUE É — SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.about-grid__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-io);
}

.about-grid__image:hover img { transform: scale(1.04); }

.about-grid__image-badge {
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  background: var(--bg-overlay);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-default);
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-benefits {
  list-style: none;
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* Card de benefício redesenhado */
.about-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 2px;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.about-benefit-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.07);
}

.about-benefit-card__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.55rem;
  opacity: 0.8;
  margin-top: 2px;
}

.about-benefit-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  min-width: 0;
}

.about-benefit-card__body strong {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.about-benefit-card__body span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Botão Saber mais — sempre com espaço acima */
.about-cta {
  margin-top: var(--sp-8);
  padding-top: var(--sp-2);
}

@media (max-width: 768px) {
  .section { padding: var(--sp-12) var(--sp-5); }
  .about-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .about-grid__image { aspect-ratio: 16/9; }
}

/* ============================================================
   COMO FUNCIONA — STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  margin-top: var(--sp-12);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + var(--sp-8));
  right: calc(16.66% + var(--sp-8));
  height: 1px;
  background: linear-gradient(to right, var(--border-default), var(--gold), var(--border-default));
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
}

.step__number {
  width: 80px;
  height: 80px;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--gold);
  margin-bottom: var(--sp-6);
  background: var(--bg-surface);
  position: relative;
  z-index: 1;
  transition: border-color var(--t-mid), box-shadow var(--t-mid);
}

.step:hover .step__number {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}

.step__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 28ch;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .steps-grid::before { display: none; }
}

/* ============================================================
   PARCEIROS GRID
   ============================================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-12);
}

.partner-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4.2;
  background: var(--bg-surface);
  border: 1px solid rgba(201, 168, 76, 0.1);
  cursor: pointer;
  transition: border-color var(--t-slow), transform var(--t-slow), box-shadow var(--t-slow);
}

.partner-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.05), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.partner-card:hover {
  border-color: rgba(201, 168, 76, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(201, 168, 76, 0.1);
}

.partner-card:hover::after {
  left: 150%;
}

.partner-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-io);
}

.partner-card:hover .partner-card__img { 
  transform: scale(1.1); 
}

.partner-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-6);
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transform: translateY(0);
  transition: transform var(--t-mid);
}

.partner-card__category {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
  opacity: 0.9;
}

.partner-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
  line-height: 1.1;
}

.partner-card__benefit {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.partner-card__benefit::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
}

.partner-card__passport-badge {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: linear-gradient(135deg, #c9a84c 0%, #a68a3d 100%);
  color: white;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

/* ============================================================
   PASSAPORTE DIGITAL — FLIP CARD
   ============================================================ */
.passport-flip-wrap {
  perspective: 1000px;
  width: 320px;
  height: 200px;
  cursor: pointer;
}

.passport-flip {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease-io);
}

.passport-flip-wrap:hover .passport-flip,
.passport-flip-wrap.flipped .passport-flip {
  transform: rotateY(180deg);
}

.passport-front,
.passport-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--sp-6);
}

.passport-front {
  background: linear-gradient(135deg, #1A1408 0%, #0D0A04 100%);
  border: 1px solid var(--gold-deep);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.passport-back {
  background: linear-gradient(135deg, #0D0A04 0%, #1A1408 100%);
  border: 1px solid var(--gold-deep);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--sp-4);
}

.passport-front__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.passport-front__title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold-pale);
  line-height: 1.2;
}

.passport-front__emblem {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.passport-front__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.passport-front__number {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 300;
}

.passport-back__qr {
  width: 80px;
  height: 80px;
  background: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: var(--sp-2);
}

.passport-back__text {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
}

/* ============================================================
   TESTEMUNHOS
   ============================================================ */
.testimonials-marquee-wrap {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
  display: flex;
  gap: var(--sp-6);
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
  padding: var(--sp-4) 0;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  /* O calc move metade do track exato (os primeiros blocos originais + meio gap) */
  to   { transform: translateX(calc(-50% - (var(--sp-6) / 2))); }
}

.testimonial-card {
  width: 85vw;
  max-width: 420px;
  flex-shrink: 0;
  background: rgba(201, 168, 76, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.05);
  padding: var(--sp-8);
  position: relative;
  transition: border-color var(--t-mid), transform var(--t-mid), box-shadow var(--t-mid), background var(--t-mid);
}

.testimonial-card:hover {
  border-color: rgba(201, 168, 76, 0.85);
  box-shadow: 0 0 28px rgba(201, 168, 76, 0.25);
  background: rgba(201, 168, 76, 0.05);
  transform: translateY(-4px);
}

.testimonial-card__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: var(--sp-4);
}

.testimonial-card__header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-default);
}

.testimonial-card__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
}

.testimonial-card__role {
  font-family: var(--font-body);
  font-size: 0.70rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* ============================================================
   STEPS STACK (Vertical Sticky Scroll)
   ============================================================ */
.steps-stack-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--sp-8) 20vh; /* space after the final card + side padding for shadows */
}

.step-card {
  position: sticky;
  top: 10vh; /* Raised slightly from 15vh to accommodate more content on smaller screens */
  width: 100%;
  max-width: 500px;
  background: rgba(201, 168, 76, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 12px;
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
  margin-bottom: 60vh; /* increased for better scroll feel */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden; /* ensures the picture inside respects card boundaries */
}

.step-card:last-child {
  margin-bottom: 0;
}

/* Staggered Deck piling offsets (Indices adjusted to skip Scroll Cue div) */
.step-card:nth-child(2) { top: 10vh; z-index: 10; }
.step-card:nth-child(3) { top: calc(10vh + 30px); z-index: 20; }
.step-card:nth-child(4) { top: calc(10vh + 60px); z-index: 30; }

.step-card:hover {
  border-color: rgba(201, 168, 76, 0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(201, 168, 76, 0.2);
}

/* Scroll indicator side cue (Desktop only) */
.steps-scroll-cue {
  display: none;
  position: absolute;
  right: var(--sp-4);
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  opacity: 0.6;
  pointer-events: none;
}

@media (min-width: 1025px) {
  .steps-scroll-cue {
    display: flex;
  }
}

.steps-scroll-cue__line {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}

.steps-scroll-cue__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: white;
  box-shadow: 0 0 10px white;
  animation: scroll-dot 2s infinite ease-in-out;
}

@keyframes scroll-dot {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(500%); }
}

.steps-scroll-cue__text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.step-slide__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 76, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--gold);
  margin-bottom: var(--sp-6);
  box-shadow: inset 0 0 10px rgba(201, 168, 76, 0.1);
}

.step-slide__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

.step-slide__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--sp-6);
}

.step-slide__image-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  margin-top: auto;
}

.step-slide__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.step-slide-card:hover .step-slide__image-wrap img {
  transform: scale(1.05);
}

/* ============================================================
   CTA FINAL SECTION
   ============================================================ */
.cta-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: clamp(var(--sp-20), 10vw, var(--sp-32)) var(--sp-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* glow radial removido — causava artefacto visual ao fazer scroll */

.cta-section__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 auto var(--sp-5);
  text-align: center;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: var(--sp-6);
}

.cta-section__title em {
  font-style: italic;
  color: var(--gold-pale);
}

.cta-section__sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 50ch;
  margin: 0 auto var(--sp-10);
  line-height: 1.8;
}

.cta-section__note {
  margin: var(--sp-5) auto 0;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-align: center;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--sp-10) 0;
  margin: var(--sp-12) 0;
}

.stat {
  text-align: center;
  padding: var(--sp-4);
  border-right: 1px solid var(--border-subtle);
}

.stat:last-child { border-right: none; }

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .stat:nth-child(2n) { border-right: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: var(--sp-16) var(--sp-8) var(--sp-8);
}

.footer__grid {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid var(--border-subtle);
}

.footer__brand p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-muted);
  margin-top: var(--sp-4);
  line-height: 1.8;
  max-width: 30ch;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-5);
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__col a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer__col a:hover { color: var(--text-primary); }

.footer__bottom {
  max-width: var(--content-wide);
  margin: var(--sp-6) auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__copyright {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.footer__social {
  display: flex;
  gap: var(--sp-5);
}

.footer__social a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer__social a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

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

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal {
    opacity: 0;
    animation: revealFade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
}

@keyframes revealFade {
  to { opacity: 1; }
}

.reveal-up {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal-up {
    opacity: 0;
    clip-path: inset(20px -20px -20px -20px);
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 65%;
  }
}

@keyframes revealUp {
  to {
    opacity: 1;
    clip-path: inset(-20px -20px -20px -20px);
  }
}

/* Stagger delay for grid items */
.reveal-stagger > *:nth-child(1) { animation-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { animation-delay: 80ms; }
.reveal-stagger > *:nth-child(3) { animation-delay: 160ms; }
.reveal-stagger > *:nth-child(4) { animation-delay: 240ms; }
.reveal-stagger > *:nth-child(5) { animation-delay: 320ms; }
.reveal-stagger > *:nth-child(6) { animation-delay: 400ms; }

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
@view-transition { navigation: auto; }

::view-transition-old(root) {
  animation: fadeOut 0.2s cubic-bezier(0.4, 0, 1, 1);
}

::view-transition-new(root) {
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================================
   INTERIOR PAGES — MINI HERO
   ============================================================ */
.page-hero {
  padding: calc(var(--sp-32) + 60px) var(--sp-8) var(--sp-16);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.page-hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}

.page-hero__title em { font-style: italic; color: var(--gold-pale); }

.page-hero__sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 58ch;
  line-height: 1.8;
}

.page-hero--has-visual .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-12);
}

.page-hero--has-visual {
  background: #000 !important; /* Match image background exactly */
}

.page-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-hero__visual img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px rgba(201, 168, 76, 0.15);
  animation: floatVisual 6s ease-in-out infinite;
  /* Esfuma as pontas da imagem para não se ver o quadrado */
  -webkit-mask-image: radial-gradient(circle, black 50%, transparent 95%);
  mask-image: radial-gradient(circle, black 50%, transparent 95%);
}

@keyframes floatVisual {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}

.hero-mosaic {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.hero-mosaic__img {
  position: absolute;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.15);
  animation: floatVisual 8s ease-in-out infinite;
}

.hero-mosaic__img:nth-child(1) {
  width: 55%;
  height: 65%;
  top: 0;
  left: 0;
  z-index: 2;
  animation-delay: 0s;
}

.hero-mosaic__img:nth-child(2) {
  width: 45%;
  height: 55%;
  bottom: 5%;
  left: 15%;
  z-index: 3;
  animation-delay: -2s;
}

.hero-mosaic__img:nth-child(3) {
  width: 50%;
  height: 70%;
  top: 15%;
  right: 0;
  z-index: 1;
  animation-delay: -4s;
}

@media (max-width: 900px) {
  .page-hero--has-visual .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-10);
  }
  .page-hero__sub {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-6) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-6);
  text-align: left;
  transition: color var(--t-fast);
}

.faq-question:hover { color: var(--gold); }

.faq-question-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: inherit;
  line-height: 1.3;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-mid);
  color: var(--gold);
  font-size: 1rem;
}

.faq-item.open .faq-icon {
  background: var(--gold);
  color: var(--text-inverse);
  border-color: var(--gold);
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease-io), padding 0.4s var(--ease-io);
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding-bottom: var(--sp-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================================
   BENEFITS TABS
   ============================================================ */
.tabs-nav {
  display: flex;
  gap: var(--sp-2);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--sp-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0; /* Add this to prevent overlapping on mobile */
  margin-bottom: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.tab-btn:hover { color: var(--text-secondary); }

.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--t-fast);
}

.benefit-item:hover { border-color: var(--border-hover); }

.benefit-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(201, 168, 76, 0.05); /* very soft gold */
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--gold); /* Set color for SVGs */
}

/* Make sure the SVGs inside scale properly and inherit the styling */
.benefit-item__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.benefit-item__title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.benefit-item__desc {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: none;
}

@media (max-width: 640px) {
  .tab-panel.active { grid-template-columns: 1fr; }
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--sp-8);
}

.comparison-table th,
.comparison-table td {
  padding: var(--sp-4) var(--sp-6);
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-body);
  font-size: var(--text-sm);
}

.comparison-table th {
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  padding-bottom: var(--sp-5);
}

.comparison-table th.highlight {
  color: var(--gold);
  position: relative;
}

.comparison-table th.highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.comparison-table td { color: var(--text-secondary); }
.comparison-table td.highlight { background: var(--gold-glow); }

.comparison-table .check { color: var(--gold); font-size: 1.1rem; }
.comparison-table .cross { color: var(--text-muted); font-size: 1.1rem; }
.comparison-table td:first-child { text-align: left; color: var(--text-primary); font-weight: 400; }

/* ============================================================
   PRICING TIERS — B2B
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-12);
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: relative;
  transition: border-color var(--t-mid), transform var(--t-mid), box-shadow var(--t-mid);
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,168,76,0.05) 0%, var(--bg-surface) 100%);
}

.pricing-card--featured:hover { box-shadow: var(--shadow-gold); }

.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--text-inverse);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-4);
}

.pricing-tier {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-price span {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 300;
}

.pricing-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}

.pricing-features li {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  max-width: none;
}

.pricing-features li::before {
  content: '✓';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.9rem;
}

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

/* ============================================================
   FORM
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.form-grid--full { grid-column: 1 / -1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  padding: var(--sp-4) var(--sp-5);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-glow);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--sp-4);
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid--full { grid-column: auto; }
}

/* ============================================================
   TWO-COLUMN LAYOUT (solicitar, parceiro detalhe)
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.two-col--60-40 { grid-template-columns: 1.5fr 1fr; }
.two-col--40-60 { grid-template-columns: 1fr 1.5fr; }

@media (max-width: 900px) {
  .two-col,
  .two-col--60-40,
  .two-col--40-60 { grid-template-columns: 1fr; }
}

/* ============================================================
   PARTNER DETAIL PAGE
   ============================================================ */
.partner-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.partner-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0.2) 0%, rgba(10,10,11,0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-10) var(--sp-8);
}

.partner-hero__content { max-width: var(--content-wide); margin: 0 auto; width: 100%; }

.partner-hero__category {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.partner-hero__name {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--text-primary);
}

/* ============================================================
   PHOTO GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 240px 240px;
  gap: var(--sp-3);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid img:first-child {
  grid-row: 1 / 3;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.breadcrumb a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb span {
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.breadcrumb .current {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin: var(--sp-10) 0;
}

.divider--gold {
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  height: 1px;
  opacity: 0.3;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  transition: opacity 0.5s var(--ease-in), visibility 0.5s;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  width: 60px;
  height: 60px;
  color: var(--gold);
}

.loading-progress {
  width: 120px;
  height: 1px;
  background: var(--border-subtle);
  overflow: hidden;
}

.loading-progress-bar {
  height: 100%;
  background: var(--gold);
  width: 0%;
  animation: loadProgress 1.2s var(--ease-out) forwards;
}

@keyframes loadProgress {
  to { width: 100%; }
}

.loading-text {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}

/* Small gold pill badge */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold-pale);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
}

/* ============================================================
   MOBILE FIX — Scroll horizontal + Hero layout + Grids
   ============================================================ */

/* Previne scroll horizontal global */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

* {
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 768px) {

  /* ── Hero mobile ── */
  .hero {
    height: 100dvh;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero__content {
    padding: 72px var(--sp-5) var(--sp-4);
  }

  .hero__eyebrow {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
    margin-bottom: var(--sp-3);
    max-width: 100%;
    flex-wrap: wrap;
    gap: var(--sp-2);
  }

  .hero__eyebrow::before,
  .hero__eyebrow::after {
    width: 16px;
    flex-shrink: 0;
  }

  .hero__title {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
    line-height: 1.05;
    margin-bottom: var(--sp-3);
  }

  .hero__subtitle {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: var(--sp-5);
    max-width: 100%;
  }

  /* Botões em coluna no mobile */
  .hero__actions {
    flex-direction: column;
    gap: var(--sp-3);
    width: 100%;
    align-items: stretch;
  }

  .hero__actions .btn-primary,
  .hero__actions .btn-ghost,
  .hero__actions a {
    width: 100%;
    text-align: center;
    padding: var(--sp-4) var(--sp-5);
    display: block;
  }

  .hero__scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    color: rgba(245,240,232,0.5);
    pointer-events: none;
    white-space: nowrap;
    flex-shrink: 0;
    padding-bottom: var(--sp-5);
  }

  /* ── Nav mobile ── */
  .nav__inner {
    padding: var(--sp-3) var(--sp-4);
    gap: var(--sp-3);
  }

  .nav__logo span {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  /* ── Marquee: fix corrupção visual ── */
  .marquee-section {
    overflow: hidden;
    max-width: 100vw;
    /* remover mask nos edges que corrompe no mobile */
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee-track {
    white-space: nowrap;  /* CRÍTICO: impede quebra de linha dos itens */
    overflow: visible;
    flex-wrap: nowrap;
  }
  .marquee-item {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* ── Section padding: reduzir no mobile ── */
  .section {
    padding: var(--sp-12) var(--sp-5);
  }

  /* ── About grid: reduzir gap e imagem ── */
  .about-grid {
    gap: var(--sp-8);
  }
  .about-grid__image {
    aspect-ratio: 3/2;
  }

  /* ── Stats: 2 colunas compactas ── */
  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
    padding: var(--sp-5) 0;
    margin: var(--sp-6) 0;
  }
  .stat__number {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .stat__label {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  /* ── Steps grid: 1 coluna compacta ── */
  .steps-grid {
    gap: var(--sp-5);
    margin-top: var(--sp-8);
  }

  /* ── Partners grid: 1 coluna ── */
  .partners-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  /* ── Testimonials: 1 coluna compacta ── */
  .testimonials-grid {
    gap: var(--sp-5);
  }

  /* ── Passport flip card: centrar ── */
  .passport-flip-wrap {
    margin: 0 auto;
  }

  /* Sections com padding lateral seguro */
  .section-inner,
  .content-wide,
  [class*="__inner"] {
    padding-left: var(--sp-5);
    padding-right: var(--sp-5);
    max-width: 100%;
  }

  /* Tabelas e grids que podem causar overflow */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  /* Imagens responsivas */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* ============================================================
   B2B PREMIUM FEATURES LIST
   ============================================================ */
.premium-features-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.premium-feature {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  transition: transform var(--t-fast);
}

.premium-feature:hover {
  transform: translateX(8px);
}

.premium-feature__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1) 0%, rgba(201, 168, 76, 0.02) 100%);
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.premium-feature__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.premium-feature__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: var(--sp-1);
}

.premium-feature__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

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

@media (max-width: 900px) {
  .two-col, .three-col {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    text-align: center;
  }
}

.faq-b2b-aside {
  margin-top: var(--sp-16);
  padding-top: var(--sp-12);
  border-top: 1px solid var(--border-subtle);
}
