*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

button,
input,
textarea { font-family: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 20;
}

.skip-link:focus { top: 12px; }

.wrap {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  background: var(--top);
  color: var(--gray);
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
}

.top-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.top-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.top-contacts svg,
.foot-contacts svg { flex: 0 0 auto; }

.ig-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--ig);
  color: #fff;
  border-radius: 4px;
}

.brand {
  display: flex;
  justify-content: center;
  padding: 18px 16px 14px;
  background: #fff;
}

.brand img { width: min(420px, 78vw); height: auto; }

.nav-bar {
  background: var(--yellow);
  border-top: 5px solid var(--gold);
  position: relative;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 52px;
}

.nav-list {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.nav-list a {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-list a[aria-current="page"],
.nav-list a:hover { color: var(--orange); }

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  height: 2px;
  background: #5a4a32;
  border-radius: 2px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.hero { position: relative; background: #f67f27; }

.hero-viewport { overflow: hidden; height: 600px; }

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 500ms ease;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 600px;
  overflow: hidden;
  background: #f67f27;
}

.hero-slide.cover { background: #ffff81; }

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
}

.hero-slide.cover img { object-fit: cover; }

.hero-slide.is-active img {
  transform: scale(1.3);
  transition: transform 20s linear;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: hsla(0, 0%, 93%, 0.9);
  cursor: pointer;
}

.hero-arrow.prev { left: 10px; }
.hero-arrow.next { right: 10px; }

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.hero-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.hero-dots button[aria-current="true"] { background: #000; }

.about {
  position: relative;
  background: #f9f9f9;
  padding: 60px 0 90px;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/media/doodles.jpg") center / auto repeat-x;
  opacity: 0.1;
  pointer-events: none;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  width: min(1170px, calc(100% - 32px));
}

.about-photo-wrap { padding: 0 60px; }

.about-photo {
  width: 100%;
  border-radius: 40px;
  display: block;
}

.about .kicker {
  margin: 0 0 10px;
  color: #c8a176;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 5px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.about h2 {
  margin: 0 0 20px;
  color: #ff8041;
  font-size: 33px;
  line-height: 1.15;
  font-weight: 500;
  text-align: center;
}

.doacoes h2,
.sheet h2 {
  margin: 4px 0 16px;
  color: var(--orange-2);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
}

.about-copy {
  width: 92%;
  margin-top: 50px;
  text-align: justify;
  font-weight: 500;
  line-height: 1.6;
  color: #5c5c5d;
}

.about p,
.doacoes p,
.prose p { margin: 0 0 14px; color: var(--muted); }

.about p.kicker { color: #c8a176; }

.about-copy p { color: #5c5c5d; font-weight: 500; }

.about .btn,
.cards .btn { margin-top: 8px; }

.about .actions { text-align: center; margin: 20px 0 0; }

.btn {
  display: inline-block;
  background: #7c7c7c;
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 3px;
  padding: 8px 22px;
  font-size: 14px;
  cursor: pointer;
}

.about .btn { border-radius: 20px; }

.btn-orange {
  background: var(--orange);
  border-radius: 4px;
  font-weight: 600;
}

.cards {
  background: #cfa865;
  padding: 4% 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--yellow);
  border-radius: 20px;
  min-height: 231px;
  padding: 25px 20px;
  text-align: center;
}

.card h3 {
  margin: 12px 0 18px;
  color: var(--orange);
  font-size: 20px;
  letter-spacing: 0.02em;
}

.card svg { color: var(--orange); }

.banner-doacao {
  position: relative;
  display: block;
  height: 400px;
  margin: 5% 0 2%;
  overflow: hidden;
  background: #833ca3;
}

.banner-doacao img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.banner-doacao.is-ken img {
  transform: scale(1.3);
  transition: transform 20s linear;
}

.reveal { visibility: hidden; }

.reveal.is-in {
  visibility: visible;
  animation-duration: 1.25s;
  animation-fill-mode: both;
  animation-delay: var(--delay, 0ms);
}

.reveal.reveal-slow.is-in { animation-duration: 2s; }

.reveal[data-anim="fadeInLeft"].is-in { animation-name: fadeInLeft; }
.reveal[data-anim="bounceIn"].is-in { animation-name: bounceIn; }

@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-100%, 0, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes bounceIn {
  0%, 20%, 40%, 60%, 80%, 100% { animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); }
  20% { transform: scale3d(1.1, 1.1, 1.1); }
  40% { transform: scale3d(0.9, 0.9, 0.9); }
  60% { opacity: 1; transform: scale3d(1.03, 1.03, 1.03); }
  80% { transform: scale3d(0.97, 0.97, 0.97); }
  100% { opacity: 1; transform: scale3d(1, 1, 1); }
}

@media (min-width: 1025px) {
  .about::before { background-attachment: fixed; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-track,
  .hero-slide img,
  .banner-doacao img { transition: none; }
  .hero-slide.is-active img,
  .banner-doacao.is-ken img { transform: none; }
  .reveal { visibility: visible; animation: none; }
}

.site-footer { background: #fff; padding: 36px 0 0; }

.foot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding-bottom: 28px;
}

.foot-brand img { width: min(280px, 70vw); }

.foot-side { display: flex; gap: 18px; align-items: flex-start; }

.ig-foot {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  flex: 0 0 auto;
}

.foot-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.foot-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #222;
  font-size: 15px;
}

.legal {
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 10px 16px;
}

.legal a { color: #fff; }

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
}

.wa-float-btn {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.wa-float-btn svg { display: block; }

.page-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(var(--container), calc(100% - 32px));
  margin: 18px auto 8px;
}

.page-kicker img { width: 34px; height: 34px; object-fit: contain; }

.page-kicker h1 {
  margin: 0;
  color: var(--orange);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section { padding: 28px 0 48px; }

.gold-panel {
  background: var(--gold-card);
  color: #fff;
  border-radius: 22px;
}

.team-card {
  width: min(524px, 100%);
  margin: 72px auto 96px;
  padding: 30px;
  background: #cfa865;
  border-radius: 20px;
  color: #fff;
}

.team-card li { font-size: 18px; }

.team-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.team-card li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 180px;
  padding: 30px;
  border-radius: 20px;
  background: #cfa865;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
}

.contact-card svg { width: 43px; height: 43px; color: #ffff81; }

.form-card {
  width: min(604px, 100%);
  margin: 72px auto 96px;
  padding: 30px;
  background: #cfa865;
  border-radius: 20px;
}

.form-card label {
  display: block;
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="file"] {
  display: block;
  width: 100%;
  margin-top: 4px;
  background: #fff;
  color: #333;
  border: 0;
  border-radius: 2px;
  padding: 8px 10px;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-feedback { min-height: 1.2em; margin: 8px 0 0; }

.quem-sheet { color: #fff; }

.quem-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  background: #cfa865;
  border-radius: 20px 20px 0 0;
  padding: 30px 0 30px;
}

.quem-copy { padding: 1% 0 0 5%; }

.quem h2 {
  margin: 0 0 12px;
  color: #ffff81;
  text-align: left;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.quem p {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  text-align: justify;
}

.quem-photo {
  width: 100%;
  border-radius: 30px;
  display: block;
  padding-right: 7%;
  box-sizing: border-box;
}

.quem-gallery {
  background: #d2b075;
  border-radius: 0 0 20px 20px;
  padding: 0 5% 5%;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 0;
}

.photo-grid a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.gallery-frame {
  background: #d2b075;
  border-radius: 20px;
  padding: 5%;
}

.gallery-frame .photo-grid { margin-top: 0; }

.doacoes h2,
.doacoes h3 {
  margin: 8px 0 16px;
  color: #ff8041;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.doacoes h3 { font-size: 22px; margin-top: 18px; }

.doacoes p { color: #7c7c7c; font-size: 18px; line-height: 1.6; }

.bank {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  color: #7c7c7c;
  font-size: 18px;
  line-height: 1.7;
}

.bank-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.bank-title svg { color: #ff8041; flex: 0 0 auto; }

.acc { margin: 0 0 10px; }

.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--orange);
  color: #fff;
  padding: 11px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
}

.acc summary::-webkit-details-marker { display: none; }

.acc summary .mark {
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
}

.acc[open] summary .mark { font-size: 0; }
.acc[open] summary .mark::before { content: "–"; font-size: 28px; line-height: 0.6; }

.acc-body {
  background: #e0e0e0;
  padding: 8px 4px 12px;
}

.doc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  color: #111;
  text-decoration: none;
}

.doc-link svg { color: var(--orange); flex: 0 0 auto; }

.pager {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.pager a { color: var(--orange); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open { display: flex; }

.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; width: auto; }

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
}

.lightbox-close { top: 12px; right: 16px; }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 15;
    flex-direction: column;
    background: var(--yellow);
    padding: 8px 20px 16px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
  }
  .nav-list.is-open { display: flex; }
  .foot-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .quem p { font-size: 14px; text-align: start; }
  .about h2 { font-size: 36px; }
  .about-copy { margin-top: 0; text-align: start; font-size: 14px; }
  .about-photo-wrap { padding: 40px; }
}

@media (max-width: 767px) {
  .about-grid,
  .card-grid,
  .quem-top,
  .contact-grid { grid-template-columns: 1fr; }
  .nav-list a { font-size: 15px; font-weight: 500; }
  .quem h2 { text-align: center; }
  .quem p { text-align: justify; font-size: 14px; }
  .quem-photo { padding-right: 0; }
  .photo-grid { grid-template-columns: 1fr; }
  .about-copy-col { order: -1; }
  .about { margin-top: 20px; padding: 1em; }
  .about .kicker { font-size: 15px; }
  .about h2 { font-size: 28px; }
  .about-copy { width: 100%; margin-top: 0; text-align: justify; font-size: 14px; }
  .about-photo-wrap { padding: 1em; }
  .top-contacts { font-size: 13px; gap: 4px 12px; }
  .form-card,
  .team-card { padding: 20px 16px; }
}
