/* ============================================================
   GLEIDSON FRAGA — STYLE SYSTEM
   Paleta: Dourado Âmbar + Azul Profundo + Branco
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --gold-100: #FFF8E7;
  --gold-200: #FFE9A0;
  --gold-300: #F5C842;
  --gold-400: #E8A81A;
  --gold-500: #D4920A;
  --gold-600: #B87A05;

  --blue-100: #E8EEFF;
  --blue-200: #B8C8F0;
  --blue-500: #1E4A9C;
  --blue-700: #0F2A5C;
  --blue-900: #060F1F;
  --blue-950: #030812;

  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-300: #B0B0B0;
  --gray-500: #6B6B6B;
  --gray-700: #3A3A3A;
  --gray-900: #1A1A1A;

  --bg: #07101F;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(232, 168, 26, 0.3);

  --shadow-gold: 0 0 40px rgba(232, 168, 26, 0.15);
  --shadow-blue: 0 0 60px rgba(30, 74, 156, 0.3);
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --font-main: 'Outfit', sans-serif;
  --font-display: 'Playfair Display', serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- UTILITIES ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue-950) 0%, #0A1828 50%, #060F1F 100%);
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(232, 168, 26, 0.03) 60px,
      rgba(232, 168, 26, 0.03) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(232, 168, 26, 0.03) 60px,
      rgba(232, 168, 26, 0.03) 61px
    );
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero__glow--left {
  bottom: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(30, 74, 156, 0.35) 0%, transparent 70%);
}
.hero__glow--right {
  top: -100px;
  right: -200px;
  background: radial-gradient(circle, rgba(232, 168, 26, 0.2) 0%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 24px;
}

/* Logos */
.hero__logos { display: flex; gap: 16px; align-items: center; }

.hero__logo-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-300);
  transition: var(--transition);
}
.hero__logo-pill:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.hero__logo-img { height: 32px; width: auto; border-radius: 6px; }
.hero__logo-pill--gf { padding: 6px 20px 6px 6px; }
.hero__logo-img--gf { height: 40px; width: 40px; object-fit: cover; object-position: 50% 40%; border-radius: 50%; border: 1px solid var(--border-gold); }

.hero__logo-fallback {
  display: flex;
  align-items: center;
}

/* Belt badge */
.hero__belt-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.belt-stripe {
  width: 48px;
  height: 4px;
  border-radius: 2px;
}
.belt-stripe--blue { background: linear-gradient(90deg, var(--blue-500), var(--blue-200)); }

.hero__belt-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue-200);
}

/* Name */
.hero__name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  line-height: 1.2;
  font-size: clamp(56px, 10vw, 110px);
}

.hero__name-first {
  color: var(--white);
}
.hero__name-last {
  display: inline-block;
  padding-bottom: 0.08em;
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 50%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 16px;
  color: var(--gray-300);
  font-weight: 400;
  letter-spacing: 1px;
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  margin-top: 8px;
}

.hero__stat { text-align: center; }

.hero__stat-value {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--gold-300);
  line-height: 1;
}

.hero__stat-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-300);
  margin-top: 4px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* CTA */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--blue-950);
  font-weight: 700;
  font-size: 15px;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(232, 168, 26, 0.35);
  margin-top: 8px;
}
.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(232, 168, 26, 0.5);
}
.hero__cta svg { transition: transform var(--transition); }
.hero__cta:hover svg { transform: translateY(3px); }

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-300);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

/* ============================================================
   TABS NAV
   ============================================================ */
.tabs-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 16, 31, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.tabs-nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav__inner::-webkit-scrollbar { display: none; }

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-300);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}
.tab-btn svg { flex-shrink: 0; }
.tab-btn:hover { color: var(--white); }
.tab-btn--active {
  color: var(--gold-300);
  border-bottom-color: var(--gold-300);
}

/* ============================================================
   TAB PANELS
   ============================================================ */
.tab-panel {
  display: none;
  padding: 80px 0;
  animation: fadeIn 0.4s ease;
}
.tab-panel--active { display: block; }

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

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(232, 168, 26, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--white) 40%, var(--gray-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--gray-300);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   MINHA HISTÓRIA — Layout
   ============================================================ */
.story-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}

/* Photo col */
.story-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30,74,156,0.3), rgba(232,168,26,0.1));
  border: 1px solid var(--border);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-photo-frame--placeholder::after {
  content: '📸';
  font-size: 64px;
  opacity: 0.3;
}

.story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* Mini carrossel — só aparece quando o JS encontra fotos na pasta "carrossel" do Drive */
.story-carousel {
  display: none;
  position: absolute;
  inset: 0;
}
.story-carousel.active { display: block; }

.story-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.story-carousel__slide.is-active { opacity: 1; }

.story-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-carousel__dots {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.story-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.story-carousel__dot:hover { background: rgba(255,255,255,0.7); }
.story-carousel__dot.is-active { background: var(--white); width: 22px; border-radius: 4px; }

.belt-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(7, 16, 31, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.belt-display__bar {
  width: 40px;
  height: 6px;
  border-radius: 3px;
}
.belt-display__bar--blue {
  background: linear-gradient(90deg, var(--blue-700), var(--blue-500), var(--blue-200));
}

/* Story blocks */
.story-text-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.story-block {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.story-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold-400), transparent);
}
.story-block:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.story-block__icon {
  display: flex;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: var(--gold-300);
}
.story-block--highlight .story-block__icon { color: var(--blue-200); }
.story-block__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.story-block__text {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.75;
}
.story-block__text + .story-block__text { margin-top: 14px; }

.story-block__quote {
  margin-top: 16px;
  padding: 14px 18px;
  border-left: 3px solid var(--gold-400);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-200);
  background: rgba(232, 168, 26, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.story-block--highlight {
  background: linear-gradient(135deg, rgba(30,74,156,0.14), var(--bg-card));
  border-color: rgba(30,74,156,0.3);
}
.story-block--highlight::before { background: linear-gradient(to bottom, var(--blue-500), transparent); }

.story-block--gold {
  background: linear-gradient(135deg, rgba(232,168,26,0.1), var(--bg-card));
  border-color: var(--border-gold);
}

/* ============================================================
   HISTÓRIA DO PROJETO
   ============================================================ */
.project-hero-card {
  text-align: center;
  padding: 48px;
  background: linear-gradient(135deg, rgba(30,74,156,0.15), rgba(232,168,26,0.05));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  margin-bottom: 48px;
}
.project-hero-card .project-icon {
  font-size: 56px;
  margin-bottom: 16px;
}
.project-hero-card__badge {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.project-hero-card__logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-gold);
}
.project-hero-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold-300);
  margin-bottom: 12px;
}
.project-hero-card p {
  color: var(--gray-300);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.project-stat {
  text-align: center;
  padding: 24px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.project-stat:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}
.project-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.project-stat__label {
  display: block;
  font-size: 12px;
  color: var(--gray-300);
  line-height: 1.4;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.project-card {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,168,26,0.04), transparent);
  opacity: 0;
  transition: var(--transition);
}
.project-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.project-card:hover::after { opacity: 1; }

.project-card--featured {
  background: linear-gradient(135deg, rgba(30,74,156,0.2), rgba(7,16,31,0.8));
  border-color: rgba(30,74,156,0.4);
}

.project-card__number {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  color: rgba(232,168,26,0.15);
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.project-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}
.project-card__text {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.75;
}

.project-values {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.project-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  min-width: 120px;
}
.project-value:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}
.project-value__icon {
  display: flex;
  width: 28px;
  height: 28px;
  color: var(--gold-400);
  transition: var(--transition);
}
.project-value:hover .project-value__icon { color: var(--gold-300); transform: scale(1.1); }
.project-value span {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-300);
  letter-spacing: 1px;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-connect-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: rgba(30, 74, 156, 0.1);
  border: 1px solid rgba(30, 74, 156, 0.3);
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  color: var(--blue-200);
}
.gallery-connect-banner--project {
  background: rgba(232, 168, 26, 0.07);
  border-color: var(--border-gold);
  color: var(--gold-200);
}

.gallery-connect-banner__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,74,156,0.2);
  border-radius: var(--radius-sm);
}
.gallery-connect-banner--project .gallery-connect-banner__icon {
  background: rgba(232,168,26,0.1);
}

.gallery-connect-banner h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}
.gallery-connect-banner p {
  font-size: 13px;
  color: var(--gray-300);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-coming {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(232,168,26,0.15);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-300);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.02); z-index: 2; }

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.gallery-item:hover img { transform: scale(1.05); }

/* Overlay on hover */
.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none; /* deixa o clique passar direto pra <img> por baixo */
}
.gallery-item:hover::after { opacity: 1; }

/* Placeholders */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(30,74,156,0.12), rgba(7,16,31,0.8));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
}
.gallery-placeholder:hover {
  border-color: rgba(30,74,156,0.4);
  background: linear-gradient(135deg, rgba(30,74,156,0.2), rgba(7,16,31,0.9));
}

.gallery-placeholder--gold {
  background: linear-gradient(135deg, rgba(232,168,26,0.08), rgba(7,16,31,0.8));
  border-color: rgba(232,168,26,0.15);
}
.gallery-placeholder--gold:hover {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, rgba(232,168,26,0.15), rgba(7,16,31,0.9));
}

.gallery-placeholder__icon {
  display: flex;
  color: var(--blue-200);
  opacity: 0.7;
  transition: var(--transition);
}
.gallery-placeholder:hover .gallery-placeholder__icon { opacity: 1; }
.gallery-placeholder--gold .gallery-placeholder__icon { color: var(--gold-300); }
.gallery-placeholder span:last-child {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ============================================================
   EVENTOS CONFIRMADOS — CARROSSEL (página inicial)
   ============================================================ */
.events-section {
  padding: 88px 0 40px;
}

.events-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.events-carousel__viewport {
  flex: 1;
  overflow: hidden;
}

.events-carousel__track {
  display: flex;
  transition: transform var(--transition-slow);
}
/* Quando tem menos eventos do que cabem numa "página", centraliza em vez de
   deixar grudado à esquerda (o JS decide quando aplicar, via layoutEventsCarousel) */
.events-carousel__track--centered {
  justify-content: center;
}

.events-carousel__slot {
  flex: 0 0 33.3333%;
  box-sizing: border-box;
  padding: 0 10px;
}

.events-carousel__card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.events-carousel__card:hover { transform: scale(1.02); }

.events-carousel__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.events-carousel__card:hover img { transform: scale(1.05); }

.events-carousel__card::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.events-carousel__card:hover::after { opacity: 1; }

.events-carousel__card .gallery-placeholder { border-radius: var(--radius-md); }

.events-carousel__arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--white);
  transition: var(--transition);
}
.events-carousel__arrow:hover {
  background: rgba(232,168,26,0.15);
  border-color: var(--border-gold);
  color: var(--gold-300);
}

.events-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.events-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: var(--transition);
}
.events-carousel__dot:hover { background: rgba(255,255,255,0.5); }
.events-carousel__dot.is-active { background: var(--gold-300); width: 22px; border-radius: 4px; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: fadeIn 0.2s ease; }

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--white);
  opacity: 0.7;
  transition: var(--transition);
  padding: 8px;
}
.lightbox__close:hover { opacity: 1; transform: scale(1.1); }

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 60px rgba(0,0,0,0.8);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  opacity: 0.75;
  transition: var(--transition);
  padding: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
}
.lightbox__nav:hover { opacity: 1; background: rgba(255,255,255,0.18); transform: translateY(-50%) scale(1.08); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.lightbox__counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  opacity: 0.75;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 500;
}

@media (max-width: 640px) {
  .lightbox__nav { padding: 8px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 48px 0;
  background: var(--blue-950);
  border-top: 1px solid var(--border);
}

.footer__contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer__contact-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}
.footer__contact-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.footer__contact-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 6px;
  margin: 0 auto 14px;
}
.footer__contact-logo--gf {
  object-fit: cover;
  object-position: 50% 40%;
  background: none;
  padding: 0;
  border: 1px solid var(--border-gold);
}

.footer__contact-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 14px;
}

.footer__contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.5;
}
.footer__contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold-400);
}
.footer__contact-list a {
  color: var(--blue-200);
  transition: var(--transition);
}
.footer__contact-list a:hover { color: var(--gold-300); }

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__brand { display: flex; flex-direction: column; gap: 4px; }
.footer__name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold-300);
}
.footer__belt { font-size: 13px; color: var(--gray-500); }
.footer__quote {
  font-size: 15px;
  font-style: italic;
  color: var(--gray-300);
  max-width: 400px;
}
.footer__copy { font-size: 12px; color: var(--gray-500); }

/* ============================================================
   BOTÃO FLUTUANTE DE APOIO + MODAL PIX
   ============================================================ */
.support-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--blue-950);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: var(--shadow-gold), 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: support-fab-pulse 2.6s ease-in-out infinite;
}
.support-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 50px rgba(232, 168, 26, 0.3), 0 10px 28px rgba(0, 0, 0, 0.4);
}
.support-fab svg { flex-shrink: 0; }

@keyframes support-fab-pulse {
  0%, 100% { box-shadow: var(--shadow-gold), 0 8px 24px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(232, 168, 26, 0), 0 8px 24px rgba(0, 0, 0, 0.35); }
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.support-modal.active { display: flex; }
.support-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.85);
  backdrop-filter: blur(6px);
}
.support-modal__box {
  position: relative;
  max-width: min(90vw, 420px);
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), var(--shadow-gold);
  animation: support-modal-in var(--transition-slow);
}
.support-modal__img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: contain;
  background: var(--white);
}
.support-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(3, 8, 18, 0.7);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.support-modal__close:hover { background: var(--blue-950); }

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

@media (max-width: 640px) {
  .support-fab { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 14px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .story-layout {
    grid-template-columns: 1fr;
  }
  .story-photo-frame { min-height: 300px; }

  .project-grid {
    grid-template-columns: 1fr;
  }

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

  .events-carousel__slot { flex-basis: 50%; }

  .footer__contact {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    gap: 16px;
    padding: 16px 24px;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .tab-btn span { display: none; }
  .tab-btn { padding: 16px 18px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-item--wide { grid-column: span 1; }

  .hero__name { font-size: clamp(48px, 14vw, 72px); }

  .project-values { gap: 16px; }
  .project-value { padding: 20px 24px; min-width: 100px; }

  .events-section { padding: 64px 0 32px; }
  .events-carousel { gap: 10px; }
  .events-carousel__slot { flex-basis: 100%; }
  .events-carousel__arrow { width: 40px; height: 40px; }
}

@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--tall { grid-row: span 1; }
}
