/* ============================================================
   JS CERIMONIAL — PREMIUM STYLESHEET
   v20270623
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   1. CUSTOM PROPERTIES
   ──────────────────────────────────────────────────────────── */
:root {
  --gold:        #C6A972;
  --gold-soft:   #D8C5A1;
  --gold-dark:   #9E7D45;
  --paper:       #F7F4EF;
  --ink:         #2C2C2C;
  --muted:       #6B6B6B;
  --white:       #FFFFFF;
  --line:        rgba(44, 44, 44, 0.10);
  --line-strong: rgba(44, 44, 44, 0.18);
  --shadow:      0 22px 60px rgba(42, 36, 28, 0.12);
  --shadow-gold: 0 8px 32px rgba(198, 169, 114, 0.22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Montserrat", Arial, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-expo:  cubic-bezier(0.7, 0, 0.84, 0);
  --t-fast:   200ms;
  --t-base:   400ms;
  --t-slow:   700ms;
  --t-xslow:  1000ms;
}

/* ────────────────────────────────────────────────────────────
   2. RESET & BASE
   ──────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

@media (pointer: coarse) {
  body { cursor: auto; }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid rgba(198, 169, 114, 0.70);
  outline-offset: 4px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* ────────────────────────────────────────────────────────────
   3. CUSTOM CURSOR
   ──────────────────────────────────────────────────────────── */
#cursor-dot,
#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform, opacity, width, height;
  transition: opacity var(--t-fast) ease,
              width var(--t-base) var(--ease-out-expo),
              height var(--t-base) var(--ease-out-expo),
              background var(--t-base) var(--ease-out-expo);
}

#cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold);
  background: transparent;
}

body.cursor-hover #cursor-dot {
  width: 0;
  height: 0;
  opacity: 0;
}

body.cursor-hover #cursor-ring {
  width: 52px;
  height: 52px;
  border-color: var(--gold-dark);
  background: rgba(198, 169, 114, 0.06);
}

body.cursor-hidden #cursor-dot,
body.cursor-hidden #cursor-ring {
  opacity: 0;
}

@media (pointer: coarse) {
  #cursor-dot,
  #cursor-ring {
    display: none;
  }
}

/* ────────────────────────────────────────────────────────────
   4. PAGE TRANSITION OVERLAY
   ──────────────────────────────────────────────────────────── */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  transform: translateY(-100%);
  pointer-events: none;
}

#page-transition.is-leaving {
  transform: translateY(0);
  transition: transform 340ms var(--ease-in-expo);
}

#page-transition.is-entering {
  transform: translateY(0);
  transition: none;
}

#page-transition.is-done {
  transform: translateY(100%);
  transition: transform 560ms var(--ease-out-expo);
}

/* ────────────────────────────────────────────────────────────
   5. SCROLL PROGRESS BAR
   ──────────────────────────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-soft));
  transition: width 60ms linear;
  pointer-events: none;
}

/* ────────────────────────────────────────────────────────────
   6. ACCESSIBILITY
   ──────────────────────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-200%);
  transition: transform var(--t-fast) ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ────────────────────────────────────────────────────────────
   7. HEADER
   ──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: box-shadow var(--t-base) ease, background var(--t-base) ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 36px rgba(44, 44, 44, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  transition: opacity var(--t-fast) ease;
}

.brand:hover {
  opacity: 0.78;
}

.brand-logo {
  display: block;
  height: 36px;
  width: auto;
}

.footer-brand .brand-logo {
  height: 32px;
}

.site-nav {
  display: none;
  position: absolute;
  top: 76px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 18px;
  transition: max-height 400ms var(--ease-out-expo),
              opacity 300ms ease,
              padding 300ms ease,
              box-shadow 300ms ease;
}

.site-nav.is-open {
  display: grid;
  gap: 8px;
  max-height: 600px;
  opacity: 1;
  padding: 18px;
  box-shadow: var(--shadow);
}

.site-nav a {
  padding: 12px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  transition: color var(--t-fast) ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: inline-grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color var(--t-fast) ease;
}

.nav-toggle:hover {
  border-color: var(--gold-soft);
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--t-base) var(--ease-out-expo),
              opacity var(--t-fast) ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ────────────────────────────────────────────────────────────
   8. TIPOGRAFIA
   ──────────────────────────────────────────────────────────── */
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  max-width: 10ch;
}

.page-hero h1 {
  max-width: 12ch;
}

h2 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
}

h3 {
  font-size: 1.55rem;
}

/* ────────────────────────────────────────────────────────────
   9. HERO
   ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #1a1a1a;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: top center;
  will-change: transform;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-out-expo);
  bottom: auto;
  height: calc(100% + 320px);
}

.hero.is-loaded .hero-media,
.page-hero.is-loaded .hero-media {
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18,18,18,0.88) 0%, rgba(18,18,18,0.52) 52%, rgba(18,18,18,0.18) 100%),
    linear-gradient(0deg, rgba(18,18,18,0.72) 0%, transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 150px 0 90px;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content > p,
.hero-content .hero-actions {
  opacity: 0;
  transform: translateY(24px);
}

.hero-content .eyebrow.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--t-slow) var(--ease-out-expo), transform var(--t-slow) var(--ease-out-expo);
  transition-delay: 200ms;
}

.hero-content h1.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--t-slow) var(--ease-out-expo), transform var(--t-slow) var(--ease-out-expo);
  transition-delay: 380ms;
}

.hero-content > p.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--t-slow) var(--ease-out-expo), transform var(--t-slow) var(--ease-out-expo);
  transition-delay: 540ms;
}

.hero-content .hero-actions.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--t-slow) var(--ease-out-expo), transform var(--t-slow) var(--ease-out-expo);
  transition-delay: 680ms;
}

.hero-content p:not(.eyebrow) {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2.4vw, 1.18rem);
}

.hero-content h1,
.hero-content p:not(.eyebrow) {
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.48);
}

/* ────────────────────────────────────────────────────────────
   10. PAGE HERO
   ──────────────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  color: var(--white);
  background: #1a1a1a;
  overflow: hidden;
}

.page-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(44,44,44,0.92) 0%, rgba(44,44,44,0.60) 100%),
    linear-gradient(0deg, rgba(18,18,18,0.65) 0%, transparent 50%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

/* ────────────────────────────────────────────────────────────
   11. BOTOES
   ──────────────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  overflow: hidden;
  transition:
    transform var(--t-base) var(--ease-out-expo),
    background var(--t-base) ease,
    border-color var(--t-base) ease,
    box-shadow var(--t-base) ease,
    color var(--t-base) ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
  transform: skewX(-18deg);
  transition: left 560ms var(--ease-out-expo);
  pointer-events: none;
}

.btn:hover::after {
  left: 160%;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 12px 36px rgba(158, 125, 69, 0.36);
}

.btn-secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.82);
}

.hero-actions,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ────────────────────────────────────────────────────────────
   12. LINKS DE TEXTO
   ──────────────────────────────────────────────────────────── */
.text-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background-image: linear-gradient(var(--gold-dark), var(--gold-dark));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 300ms ease, color 200ms ease;
  padding-bottom: 2px;
}

.text-link:hover {
  background-size: 100% 1px;
  color: var(--gold-dark);
}

/* ────────────────────────────────────────────────────────────
   13. SECOES
   ──────────────────────────────────────────────────────────── */
.section {
  padding: clamp(80px, 11vw, 140px) 0;
}

.section-soft {
  background: var(--paper);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-heading.narrow {
  max-width: 650px;
}

.section-heading::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 20px;
}

/* ────────────────────────────────────────────────────────────
   14. SPLIT LAYOUT
   ──────────────────────────────────────────────────────────── */
.split {
  display: grid;
  gap: 48px;
}

.split-copy {
  align-self: center;
}

.split-copy p {
  margin: 22px 0 0;
  color: var(--muted);
}

/* ────────────────────────────────────────────────────────────
   15. IMAGE FRAME
   ──────────────────────────────────────────────────────────── */
.image-frame {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform var(--t-xslow) var(--ease-out-expo);
}

.image-frame:hover img {
  transform: scale(1.05);
}

.image-frame.landscape img {
  aspect-ratio: 16 / 10;
}

/* ────────────────────────────────────────────────────────────
   16. CARDS
   ──────────────────────────────────────────────────────────── */
.feature-grid,
.service-grid,
.support-grid,
.difference-grid {
  display: grid;
  gap: 16px;
}

.feature-card,
.service-card,
.support-card,
.difference-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  transition:
    transform var(--t-base) var(--ease-out-expo),
    box-shadow var(--t-base) ease,
    border-color var(--t-base) ease;
}

.feature-card:hover,
.service-card:hover,
.support-card:hover,
.difference-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-soft);
}

.feature-card span,
.difference-card span,
.timeline-item span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.feature-card p,
.service-card p,
.support-card p,
.timeline-item p,
.difference-card p,
.service-detail p,
.contact-info p {
  color: var(--muted);
}

.service-grid {
  margin-top: 28px;
}

.service-card {
  min-height: 220px;
  display: grid;
  align-content: end;
}

/* ────────────────────────────────────────────────────────────
   17. CTA BAND
   ──────────────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 120px) 0;
  color: var(--white);
  background: var(--ink);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(198,169,114,0.14) 0%, transparent 60%);
}

.cta-band::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.cta-inner {
  position: relative;
  display: grid;
  gap: 28px;
}

/* ────────────────────────────────────────────────────────────
   18. SERVICOS DETALHE
   ──────────────────────────────────────────────────────────── */
.service-list {
  display: grid;
  gap: 0;
}

.service-detail {
  display: grid;
  gap: 22px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  transition: padding var(--t-base) ease;
}

.service-detail:last-child {
  border-bottom: 1px solid var(--line);
}

.service-detail:hover {
  padding-left: 12px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  transition: color var(--t-fast) ease;
}

.check-list li:hover {
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transition: background var(--t-fast) ease;
}

.check-list li:hover::before {
  background: var(--gold);
}

/* ────────────────────────────────────────────────────────────
   19. TIMELINE
   ──────────────────────────────────────────────────────────── */
.timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition:
    transform var(--t-base) var(--ease-out-expo),
    border-left-color var(--t-base) ease,
    box-shadow var(--t-base) ease;
}

.timeline-item:hover {
  transform: translateX(8px);
  border-left-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* ────────────────────────────────────────────────────────────
   20. QUOTE SECTION
   ──────────────────────────────────────────────────────────── */
.quote-section {
  padding: clamp(72px, 10vw, 116px) 0;
  text-align: center;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(198,169,114,0.08), transparent);
}

.quote-section blockquote {
  position: relative;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 8vw, 6.8rem);
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.02em;
}

.quote-section p {
  position: relative;
  max-width: 620px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.72);
}

/* ────────────────────────────────────────────────────────────
   21. EQUIPE
   ──────────────────────────────────────────────────────────── */
.leaders-grid {
  display: grid;
  gap: 22px;
}

.person-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow var(--t-base) ease, transform var(--t-base) var(--ease-out-expo);
}

.person-card:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.person-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform var(--t-xslow) var(--ease-out-expo);
}

.person-card:hover img {
  transform: scale(1.04);
}

.person-card div {
  padding: 30px;
}

.person-card p:not(.eyebrow) {
  color: var(--muted);
}

/* ────────────────────────────────────────────────────────────
   SUPPORT REVEAL
   Mobile: tap revela imagem no card
   Desktop: hover troca painel lateral
   ──────────────────────────────────────────────────────────── */
.support-reveal {
  display: grid;
  gap: 0;
}

.support-reveal-list {
  display: grid;
  gap: 16px;
}

.support-reveal-panel {
  display: none;
}

.support-chevron {
  display: none;
}

/* Mobile: card com imagem que revela ao tap */
.support-reveal-item {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--line);
  transition:
    transform var(--t-base) var(--ease-out-expo),
    box-shadow var(--t-base) ease;
}

.support-card-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.support-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity var(--t-slow) var(--ease-out-expo),
    transform var(--t-xslow) var(--ease-out-expo);
}

.support-reveal-item.is-active .support-card-img img {
  opacity: 1;
  transform: scale(1);
}

.support-reveal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18,18,18,0.82) 0%, rgba(18,18,18,0.28) 60%, transparent 100%);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out-expo);
  z-index: 1;
  pointer-events: none;
}

.support-reveal-item.is-active::after {
  opacity: 1;
}

.support-card-body {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.support-card-body::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 14px;
  transition: width var(--t-base) var(--ease-out-expo);
}

.support-reveal-item.is-active .support-card-body::before {
  width: 44px;
}

.support-card-body h3 {
  margin: 0 0 8px;
  transition: color var(--t-base) ease;
}

.support-card-body p {
  margin: 0;
  font-size: 0.88rem;
  transition: color var(--t-base) ease;
}

.support-reveal-item.is-active .support-card-body h3 {
  color: var(--white);
}

.support-reveal-item.is-active .support-card-body p {
  color: rgba(255, 255, 255, 0.84);
}

.wide-image {
  margin: 40px 0 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.wide-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform var(--t-xslow) var(--ease-out-expo);
}

.wide-image:hover img {
  transform: scale(1.03);
}

/* ────────────────────────────────────────────────────────────
   22. DIFERENCIAIS
   ──────────────────────────────────────────────────────────── */
.difference-card {
  min-height: 180px;
  display: grid;
  align-content: space-between;
}

.difference-card h2 {
  font-size: clamp(1.7rem, 4vw, 2.55rem);
}

/* ────────────────────────────────────────────────────────────
   23. CONTATO
   ──────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  gap: 34px;
}

.contact-form {
  padding: clamp(28px, 5vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.form-grid {
  display: grid;
  gap: 20px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  transition: color var(--t-fast) ease;
}

label:focus-within {
  color: var(--gold-dark);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 0;
  transition:
    border-color var(--t-fast) ease,
    box-shadow var(--t-fast) ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 169, 114, 0.16);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  padding: 14px 18px;
  margin: 22px 0;
  border: 1px solid;
  font-size: 0.88rem;
}

.form-status.success {
  color: #2e5c42;
  background: #edf5f0;
  border-color: #b0d4bd;
}

.form-status.error {
  color: #7d3636;
  background: #fdf2f0;
  border-color: #deb4ac;
}

.contact-aside {
  display: grid;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.contact-aside img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform var(--t-xslow) var(--ease-out-expo);
}

.contact-aside:hover img {
  transform: scale(1.04);
}

.contact-info {
  padding: 30px;
}

.contact-info a {
  display: block;
  margin-top: 12px;
  color: var(--gold-soft);
  transition: color var(--t-fast) ease;
}

.contact-info a:hover {
  color: var(--gold);
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(0.35) contrast(1.06);
  transition: filter var(--t-base) ease;
}

.map-section iframe:hover {
  filter: grayscale(0) contrast(1);
}

/* ────────────────────────────────────────────────────────────
   24. FOOTER
   ──────────────────────────────────────────────────────────── */
.site-footer {
  padding: 56px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-links a {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background-image: linear-gradient(var(--gold-dark), var(--gold-dark));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 280ms ease, color 180ms ease;
  padding-bottom: 2px;
  display: inline-block;
}

.footer-links a:hover {
  background-size: 100% 1px;
  color: var(--gold-dark);
}

/* ────────────────────────────────────────────────────────────
   25. WHATSAPP FLOAT
   ──────────────────────────────────────────────────────────── */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 20px;
  color: var(--white);
  background: #25D366;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.32);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  transition:
    transform var(--t-base) var(--ease-out-expo),
    box-shadow var(--t-base) ease;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  animation: pulse-ring 2.4s var(--ease-out-expo) infinite;
}

.floating-whatsapp svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.38);
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.36); }
  65%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ────────────────────────────────────────────────────────────
   26. REVEAL ANIMATIONS
   ──────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity var(--t-slow) var(--ease-out-expo),
    transform var(--t-slow) var(--ease-out-expo);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity var(--t-slow) var(--ease-out-expo),
    transform var(--t-slow) var(--ease-out-expo);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity var(--t-slow) var(--ease-out-expo),
    transform var(--t-slow) var(--ease-out-expo);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  transition:
    opacity var(--t-slow) var(--ease-out-expo),
    transform var(--t-slow) var(--ease-out-expo);
}

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger automatico para filhos de .stagger-children */
.stagger-children > *:nth-child(1)  { --stagger: 0ms;   }
.stagger-children > *:nth-child(2)  { --stagger: 80ms;  }
.stagger-children > *:nth-child(3)  { --stagger: 160ms; }
.stagger-children > *:nth-child(4)  { --stagger: 240ms; }
.stagger-children > *:nth-child(5)  { --stagger: 320ms; }
.stagger-children > *:nth-child(6)  { --stagger: 400ms; }
.stagger-children > *:nth-child(7)  { --stagger: 480ms; }
.stagger-children > *:nth-child(8)  { --stagger: 560ms; }

.stagger-children > *.is-visible {
  transition-delay: var(--stagger, 0ms);
}

/* ────────────────────────────────────────────────────────────
   27. PREFERS REDUCED MOTION
   ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content > p,
  .hero-content .hero-actions {
    opacity: 1;
    transform: none;
  }

  #page-transition { display: none; }
  #cursor-dot, #cursor-ring { display: none; }
}

/* ────────────────────────────────────────────────────────────
   28. RESPONSIVE 700px
   ──────────────────────────────────────────────────────────── */
@media (min-width: 700px) {
  .feature-grid,
  .service-grid,
  .difference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .full {
    grid-column: 1 / -1;
  }
}

/* ────────────────────────────────────────────────────────────
   29. RESPONSIVE 900px
   ──────────────────────────────────────────────────────────── */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    max-height: none;
    overflow: visible;
    opacity: 1;
  }

  .site-nav a {
    position: relative;
    padding: 6px 0;
  }

  .site-nav a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 280ms var(--ease-out-expo);
  }

  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .site-nav a[aria-current="page"] {
    color: var(--ink);
  }

  .split,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    align-items: center;
  }

  .split.reverse {
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .leaders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Support reveal: duas colunas no desktop */
  .support-reveal {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
  }

  .support-reveal-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .support-reveal-panel {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0;
    background: #1a1a1a;
  }

  .support-reveal-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transform: scale(1.04);
    transition:
      opacity 600ms var(--ease-out-expo),
      transform 1s var(--ease-out-expo);
  }

  .support-reveal-panel img.is-active {
    opacity: 1;
    transform: scale(1);
  }

  .support-reveal-item {
    min-height: 0;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    padding: 32px 36px;
    border: none;
    border-top: 1px solid var(--line);
    border-left: 3px solid transparent;
    background: var(--white);
    box-shadow: none;
    transform: none;
    transition:
      border-left-color var(--t-base) ease,
      background var(--t-base) ease;
  }

  .support-reveal-item:last-child {
    border-bottom: 1px solid var(--line);
  }

  .support-reveal-item.is-active,
  .support-reveal-item:hover {
    border-left-color: var(--gold);
    background: var(--paper);
    transform: none;
    box-shadow: none;
  }

  .support-reveal-item .support-card-img,
  .support-reveal-item::after {
    display: none;
  }

  .support-reveal-item .support-card-body {
    flex: 1;
    position: static;
    z-index: auto;
    padding: 0;
  }

  .support-reveal-item .support-card-body::before {
    display: none;
  }

  .support-reveal-item .support-card-body h3 {
    color: var(--ink);
  }

  .support-reveal-item.is-active .support-card-body h3,
  .support-reveal-item:hover .support-card-body h3 {
    color: var(--gold-dark);
  }

  .support-reveal-item .support-card-body p {
    color: var(--muted);
  }

  .support-reveal-item.is-active .support-card-body p,
  .support-reveal-item:hover .support-card-body p {
    color: var(--muted);
  }

  .support-chevron {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 24px;
    color: var(--gold);
    opacity: 0;
    transform: translateX(-10px);
    transition:
      opacity var(--t-base) var(--ease-out-expo),
      transform var(--t-base) var(--ease-out-expo);
  }

  .support-reveal-item.is-active .support-chevron,
  .support-reveal-item:hover .support-chevron {
    opacity: 1;
    transform: translateX(0);
  }

  .difference-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-detail {
    grid-template-columns: 0.78fr 1.22fr;
    align-items: start;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

/* ────────────────────────────────────────────────────────────
   30. RESPONSIVE max 430px
   ──────────────────────────────────────────────────────────── */
@media (max-width: 430px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand-logo {
    height: 28px;
  }

  .hero-actions,
  .center-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}


/* ============================================================
   ADIÇÕES PREMIUM — v20270623b
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   CARD ICONS (feature-cards, service-cards)
   ──────────────────────────────────────────────────────────── */
.card-icon {
  display: flex;
  align-items: center;
  color: var(--gold);
  margin-bottom: 16px;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease-out-expo);
}

.feature-card:hover .card-icon svg,
.service-card:hover .card-icon svg,
.support-card:hover .card-icon svg {
  transform: scale(1.18);
}

/* Service cards: icon ao topo, texto cresce abaixo */
.service-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  margin-top: auto;
}

/* ────────────────────────────────────────────────────────────
   CTA BAND — CENTRALIZADA
   ──────────────────────────────────────────────────────────── */
.cta-inner {
  text-align: center;
  justify-items: center;
}

/* ────────────────────────────────────────────────────────────
   FOOTER V2
   ──────────────────────────────────────────────────────────── */
.site-footer {
  padding: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  gap: 40px 32px;
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand-col .footer-brand {
  margin-bottom: 16px;
}

.footer-brand-col p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.90rem;
  max-width: 300px;
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color var(--t-fast) ease;
}

.footer-socials a:hover {
  color: var(--gold);
}

.footer-socials svg {
  flex-shrink: 0;
  color: var(--gold);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-nav-title {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 5px 0;
  background-image: linear-gradient(var(--gold-dark), var(--gold-dark));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 280ms ease, color 180ms ease;
  display: inline-block;
  padding-bottom: 4px;
}

.footer-nav a:hover {
  background-size: 100% 1px;
  color: var(--gold-dark);
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--muted);
  transition: color var(--t-fast) ease;
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-cta {
  margin-top: 18px;
  align-self: flex-start;
  min-height: 44px;
  font-size: 0.70rem;
  padding: 10px 18px;
}

.footer-bottom {
  padding: 18px 0;
  background: var(--paper);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.70rem;
  max-width: none;
  line-height: 1.5;
}

.footer-bottom a {
  color: var(--gold);
  transition: color var(--t-fast) ease;
}

.footer-bottom a:hover {
  color: var(--gold-dark);
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1.1fr;
  }
}

/* ────────────────────────────────────────────────────────────
   TIMELINE V2 — INFOGRÁFICO LINEAR
   ──────────────────────────────────────────────────────────── */
.timeline-v2 {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 0;
}

.timeline-connector {
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 56px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-soft), var(--gold));
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.4s var(--ease-out-expo);
  transition-delay: 200ms;
}

.timeline-connector.is-visible {
  transform: scaleY(1);
}

.tl-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 22px;
  padding-bottom: 42px;
  align-items: flex-start;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-node {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.tl-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--gold);
  box-shadow: 0 4px 18px rgba(198, 169, 114, 0.15);
  transition:
    background var(--t-base) var(--ease-out-expo),
    color var(--t-base) ease,
    box-shadow var(--t-base) ease;
  flex-shrink: 0;
}

.tl-item:hover .tl-icon-wrap {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.tl-content {
  padding-top: 14px;
}

.tl-num {
  display: inline-block;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tl-content h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.tl-content p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

/* Desktop: alternância esquerda/direita */
@media (min-width: 900px) {
  .timeline-connector {
    left: 50%;
    transform: scaleY(0) translateX(-50%);
  }

  .timeline-connector.is-visible {
    transform: scaleY(1) translateX(-50%);
  }

  .tl-item {
    grid-template-columns: 1fr 56px 1fr;
    gap: 0 28px;
    align-items: center;
    padding-bottom: 56px;
  }

  .tl-node {
    grid-column: 2;
    justify-content: center;
  }

  /* Ímpares: conteúdo à direita */
  .tl-item:nth-child(odd) .tl-content {
    grid-column: 3;
    grid-row: 1;
    padding-top: 0;
  }

  /* Pares: conteúdo à esquerda */
  .tl-item:nth-child(even) .tl-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
    padding-top: 0;
  }
}

/* ────────────────────────────────────────────────────────────
   DIFERENCIAIS V2
   ──────────────────────────────────────────────────────────── */
.diff-grid-v2 {
  display: grid;
  gap: 20px;
}

.diff-card-v2 {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    transform var(--t-base) var(--ease-out-expo),
    box-shadow var(--t-base) ease,
    border-color var(--t-base) ease;
}

.diff-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-soft);
}

.diff-num-bg {
  position: absolute;
  right: -10px;
  bottom: -24px;
  font-family: var(--serif);
  font-size: 7.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.045;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.diff-card-v2 .card-icon {
  margin-bottom: 14px;
}

.diff-card-v2 .card-icon svg {
  width: 34px;
  height: 34px;
}

.diff-card-v2 h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
  line-height: 1.2;
}

.diff-card-v2 p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.65;
}

@media (min-width: 600px) {
  .diff-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .diff-grid-v2 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ────────────────────────────────────────────────────────────
   FLOATING WA SPAN
   ──────────────────────────────────────────────────────────── */
.floating-whatsapp span {
  display: inline;
}

/* ────────────────────────────────────────────────────────────
   PHOTO SLIDER
   ──────────────────────────────────────────────────────────── */
.photo-slider {
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.photo-slider-track {
  display: flex;
  transition: transform 600ms var(--ease-out-expo);
}

.photo-slide {
  flex: 0 0 100%;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
}

.photo-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform var(--t-xslow) var(--ease-out-expo);
}

.photo-slide:hover img {
  transform: scale(1.03);
}

.photo-slider-ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background var(--t-fast) ease,
    border-color var(--t-fast) ease,
    color var(--t-fast) ease;
}

.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background var(--t-base) ease,
    transform var(--t-base) ease;
}

.slider-dot.is-active {
  background: var(--gold);
  transform: scale(1.35);
}

/* ────────────────────────────────────────────────────────────
   LIGHTBOX
   ──────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 18, 16, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease;
  z-index: 1;
}

.lightbox-close:hover {
  background: rgba(198, 169, 114, 0.20);
  border-color: var(--gold);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease;
  z-index: 1;
}

.lightbox-nav:hover {
  background: rgba(198, 169, 114, 0.22);
  border-color: var(--gold);
}

.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

.lightbox-figure {
  margin: 0;
  max-width: min(88vw, 1200px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.60);
  transition: opacity 260ms ease;
}

.lightbox-img.is-fading {
  opacity: 0;
}

.lightbox-caption {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  text-align: center;
  min-height: 1.4em;
  letter-spacing: 0.01em;
}

.lightbox-counter {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--sans);
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .lightbox {
    padding: 16px 48px;
  }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-nav {
    width: 38px;
    height: 38px;
  }
}

/* Desktop: slider ocupa a altura total da section quando está no split */
@media (min-width: 900px) {
  .split:has(.photo-slider) {
    align-items: stretch;
  }

  .split .photo-slider {
    display: flex;
    flex-direction: column;
  }

  .split .photo-slider-track {
    flex: 1;
    min-height: 0;
  }

  .split .photo-slide {
    height: 100%;
  }

  .split .photo-slide img {
    aspect-ratio: unset;
    height: 100%;
  }
}
