:root {
    --teal: #1a9b8c;
    --teal-light: #3db8a8;
    --teal-dark: #0d6e63;
    --teal-pale: #e0f5f2;
    --teal-xpale: #f2fbfa;
    --green-dark: #2d5a3d;
    --green-mid: #4a7c5f;
    --green-light: #c8e6d0;
    --green-pale: #f0f7f2;
    --yellow-accent: #c8d44a;
    --yellow-light: #f0f4cc;
    --cream: #fafaf5;
    --text-dark: #1a2e2a;
    --text-mid: #3d5a52;
    --text-light: #6b8880;
    --white: #ffffff;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }


  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--green-dark);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  }

  .header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .header-logo-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    flex-shrink: 0;
  }

/* DEPOIS */
.header-logo {
  height: 40px;       
  width: auto;
  object-fit: contain;
}

  .header-title {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.02em;
  }

  .header-title strong {
    color: var(--white);
    display: block;
    font-size: 14px;
  }

  nav {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  nav a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s;
    letter-spacing: 0.01em;
  }

  nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }

  nav a.nav-active {
    color: var(--text-dark);
    background: var(--yellow-accent);
  }

  .nav-news-btn {
    background: var(--teal-light) !important;
    color: var(--white) !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    transition: background 0.2s !important;
  }
  .nav-news-btn:hover { background: var(--teal) !important; }

  /* ── HERO ── */
  .hero {
    background: var(--teal);
    position: relative;
    overflow: hidden;
    padding: 80px 2rem 100px;
    text-align: center;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
  }

  .hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(13,110,99,0.3);
  }

  .hero-badge {
    display: inline-block;
    background: var(--yellow-accent);
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    max-width: 700px;
    margin: 0 auto 12px;
    position: relative;
    z-index: 1;
  }

  .hero h1 em {
    font-style: italic;
    color: var(--yellow-accent);
  }

  .hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    max-width: 560px;
    margin: 0 auto 36px;
    font-weight: 300;
    position: relative;
    z-index: 1;
  }

  .hero-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }

  .hero-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .hero-meta-item span:first-child {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
  }

  .hero-meta-item span:last-child {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
  }

  .hero-meta-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    align-self: center;
  }

  /* ── WAVE ── */
  .wave-divider { display: block; line-height: 0; }
  .wave-divider svg { display: block; width: 100%; }

  /* ── ABOUT ── */
  .section { padding: 72px 2rem; max-width: 1080px; margin: 0 auto; }

  .section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 10px;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.25;
  }

  .section-body {
    font-size: 1rem;
    color: var(--text-mid);
    max-width: 680px;
    line-height: 1.8;
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .about-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
  }

  .pill {
    background: var(--teal-pale);
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(26,155,140,0.2);
  }

  .info-card {
    background: var(--green-dark);
    border-radius: 20px;
    padding: 32px 28px;
    color: var(--white);
  }

  .info-card-row {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .info-card-row:last-child { border-bottom: none; padding-bottom: 0; }
  .info-card-row:first-child { padding-top: 0; }

  .info-card-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
  }

  .info-card-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
  }

  .info-card-accent { color: var(--yellow-accent); }

  /* ── CRONOGRAMA ── */
  .schedule-section {
    background: var(--green-pale);
    padding: 72px 2rem;
  }

  .schedule-inner { max-width: 1080px; margin: 0 auto; }

  .day-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
  }

  .day-tab {
    padding: 10px 28px;
    border-radius: 30px;
    border: 2px solid var(--teal);
    background: transparent;
    color: var(--teal-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.02em;
  }

  .day-tab.active {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
  }

  .day-tab:hover:not(.active) {
    background: var(--teal-pale);
  }

  .schedule-day { display: none; }
  .schedule-day.active { display: block; }

  .timeline {
    position: relative;
    padding-left: 140px;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 108px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(to bottom, var(--teal-light), var(--teal-pale));
    border-radius: 2px;
  }

  .timeline-item {
    position: relative;
    margin-bottom: 28px;
  }

  .timeline-time {
    position: absolute;
    left: -180px;
    top: 4px;
    width: 120px;
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-dark);
    letter-spacing: 0.02em;
  }

  .timeline-dot {
    position: absolute;
    left: -36px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--teal);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--teal-light);
  }

  .timeline-dot.highlight {
    background: var(--yellow-accent);
    box-shadow: 0 0 0 2px rgba(200, 212, 74, 0.4);
    width: 16px;
    height: 16px;
    left: -38px;
    top: 6px;
  }

  .timeline-card {
    background: var(--white);
    border-radius: 14px;
    padding: 18px 22px;
    border: 1px solid rgba(26,155,140,0.12);
    transition: box-shadow 0.2s;
  }

  .timeline-card:hover {
    box-shadow: 0 4px 20px rgba(26,155,140,0.12);
  }

  .timeline-card.featured {
    background: var(--teal);
    border-color: var(--teal);
  }

  .timeline-card.break {
    background: var(--teal-xpale);
    border-color: rgba(26,155,140,0.08);
    padding: 12px 22px;
  }

  .timeline-event {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    letter-spacing: 0.01em;
  }

  .timeline-card.featured .timeline-event { color: var(--white); }
  .timeline-card.break .timeline-event { color: var(--text-light); font-weight: 500; }

  .timeline-desc {
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .timeline-card.featured .timeline-desc { color: rgba(255,255,255,0.85); }

  .timeline-speaker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--yellow-accent);
  }

  .timeline-speaker-dark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--teal-pale);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--teal-dark);
    margin-top: 4px;
  }

  /* ── PALESTRANTES ── */
  .speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
  }

  .speaker-card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid rgba(26,155,140,0.12);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .speaker-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--yellow-accent);
    margin-bottom: 16px;
    object-fit: cover;
    display: block;
    background: var(--teal-pale);
  }

  .speaker-avatar-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--yellow-accent);
    margin-bottom: 16px;
    background: var(--teal-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--teal-dark);
    font-weight: 700;
  }

  .speaker-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
  }

  .speaker-role {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 400;
  }

  .speaker-talk {
    font-size: 13px;
    color: var(--teal-dark);
    font-weight: 500;
    padding: 8px 12px;
    background: var(--teal-pale);
    border-radius: 8px;
    line-height: 1.4;
    border-left: 3px solid var(--teal-light);
  }

  .speaker-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
  }

  .speaker-tag {
    font-size: 11px;
    color: var(--text-light);
    background: var(--cream);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.07);
  }

  /* ── TEMA ── */
  .theme-banner {
    background: var(--green-dark);
    padding: 72px 2rem;
    text-align: center;
  }

  .theme-banner .section-label { color: var(--yellow-accent); }

  .theme-banner .section-title {
    color: var(--white);
    max-width: 600px;
    margin: 0 auto 20px;
  }

  .theme-banner .section-body {
    color: rgba(255,255,255,0.75);
    max-width: 620px;
    margin: 0 auto;
  }

  /* ── LOGOS ── */
  .logos-section {
    padding: 48px 2rem;
    text-align: center;
    background: var(--cream);
    border-top: 1px solid rgba(0,0,0,0.06);
  }

  .logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .logo-placeholder {
    height: 48px;
    display: flex;
    align-items: center;
    opacity: 0.7;
  }

  .logo-sinodal {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-dark);
  }

  .logo-sinodal span { color: var(--teal); }

  /* ── FOOTER ── */
  footer {
    background: var(--text-dark);
    padding: 40px 2rem;
    text-align: center;
  }

  footer p {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 6px;
  }

  footer p strong { color: rgba(255,255,255,0.7); }

  /* ── RESPONSIVE ── */
  @media (max-width: 700px) {
    .about-grid { grid-template-columns: 1fr; }
    header { padding: 0 1rem; }
    nav a:not(.nav-news-btn) { display: none; }

    /* Mobile: horário vira badge acima do card, linha e bolinha somem */
    .timeline {
      padding-left: 0;
    }
    .timeline::before {
      display: none;
    }
    .timeline-item {
      padding-left: 0;
      margin-bottom: 16px;
    }
    .timeline-time {
      position: static;
      display: inline-block;
      width: auto;
      text-align: left;
      font-size: 11px;
      font-weight: 700;
      color: var(--teal-dark);
      background: var(--teal-pale);
      padding: 2px 10px;
      border-radius: 20px;
      margin-bottom: 6px;
    }
    .timeline-dot,
    .timeline-dot.highlight {
      display: none;
    }
  }

/* ============================================================
   ANIMATIONS — added
   ============================================================ */

/* -- Keyframes -- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes dividerFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes stripeScroll {
  from { background-position: 0 0; }
  to   { background-position: 60px 0; }
}

/* -- Scroll-reveal utility classes -- */
.reveal {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; }

.fade-up   { transform: translateY(52px); }
.fade-up.visible   { transform: translateY(0); }

.fade-in   { transform: scale(0.95); }
.fade-in.visible   { transform: scale(1); }

.slide-left  { transform: translateX(-60px); }
.slide-left.visible  { transform: translateX(0); }

.slide-right { transform: translateX(60px); }
.slide-right.visible { transform: translateX(0); }

/* -- Hero entrance -- */
.hero-badge {
  opacity: 0;
  animation: fadeIn 0.7s ease 0.15s both;
}
.hero h1 {
  opacity: 0;
  animation: fadeUp 0.85s ease 0.3s both;
}
.hero-sub {
  opacity: 0;
  animation: fadeUp 0.85s ease 0.48s both;
}
.hero-meta {
  opacity: 0;
  animation: fadeUp 0.85s ease 0.62s both;
}

/* -- Timeline item stagger -- */
.timeline-item {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* -- Speaker card stagger -- */
.speaker-card {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.speaker-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- Speaker card hover (funciona após .visible ser adicionado) -- */
.speaker-card.visible:hover {
  opacity: 1;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(26,155,140,0.12);
}

/* -- About pills stagger -- */
.about-pills .pill {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.about-pills.visible .pill:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 0.05s; }
.about-pills.visible .pill:nth-child(2) { opacity:1; transform:translateY(0); transition-delay: 0.15s; }
.about-pills.visible .pill:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 0.25s; }
.about-pills.visible .pill:nth-child(4) { opacity:1; transform:translateY(0); transition-delay: 0.35s; }
.about-pills.visible .pill:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: 0.45s; }


/* Animated Divider */
.animated-divider {
  width: 100%;
  height: 45px;
  background: linear-gradient(45deg, transparent 45%, var(--teal) 50%, transparent 55%);
  background-size: 200% 200%;
  animation: dividerFlow 7s linear infinite;
  opacity: 0.3;
  margin: 20px 0;
}