:root {
  --rose-deep: #bf3458;
  --rose-mid: #e87196;
  --rose-light: #f5b8c8;
  --rose-pale: #fde8ed;
  --rose-bg: #fef5f7;
  --accent: #a30d24;
  --accent-soft: #d12950;
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --line: #f0d8df;
  --white: #ffffff;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(191, 52, 88, 0.08);
  --shadow-md: 0 12px 32px rgba(191, 52, 88, 0.14);

  --container: 1200px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

:focus-visible {
  outline: 3px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible,
.topbar__home:focus-visible,
.brand-mini-img:focus-visible {
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== TOPBAR ===== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
}

.brand-mini-img {
  height: 44px;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .brand-mini-img { height: 38px; }
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}

.topbar__nav a:hover { color: var(--rose-deep); }

@media (max-width: 720px) {
  .topbar__nav a:not(.btn) { display: none; }
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--rose-deep);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 26, 26, 0.18);
}

.btn--ghost:hover {
  border-color: var(--rose-deep);
  color: var(--rose-deep);
}

.btn--small { padding: 8px 18px; font-size: 13px; }
.btn--large { padding: 18px 36px; font-size: 17px; }

/* ===== HERO ===== */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 60px 0 100px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 110% 20%, var(--rose-light) 0%, transparent 50%),
    radial-gradient(ellipse at -10% 80%, var(--accent-soft) 0%, transparent 50%),
    linear-gradient(135deg, var(--rose-deep) 0%, var(--rose-mid) 100%);
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 60%);
  border-radius: 50%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
}

.badge--ghost {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero__partner {
  height: 38px;
  width: auto;
  opacity: 0.95;
  filter: brightness(0) invert(1);
}

.brand {
  display: flex;
  justify-content: center;
  margin: 0 0 28px;
}

.brand__img {
  width: clamp(260px, 38vw, 420px);
  height: auto;
  display: block;
}

.hero__tagline {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  opacity: 0.95;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  margin: 0 auto 40px;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  max-width: 880px;
}

.hero__facts li {
  flex: 1 1 220px;
  text-align: center;
  padding: 6px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.hero__facts li:last-child { border-right: none; }

.hero__facts strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.hero__facts span {
  display: block;
  font-size: 13px;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .hero__facts li {
    flex-basis: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 0;
  }
  .hero__facts li:last-child { border-bottom: none; }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero__cta .btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

/* ===== EYEBROW + SECTION TITLES ===== */

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 16px;
  position: relative;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  margin-right: 12px;
  vertical-align: middle;
}

.eyebrow--center {
  display: block;
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  margin: 0 auto 18px;
  max-width: 800px;
  color: var(--ink);
}

.section-lead {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  color: var(--muted);
  font-size: 17px;
}

/* ===== SOBRE ===== */

.sobre { padding: 100px 0; background: var(--white); }

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sobre__photo img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.sobre__copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 20px;
}

.sobre__copy p {
  margin: 0 0 16px;
  color: var(--muted);
}

.sobre__copy p strong { color: var(--ink); font-weight: 600; }

.sobre__highlights {
  list-style: none;
  padding: 24px 0 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.sobre__highlights li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink);
}

.sobre__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose-deep);
}

@media (max-width: 900px) {
  .sobre { padding: 70px 0; }
  .sobre__grid { grid-template-columns: 1fr; gap: 36px; }
  .sobre__highlights { grid-template-columns: 1fr; }
}

/* ===== PROGRAMAÇÃO ===== */

.programacao {
  padding: 100px 0;
  background: var(--rose-bg);
}

/* Programa Científico — Timeline */

.programa {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.programa__bloco-titulo {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 8px;
  padding: 0 4px 10px;
  border-bottom: 1px solid var(--rose-light);
  font-family: var(--font-serif);
}

.programa__bloco-titulo span:first-child {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.programa__bloco-hora {
  font-size: 13px;
  font-weight: 500;
  color: var(--rose-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.programa__item {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: start;
  gap: 18px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--rose-deep);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.programa__item:hover {
  transform: translateX(2px);
  box-shadow: var(--shadow-md);
}

.programa__hora {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--rose-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding-top: 1px;
}

.programa__tema {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}

.programa__sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .programa__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
  }

  .programa__hora {
    font-size: 13px;
  }

  .programa__bloco-titulo {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 22px;
  }
}

@media (max-width: 900px) {
  .programacao { padding: 70px 0; }
}

/* ===== CHAIRS ===== */

.chairs { padding: 100px 0; background: var(--white); }

.chairs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 920px;
  margin: 0 auto;
}

.chair { text-align: center; }

.chair__photo {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--rose-pale);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
}

.chair__photo::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--rose-light);
  pointer-events: none;
}

.chair__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.chair h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
}

.chair p {
  margin: 0;
  color: var(--rose-deep);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .chairs { padding: 70px 0; }
  .chairs__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== PUBLICO ===== */

.publico {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--rose-bg) 0%, var(--white) 100%);
}

.publico__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.publico__copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 28px;
}

.publico__lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.publico__lista li {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: var(--white);
  border-radius: var(--radius);
  font-weight: 500;
  border: 1px solid var(--line);
  font-size: 15px;
}

.publico__lista li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rose-pale);
  border: 3px solid var(--rose-deep);
}

.publico__photo img {
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  max-height: 560px;
}

@media (max-width: 900px) {
  .publico { padding: 70px 0; }
  .publico__grid { grid-template-columns: 1fr; gap: 36px; }
  .publico__lista { grid-template-columns: 1fr; }
  .publico__photo img { aspect-ratio: 4 / 3; max-height: 380px; }
}

/* ===== CTA FINAL ===== */

.cta-final {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--rose-deep) 0%, var(--accent-soft) 100%);
  color: var(--white);
  text-align: center;
}

.cta-final__inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.2;
}

.cta-final__inner p {
  font-size: 17px;
  opacity: 0.95;
  margin: 0 0 32px;
}

.cta-final .btn--primary {
  background: var(--white);
  color: var(--rose-deep);
}

.cta-final .btn--primary:hover {
  background: var(--rose-pale);
  color: var(--accent);
}

/* ===== FOOTER ===== */

.rodape {
  background: #1a0a10;
  color: #d6c5cb;
  padding: 70px 0 30px;
}

.rodape__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.rodape__bloco h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--white);
  margin: 0 0 14px;
  font-weight: 600;
}

.rodape__bloco p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; }

.rodape__bloco a { color: var(--rose-light); transition: color 0.15s; }
.rodape__bloco a:hover { color: var(--white); }

.rodape__logo {
  height: 38px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.rodape__sobre { color: #a89095; font-size: 14px; }

.rodape__contatos {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.rodape__contatos li {
  font-size: 14px;
  margin-bottom: 8px;
}

.rodape__base {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.rodape__copyright {
  display: block;
  color: #a89095;
  font-size: 12px;
}

.rodape__divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin: 16px auto 14px;
  max-width: 240px;
}

.rodape__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #999999;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.rodape__credit img {
  height: 16px;
  width: auto;
  display: inline-block;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.rodape__credit strong { font-weight: 600; }

.rodape__credit:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.rodape__credit:hover img { opacity: 1; }

@media (max-width: 900px) {
  .rodape__grid { grid-template-columns: 1fr; gap: 36px; }
}
