/* ===== ROOT VARIABLES ===== */
:root {
  --cream: #FFFDF3;
  --cream-dark: #FFF8E1;
  --cream-deeper: #FFFACC;
  --cream-warm: #F5EDD6;
  --orange: #E7462A;
  --orange-light: #F68822;
  --gold: #FBBE51;
  --dark: #1A1A1A;
  --dark-mid: #505050;
  --dark-section: #1C1C1C;
  --gradient-sunset: linear-gradient(135deg, #E7462A 0%, #F68822 50%, #FBBE51 100%);
  --gradient-warm: linear-gradient(180deg, #EE8232 0%, #FBBE51 100%);
  --gradient-cream: linear-gradient(180deg, #FFFDF0 0%, #FFFACE 100%);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 25px;
  --radius-pill: 100px;
  --shadow-btn: 0 4px 20px rgba(231, 70, 42, 0.25);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.10), 0 4px 16px rgba(0, 0, 0, 0.06);
  --font-display: 'Biryani', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-serif: 'Roboto Slab', serif;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== UTILITY CLASSES ===== */
.gradiente {
  background: linear-gradient(50deg, #E7462A, #F68822, #FBBE51, #F68822);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradiente-hero {
  background: linear-gradient(90deg, #E7462A, #F68822, #FBBE51);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradiente-light {
  background: linear-gradient(50deg, #FBBE51, #F68822, #FBBE51);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section-cream {
  background-color: var(--cream);
}

.section-cream-dark {
  background-color: var(--cream-dark);
}

.section-dark {
  background-color: var(--dark-section);
  color: var(--cream);
}

.section-dark .section-title {
  color: var(--cream);
}

.section-dark .section-title .gradiente {
  background: linear-gradient(50deg, #FBBE51, #F68822, #FBBE51);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-dark .texto-bloco-p,
.section-dark .sobre-text {
  color: rgba(255, 253, 243, 0.7);
}

.section-dark .texto-bloco-destaque {
  color: var(--cream);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  position: relative;
  padding-left: 32px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-sunset);
}

.section-dark .section-label {
  color: var(--gold);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-mid);
  line-height: 1.7;
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-label {
  padding-left: 0;
}

.section-header .section-label::before {
  display: none;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Observacao/regra abaixo do titulo da secao. Discreta, mas destacada do
   corpo comum: fundo levemente quente e um filete laranja a esquerda. */
.section-nota {
  margin-top: 24px;
  padding: 14px 20px;
  background: var(--cream-warm);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-align: left;
}

.section-divider {
  width: 100%;
  height: 3px;
  background: var(--gradient-sunset);
  opacity: 0.15;
}

/* ===== FADE-IN ANIMATION (disabled) ===== */
.fade-in {
  opacity: 1;
  transform: none;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFCF8;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s, visibility 0.5s;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  margin-bottom: 24px;
}

.preloader-bar {
  width: 120px;
  height: 3px;
  background-color: var(--cream-warm);
  border-radius: 100px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--gradient-sunset);
  animation: preloaderFill 1.8s ease-in-out forwards;
}

@keyframes preloaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: rgba(255, 253, 243, 0.92);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo-img {
  height: 28px;
  width: auto;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header-nav {
  display: none;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-sunset);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--orange);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: all 0.3s;
}

.btn-header {
  background: var(--gradient-sunset);
  color: white;
  padding: 10px 24px;
  box-shadow: var(--shadow-btn);
  display: none;
}

.btn-header:hover {
  background: #D03A22;
  transform: translateY(-2px);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  background: rgba(255, 253, 243, 0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-nav-link:hover {
  color: var(--orange);
}

.btn-mobile-cta {
  background: var(--gradient-sunset);
  color: white;
  padding: 12px 32px;
  box-shadow: var(--shadow-btn);
  margin-top: 8px;
  text-decoration: none;
}

.btn-mobile-cta:hover {
  background: #D03A22;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  animation: kenBurns 8s ease-in-out forwards;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(26,26,26,0.3) 0%, rgba(26,26,26,0.1) 30%, rgba(26,26,26,0) 50%, rgba(26,26,26,0.35) 80%, rgba(26,26,26,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 20px 60px;
  color: white;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-body);
  /* fluido: ~14.7px no mobile, ate 17.6px no desktop (antes era 12px fixo) */
  font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.2rem, 8vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-meta {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.hero-meta-item svg {
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* ===== SOBRE SECTION ===== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.sobre-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}

.sobre-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
  transition: transform 0.6s var(--ease-out-expo);
}

.sobre-image:hover .sobre-image-placeholder {
  transform: scale(1.03);
}

.sobre-content {
  padding: 0;
}

.sobre-text {
  font-size: 0.9rem;
  color: var(--dark-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}

.sobre-quote {
  border-left: 4px solid;
  border-image: var(--gradient-sunset) 1;
  padding: 20px 24px;
  margin-top: 16px;
  background: rgba(231, 70, 42, 0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.sobre-quote p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  font-style: italic;
  color: var(--dark);
  line-height: 1.7;
}

/* ===== TEXTO BLOCO ===== */
.texto-bloco {
  max-width: 780px;
}

.texto-bloco-center {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.texto-bloco-center .section-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
}

.texto-bloco-p {
  font-size: 0.9rem;
  color: var(--dark-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}

.texto-bloco-slogan {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  margin-top: 20px;
}

.texto-bloco-destaque {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 12px;
}

/* ===== ALEM LAYOUT + PHOTO MOSAIC ===== */
.alem-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.alem-layout .texto-bloco {
  max-width: 780px;
}

.mosaic {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 340px;
  margin: 0 auto;
  overflow: hidden;
}

.mosaic-photo {
  position: absolute;
  background: white;
  padding: 6px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.mosaic-photo:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mosaic-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}


/* Photo 1 - Canoa Havaiana (large, top-left, landscape) */
.mosaic-photo-1 {
  width: 175px;
  height: 120px;
  top: 0;
  left: 0;
  transform: rotate(-3deg);
  z-index: 2;
}

.mosaic-photo-1:hover {
  transform: rotate(-3deg) scale(1.03);
}

/* Photo 2 - Yoga Flow (medium, top-right, overlapping) */
.mosaic-photo-2 {
  width: 140px;
  height: 100px;
  top: 25px;
  right: 0;
  transform: rotate(4deg);
  z-index: 3;
}

.mosaic-photo-2:hover {
  transform: rotate(4deg) scale(1.03);
}

/* Photo 3 - Mergulho Livre (medium-large, center-left) */
.mosaic-photo-3 {
  width: 150px;
  height: 110px;
  top: 130px;
  left: 12px;
  transform: rotate(2.5deg);
  z-index: 4;
}

.mosaic-photo-3:hover {
  transform: rotate(2.5deg) scale(1.03);
}

/* Photo 4 - Six Treino (medium, center-right, overlapping) */
.mosaic-photo-4 {
  width: 145px;
  height: 100px;
  top: 145px;
  right: 6px;
  transform: rotate(-4.5deg);
  z-index: 1;
}

.mosaic-photo-4:hover {
  transform: rotate(-4.5deg) scale(1.03);
}

/* Photo 5 - Trilha (small accent, bottom) */
.mosaic-photo-5 {
  width: 115px;
  height: 85px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(6deg);
  z-index: 5;
}

.mosaic-photo-5:hover {
  transform: translateX(-50%) rotate(6deg) scale(1.03);
}

/* ===== CARDS SECTION ===== */
.atividades-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-sunset);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover::before {
  opacity: 1;
}

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

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.12), transparent);
  z-index: 1;
}

.card-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out-expo);
}

.card:hover .card-image-placeholder {
  transform: scale(1.05);
}

/* Carrossel de fotos do card. Mesma area 16:9 do .card-image-placeholder,
   para a altura do card nao mudar. Usado onde o card tem 2+ fotos
   (hoje so o Ultra Run Club: corrida de asfalto e corrida de trilha).
   O JS alterna a classe .active a cada 6s. */
.card-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.2s ease, transform 0.6s var(--ease-out-expo);
}

.card-slide.active {
  opacity: 1;
}

.card:hover .card-slide.active {
  transform: scale(1.05);
}

.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card-sponsor {
  font-weight: 600;
  font-size: 0.85rem;
  /* "by" e o logo viajam juntos na quebra de linha: sem isso o "by" fica
     orfao no fim de uma linha e o logo desce sozinho para a seguinte. */
  white-space: nowrap;
}

/* Logo do patrocinador no titulo do card, no lugar do nome escrito.
   Alturas diferentes por marca: wordmark largo pesa mais que um selo estreito,
   entao a altura uniforme faria um parecer maior que o outro. */
.card-sponsor-logo {
  height: 17px;
  width: auto;
  vertical-align: -3px;
  margin-left: 1px;
}

.card-sponsor-logo--inergy {
  height: 16px;
}

/* Wordmark largo (6:1) com o mascote na frente: na altura dos outros ficaria
   comprido demais ao lado do titulo. Mesma faixa da Centauro, que tem
   proporcao parecida. O roxo original fica - o card e branco, ele se ve bem. */
.card-sponsor-logo--koala {
  height: 14px;
  vertical-align: -2px;
}

/* A Centauro so forneceu o logo em branco, e o card tem fundo branco:
   sem o filtro ele fica invisivel. Aprovado usar em preto. */
.card-sponsor-logo--centauro {
  height: 13px;
  filter: brightness(0);
  vertical-align: -1px;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--dark-mid);
  line-height: 1.7;
  margin-bottom: 16px;
  /* SEM flex: 1. Com ele, a caixa da descricao esticava e engolia toda a
     sobra do card, jogando um vao branco logo abaixo do texto. A sobra
     agora vai para o .card-footer, que a distribui melhor. */
}

.card-desc-detail {
  font-size: 0.82rem;
  color: var(--dark-mid);
  line-height: 1.7;
  margin-bottom: 8px;
  font-weight: 500;
}

.card-desc-note {
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 16px;
}

.card-link {
  display: inline-block;
  /* como o .card-footer virou flex column, sem isto o link esticaria a
     largura toda e o sublinhado atravessaria o card */
  align-self: flex-start;
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.card-link:hover {
  color: #D03A22;
}

/* O rodape ocupa a sobra do card. A linha de local fica logo abaixo do
   texto, e so o bloco de datas continua ancorado na base (margin-top:auto
   em .card-dates). Assim cards mais curtos que o vizinho nao ficam com um
   buraco branco no meio: a sobra vai para antes da linha divisoria. */
.card-footer {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-schedule {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  /* Duas margens "auto" no mesmo flex column repartem a sobra igualmente:
     metade acima do local, metade acima da divisoria. Sem isto o local cola
     na descricao e todo o branco se acumula num bloco so embaixo dele.
     Em cards sem sobra (a maioria) isto nao tem efeito nenhum. */
  margin-top: auto;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-schedule svg {
  color: var(--orange);
}

.card-dates {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 16px;
  /* ancora datas e botoes na base do card - e o que mantem a divisoria,
     as datas e os botoes alinhados entre cards vizinhos */
  margin-top: auto;
  align-items: flex-end;
  justify-content: flex-start;
}

.card-date-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  max-width: 100%;
}

.card-date-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark);
}

.card-date-sublabel {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--dark-mid);
  display: block;
}

.btn-card {
  background: var(--gradient-sunset);
  color: white;
  padding: 12px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-btn);
  text-align: center;
  transition: all 0.3s;
  min-height: 44px;
}

.btn-card:hover {
  background: #D03A22;
  box-shadow: 0 6px 24px rgba(231, 70, 42, 0.35);
}

/* ===== PARALLAX BREAK ===== */
.parallax-break {
  position: relative;
  height: 50vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: inset(0);          /* Creates containing block for fixed child — works on iOS */
  -webkit-clip-path: inset(0);
}

.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/equilibrio.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(231,70,42,0.7) 0%, rgba(246,136,34,0.6) 50%, rgba(251,190,81,0.5) 100%);
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.parallax-quote {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  color: white;
  line-height: 1.3;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* ===== FILMSTRIP GALLERY ===== */
.filmstrip-section {
  overflow: hidden;
  padding: 0;
  background-color: var(--dark-section);
}

.filmstrip-track {
  display: flex;
  gap: 8px;
  animation: filmstripScroll 40s linear infinite;
  width: max-content;
}

.filmstrip-slide {
  flex-shrink: 0;
  width: 280px;
  height: 187px;
  overflow: hidden;
}

.filmstrip-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, opacity 0.5s;
}

.filmstrip-slide img:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

@keyframes filmstripScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== CTA SECTION ===== */
.section-cta {
  background-color: var(--dark-section);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(231,70,42,0.08), transparent);
  pointer-events: none;
}

.section-cta::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251,190,81,0.1), transparent);
  pointer-events: none;
}

.cta-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-cta .section-title {
  color: white;
}

.cta-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-urgency {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  padding: 8px 20px;
  border: 1px solid rgba(251, 190, 81, 0.3);
  border-radius: var(--radius-pill);
}

.btn-cta {
  background: var(--gradient-sunset);
  color: white;
  padding: 18px 24px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(231, 70, 42, 0.3), 0 8px 40px rgba(231, 70, 42, 0.15);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  text-align: center;
  line-height: 1.5;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn-cta:hover {
  background: #D03A22;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(231, 70, 42, 0.4), 0 12px 48px rgba(231, 70, 42, 0.2);
}

.btn-cta:hover::before {
  left: 100%;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark-section);
  padding: 64px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-sunset);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer-brand .footer-tagline {
  margin-top: 16px;
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-links-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

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

/* ===== FAIXA DE PARCEIROS (rodape) ===== */
.footer-parceiros {
  text-align: center;
  padding-bottom: 32px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-parceiros-titulo {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.footer-parceiros-lista {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 36px;
}

/* Todos em branco, mesmo tratamento que o logo do Noronha Weekend acima
   (.footer-logo-img). Uniformiza marcas de cores diferentes numa faixa so. */
.footer-parceiro {
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity 0.3s;
}

.footer-parceiro:hover {
  opacity: 1;
}

/* Equilibrio otico: cada logo tem proporcao muito diferente.
   Aperol 2.3:1 | inergy 2.9:1 | Centauro 6.4:1 | Koala 6.0:1 | SIX 1:1 (selo).
   Wordmark largo recebe menos altura; selo quadrado recebe mais, senao
   fica ilegivel ao lado dos outros. */
.footer-parceiro--aperol   { height: 26px; }
.footer-parceiro--inergy   { height: 24px; }
.footer-parceiro--centauro { height: 19px; }
.footer-parceiro--koala    { height: 20px; }
.footer-parceiro--six      { height: 42px; }

.footer-bottom {
  text-align: center;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== TABLET (min-width: 769px) ===== */
@media (min-width: 769px) {
  .section {
    padding: 80px 0;
  }

  .container {
    padding: 0 32px;
  }

  .hero-meta {
    flex-direction: row;
    gap: 24px;
  }

  .sobre-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .sobre-content {
    padding: 16px 0;
  }

  .atividades-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  /* Mosaic tablet adjustments */
  .alem-layout {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .alem-layout .texto-bloco {
    flex: 1;
    min-width: 0;
  }

  .mosaic {
    flex: 1;
    min-width: 0;
    max-width: 480px;
    height: 460px;
  }

  .mosaic-photo-1 {
    width: 240px;
    height: 165px;
    top: 0;
    left: 0;
  }

  .mosaic-photo-2 {
    width: 190px;
    height: 140px;
    top: 40px;
    right: 0;
  }

  .mosaic-photo-3 {
    width: 210px;
    height: 150px;
    top: 200px;
    left: 20px;
  }

  .mosaic-photo-4 {
    width: 200px;
    height: 135px;
    top: 220px;
    right: 10px;
  }

  .mosaic-photo-5 {
    width: 160px;
    height: 115px;
  }

  .section-cta {
    padding: 100px 0;
  }

  .filmstrip-slide {
    width: 360px;
    height: 240px;
  }

  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
  }
}

/* ===== DESKTOP (min-width: 1025px) ===== */
@media (min-width: 1025px) {
  .section {
    padding: 120px 0;
  }

  .container {
    padding: 0 40px;
  }

  .header-nav {
    display: flex;
  }

  .btn-header {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .hero-content {
    padding: 120px 40px 80px;
  }

  .sobre-grid {
    gap: 64px;
  }

  .sobre-content {
    padding: 24px 0;
  }

  /* Mosaic desktop refinements */
  .alem-layout {
    gap: 64px;
  }

  .mosaic {
    max-width: 540px;
    height: 500px;
  }

  .mosaic-photo-1 {
    width: 290px;
    height: 195px;
  }

  .mosaic-photo-2 {
    width: 230px;
    height: 165px;
    top: 35px;
  }

  .mosaic-photo-3 {
    width: 250px;
    height: 175px;
    top: 210px;
  }

  .mosaic-photo-4 {
    width: 240px;
    height: 160px;
    top: 230px;
  }

  .mosaic-photo-5 {
    width: 190px;
    height: 135px;
  }

  .section-header {
    margin-bottom: 72px;
  }

  .atividades-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .card-body {
    padding: 32px;
  }

  .btn-cta {
    padding: 20px 48px;
    font-size: 0.82rem;
  }

  .section-cta {
    padding: 140px 0;
  }

  .footer {
    padding: 80px 0 40px;
  }
}

/* ===== PARALLAX MOBILE FIX ===== */
@media (max-width: 768px) {
  /* Título "Muito além" centralizado */
  .alem-layout .texto-bloco {
    text-align: center;
  }

  .alem-layout .texto-bloco .section-title {
    text-align: center;
  }

  .alem-layout .texto-bloco .section-label {
    padding-left: 0;
  }

  .alem-layout .texto-bloco .section-label::before {
    display: none;
  }

  /* Botões inscreva-se menores */
  .btn-card {
    padding: 8px 16px;
    font-size: 0.62rem;
    min-height: 36px;
  }

  /* Recovery card: 3º botão centralizado (triângulo invertido) */
  .card-recovery .card-dates {
    justify-content: center;
  }

  /* Footer mobile: centralizado e compacto */
  .footer-top {
    text-align: center;
    gap: 32px;
  }

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

  .footer-links {
    align-items: center;
  }

  .footer-links a {
    justify-content: center;
    min-height: 40px;
  }

  /* Parceiros no mobile: menos gap e alturas um pouco menores, para os
     quatro caberem em duas linhas equilibradas em vez de quatro soltas. */
  .footer-parceiros-lista {
    gap: 20px 28px;
  }

  .footer-parceiro--aperol   { height: 22px; }
  .footer-parceiro--inergy   { height: 20px; }
  .footer-parceiro--centauro { height: 16px; }
  .footer-parceiro--koala    { height: 17px; }
  .footer-parceiro--six      { height: 36px; }
}
