:root {
  --bg: #0b1628;
  --bg-soft: #101e35;
  --bg-deep: #060f1e;
  --panel: #0b1422;
  --gallery: #0f1c30;
  --text: #f0ede6;
  --muted: #8a9ab5;
  --gold-1: #c4a774;
  --gold-2: #987d4d;
  --gold-soft: rgba(201, 162, 39, 0.16);
  --line: rgba(201, 162, 39, 0.12);
  --nav-h: 94px;
  --font-primary: Inter, Arial, sans-serif;
  --font-secondary: "Playfair Display", Georgia, serif;
  --font-mono: "DM Mono", Consolas, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  width: min(1216px, calc(100% - 64px));
  margin-inline: auto;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  min-height: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 22, 40, 0.55);
  backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), min-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, min-height, background-color;
}

.site-nav.scrolled {
  min-height: 72px;
  background: rgba(6, 15, 30, 0.85);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.site-nav.nav-hidden {
  transform: translateY(-100%);
}

.nav-shell {
  position: relative;
  z-index: 35;
  width: min(1216px, calc(100% - 64px));
  height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-copy span {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--text);
}

.brand-copy strong {
  font-size: 22px;
  line-height: 1;
  letter-spacing: 5px;
  color: #fff;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 31px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.52px;
  text-transform: uppercase;
}

.desktop-nav a.active,
.desktop-nav a:hover {
  color: var(--gold-1);
}

.desktop-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 1px;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.04px;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-cta,
.button-primary {
  color: #0b1628;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  box-shadow: 0 0 6px rgba(196, 167, 116, 0.55);
}

.button-secondary {
  min-height: 50px;
  color: var(--text);
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: transparent;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 10px;
  background: rgba(16, 30, 53, 0.6);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--gold-1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 900px;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Slider styles */
:root {
  --hero-gradient: linear-gradient(90deg, #0b1628 0%, #0b1628 31%, rgba(11, 22, 40, 0.87) 58%, rgba(11, 22, 40, 0.75) 76%, rgba(11, 22, 40, 0.25) 100%);
}

[data-theme="light"] {
  --hero-gradient: linear-gradient(90deg, #f5f7fa 0%, #f5f7fa 31%, rgba(245, 247, 250, 0.87) 58%, rgba(245, 247, 250, 0.75) 76%, rgba(245, 247, 250, 0.25) 100%);
}

@media (max-width: 900px) {
  :root {
    --hero-gradient: linear-gradient(90deg, rgba(11, 22, 40, 0.98) 0%, rgba(11, 22, 40, 0.9) 55%, rgba(11, 22, 40, 0.5) 100%);
  }
  [data-theme="light"] {
    --hero-gradient: linear-gradient(90deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0.9) 55%, rgba(245, 247, 250, 0.5) 100%);
  }
}

.hero::before {
  display: none !important;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
  transform: scale(1.08);
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
  opacity: 1;
}

.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 60px 140px; /* offset for stats band */
}

/* Slide Reveal Entrance Animations */
.hero-slide .slide-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .slide-reveal {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.active .eyebrow.slide-reveal {
  transition-delay: 0.1s;
}

.hero-slide.active h1.slide-reveal {
  transition-delay: 0.25s;
}

.hero-slide.active .hero-copy.slide-reveal {
  transition-delay: 0.4s;
}

.hero-slide.active .hero-actions.slide-reveal {
  transition-delay: 0.55s;
}

/* Subtle Progress Bar */
.hero-progress-bar {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 20;
}

.hero-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-1);
  transition: width 0.1s linear;
}

/* Slider navigation dots */
.hero-dots {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.hero-dot.active {
  background: var(--gold-1);
  transform: scale(1.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 60px 54px;
}

.eyebrow {
  margin: 0;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  letter-spacing: 2.4px !important;
  text-transform: uppercase !important;
  color: transparent !important;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--text);
}

.hero h1 {
  max-width: 672px;
  margin: 24px 0 22px;
  font-size: 72px;
  line-height: 1.1;
}

em {
  font-family: var(--font-secondary);
  font-style: italic;
  color: transparent;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy {
  max-width: 576px;
  margin-bottom: 34px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.stats-band {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  background: rgba(11, 22, 40, 0.12);
}


[data-theme="light"] .stats-band {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
}


.stats-grid {
  display: grid;
  grid-template-columns: repeat(var(--stats-count, 4), 1fr);
}

.stat {
  min-height: 114px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(201, 162, 39, 0.1);
}

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

.stat strong {
  font-family: var(--font-secondary);
  font-size: 40px;
  line-height: 1.5;
  color: transparent;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.48px;
}

.section {
  padding-block: 80px;
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: 48px;
  line-height: 1.2;
}

.split-heading {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.centered {
  text-align: center;
}

.centered .eyebrow {
  display: inline-block;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: transparent;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 14px;
  letter-spacing: 0.84px;
  text-transform: uppercase;
  padding-bottom: 2px;
}

.text-link span {
  display: inline-block;
  color: var(--gold-1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link:hover span {
  transform: translateX(4px);
}


.event-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.event-card,
.article-card {
  overflow: hidden;
  border-radius: 12px;
  background: var(--panel);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.event-card {
  position: relative;
}

.event-card.featured {
  border: 1px solid var(--gold-1);
  box-shadow: 0 0 25px rgba(196, 167, 116, 0.2);
}

.event-card figure,
.article-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.event-card figure {
  height: 176px;
}

.event-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--panel));
}

.event-card img,
.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.event-card:hover img,
.article-card:hover img {
  transform: scale(1.08);
}

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 23px;
  border-radius: 8px;
  padding-inline: 10px;
  color: #0b1628;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.tag-blue {
  background: var(--muted);
}

.tag-cream {
  background: #ffe3b4;
}

.tag-sage {
  background: #b5ad8a;
}

.tag-purple {
  background: #9174c4;
}

.tag-gold {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
}

.card-body {
  padding: 20px;
}

.event-card h3,
.article-card h3 {
  margin-bottom: 14px;
  color: var(--text);
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.meta span:first-child {
  color: var(--gold-1);
  font-size: 11px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.9px;
}

.card-footer a {
  color: var(--gold-1);
  font-family: var(--font-primary);
  font-size: 12px;
  letter-spacing: 0;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover .card-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.event-card .card-footer a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-footer a span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover .card-footer a span,
.article-card:hover .card-footer a span {
  transform: translateX(4px);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 64px;
  position: relative;
  border-radius: 12px;
  background: var(--bg-soft);
}

#sobre {
  margin-bottom: 64px;
}
@media (max-width: 768px) {
  .feature-row {
    display: flex;
    flex-direction: column;
  }
}

.feature-seal {
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-seal:hover {
  transform: translate(-50%, -50%) scale(1.1) rotate(6deg);
}

.feature-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-media {
  min-height: 381px;
  position: relative;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  overflow: hidden;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 40, 0.55);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  display: grid;
  align-content: center;
  padding: 56px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.feature-copy h2 {
  margin: 16px 0 20px;
  font-size: 36px;
  line-height: 1.2;
}

.feature-copy p:not(.eyebrow) {
  max-width: 496px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.leader-carousel {
  position: relative;
}

.leader-carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: -18px 0 22px;
}

.leader-carousel-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 30, 53, 0.58);
  color: var(--gold-1);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.leader-carousel-controls button:hover {
  border-color: rgba(196, 167, 116, 0.45);
  background: rgba(196, 167, 116, 0.08);
  color: #fff;
}

.leader-carousel-controls button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.leader-track {
  display: flex;
  grid-template-columns: none;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.leader-track::-webkit-scrollbar {
  display: none;
}

.leader-track .leader-card {
  flex: 0 0 calc((100% - 80px) / 5);
  scroll-snap-align: start;
}

.leader-media {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 16px;
  aspect-ratio: 227 / 303;
}

.leader-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.leader-card {
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.leader-card:hover .leader-media img {
  transform: scale(1.08);
}

.leader-card h3 {
  margin-bottom: 2px;
  font-size: 16px;
  line-height: 1.25;
}

.leader-card p {
  margin: 0;
  color: transparent;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.62px;
  text-transform: uppercase;
}

.accredited-companies {
  background: var(--bg);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.company-card {
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.1);
  border-radius: 12px;
  background: var(--panel);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.company-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 167, 116, 0.34);
}

.company-card figure {
  position: relative;
  height: 176px;
  margin: 0;
  overflow: hidden;
}

.company-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, var(--panel));
}

.company-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.company-card:hover img {
  transform: scale(1.06);
}

.company-card-body {
  display: grid;
  min-height: 250px;
  padding: 20px;
}

.company-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.company-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.company-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  align-self: end;
  margin-top: 20px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.company-card-footer a {
  flex: 0 0 auto;
  color: var(--gold-1);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.company-card-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gallery {
  background: var(--gallery);
}

.gallery-heading {
  margin-bottom: 0;
}

.section-copy {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, 228px);
  gap: 20px;
  padding-top: 56px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-grid .wide {
  grid-column: span 2;
}

.gallery-grid .tall {
  grid-row: span 2;
}

.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}

.photo-count {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 999px;
  color: #0b1628;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
}

.photo-count strong {
  font-family: var(--font-secondary);
  font-size: 18px;
  line-height: 1;
}

.photo-count span {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.testimonials {
  position: relative;
  overflow: hidden;
  background: rgba(16, 30, 53, 0.5);
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background: radial-gradient(circle at 70% 50%, var(--gold-1), transparent 32%);
}

.testimonials .shell {
  position: relative;
}

.testimonial-card {
  position: relative;
  max-width: 896px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg);
  padding: 56px;
}

.stars {
  margin-bottom: 28px;
  color: var(--gold-1);
  letter-spacing: 3px;
}

.quote {
  max-width: 783px;
  margin-bottom: 34px;
  color: var(--text);
  font-family: var(--font-pr);
  font-size: 20px;
  font-style: italic;
  line-height: 1.75;
  font-weight: 200;
}

.testimonial-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.testimonial-bottom h3 {
  margin-bottom: 4px;
  font-size: 18px;
  line-height: 1.4;
}

.testimonial-bottom p {
  margin: 0;
  color: transparent;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.12px;
  text-transform: uppercase;
}

.testimonial-controls {
  display: flex;
  gap: 12px;
}

.testimonial-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 8px;
  color: var(--gold-1);
  background: transparent;
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-controls button:hover {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  border-color: transparent;
  color: #0b1628;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 167, 116, 0.3);
}

.testimonial-controls button:active {
  transform: translateY(0);
}

.quote-mark {
  position: absolute;
  top: 20px;
  right: 32px;
  color: rgba(201, 162, 39, 0.18);
  font-family: var(--font-secondary);
  font-size: 92px;
  line-height: 1;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonial-dots span {
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: rgba(201, 162, 39, 0.25);
  cursor: pointer;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-dots span.active {
  width: 32px;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
}

/* Testimonial Transition Animation */
.quote,
.testimonial-bottom>div:first-child,
.stars {
  transition: opacity 0.25s ease, transform 0.25s ease;
  will-change: opacity, transform;
}

.testimonial-card.fade-out .quote,
.testimonial-card.fade-out .testimonial-bottom>div:first-child,
.testimonial-card.fade-out .stars {
  opacity: 0;
  transform: translateY(10px);
}


.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  background: var(--bg-soft);
}

.article-card figure {
  height: 208px;
}

.article-card .card-body {
  display: grid;
  min-height: 268px;
  padding: 24px;
}

.article-card h3 {
  font-size: 20px;
  line-height: 1.35;
}

.article-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: end;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 162, 39, 0.1);
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.62px;
}

.article-meta span:last-child {
  color: var(--text);
}

.cta-confrade {
  position: relative;
  overflow: hidden;
  padding-block: 100px;
  background: var(--bg-deep);
}
@media (max-width: 768px) {
  .cta-confrade .cta-bg-confrade {
   display: none;
  }
}

.cta-confrade .cta-bg-confrade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0B1628 56.56%, rgba(11, 22, 40, 0.55) 25%, rgba(11, 22, 40, 0.00) 50%), url(../img/bg-cta-confrade.png) center / contain no-repeat;
  padding-top: 80px;
  padding-bottom: 80px;
  z-index: 0;
}

.cta-confrade .cta-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 56px;
}

@media (max-width: 768px) {
  .cta-confrade .cta-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.cta-confrade .cta-copy h2 {
  margin: 18px 0 22px;
  font-size: 56px;
  line-height: 1.15;
}

.cta-confrade .cta-copy h2 em {
  font-family: var(--font-secondary);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-1);
}

.cta-confrade .cta-copy>p {
  max-width: 540px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.cta-confrade .cta-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cta-confrade .button-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  min-height: 50px;
  transition: all 0.3s ease;
}

.cta-confrade .button-outline:hover {
  border-color: var(--gold-1);
  color: var(--gold-1);
  background: rgba(201, 162, 39, 0.05);
}

/* ==========================================================================
   Formulário de Candidatura
   ========================================================================== */

.cta-section {
  position: relative;
  overflow: hidden;
  padding-block: 80px;
}

.cta-section .cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 22, 40, 1) 45%, rgba(11, 22, 40, 0.75) 100%),
    url("../img/cta-community.png") center / cover no-repeat;
}

.cta-section .cta-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

@media (max-width: 768px) {
  .cta-section .cta-shell {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
  }
}
.cta-section .cta-copy h2 {
  margin: 18px 0 22px;
  font-size: 48px;
  line-height: 1.15;
}

.cta-section .cta-copy>p {
  max-width: 512px;
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.benefit-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
}

.benefit-list li::before {
  content: "◆";
  color: var(--gold-1);
}

.member-form {
  width: 100%;
  max-width: 580px;
  justify-self: end;
  padding: 40px;
  border-radius: 12px;
  background: rgba(16, 30, 53, 0.15);
  backdrop-filter: blur(35px);
}

.member-form h3 {
  margin-bottom: 2px;
  font-family: var(--font-secondary);
  font-size: 24px;
  line-height: 1.35;
}

.member-form>p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.member-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.member-form label span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.56px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.member-form label:focus-within span {
  color: var(--gold-1);
}

.member-form input {
  width: 100%;
  height: 47px;
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  background: rgba(15, 19, 33, 0.31);
  outline: none;
  backdrop-filter: blur(15px);
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-form input::placeholder {
  color: rgba(138, 154, 181, 0.5);
}

.member-form input:focus {
  border-color: var(--gold-1);
  background-color: rgba(15, 19, 33, 0.55);
  box-shadow: 0 0 0 3px rgba(196, 167, 116, 0.25), 0 4px 15px rgba(0, 0, 0, 0.2);
}

.member-form .button {
  width: 100%;
  min-height: 53px;
  margin-top: 8px;
}

.member-form small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 2fr;
  gap: 40px;
  padding-block: 64px 56px;
}

.footer-brand p {
  max-width: 240px;
  margin: 20px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 8px;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-links a:hover {
  border-color: var(--gold-1);
  background-color: rgba(201, 162, 39, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(196, 167, 116, 0.15);
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease, transform 0.3s ease;
}

.social-links a:hover svg {
  stroke: #fff;
  transform: scale(1.1);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}

.footer-links h4 {
  margin: 0 0 18px;
  color: transparent;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid rgba(201, 162, 39, 0.08);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
}

.footer-bottom span:last-child {
  color: rgba(201, 162, 39, 0.45);
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 18px;
  }

  .brand-copy strong {
    font-size: 18px;
    letter-spacing: 4px;
  }

  .nav-cta {
    padding-inline: 18px;
  }

  .event-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leader-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .leader-track .leader-card {
    flex-basis: calc((100% - 40px) / 3);
  }
}
@media (max-width: 900px) {
  :root {
    --nav-h: 76px;
  }

  .hero-slide .hero-content {
    padding-block: 80px 260px;
  }

  .hero-dots {
    bottom: 240px;
  }

  .shell,
  .nav-shell {
    width: min(100% - 40px, 1216px);
  }

  .site-nav {
    min-height: var(--nav-h);
  }

  .nav-shell {
    height: var(--nav-h);
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  body.menu-open .site-nav {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body.menu-open .menu-toggle span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 25;
    margin: 0;
    padding: calc(var(--nav-h) + 40px) 24px 40px;
    background: rgba(11, 22, 40, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  [data-theme="light"] .mobile-nav {
    background: rgba(245, 247, 250, 0.98);
  }

  .mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav a {
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s ease;
  }

  .mobile-nav a:hover,
  .mobile-nav a.active {
    color: var(--gold-1);
  }

  .mobile-nav .mobile-menu-cta {
    margin-top: 16px;
    width: 80%;
    max-width: 280px;
    font-size: 14px;
    text-align: center;
  }

  .hero {
    min-height: 820px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(11, 22, 40, 0.98) 0%, rgba(11, 22, 40, 0.9) 55%, rgba(11, 22, 40, 0.5) 100%),
      url("../img/hero.png") 57% center / cover no-repeat;
  }

  .hero h1 {
    font-size: 52px;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
  }

  .footer-top {
    grid-template-columns: 1fr;
    display: grid;
  }

  .split-heading {
    align-items: start;
  }

  .section-heading h2,
  .cta-copy h2 {
    font-size: 40px;
  }

  .feature-media {
    border-radius: 12px 12px 0 0;
  }

  .feature-copy {
    padding: 36px;
    border-radius: 0 0 12px 12px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .gallery-grid img {
    min-height: 220px;
  }

  .gallery-grid .wide,
  .gallery-grid .tall {
    grid-column: auto;
    grid-row: auto;
  }

  .cta-confrade .cta-bg {
    background:
      linear-gradient(180deg, rgba(6, 15, 30, 0.85) 0%, rgba(6, 15, 30, 0.95) 100%),
      url("../img/bg-cta-confrade.png") center center / cover no-repeat;
  }

  .cta-section .cta-bg {
    background:
      linear-gradient(180deg, rgba(6, 15, 30, 0.85) 0%, rgba(6, 15, 30, 0.95) 100%),
      url("../img/cta-community.png") center center / cover no-repeat;
  }

  .cta-section .cta-copy {
    order: 1;
  }

  .cta-section .member-form {
    order: 2;
    justify-self: stretch;
    max-width: none;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {

  .section,
  .cta-confrade,
  .cta-section {
    padding-block: 56px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy span {
    font-size: 8px;
    letter-spacing: 2.6px;
  }

  .brand-copy strong {
    font-size: 15px;
    letter-spacing: 3px;
  }

  .hero {
    min-height: 840px !important;
  }

  .hero-slide .hero-content {
    padding-block: 60px 260px;
  }

  .hero-dots {
    bottom: 240px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy,
  .cta-copy>p {
    font-size: 15px;
  }

  .hero-actions,
  .gallery-footer,
  .testimonial-bottom,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

 
  .event-grid,
  .article-grid,
  .leader-grid,
  .company-grid,
  .gallery-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 2fr 2fr;
  }
  .leader-carousel-controls {
    display: none !important;
  }

  .stat {
    border-right: 0;
  }

  .stat:nth-child(3) {
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
  }

  .section-heading h2,
  .cta-copy h2 {
    font-size: 34px;
  }

  .event-card figure,
  .article-card figure {
    height: 210px;
  }

  .feature-media {
    min-height: 250px;
  }

  .feature-copy,
  .member-form,
  .testimonial-card {
    padding: 28px;
  }

  .quote {
    font-size: 21px;
    line-height: 1.6;
  }

  .quote-mark {
    display: none;
  }

  .photo-count {
    align-self: flex-end;
  }

  /* --- Mobile Homepage Grid-to-Carousel Overrides --- */
  #eventos .event-grid,
  .home-company-grid,
  #conteudo .article-grid,
  .leader-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch;
    gap: 16px !important;
    margin-inline: -20px !important;
    padding-inline: 20px !important;
    padding-bottom: 16px !important;
    grid-template-columns: none !important;
    scrollbar-width: none !important;
  }

  #eventos .event-grid::-webkit-scrollbar,
  .home-company-grid::-webkit-scrollbar,
  #conteudo .article-grid::-webkit-scrollbar,
  .leader-grid::-webkit-scrollbar {
    display: none !important;
  }

  #eventos .event-grid .event-card,
  .home-company-grid .home-company-card,
  #conteudo .article-grid .article-card {
    flex: 0 0 280px !important;
    width: 280px !important;
    scroll-snap-align: start !important;
    margin: 0 !important;
  }

  .leader-grid .leader-card {
    flex: 0 0 220px !important;
    width: 220px !important;
    scroll-snap-align: start !important;
    margin: 0 !important;
  }

  /* --- Mobile Footer Refinements --- */
  .site-footer {
    text-align: center;
    padding-block: 48px 32px;
  }

  .footer-top {
    gap: 32px;
    padding-block: 0 40px;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
  }

  .footer-brand p {
    max-width: 320px;
    margin-inline: auto;
  }

  .social-links {
    justify-content: center;
    margin-top: 12px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px 16px;
  }

  .footer-links div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links h4 {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .footer-links a {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .footer-bottom {
    text-align: center;
    align-items: center;
    gap: 12px;
    padding-block: 24px 0;
  }
}

.reveal {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal-slide-up {
  transform: translateY(32px);
}

.reveal-slide-left {
  transform: translateX(-32px);
}

.reveal-slide-right {
  transform: translateX(32px);
}

.reveal-scale {
  transform: scale(0.95);
}

/* Estado Ativado (Visível) */
.reveal.revealed {
  opacity: 1;
  transform: none;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08) translate(1%, -0.5%);
  }
}

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

  .leader-media,
  .leader-media img,
  .gallery-item,
  .gallery-item img,
  .event-card img,
  .article-card img,
  .card-footer a span {
    transition: none !important;
    transform: none !important;
  }

  .hero::before {
    animation: none !important;
    transform: none !important;
  }
}

/* Floating Back to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 40;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.25);
  background: rgba(16, 30, 53, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold-1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: rgba(16, 30, 53, 0.95);
  border-color: rgba(201, 162, 39, 0.8);
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(196, 167, 116, 0.25);
  transform: translateY(-4px);
}

.scroll-to-top:hover svg {
  transform: translateY(-2px);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* Sibling Hover Dimming (Focus Effect) */
.event-grid:hover .event-card {
  opacity: 0.5;
}

.event-grid:hover .event-card:hover {
  opacity: 1;
}

.leader-grid:hover .leader-card {
  opacity: 0.5;
}

.leader-grid:hover .leader-card:hover {
  opacity: 1;
}

.gallery-grid:hover .gallery-item {
  opacity: 0.5;
}

.gallery-grid:hover .gallery-item:hover {
  opacity: 1;
}

.article-grid:hover .article-card {
  opacity: 0.5;
}

.article-grid:hover .article-card:hover {
  opacity: 1;
}

/* ==========================================================================
   Light Mode Theme
   ========================================================================== */
[data-theme="light"] {
  --bg: #f5f7fa;
  --bg-soft: #ffffff;
  --bg-deep: #e9edf3;
  --panel: #ffffff;
  --gallery: #e1e6ee;
  --text: #1a2536;
  --muted: #5c6b84;
  --gold-soft: rgba(196, 167, 116, 0.14);
  --line: rgba(196, 167, 116, 0.2);
  color-scheme: light;
}

[data-theme="light"] body {
  background: var(--bg);
  color: var(--text);
}

[data-theme="light"] .brand-copy strong {
  color: var(--text);
}

[data-theme="light"] .brand-copy span {
  color: var(--muted);
}



[data-theme="light"] .site-nav {
  background: rgba(245, 247, 250, 0.75);
  border-bottom: 1px solid var(--line);
}

[data-theme="light"] .site-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 30px rgba(11, 22, 40, 0.08);
}

[data-theme="light"] .hero::before {
  background:
    linear-gradient(90deg, #f5f7fa 0%, #f5f7fa 31%, rgba(245, 247, 250, 0.87) 58%, rgba(245, 247, 250, 0.75) 76%, rgba(245, 247, 250, 0.25) 100%),
    url("../img/hero.png") center / cover no-repeat;
}

@media (max-width: 900px) {
  [data-theme="light"] .hero::before {
    background:
      linear-gradient(90deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0.9) 55%, rgba(245, 247, 250, 0.5) 100%),
      url("../img/hero.png") 57% center / cover no-repeat;
  }
  [data-theme="light"] .mobile-nav {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(11, 22, 40, 0.12);
    border-color: var(--line);
  }
}

[data-theme="light"] .feature-media::after {
  background: rgba(245, 247, 250, 0.2);
}

[data-theme="light"] .testimonials {
  background: rgba(233, 237, 243, 0.6);
}

[data-theme="light"] .testimonials::before {
  background: radial-gradient(circle at 70% 50%, var(--gold-1), transparent 45%);
}

[data-theme="light"] .testimonial-controls button {
  border-color: var(--line);
  color: var(--gold-1);
}

[data-theme="light"] .testimonial-controls button:hover {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  color: #fff;
}

[data-theme="light"] .cta-confrade .cta-bg-confrade {
  background: linear-gradient(90deg, #f5f7fa 56.56%, rgba(245, 247, 250, 0.55) 25%, rgba(245, 247, 250, 0.00) 50%), url(../img/bg-cta-confrade.png) center / contain no-repeat;
}

[data-theme="light"] .cta-section .cta-bg {
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 1) 45%, rgba(245, 247, 250, 0.75) 100%),
    url("../img/cta-community.png") center / cover no-repeat;
}

[data-theme="light"] .member-form {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  box-shadow: 0 15px 35px rgba(11, 22, 40, 0.08);
}

[data-theme="light"] .member-form input {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  border: 1px solid rgba(196, 167, 116, 0.3);
}

[data-theme="light"] .member-form input:focus {
  background-color: #ffffff;
  border-color: var(--gold-1);
}

[data-theme="light"] .menu-toggle {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
}

[data-theme="light"] .scroll-to-top {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--line);
}

[data-theme="light"] .scroll-to-top:hover {
  background: #ffffff;
  border-color: var(--gold-1);
  box-shadow: 0 8px 25px rgba(11, 22, 40, 0.15), 0 0 15px rgba(196, 167, 116, 0.25);
}

/* Theme Toggle Button Styling */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  cursor: pointer;
}

.theme-toggle-btn:hover {
  background: rgba(201, 162, 39, 0.08);
  border-color: var(--gold-1);
  color: var(--gold-2);
  transform: rotate(15deg);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle-btn .sun-icon {
  display: none;
}

.theme-toggle-btn .moon-icon {
  display: block;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: block;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: none;
}

.mobile-theme-btn {
  display: none;
}

@media (max-width: 900px) {
  .theme-toggle-btn:not(.mobile-theme-btn) {
    display: none;
  }
  .mobile-theme-btn {
    display: inline-flex;
    margin-left: auto;
    margin-right: 12px;
  }
}

/* ==========================================================================
   Light Mode Overrides & Contrast Enhancements
   ========================================================================== */

[data-theme="light"] ::placeholder {
  color: #8a9ab5;
  opacity: 0.9;
}

/* --- Detail Pages Description Text Readability --- */
[data-theme="light"] .article-body p,
[data-theme="light"] .company-body p,
[data-theme="light"] .event-body p {
  color: var(--text);
}

/* Blockquote in article body */
[data-theme="light"] .article-body blockquote {
  background: var(--bg-deep);
  color: var(--text);
}

/* --- Form Elements & Controls --- */

/* Contact Form Input fields, select and textareas override */
[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form select,
[data-theme="light"] .contact-form textarea {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid rgba(196, 167, 116, 0.4);
}

[data-theme="light"] .contact-form input:focus,
[data-theme="light"] .contact-form select:focus,
[data-theme="light"] .contact-form textarea:focus {
  background: var(--bg-soft);
  border-color: var(--gold-1);
  box-shadow: 0 0 0 3px rgba(196, 167, 116, 0.15);
}

/* Contact Card left panel */
[data-theme="light"] .contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(11, 22, 40, 0.04);
}

/* Event Registration Form Input fields */
[data-theme="light"] .register-form .form-control {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid rgba(196, 167, 116, 0.4);
}

[data-theme="light"] .register-form .form-control:focus {
  background: var(--bg-soft);
  border-color: var(--gold-1);
  box-shadow: 0 0 0 3px rgba(196, 167, 116, 0.15);
}

/* Events Filter Fields */
[data-theme="light"] .filter-input {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid rgba(196, 167, 116, 0.45);
}

[data-theme="light"] .filter-input:focus {
  background: var(--bg-soft);
  border-color: var(--gold-1);
  box-shadow: 0 0 0 2px rgba(196, 167, 116, 0.15);
}

[data-theme="light"] .btn-clear {
  color: var(--muted);
  border: 1px solid var(--line);
}

[data-theme="light"] .btn-clear:hover {
  background: rgba(196, 167, 116, 0.08);
  color: var(--text);
  border-color: var(--gold-1);
}

/* --- Container boxes, sidebars & meta tags --- */

/* Detail pages metadata tag elements */
[data-theme="light"] .detail-meta span,
[data-theme="light"] .company-detail-meta span {
  background: rgba(196, 167, 116, 0.12);
  color: var(--text);
  border-color: rgba(196, 167, 116, 0.3);
}

/* Sidebar Box Cards */
[data-theme="light"] .sidebar-box,
[data-theme="light"] .company-sidebar-box,
[data-theme="light"] .event-sidebar-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(11, 22, 40, 0.04);
}

/* Fact lists */
[data-theme="light"] .event-fact {
  background: var(--bg-deep);
  border: 1px solid var(--line);
}

/* --- Navigation / Filter Pills --- */
[data-theme="light"] .segment-pill,
[data-theme="light"] .category-pill {
  background: rgba(196, 167, 116, 0.08);
  color: var(--muted);
  border: 1px solid rgba(196, 167, 116, 0.2);
}

[data-theme="light"] .segment-pill:hover,
[data-theme="light"] .segment-pill.active,
[data-theme="light"] .category-pill:hover {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  color: #0b1628;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(196, 167, 116, 0.25);
}

/* --- About page styling overrides --- */
[data-theme="light"] .principle {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(11, 22, 40, 0.04);
}

[data-theme="light"] .about-stat {
  background: rgba(196, 167, 116, 0.05);
  border-right: 1px solid var(--line);
}

[data-theme="light"] .about-stat:last-child {
  border-right: 0;
}

/* --- Gallery page styling overrides --- */
[data-theme="light"] .filter-link {
  background: rgba(196, 167, 116, 0.08);
  border: 1px solid rgba(196, 167, 116, 0.2);
  color: var(--muted);
}

[data-theme="light"] .filter-link:hover,
[data-theme="light"] .filter-link.active {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  color: #0b1628;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(196, 167, 116, 0.25);
}

[data-theme="light"] .empty-gallery {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  box-shadow: 0 10px 30px rgba(11, 22, 40, 0.04);
}

/* Lightbox close button overlay inside dark lightbox */
[data-theme="light"] .lightbox-close {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

[data-theme="light"] .lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
}

/* --- Internal Landing Page Heroes Light Mode Overrides (Same as Home) --- */

/* Desktop Backgrounds */
[data-theme="light"] .about-hero {
  background:
    linear-gradient(90deg, #f5f7fa 0%, #f5f7fa 31%, rgba(245, 247, 250, 0.87) 58%, rgba(245, 247, 250, 0.75) 76%, rgba(245, 247, 250, 0.25) 100%),
    url("../img/events-feature.png") center / cover no-repeat !important;
  border-bottom-color: var(--line) !important;
}

[data-theme="light"] .events-hero {
  background:
    linear-gradient(90deg, #f5f7fa 0%, #f5f7fa 31%, rgba(245, 247, 250, 0.87) 58%, rgba(245, 247, 250, 0.75) 76%, rgba(245, 247, 250, 0.25) 100%),
    url("../img/hero.png") center / cover no-repeat !important;
  border-bottom-color: var(--line) !important;
}

[data-theme="light"] .companies-hero {
  background:
    linear-gradient(90deg, #f5f7fa 0%, #f5f7fa 31%, rgba(245, 247, 250, 0.87) 58%, rgba(245, 247, 250, 0.75) 76%, rgba(245, 247, 250, 0.25) 100%),
    url("../img/gallery-conferencia-negocios.png") center / cover no-repeat !important;
  border-bottom-color: var(--line) !important;
}

[data-theme="light"] .articles-hero {
  background:
    linear-gradient(90deg, #f5f7fa 0%, #f5f7fa 31%, rgba(245, 247, 250, 0.87) 58%, rgba(245, 247, 250, 0.75) 76%, rgba(245, 247, 250, 0.25) 100%),
    url("../img/article-networking.png") center / cover no-repeat !important;
  border-bottom-color: var(--line) !important;
}

[data-theme="light"] .gallery-hero {
  background:
    linear-gradient(90deg, #f5f7fa 0%, #f5f7fa 31%, rgba(245, 247, 250, 0.87) 58%, rgba(245, 247, 250, 0.75) 76%, rgba(245, 247, 250, 0.25) 100%),
    url("../img/gallery-conferencia-negocios.png") center / cover no-repeat !important;
  border-bottom-color: var(--line) !important;
}

[data-theme="light"] .contact-hero {
  background:
    linear-gradient(90deg, #f5f7fa 0%, #f5f7fa 31%, rgba(245, 247, 250, 0.87) 58%, rgba(245, 247, 250, 0.75) 76%, rgba(245, 247, 250, 0.25) 100%),
    url("../img/bg-cta-confrade.png") center / cover no-repeat !important;
  border-bottom-color: var(--line) !important;
}

[data-theme="light"] .privacy-hero {
  background:
    linear-gradient(90deg, #f5f7fa 0%, #f5f7fa 31%, rgba(245, 247, 250, 0.87) 58%, rgba(245, 247, 250, 0.75) 76%, rgba(245, 247, 250, 0.25) 100%),
    url("../img/hero.png") center / cover no-repeat !important;
  border-bottom-color: var(--line) !important;
}

[data-theme="light"] .terms-hero {
  background:
    linear-gradient(90deg, #f5f7fa 0%, #f5f7fa 31%, rgba(245, 247, 250, 0.87) 58%, rgba(245, 247, 250, 0.75) 76%, rgba(245, 247, 250, 0.25) 100%),
    url("../img/hero.png") center / cover no-repeat !important;
  border-bottom-color: var(--line) !important;
}

/* Mobile Backgrounds (max-width: 900px) */
@media (max-width: 900px) {
  [data-theme="light"] .about-hero {
    background:
      linear-gradient(90deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0.9) 55%, rgba(245, 247, 250, 0.5) 100%),
      url("../img/events-feature.png") 57% center / cover no-repeat !important;
  }
  [data-theme="light"] .events-hero {
    background:
      linear-gradient(90deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0.9) 55%, rgba(245, 247, 250, 0.5) 100%),
      url("../img/hero.png") 57% center / cover no-repeat !important;
  }
  [data-theme="light"] .companies-hero {
    background:
      linear-gradient(90deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0.9) 55%, rgba(245, 247, 250, 0.5) 100%),
      url("../img/gallery-conferencia-negocios.png") 57% center / cover no-repeat !important;
  }
  [data-theme="light"] .articles-hero {
    background:
      linear-gradient(90deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0.9) 55%, rgba(245, 247, 250, 0.5) 100%),
      url("../img/article-networking.png") 57% center / cover no-repeat !important;
  }
  [data-theme="light"] .gallery-hero {
    background:
      linear-gradient(90deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0.9) 55%, rgba(245, 247, 250, 0.5) 100%),
      url("../img/gallery-conferencia-negocios.png") 57% center / cover no-repeat !important;
  }
  [data-theme="light"] .contact-hero {
    background:
      linear-gradient(90deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0.9) 55%, rgba(245, 247, 250, 0.5) 100%),
      url("../img/bg-cta-confrade.png") 57% center / cover no-repeat !important;
  }
  [data-theme="light"] .privacy-hero {
    background:
      linear-gradient(90deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0.9) 55%, rgba(245, 247, 250, 0.5) 100%),
      url("../img/hero.png") 57% center / cover no-repeat !important;
  }
  [data-theme="light"] .terms-hero {
    background:
      linear-gradient(90deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0.9) 55%, rgba(245, 247, 250, 0.5) 100%),
      url("../img/hero.png") 57% center / cover no-repeat !important;
  }
}

/* Text Colors */
[data-theme="light"] .about-hero h1,
[data-theme="light"] .events-hero h1,
[data-theme="light"] .companies-hero h1,
[data-theme="light"] .articles-hero h1,
[data-theme="light"] .contact-hero h1,
[data-theme="light"] .gallery-hero h1,
[data-theme="light"] .privacy-hero h1,
[data-theme="light"] .terms-hero h1 {
  color: var(--text) !important;
}

[data-theme="light"] .about-hero p:not(.eyebrow),
[data-theme="light"] .events-hero p:not(.eyebrow),
[data-theme="light"] .companies-hero p:not(.eyebrow),
[data-theme="light"] .articles-hero p:not(.eyebrow),
[data-theme="light"] .contact-hero p:not(.eyebrow),
[data-theme="light"] .gallery-hero p:not(.eyebrow),
[data-theme="light"] .privacy-hero p:not(.eyebrow),
[data-theme="light"] .terms-hero p:not(.eyebrow) {
  color: var(--muted) !important;
}

[data-theme="light"] .about-hero .eyebrow,
[data-theme="light"] .events-hero .eyebrow,
[data-theme="light"] .companies-hero .eyebrow,
[data-theme="light"] .articles-hero .eyebrow,
[data-theme="light"] .contact-hero .eyebrow,
[data-theme="light"] .gallery-hero .eyebrow,
[data-theme="light"] .privacy-hero .eyebrow,
[data-theme="light"] .terms-hero .eyebrow {
  color: var(--gold-1) !important;
}

/* Instagram Feed Section */
.instagram-feed-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: 80px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.instagram-card {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.1);
  background: var(--bg-soft);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.instagram-card:hover {
  border-color: rgba(196, 167, 116, 0.38);
  box-shadow: 0 10px 30px rgba(11, 22, 40, 0.4);
}

.instagram-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
}

.instagram-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.instagram-card:hover img {
  transform: scale(1.08);
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 40, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-card:hover .instagram-overlay {
  opacity: 1;
}

.instagram-icon {
  color: var(--gold-1);
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.instagram-card:hover .instagram-icon {
  transform: scale(1.1);
}

.instagram-icon svg {
  width: 100%;
  height: 100%;
}

.instagram-caption {
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 980px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 640px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .instagram-caption {
    font-size: 11px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}


