:root {
  --verde: #3f7d3d;
  --verde-escuro: #26492a;
  --verde-claro: #6fa855;
  --terracota: #c1642f;
  --terracota-escura: #96471f;
  --dourado: #e3a93d;
  --creme: #fbf3e6;
  --creme-escuro: #f2e4cd;
  --marrom: #4a2f1c;
  --azul-marinho: #1c2b45;
  --texto: #2c2015;
  --branco: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;

  --radius: 16px;
  --shadow: 0 12px 30px -12px rgba(38, 24, 8, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--creme);
  line-height: 1.6;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--verde-escuro);
  margin: 0 0 16px;
  line-height: 1.15;
}

p { margin: 0 0 16px; }

a { color: inherit; }

/* Top announcement bar */
.topbar {
  background: var(--azul-marinho);
  color: var(--creme);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 8px 16px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 230, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--creme-escuro);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}

.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--dourado);
  background: var(--branco);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-family: var(--font-display);
  color: var(--verde-escuro);
  font-size: 17px;
}

.brand__text span {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracota);
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--texto);
  position: relative;
  padding: 4px 0;
}

.nav a:hover { color: var(--terracota); }

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--verde-escuro);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--sm { padding: 10px 20px; font-size: 14px; }

.btn--primary {
  background: var(--terracota);
  color: var(--branco);
  box-shadow: 0 8px 20px -8px rgba(150, 71, 31, 0.7);
}
.btn--primary:hover { background: var(--terracota-escura); }

.btn--gold {
  background: var(--dourado);
  color: var(--marrom);
  box-shadow: 0 8px 20px -8px rgba(227, 169, 61, 0.7);
}
.btn--gold:hover { background: #cf9530; }

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--branco);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.15); }

.btn--ghost-light {
  background: rgba(0, 0, 0, 0.15);
  color: var(--branco);
}
.btn--ghost-light:hover { background: rgba(0, 0, 0, 0.3); }

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  color: var(--branco);
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(227, 169, 61, 0.35), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(193, 100, 47, 0.45), transparent 50%),
    linear-gradient(160deg, var(--verde-escuro) 0%, var(--verde) 55%, var(--terracota-escura) 130%);
  z-index: -1;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--dourado);
  background: var(--branco);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  font-size: 13px;
  color: var(--dourado);
  margin-bottom: 10px;
}

.hero h1 {
  color: var(--branco);
  font-size: clamp(32px, 5vw, 54px);
  max-width: 780px;
  margin-bottom: 20px;
}

.hero__lead {
  max-width: 640px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 34px;
}

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

/* Sections */
.section { padding: 84px 0; }
.section--alt { background: var(--creme-escuro); }
.section--doador {
  background: linear-gradient(135deg, var(--verde-escuro), var(--terracota-escura));
  color: var(--branco);
}
.section--doador h2, .section--doador .kicker { color: var(--branco); }
.section--doador .section-sub { color: rgba(255,255,255,0.88); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 800;
  font-size: 13px;
  color: var(--terracota);
  margin-bottom: 10px;
}

.section h2 { font-size: clamp(26px, 3.4vw, 36px); }

.section-sub {
  color: #5c4c3a;
  font-size: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.about-text {
  background: var(--branco);
  border-left: 5px solid var(--verde);
  border-radius: 12px;
  padding: 24px 26px;
  box-shadow: var(--shadow);
  font-size: 15.5px;
  color: #4a3c2b;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--dourado);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--terracota);
}

.card__icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  color: #5c4c3a;
  margin-bottom: 0;
}

/* Participar */
.participar { text-align: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 36px;
}

.step {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--branco);
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 14px;
}

.step p { margin: 0; font-size: 15px; color: #4a3c2b; }

.participar__lead {
  font-size: 17px;
  font-weight: 700;
  color: var(--verde-escuro);
  max-width: 560px;
  margin: 0 auto 26px;
}

/* Doador */
.doador { text-align: center; }

.doador__card {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(4px);
}

.doador__card p { color: rgba(255,255,255,0.92); }

/* Footer */
.footer {
  background: var(--marrom);
  color: var(--creme);
  padding-top: 48px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--dourado);
}

.footer__brand p { margin: 0; font-family: var(--font-display); font-size: 16px; }
.footer__brand span { font-family: var(--font-body); font-size: 13px; color: var(--dourado); font-weight: 700; }

.footer__contact p {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dourado);
  font-weight: 800;
}

.footer__contact a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.footer__bottom {
  text-align: center;
  padding: 18px 0;
  font-size: 12.5px;
  color: rgba(251, 243, 230, 0.65);
}

/* Floating action button */
.fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--terracota);
  color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(150, 71, 31, 0.8);
  z-index: 40;
  transition: transform 0.15s ease;
}
.fab:hover { transform: scale(1.08); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 240px;
    background: var(--creme);
    flex-direction: column;
    padding: 100px 28px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  }
  .nav.is-open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .cards { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
