/* ============================================================
   FEMPTUR — Design System CSS
   Usado em conjunto com Tailwind CSS (CDN)
   Última atualização: Abril 2026
   ============================================================ */

/* ── 1. DESIGN TOKENS (Variáveis CSS) ─────────────────────── */
:root {
  /* Paleta Principal */
  --color-brand:        #4F46E5; /* indigo-600 */
  --color-brand-dark:   #3730A3; /* indigo-800 */
  --color-brand-light:  #EEF2FF; /* indigo-50  */
  --color-accent:       #00D98F; /* WhatsApp/green */

  /* Neutros */
  --color-bg:           #F0F4F8;
  --color-surface:      #FFFFFF;
  --color-border:       #E8EDF2;
  --color-text:         #1E293B; /* slate-800 */
  --color-text-muted:   #64748B; /* slate-500 */
  --color-text-subtle:  #94A3B8; /* slate-400 */

  /* Arredondamentos */
  --radius-sm:   0.75rem;  /* 12px */
  --radius-md:   1.25rem;  /* 20px */
  --radius-lg:   2rem;     /* 32px */
  --radius-xl:   2.5rem;   /* 40px */
  --radius-2xl:  3rem;     /* 48px */

  /* Sombras */
  --shadow-card:  0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-hero:  0 8px 40px rgba(0,0,0,0.12);
  --shadow-btn:   0 4px 14px rgba(79,70,229,0.25);

  /* Tipografia */
  --font-body:    'Inter', system-ui, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

/* ── 3. TIPOGRAFIA ────────────────────────────────────────── */
.ft-heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.ft-heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.ft-label {
  font-size: 0.625rem;   /* 10px */
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.ft-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* ── 4. LAYOUT ────────────────────────────────────────────── */
.ft-container {
  max-width: 72rem; /* 1152px */
  margin-inline: auto;
  padding-inline: 1rem;
}

.ft-grid-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .ft-grid-sidebar {
    grid-template-columns: 1fr 2fr;
  }
}

/* ── 5. CARDS ─────────────────────────────────────────────── */
.ft-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.ft-card-sm {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.ft-card:hover,
.ft-card-sm:hover {
  border-color: rgba(79,70,229,0.2);
  box-shadow: 0 4px 24px rgba(79,70,229,0.08);
  transition: all 0.2s ease;
}

/* ── 6. HERO ──────────────────────────────────────────────── */
.ft-hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  background: #0F172A;
}

.ft-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.ft-hero:hover .ft-hero-img {
  transform: scale(1.04);
}

.ft-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,0.82) 100%);
}

.ft-hero-content {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .ft-hero-content {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* ── 7. BADGES ────────────────────────────────────────────── */
.ft-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  opacity: 0.85;
}

.ft-badge-glass {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.ft-badge-brand {
  background: rgba(79,70,229,0.9);
  border-color: rgba(99,89,255,0.3);
  color: #fff;
}

.ft-badge-free  { background: #ECFDF5; color: #059669; border-color: #A7F3D0; }
.ft-badge-paid  { background: #FFF7ED; color: #C2410C; border-color: #FED7AA; }

/* ── 8. BOTÕES ────────────────────────────────────────────── */
.ft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.ft-btn-primary {
  background: var(--color-brand);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.ft-btn-primary:hover { background: var(--color-brand-dark); transform: translateY(-1px); }

.ft-btn-whatsapp {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,217,143,0.25);
}
.ft-btn-whatsapp:hover { filter: brightness(1.05); transform: translateY(-1px); }

.ft-btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.ft-btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* ── 9. SEÇÃO DE INFORMAÇÕES (Sidebar) ───────────────────── */
.ft-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.ft-info-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.ft-info-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 0.2rem;
  display: block;
}

.ft-info-value {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.9rem;
}

/* ── 10. GALERIA ──────────────────────────────────────────── */
.ft-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ft-gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg);
}

.ft-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* ── 11. CARDS DE EVENTO ──────────────────────────────────── */
.ft-event-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}

.ft-event-card:hover {
  border-color: rgba(79,70,229,0.2);
  box-shadow: 0 6px 24px rgba(79,70,229,0.08);
}

.ft-event-date {
  min-width: 3.5rem;
  padding: 0.625rem 0.5rem;
  background: #0F172A;
  border-radius: var(--radius-sm);
  color: #fff;
  text-align: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  word-break: break-word;
}

.ft-event-card:hover .ft-event-date {
  background: var(--color-brand);
}

.ft-event-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.ft-event-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── 12. SECTION DIVIDER ──────────────────────────────────── */
.ft-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  padding-left: 1rem;
  border-left: 3px solid var(--color-brand);
}

/* ── 13. MAPA ─────────────────────────────────────────────── */
.ft-map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--color-border);
}

.ft-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── 14. DARK CARD (Informações privadas / obs) ───────────── */
.ft-dark-card {
  background: #0F172A;
  border-radius: var(--radius-2xl);
  padding: 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ft-dark-card::before {
  content: '';
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 8rem;
  height: 8rem;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

/* ── 15. UTILITÁRIOS FEMPTUR ──────────────────────────────── */
.ft-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 1.5rem 0;
}

.ft-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
