:root {
  --bg: #f5f8f3;
  --surface: #ffffff;
  --ink: #12281a;
  --ink-soft: #46594a;
  --line: #d6e2d3;
  --sea: #275a2e;
  --sea-deep: #10301a;
  --foam: #cfe5cb;
  --sun: #f4b630;
  --on-sea: #f0faed;
  --header-bg: rgba(245, 248, 243, .92);
  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1a10;
    --surface: #13271a;
    --ink: #e8f3e5;
    --ink-soft: #a3bba8;
    --line: #25432e;
    --sea: #8fd49a;
    --sea-deep: #08130c;
    --foam: #1e4429;
    --header-bg: rgba(12, 26, 16, .92);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c1a10;
  --surface: #13271a;
  --ink: #e8f3e5;
  --ink-soft: #a3bba8;
  --line: #25432e;
  --sea: #8fd49a;
  --sea-deep: #08130c;
  --foam: #1e4429;
  --header-bg: rgba(12, 26, 16, .92);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 72px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  z-index: 10;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

/* Cabecalho */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: block; line-height: 0; }
.brand img { height: 46px; width: auto; display: block; }
.brand .logo-on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-on-light { display: none; }
  :root:not([data-theme="light"]) .logo-on-dark { display: block; }
}
:root[data-theme="dark"] .logo-on-light { display: none; }
:root[data-theme="dark"] .logo-on-dark { display: block; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
}
.nav a:hover { background: var(--foam); color: var(--ink); }
.theme-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.theme-btn:hover { background: var(--foam); }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, #153d1f 0%, #275a2e 62%, #3d7a44 100%);
  color: var(--on-sea);
  overflow: hidden;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(56px, 10vw, 120px) 24px clamp(150px, 20vw, 230px);
  position: relative;
  z-index: 2;
}
.hero h1 { margin: 0 0 28px; line-height: 0; }
.hero-logo { width: clamp(280px, 62vw, 680px); height: auto; display: block; margin-left: -4px; }
.hero .lede {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  max-width: 34ch;
  margin: 0 0 32px;
  color: #d9ecd5;
}
.hero .lede strong { color: #fff; }
.btn {
  display: inline-block;
  background: var(--sun);
  color: #2b1d00;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.btn.ghost { background: transparent; color: var(--on-sea); border: 1.5px solid rgba(241,251,250,.5); margin-left: 8px; }
.btn.ghost:hover { box-shadow: none; background: rgba(255,255,255,.1); }

.sun {
  position: absolute;
  right: clamp(24px, 12vw, 180px);
  bottom: clamp(70px, 10vw, 130px);
  width: clamp(110px, 18vw, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08a, var(--sun) 70%);
  z-index: 1;
  box-shadow: 0 0 80px 10px rgba(244,182,48,.35);
}
.waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(110px, 16vw, 200px); z-index: 3; display: block; }
.wave-1 { fill: rgba(207,229,203,.35); animation: drift 16s ease-in-out infinite alternate; }
.wave-2 { fill: rgba(207,229,203,.6); animation: drift 11s ease-in-out infinite alternate-reverse; }
.wave-3 { fill: var(--bg); }
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(40px); } }

/* Secoes */
main section { max-width: 1120px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) 24px; }
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 24px;
}

/* O evento */
.about { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .about { grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: start; } }
.about p { max-width: 62ch; margin: 0 0 1.1em; }
.about p.lead { font-size: 1.2rem; }
.facts { margin: 0; display: grid; gap: 0; border-left: 3px solid var(--sun); }
.facts div { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .9rem; color: var(--ink-soft); }
.facts dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -.02em; }

/* ODS */
.themes-wrap { background: var(--surface); border-block: 1px solid var(--line); }
.themes-wrap section { padding-block: clamp(56px, 8vw, 96px); }
.themes-intro { max-width: 60ch; color: var(--ink-soft); margin: 0 0 40px; }
.ods-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ods {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--bg);
  border-radius: 6px 22px 6px 22px;
  border-top: 8px solid var(--c);
}
.ods .tag {
  display: inline-block;
  background: var(--c);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 2px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
}
.ods p { margin: 0; font-size: 1rem; line-height: 1.55; }
.ods:nth-child(1) { --c: #3f8f2d; }
.ods:nth-child(2) { --c: #d92b17; }
.ods:nth-child(3) { --c: #d9591a; }
.ods:nth-child(4) { --c: #b86f00; }
.note { margin-top: 28px; color: var(--ink-soft); font-size: .95rem; }

/* Local */
.place { display: grid; gap: 32px; }
@media (min-width: 900px) { .place { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; } }
.place-card {
  background: var(--sea-deep);
  color: var(--on-sea);
  border-radius: 28px 6px 28px 6px;
  padding: clamp(28px, 5vw, 48px);
}
.place-card h3 { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 8px; }
.place-card p { margin: 0; color: #c3dcc0; }
.place-card .where { margin-top: 18px; color: var(--sun); font-weight: 600; }
.place > div > p { max-width: 52ch; }

/* Rodape */
footer { background: var(--sea-deep); color: #c3dcc0; }
.foot { max-width: 1120px; margin: 0 auto; padding: 36px 24px calc(36px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; font-size: .95rem; }
.foot strong { font-family: var(--font-display); color: #fff; font-size: 1.1rem; }

/* Realizacao e patrocinio */
.credits-wrap { background: var(--surface); border-top: 1px solid var(--line); }
.credits { max-width: 1120px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 24px; }
.credits h2 { margin-bottom: 36px; }
.credits h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; margin: 0 0 16px; }
.cred-row { display: grid; gap: 28px; margin-bottom: 44px; }
@media (min-width: 900px) { .cred-row { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.logos { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--w, 160px); height: var(--h, 64px); max-width: 100%;
  border: 1.5px dashed var(--line); border-radius: 10px;
  color: var(--ink-soft); font-size: .85rem; background: var(--bg);
}
.logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sponsor { border-top: 1px solid var(--line); padding-top: 36px; }
.tier { display: grid; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tier:last-child { border-bottom: 0; }
@media (min-width: 720px) { .tier { grid-template-columns: 150px 1fr; align-items: center; gap: 28px; } }
.tier h4 { margin: 0; font-family: var(--font-display); font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.tier h4::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--m); flex: none; }
.t-master { --m: #6a4fc2; --w: 320px; --h: 110px; }
.t-diamante { --m: #3fa9d6; --w: 260px; --h: 92px; }
.t-ouro { --m: #d29b0f; --w: 210px; --h: 80px; }
.t-prata { --m: #9aa6ac; --w: 170px; --h: 68px; }
.t-bronze { --m: #b0713a; --w: 140px; --h: 58px; }

/* Menu */
.nav { margin-left: auto; gap: 2px; }
.nav a { padding: 8px 10px; font-size: .9rem; white-space: nowrap; }
.nav a[aria-current] { background: var(--foam); color: var(--ink); }
.bar-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-weight: 500; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.menu-btn:hover { background: var(--foam); }
@media (max-width: 1260px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; margin: 0; padding: 8px 24px 18px; background: var(--bg); border-bottom: 1px solid var(--line); gap: 2px; }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .bar { margin-left: 0; }
  .bar-actions { margin-left: auto; }
}

/* Logos reais */
.rows { margin-bottom: 44px; }
.logo { width: auto; height: auto; border: 1px solid var(--line); background: #fff; padding: 10px 16px; border-radius: 10px; }
.logo img { width: auto; height: auto; max-width: 100%; max-height: var(--ih, 100px); object-fit: contain; display: block; }
.tier.plain h4 { font-size: 1.3rem; letter-spacing: -.01em; }
.tier.plain h4::before { display: none; }
.sponsor h3 { margin-bottom: 4px; }
@media (min-width: 720px) { .tier { grid-template-columns: 190px 1fr; } }

/* Contato */
footer a { color: #fff; }
.foot { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 32px; padding-top: 52px; }
@media (min-width: 720px) { .foot { grid-template-columns: 1fr 1fr; } .foot .copy { grid-column: 1 / -1; } }
.foot h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; margin: 0 0 10px; letter-spacing: -.01em; }
.foot p { margin: 0; line-height: 1.7; }
.social { display: flex; gap: 12px; justify-content: center; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); display: inline-flex; align-items: center; justify-content: center; transition: background .15s ease; }
.social a:hover { background: rgba(255,255,255,.14); }
.foot .copy { font-size: .85rem; opacity: .8; }

/* Paginas internas */
.view[hidden] { display: none; }
.page-head { position: relative; background: linear-gradient(180deg, #153d1f 0%, #275a2e 70%, #3d7a44 100%); color: var(--on-sea); }
.page-head-inner { max-width: 1120px; margin: 0 auto; padding: clamp(44px, 7vw, 84px) 24px clamp(84px, 11vw, 120px); }
.page-head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.03em; line-height: 1; margin: 0 0 14px; color: #fff; }
.head-lead { font-size: 1.2rem; margin: 0 0 28px; color: #d9ecd5; max-width: 48ch; }
.head-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 7vw, 80px); display: block; fill: var(--bg); }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; }
.subnav a { color: var(--on-sea); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 18px; border: 1.5px solid rgba(240,250,237,.4); border-radius: 999px; }
.subnav a:hover { background: rgba(255,255,255,.14); }
.page-body { max-width: 1120px; margin: 0 auto; padding: 8px 24px clamp(48px, 7vw, 88px); }
.soon-body { min-height: 12vh; padding-block: 0; }
.insc { padding: clamp(32px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.insc:last-child { border-bottom: 0; }
.insc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-bottom: 28px; }
.insc-head h2 { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.insc-sub { margin: 6px 0 0; color: var(--ink-soft); }
.btn.sm { padding: 12px 24px; font-size: .95rem; }
.deadline { margin: 0; background: var(--sun); color: #2b1d00; padding: 8px 18px; border-radius: 999px; font-size: .98rem; }
.rules { margin: 0 0 32px; padding-left: 1.2em; max-width: 70ch; }
.rules li { margin-bottom: .6em; padding-left: .2em; }
.rules a, .prose a { color: var(--sea); font-weight: 500; }
.price-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } .price-grid.single { grid-template-columns: minmax(0, 720px); } }
.price-grid h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin: 0 0 12px; letter-spacing: -.01em; }
.prices { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prices th { text-align: left; font-weight: 600; font-size: .9rem; color: var(--ink-soft); background: var(--foam); padding: 11px 14px; }
.prices td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices th:last-child, .prices td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prices td:last-child { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.note-line { margin: 28px 0 0; padding-left: 16px; border-left: 3px solid var(--sun); max-width: 70ch; }
.prose p { max-width: 62ch; margin: 0 0 1em; }

/* Dropdown Workshops */
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { white-space: nowrap; font: inherit; font-weight: 500; font-size: .9rem; padding: 8px 10px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.sub-toggle::after { content: ""; border: solid currentColor; border-width: 0 2px 2px 0; padding: 2.5px; transform: rotate(45deg) translateY(-2px); }
.sub-toggle:hover, .has-sub.active > .sub-toggle, .has-sub.open > .sub-toggle { background: var(--foam); color: var(--ink); }
.submenu { display: none; position: absolute; top: 100%; left: 0; z-index: 30; width: max-content; max-width: 340px; min-width: 250px; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 14px 34px rgba(0,0,0,.16); }
.has-sub.open .submenu { display: flex; }
@media (hover: hover) and (min-width: 1261px) { .has-sub:hover .submenu { display: flex; } }
.submenu a { white-space: normal; border-radius: 10px; padding: 10px 12px; font-size: .95rem; line-height: 1.35; }
@media (max-width: 1260px) {
  .has-sub { flex-direction: column; align-items: stretch; }
  .sub-toggle { padding: 12px 14px; font-size: 1rem; justify-content: space-between; }
  .submenu { position: static; max-width: none; min-width: 0; width: auto; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 14px; }
  .submenu a { padding: 10px 14px; }
}

/* Palestrantes e paginas de workshops */
.sec-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.3rem); letter-spacing: -.025em; line-height: 1.1; margin: clamp(32px, 5vw, 56px) 0 8px; }
.page-head h1.long { font-size: clamp(1.9rem, 4.6vw, 3.1rem); max-width: 26ch; line-height: 1.05; }
.page-head .head-lead { margin: 0 0 6px; }
.lead-prose { padding-top: clamp(28px, 4vw, 48px); }
.lead-prose p { font-size: 1.15rem; }
.speaker { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 32px 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .speaker { grid-template-columns: 168px 1fr; gap: 40px; } }
.avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--foam); background: var(--foam); }
@media (min-width: 720px) { .avatar { width: 168px; height: 168px; } }
.sp-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.015em; line-height: 1.15; margin: 0 0 2px; }
.sp-aff { margin: 0 0 14px; color: var(--sea); font-weight: 600; }
.speaker p:not(.sp-aff) { max-width: 68ch; margin: 0 0 1em; }
.talk { padding: clamp(28px, 4vw, 48px) 0 8px; border-bottom: 1px solid var(--line); }
.talk:last-child { border-bottom: 0; }
.talk-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1.2; letter-spacing: -.02em; max-width: 34em; margin: 0 0 4px; }
.talk-title .kind { color: var(--sea); margin-right: .25em; }
.talk .speaker { border-top: 0; padding-top: 22px; }
.talk .prose { padding-top: 12px; }
.program-title { margin-top: clamp(40px, 6vw, 72px); }
.about-sec { display: grid; grid-template-columns: 1fr; gap: 6px 40px; padding: 26px 0; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .about-sec { grid-template-columns: 200px 1fr; } }
.about-sec h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: 0; color: var(--sea); }
.about-sec .prose p { max-width: 70ch; }
.gap { background: #fff0a8; color: #5a4400; border-radius: 4px; padding: 1px 8px; font-size: .88em; font-weight: 600; }

/* Programacao */
.day { display: grid; grid-template-columns: 1fr; gap: 14px 40px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.day:last-child { border-bottom: 0; }
@media (min-width: 800px) { .day { grid-template-columns: 200px 1fr; } .day-date { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); align-self: start; } }
.day-date { font-family: var(--font-display); font-weight: 800; line-height: 1; }
.day-date .num { display: block; font-size: 3.4rem; letter-spacing: -.04em; }
.day-date .mon { font-size: 1.1rem; font-weight: 700; }
.day-date .dow { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--ink-soft); }
.period h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin: 0 0 6px; color: var(--sea); }
.slots { list-style: none; margin: 0 0 26px; padding: 0; }
.slots li { display: grid; grid-template-columns: 140px 1fr; gap: 4px 20px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.slots .t { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slots li.note { padding-top: 4px; border-bottom: 0; color: var(--ink-soft); }
.slots a { color: var(--sea); font-weight: 500; }
@media (max-width: 560px) { .slots li { grid-template-columns: 1fr; } .slots .t:empty { display: none; } }

/* Cores por workshop */
.c-painel { --wc: #7a58d1; } .c-cidades { --wc: #e0861a; } .c-ciencia { --wc: #3b6fe0; }
.c-saude { --wc: #14a3aa; } .c-meninas { --wc: #d63a8c; } .c-wcsaa { --wc: #3d8bd9; }
.submenu a[class*="c-"] { display: flex; align-items: center; gap: 10px; }
.submenu a[class*="c-"]::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--wc); flex: none; }
.slots a[class*="c-"] { text-decoration: none; border-bottom: 2px solid var(--wc); }
.wk-painel { --t1: #2a1859; --t2: #4b2d8f; --t3: #6a49b8; --tl: #4b2d8f; --td: #c9b8f7; --tf: #e7e0f7; --tfd: #3a2a66; }
.wk-cidades { --t1: #5c3300; --t2: #a85a0a; --t3: #d98a2b; --tl: #8f4a00; --td: #f5c07a; --tf: #f8e7cf; --tfd: #4d3414; }
.wk-ciencia { --t1: #11275e; --t2: #1f45a3; --t3: #3c6bd0; --tl: #1f45a3; --td: #a5c1ff; --tf: #dbe6fb; --tfd: #1c3260; }
.wk-saude { --t1: #07494d; --t2: #0e7a80; --t3: #26a0a6; --tl: #0b6a70; --td: #7fdde2; --tf: #d2eeef; --tfd: #12474b; }
.wk-meninas { --t1: #5e0f3e; --t2: #b0206f; --t3: #d4478f; --tl: #a01b64; --td: #f7a9d2; --tf: #f8dbea; --tfd: #5a1f42; }
.wk-wcsaa { --t1: #04080f; --t2: #0a1a30; --t3: #12335a; --tl: #1d5fa6; --td: #8cc4ff; --tf: #dce9f6; --tfd: #17304d; }
.view[class*="wk-"] { --sea: var(--tl); --foam: var(--tf); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .view[class*="wk-"] { --sea: var(--td); --foam: var(--tfd); } }
:root[data-theme="dark"] .view[class*="wk-"] { --sea: var(--td); --foam: var(--tfd); }
.view[class*="wk-"] .page-head { background: linear-gradient(180deg, var(--t1) 0%, var(--t2) 70%, var(--t3) 100%); }

/* Capa do WCSAA */
.page-head.has-cover { overflow: hidden; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; z-index: 0; }
.page-head.has-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(2,5,12,.82) 0%, rgba(2,5,12,.46) 55%, rgba(2,5,12,.08) 100%), linear-gradient(180deg, rgba(2,5,12,.3) 0%, rgba(2,5,12,0) 40%, rgba(2,5,12,.45) 100%); }
.has-cover .page-head-inner { position: relative; z-index: 2; min-height: clamp(330px, 40vw, 470px); }
.has-cover .head-wave { z-index: 3; }
@media (max-width: 700px) { .cover-img { object-position: 62% 40%; } }

/* Chamadas de trabalhos */
.prose ul { max-width: 70ch; margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin: 1.3em 0 .3em; }
.prose h4:first-child { margin-top: 0; }
.prose .note-line { margin-top: 1.2em; }
.prose ul.topics { columns: 3 230px; column-gap: 32px; max-width: none; }
.prose ul.topics li { break-inside: avoid; }
.prose ul.ods-mini, .prose ul.link-list, .prose ul.slots { list-style: none; padding-left: 0; }
.ods-mini li { margin-bottom: .8em; }
.ods-tag { display: inline-block; background: var(--c); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .9rem; padding: 1px 11px; border-radius: 999px; margin-right: 10px; }
.cta-row { padding: 28px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }

.head-lead a { color: #fff; text-underline-offset: 3px; }

/* Hospedagem */
.stay { display: grid; grid-template-columns: 1fr; gap: 36px; padding: 16px 0 8px; }
@media (min-width: 900px) { .stay { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; } }
.stay-intro { max-width: 56ch; }
.stay-prices { max-width: 520px; margin: 0 0 28px; }
.stay-prices caption { text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; padding: 0 0 10px; color: var(--sea); }
.stay-cta { border-top: 0; padding: 8px 0 28px; }
.stay-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px 30px 6px 30px; display: block; }
.hotel-id { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); }
.hotel-id .logo { padding: 12px 18px; }
.hotel-id .logo img { max-height: 110px; }
.hotel-addr { margin: 0 0 8px; }
.hotel-links { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hotel-links a { color: var(--sea); font-weight: 600; }

/* Edicoes anteriores */

/* Anais */
.eds { list-style: none; margin: 0; padding: clamp(28px, 4vw, 48px) 0 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ed { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px 26px 6px 26px; overflow: hidden; background: var(--surface); }
.ed-logo { height: 170px; display: flex; align-items: center; justify-content: center; padding: 14px; }
.ed-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.ed-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ed h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.ed p { margin: 0 0 6px; color: var(--ink-soft); }
.ed .btn { align-self: flex-start; margin-top: auto; }

/* Edicoes anteriores */
.years { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
.year { display: block; text-align: center; padding: 14px 10px; border: 1.5px solid var(--line); border-radius: 12px 4px 12px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--ink); background: var(--surface); }
.year:hover { background: var(--foam); border-color: var(--sea); }
#ed-anais-cards .eds { padding-top: 0; }

.social a.paxsoft { width: auto; padding: 0 20px; border-radius: 999px; }
.social a.paxsoft img { height: 18px; width: auto; display: block; }

@media (max-width: 640px) {
  .brand img { height: 38px; }
  .btn.ghost { margin: 12px 0 0; }
  .sun { opacity: .9; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave-1, .wave-2 { animation: none; }
  .btn { transition: none; }
}
