:root {
  --ink: #241c16;
  --muted: #5e564c;
  --cream: #f7f3ec;
  --cream-2: #efe8dc;
  --white: #fffcf8;
  --clay: #c4622d;
  --clay-deep: #9a4318;
  --moss: #1e3d32;
  --moss-2: #2f5a49;
  --line: rgba(36, 28, 22, 0.12);
  --shadow: 0 22px 50px rgba(36, 28, 22, 0.1);
  --header: 96px;
  --dock: 74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id], article[id] { scroll-margin-top: 20px; }

body {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}

body.sheet-open { overflow: hidden; }
body.sheet-open .wa,
body.sheet-open .wa-toggle { opacity: 0; pointer-events: none; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }

::selection { background: #efd3c2; color: var(--ink); }

.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

h1, h2, h3, .serif { font-family: Fraunces, Georgia, serif; font-weight: 560; letter-spacing: -0.03em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--moss); }

.kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}

.lede { margin: 14px 0 0; max-width: 42rem; color: var(--muted); font-size: 17px; }

.topbar {
  position: relative;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: #1c1714;
  border-bottom: 1px solid rgba(255, 252, 248, 0.08);
}

.topbar.is-stuck { box-shadow: 0 12px 28px rgba(28, 23, 20, 0.22); }

.topbar-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img { height: 78px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }

.nav > a, .drop > a {
  padding: 10px 12px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 999px;
  color: #f6f1e7;
}

.nav > a:hover, .drop > a:hover { background: rgba(255, 252, 248, 0.1); }

.drop { position: relative; }

.drop-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  padding: 8px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.drop:hover .drop-panel,
.drop:focus-within .drop-panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.drop-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.drop-panel a:hover { background: var(--cream); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn svg { flex: 0 0 auto; }
.btn-phone { background: var(--clay); color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(36, 28, 22, 0.2);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, .nav a:focus-visible, .dock-menu:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

.top-wa { min-height: 44px; padding: 0 16px; box-shadow: 0 8px 18px rgba(37, 211, 102, 0.22); }

.spread {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: min(62vh, 640px);
  margin: 0 0 28px;
  padding: 28px 0 36px;
  color: #f6f1e7;
  background:
    linear-gradient(100deg, rgba(16, 12, 10, 0.84) 0%, rgba(16, 12, 10, 0.62) 42%, rgba(16, 12, 10, 0.22) 74%, rgba(16, 12, 10, 0.12) 100%),
    url("../fundo.jpg") center 40% / cover no-repeat;
}

.spread-inner {
  width: min(680px, calc(100% - 48px));
  margin-left: max(24px, calc((100% - 1160px) / 2));
}

.spread h1 {
  margin: 0;
  max-width: 11em;
  color: #f6f1e7;
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: 0.94;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.spread h1 em { color: #f0d2bf; }
.spread .kicker { color: #e7b599; }
.spread .lede { color: rgba(246, 241, 231, 0.88); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #f6f1e7;
  font-size: 14px;
  font-weight: 650;
}

.meta-row li { display: flex; align-items: center; gap: 8px; }
.meta-row i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  font-style: normal;
}

.chip {
  position: absolute;
  right: max(24px, calc((100% - 1160px) / 2));
  bottom: 36px;
  width: min(220px, 70%);
  margin: 0;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(28, 23, 20, 0.72);
  color: #f6f1e7;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.chip strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 36px;
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1;
}

.chip span { display: block; margin-top: 4px; font-size: 14px; color: rgba(246, 241, 231, 0.82); }

.ribbon {
  margin: 10px 0 20px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.ribbon-label {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: drift 42s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}

.marquee-group img {
  height: 38px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
}

.ribbon:hover .marquee-track { animation-play-state: paused; }
.ribbon:hover img { filter: none; opacity: 1; }

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.block { padding: 72px 0; }
.block-head { max-width: 680px; margin-bottom: 34px; }
.block-head h2 { margin: 0; font-size: clamp(36px, 4vw, 58px); line-height: 0.98; }

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-photo { position: relative; margin: 0; }
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px 28px 90px 28px;
}

.about-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(247, 243, 236, 0.94);
  font-size: 13px;
  font-weight: 700;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.roles li {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 650;
}

.path {
  background: var(--moss);
  color: #f6f1e7;
}

.path .kicker { color: #e7b599; }
.path .lede { color: rgba(246, 241, 231, 0.78); }
.path h2 em { color: #f0d2bf; }

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.path-grid article {
  padding: 8px 8px 0 0;
  border-top: 1px solid rgba(246, 241, 231, 0.2);
}

.path-grid b {
  display: block;
  margin: 16px 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  color: #e7b599;
}

.path-grid h3 { margin: 0 0 8px; font-size: 28px; line-height: 1.05; }
.path-grid p { margin: 0; color: rgba(246, 241, 231, 0.78); }

.program {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 42px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.program:last-child { border-bottom: 1px solid var(--line); }
.program:nth-child(even) .program-media { order: 2; }

.program-media { margin: 0; }
.program-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 26px;
}

.program h3 { margin: 0; font-size: clamp(32px, 3vw, 46px); line-height: 1; }
.program p { margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.program .actions { margin-top: 18px; }

.invite {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(196, 98, 45, 0.18), transparent 60%),
    var(--ink);
  color: #f6f1e7;
}

.invite h2 { margin: 0; font-size: clamp(30px, 3vw, 44px); line-height: 1; }
.invite p { margin: 8px 0 0; color: rgba(246, 241, 231, 0.75); }
.invite .actions { margin-top: 0; }

.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 210px 210px 230px;
  gap: 12px;
}

.bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  cursor: zoom-in;
}

.bento img:first-child { grid-row: 1 / span 2; }
.bento img:last-child { grid-column: 1 / -1; }

.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.voices article {
  margin: 0;
  padding: 26px 24px 22px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(36, 28, 22, 0.04);
}

.voices article:nth-child(2) { margin-top: 36px; background: var(--moss); color: #f6f1e7; }
.voices article:nth-child(2) span { color: rgba(246, 241, 231, 0.7); }

.voices p {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.voices strong { display: block; margin-top: 18px; font-size: 14px; }
.voices span { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }

.edges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.edges li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.edges li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.edges h3 { margin: 0 0 8px; font-size: 30px; }
.edges p { margin: 0; color: var(--muted); }

.pledge {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pledge article {
  min-height: 240px;
  padding: 24px;
  border-radius: 26px;
  background: var(--cream-2);
}

.pledge article:nth-child(2) { background: var(--moss); color: #f6f1e7; }
.pledge span {
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  color: var(--clay);
}
.pledge article:nth-child(2) span { color: #e7b599; }
.pledge h3 { margin: 18px 0 8px; font-size: 32px; }
.pledge p { margin: 0; color: var(--muted); }
.pledge article:nth-child(2) p { color: rgba(246, 241, 231, 0.78); }

.talk-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.talk-form, .talk-side {
  padding: 26px;
  border-radius: 28px;
  background: var(--white);
}

.talk-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.talk-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.talk-form label.full { grid-column: 1 / -1; }

.talk-form input, .talk-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  background: transparent;
  padding: 10px 0;
  font-size: 16px;
  color: var(--ink);
}

.talk-form textarea { min-height: 90px; resize: vertical; }
.talk-form input:focus, .talk-form textarea:focus { outline: none; border-bottom-color: var(--clay); }
.talk-form .btn { grid-column: 1 / -1; width: 100%; }
.form-note { grid-column: 1 / -1; min-height: 1.2em; margin: 0; font-size: 14px; color: var(--moss); }

.talk-side { display: grid; gap: 12px; background: var(--ink); color: #f6f1e7; }
.talk-side p { margin: 0; color: rgba(246, 241, 231, 0.7); }
.talk-side a.line {
  display: block;
  margin-top: 4px;
  font-family: Fraunces, Georgia, serif;
  font-size: 30px;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.side-card { padding-bottom: 12px; border-bottom: 1px solid rgba(246, 241, 231, 0.12); }
.side-card:last-child { border-bottom: 0; padding-bottom: 0; }

.faq { display: grid; gap: 10px; }
.faq details {
  padding: 6px 18px;
  border-radius: 18px;
  background: var(--white);
}
.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--clay); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

.banner {
  margin: 10px auto 20px;
  width: min(1160px, calc(100% - 40px));
  padding: 48px 8px;
  text-align: center;
}

.banner p {
  margin: 0 auto;
  max-width: 16em;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.banner span {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer {
  padding: 48px 0 28px;
  background: var(--ink);
  color: #f6f1e7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr 0.8fr;
  gap: 28px;
}

.footer img { height: 78px; width: auto; }
.footer h2 { margin: 0 0 12px; font-size: 18px; font-family: Outfit, sans-serif; letter-spacing: 0; font-weight: 700; }
.footer p, .footer li { color: rgba(246, 241, 231, 0.74); }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 241, 231, 0.12);
  color: rgba(246, 241, 231, 0.55);
  font-size: 13px;
}

.dock {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 16, 12, 0.82);
}

.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 84vh; border-radius: 16px; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
}

.sheet {
  display: none;
}

@media (max-width: 980px) {
  .about, .program, .talk-grid, .path-grid, .voices, .pledge, .footer-grid {
    grid-template-columns: 1fr;
  }
  .program:nth-child(even) .program-media { order: 0; }
  .voices article:nth-child(2) { margin-top: 0; }
  .invite { grid-template-columns: 1fr; }
  .path-grid { gap: 8px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 180px 180px; }
  .bento img:first-child { grid-column: 1 / -1; grid-row: auto; height: 220px; }
  .footer img { height: 64px; }
}

@media (max-width: 860px) {
  :root { --header: 78px; }
  body { padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom)); }
  .brand img { height: 62px; }
  .nav, .top-wa { display: none; }
  .wrap { width: min(1160px, calc(100% - 28px)); }
  .spread {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 18px 0 22px;
    background:
      linear-gradient(180deg, rgba(16, 12, 10, 0.72) 0%, rgba(16, 12, 10, 0.58) 46%, rgba(16, 12, 10, 0.78) 100%),
      url("../fundo.jpg") 68% 30% / cover no-repeat;
  }
  .spread-inner { width: min(1160px, calc(100% - 28px)); margin: 0 auto; }
  .spread .actions { padding-right: 72px; }
  .chip {
    position: static;
    align-self: flex-start;
    width: min(220px, calc(100% - 96px));
    margin: 18px 0 0;
    margin-left: max(14px, calc((100% - 1160px) / 2));
  }
  .block { padding: 52px 0; }
  .edges { grid-template-columns: 1fr; }
  .edges li, .edges li:nth-child(even) { padding: 22px 0; border-left: 0; }
  .talk-form { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bento img, .bento img:first-child { height: 220px; grid-column: auto; }

  .dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: calc(var(--dock) + env(safe-area-inset-bottom));
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 252, 248, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }

  .dock a, .dock-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    background: transparent;
    color: #8a8176;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
  }

  .dock a.is-active, .dock-menu.is-active { color: var(--clay); }

  .sheet {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 55;
    inset: 0 0 calc(var(--dock) + env(safe-area-inset-bottom)) 0;
    padding: 22px 22px 16px;
    background: var(--cream);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .sheet.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }

  .sheet nav {
    display: grid;
    gap: 2px;
    overflow: auto;
    scrollbar-width: none;
  }
  .sheet nav::-webkit-scrollbar { display: none; }
  .sheet a.big {
    font-family: Fraunces, Georgia, serif;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-decoration: none;
  }
  .sheet .sub { display: grid; gap: 8px; margin: 8px 0 16px; }
  .sheet .sub a { font-size: 15px; font-weight: 650; text-decoration: none; color: var(--muted); }
  .sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .btn, .sheet, .drop-panel { transition: none; }
}
