/* ========================================
   ENTRE ABRAÇOS — LANDING PAGE
   Luxo Editorial Emocional
   ======================================== */

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

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

body {
  font-family: 'General Sans', 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #FDFCF8;
  color: #1C1C1C;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
  -webkit-image-rendering: auto;
}

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

ul {
  list-style: none;
}

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

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* --- SECTIONS --- */
.section {
  padding: 80px 0;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 28px;
  font-family: 'General Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.btn:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.btn-primary {
  background-color: #1C1C1C;
  color: #FDFCF8;
}

.btn-large {
  padding: 20px 52px;
  font-size: 1.1rem;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #3B2F28;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: url('images/hero.jpg') center center / cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #3B2F28 0%, #3B2F28 50%, rgba(59, 47, 40, 0.98) 56%, rgba(59, 47, 40, 0.9) 62%, rgba(59, 47, 40, 0.7) 70%, rgba(59, 47, 40, 0.4) 80%, rgba(59, 47, 40, 0.15) 90%, transparent 100%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(59, 47, 40, 0.05) 0%,
    rgba(59, 47, 40, 0.25) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 24px;
}

.hero h1 {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: clamp(2rem, 6vw, 4rem);
  color: #FDFCF8;
  margin-bottom: 24px;
  font-weight: 400;
  line-height: 1.15;
}

/* Quebra de linha só no desktop */
.desktop-break {
  display: none;
}

@media (min-width: 769px) {
  .desktop-break {
    display: inline;
  }
}

.hero-badge {
  display: inline-block;
  margin-top: 12px;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: none;
  color: #D4AF37;
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 6px 20px;
  border-radius: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(253, 252, 248, 0.9);
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.7;
}

.hero .btn-primary {
  background-color: #FDFCF8;
  color: #1C1C1C;
}

/* ========================================
   COMO FUNCIONA
   ======================================== */
.como-funciona {
  background-color: #FDFCF8;
}

.como-funciona-text {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.como-funciona-text p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.como-funciona-text p:last-child {
  margin-bottom: 0;
}

.como-funciona .como-funciona-galeria {
  padding-top: 48px;
}

/* ========================================
   SESSÕES — CARDS
   ======================================== */
.sessoes {
  background-color: #EFEDE7;
}

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

.card {
  position: relative;
  background: #FDFCF8;
  border-radius: 28px;
  padding: 40px 32px 36px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.card-featured {
  border: 2px solid #D4AF37;
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.12);
}

.card-highlight-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #D4AF37;
  color: #FDFCF8;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 20px;
  border-radius: 20px;
  white-space: nowrap;
}

.card-header {
  margin-bottom: 28px;
}

.card-header h3 {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-features {
  margin-bottom: 28px;
}

.card-features li {
  font-size: 0.95rem;
  color: #555;
  padding: 8px 0;
  border-bottom: 1px solid #EFEDE7;
}

.card-features li:last-child {
  border-bottom: none;
}

.card-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  font-weight: 500;
}

.price-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1C1C1C;
}

.section-cta {
  text-align: center;
}

.sessoes .section-cta .btn {
  padding: 20px 52px;
  font-size: 1.1rem;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
}

/* Fotos extras inline na seção de sessões */
.extras-inline {
  text-align: center;
  margin-bottom: 36px;
}

.extras-inline-desc {
  font-size: 0.85rem;
  color: #888;
  font-weight: 400;
  margin-bottom: 4px;
}

.extras-inline-label {
  font-size: 0.85rem;
  color: #888;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.extras-inline-label span {
  font-weight: 500;
  color: #666;
}

/* ========================================
   CONTINUIDADE DO TEMPO
   ======================================== */
.continuidade {
  background-color: #FDFCF8;
}

.continuidade h2 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
}

.serif-italic {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
}

.continuidade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.continuidade-img {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background-color: #D6D3CD;
}

.continuidade-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.continuidade-img:hover img {
  transform: scale(1.03);
}

.continuidade-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(253, 252, 248, 0.92);
  color: #1C1C1C;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 24px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* ========================================
   GALERIA DE ESTILOS
   ======================================== */
.galeria {
  background-color: #FDFCF8;
  padding-bottom: 40px;
}

.galeria .section-intro {
  margin-bottom: 40px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-width: 1200px;
  margin: 0 auto;
}

.galeria-item {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  background-color: #D6D3CD;
}

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

.galeria-item:hover img {
  transform: scale(1.06);
}

/* ========================================
   VAGAS LIMITADAS
   ======================================== */
.vagas {
  background-color: #EFEDE7;
  text-align: center;
}

.vagas .section-intro {
  margin-bottom: 32px;
}

.vagas-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  color: #D4AF37;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 32px;
  border-radius: 28px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* ========================================
   CTA FINAL
   ======================================== */
.cta-final {
  background-color: #1C1C1C;
  text-align: center;
  padding: 100px 0;
}

.cta-texto {
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  color: rgba(253, 252, 248, 0.85);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.cta-final .btn-primary {
  background-color: #FDFCF8;
  color: #1C1C1C;
}

/* ========================================
   CTA FIXO MOBILE
   ======================================== */
.cta-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(28, 28, 28, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(253, 252, 248, 0.08);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cta-mobile.visible {
  transform: translateY(0);
}

.cta-mobile-text {
  color: rgba(253, 252, 248, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-mobile {
  background: #FDFCF8;
  color: #1C1C1C;
  padding: 12px 28px;
  font-size: 0.85rem;
  border-radius: 24px;
  font-weight: 600;
}

/* ========================================
   CARROSSEL MOBILE
   ======================================== */
.galeria-wrapper {
  position: relative;
}

.carousel-arrow {
  display: none;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */

/* Mobile CTA visibility */
@media (max-width: 768px) {
  .cta-mobile {
    display: flex;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
  }

  .card-featured {
    order: 0;
  }
}

/* Mobile hero */
@media (max-width: 768px) {
  .hero::before {
    width: 100%;
  }

  .hero::after {
    background: rgba(59, 47, 40, 0.85);
  }
}

@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-badge {
    font-size: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .btn {
    padding: 14px 32px;
    font-size: 0.95rem;
  }

  .btn-large {
    padding: 16px 36px;
    font-size: 1rem;
  }

  .continuidade-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Carrossel mobile */
  .galeria-wrapper {
    overflow: hidden;
    position: relative;
  }

  .galeria-grid {
    display: flex;
    gap: 0;
    transition: transform 0.4s ease;
  }

  .galeria-grid .galeria-item {
    min-width: 100%;
    width: 100%;
    height: calc(100vw * 4 / 3);
    max-height: 80vh;
    flex-shrink: 0;
    aspect-ratio: unset;
    border-radius: 28px;
    overflow: hidden;
    background-color: #D6D3CD;
  }

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

  .galeria > .galeria-wrapper .galeria-grid .galeria-item {
    min-width: calc(100vw - 40px);
    width: calc(100vw - 40px);
    margin: 0 20px;
  }

  .carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(253, 252, 248, 0.85);
    color: #1C1C1C;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .carousel-arrow:active {
    transform: translateY(-50%) scale(0.92);
  }

  .carousel-prev {
    left: 12px;
  }

  .carousel-next {
    right: 12px;
  }

  .card {
    padding: 32px 24px 28px;
  }

  .cta-final {
    padding: 72px 0;
  }

  /* Espaço para CTA fixo */
  body {
    padding-bottom: 70px;
  }
}
