:root {
  --ink: #061833;
  --ink-2: #0a2a5c;
  --foam: #f4f7fb;
  --mist: #9eb2cb;
  --gold: #1e6fd9;
  --gold-2: #5eb0ff;
  --accent: #f5d76e;
  --line: rgba(244, 247, 251, 0.14);
  --radius: 1.25rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foam);
  background:
    radial-gradient(1100px 560px at 8% -8%, rgba(30, 111, 217, 0.28), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(94, 176, 255, 0.16), transparent 50%),
    linear-gradient(165deg, #041226 0%, #0a2a5c 46%, #0d3a78 100%);
  min-height: 100vh;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold-2);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 50;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(760px, calc(100% - 2rem));
}

.top {
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(4, 18, 38, 0.78);
}

.top__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: 0.02em;
}

.brand-tag {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 700;
  text-decoration: none;
}

.brand-tag:hover {
  color: var(--gold-2);
}

.kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.kicker--gold {
  color: var(--gold-2);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0.85rem 0 0;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  max-width: 12ch;
  animation: rise 0.9s ease both;
}

h2 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--gold-2);
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 38ch;
  color: rgba(244, 247, 251, 0.9);
  font-size: 1.05rem;
  animation: rise 1s 0.08s ease both;
}

.attrs {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.55rem;
  max-width: 34ch;
  animation: rise 1s 0.16s ease both;
}

.attrs p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.78);
  padding-left: 0.85rem;
  border-left: 3px solid var(--gold-2);
}

.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
  min-height: min(92vh, 920px);
  display: flex;
  align-items: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 18%;
  transform: scale(1.04);
  animation: ken 18s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 18, 38, 0.92) 0%, rgba(4, 18, 38, 0.72) 42%, rgba(4, 18, 38, 0.35) 70%, rgba(4, 18, 38, 0.55) 100%),
    linear-gradient(180deg, rgba(4, 18, 38, 0.35) 0%, rgba(4, 18, 38, 0.15) 40%, rgba(4, 18, 38, 0.82) 100%);
}

@keyframes ken {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3.5rem;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.story {
  margin-top: 1.75rem;
  max-width: 52ch;
  color: rgba(244, 247, 251, 0.9);
}

.story p {
  margin: 0 0 1rem;
  padding-left: 0.9rem;
  border-left: 3px solid rgba(94, 176, 255, 0.55);
}

.panel {
  background: linear-gradient(160deg, rgba(10, 42, 92, 0.92), rgba(4, 18, 38, 0.9));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.35rem);
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  animation: rise 1s 0.15s ease both;
}

@media (min-width: 960px) {
  .panel {
    position: sticky;
    top: 5.5rem;
    padding: 1.75rem 1.75rem 1.85rem;
  }
}

@media (max-width: 959px) {
  .panel {
    position: static;
  }
}

.panel__hint {
  margin: 0;
  color: var(--gold-2);
  font-weight: 800;
  line-height: 1.35;
}

.panel__meta {
  margin: 0.75rem 0 0;
  color: rgba(244, 247, 251, 0.72);
  font-size: 0.9rem;
}

.form {
  margin-top: 1.25rem;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
}

.form__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.form__title {
  color: var(--gold-2);
}

.progress {
  margin-top: 0.75rem;
  height: 3px;
  background: rgba(244, 247, 251, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width 0.35s ease;
}

.form__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 0;
}

.step-in {
  animation: stepIn 0.35s ease;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.field-label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
}

.field-help {
  display: block;
  margin-top: 0.45rem;
  color: var(--mist);
  font-size: 0.95rem;
}

.field-input,
.field-textarea {
  margin-top: 1.25rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.35rem;
  font: 600 1.05rem/1.3 var(--font-body);
  color: var(--ink);
  background: #eef4fb;
  outline: none;
}

.field-textarea {
  border-radius: 1.1rem;
  min-height: 7rem;
  resize: vertical;
}

.field-input:focus,
.field-textarea:focus {
  box-shadow: 0 0 0 3px rgba(94, 176, 255, 0.55);
}

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  color: rgba(244, 247, 251, 0.9);
  font-size: 0.95rem;
}

.consent-options {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.consent-options .check {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  cursor: pointer;
}

.consent-options .check:has(input:checked) {
  border-color: rgba(94, 176, 255, 0.55);
  background: rgba(30, 111, 217, 0.18);
}

.check input {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--gold);
}

.form__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}

.btn,
.btn-text {
  font-family: var(--font-body);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #7ec2ff, #1e6fd9);
  color: #041226;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-text {
  border: 0;
  background: transparent;
  color: var(--mist);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  min-height: 44px;
}

.btn-text:disabled {
  opacity: 0;
  pointer-events: none;
}

.form__foot {
  margin: 0.9rem 0 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.social {
  margin-top: 1.5rem;
}

.social p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social ul {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.4rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social a:hover {
  transform: scale(1.08);
  background: rgba(30, 111, 217, 0.22);
}

.band {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.video {
  margin-top: 1.5rem;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(244, 247, 251, 0.25);
  background: var(--ink-2);
  overflow: hidden;
}

.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.about {
  background: linear-gradient(180deg, rgba(8, 36, 78, 0.95), rgba(4, 18, 38, 0.98));
  border-top: 2px solid var(--gold-2);
}

.about__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 3rem;
  }
}

.about > .wrap > div > p,
.about #aboutText {
  color: rgba(244, 247, 251, 0.86);
  font-size: 1.05rem;
  max-width: 52ch;
}

.stats {
  margin: 0;
}

.stats > div {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.stats dt {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-2);
  font-weight: 700;
}

.stats dd {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.55);
  font-weight: 700;
}

.causes__list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(244, 247, 251, 0.12);
  border: 1px solid var(--line);
}

@media (min-width: 700px) {
  .causes__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.causes__list li {
  background: rgba(4, 18, 38, 0.72);
  padding: 1.25rem;
}

.causes__list span {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-2);
  font-weight: 700;
  margin-right: 0.55rem;
}

.causes__list strong {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  vertical-align: 0.55rem;
}

.causes__list p {
  margin: 0.7rem 0 0;
  color: rgba(244, 247, 251, 0.88);
}

.cta.center,
.center {
  text-align: center;
}

.cta p {
  color: rgba(244, 247, 251, 0.88);
  max-width: 42ch;
  margin-inline: auto;
}

.cta .btn {
  margin-top: 1.5rem;
}

.cta__ig {
  margin-top: 1.25rem !important;
}

.cta__ig a {
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
}

.cta__ig a:hover {
  text-decoration: underline;
}

.footer {
  background: #03101f;
  border-top: 2px solid var(--gold);
  padding: 3.5rem 0 2rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .footer__grid {
    grid-template-columns: 1.3fr 0.8fr 1fr;
  }
}

.footer__line {
  margin: 1rem 0 0;
  color: var(--gold-2);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.footer__sub {
  margin: 1rem 0 0;
  color: var(--mist);
  font-size: 0.95rem;
}

.footer nav ul {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.footer nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: var(--mist);
  text-decoration: none;
}

.footer nav a:hover {
  color: var(--foam);
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(243, 239, 230, 0.55);
  font-size: 0.85rem;
}

.success {
  text-align: center;
  padding: 1rem 0;
}

.success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
}

.success p {
  margin: 0;
  color: rgba(243, 239, 230, 0.85);
}

.error {
  margin-top: 0.75rem;
  color: #ffb4a8;
  font-size: 0.9rem;
  font-weight: 600;
}

.success__actions {
  margin-top: 1.25rem !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn--ghost {
  background: transparent;
  color: var(--foam);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(243, 239, 230, 0.08);
  filter: none;
}

.export-bar {
  margin-top: 1.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.export-bar p {
  margin: 0;
  color: var(--mist);
  font-size: 0.9rem;
}

@media (max-width: 959px) {
  .wrap {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .top__inner {
    flex-wrap: wrap;
    padding: 0.85rem 0;
  }

  .brand {
    font-size: 1.15rem;
  }

  .brand-tag {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .hero {
    padding: 2rem 0 2.5rem;
    min-height: auto;
  }

  .hero__media img {
    object-position: 35% 12%;
  }

  .attrs {
    max-width: none;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .lede {
    max-width: none;
    font-size: 1rem;
  }

  .panel {
    padding: 1.15rem 1rem 1.25rem;
    border-radius: 1.1rem;
  }

  .form {
    min-height: 18rem;
  }

  .form__head {
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }

  .form__body {
    padding: 1.25rem 0;
  }

  .field-label {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
  }

  .field-input,
  .field-textarea {
    font-size: 1rem;
    padding: 0.9rem 1.1rem;
  }

  .form__actions {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .form__actions .btn {
    margin-left: auto;
  }

  .band {
    padding: 2.75rem 0;
  }

  .causes__list span {
    font-size: 1.55rem;
  }

  .footer {
    padding: 2.5rem 0 1.5rem;
  }

  .export-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .export-bar .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .btn-text {
    letter-spacing: 0.04em;
  }

  .check {
    font-size: 0.9rem;
  }

  .success h3 {
    font-size: 1.45rem;
  }
}

/* —— Área do organizador —— */
.admin-page .admin {
  padding: 2.5rem 0 4rem;
}

.admin-card {
  background: linear-gradient(160deg, rgba(13, 34, 51, 0.92), rgba(7, 18, 28, 0.88));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.35rem);
  padding: 1.5rem 1.25rem 1.75rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

@media (min-width: 700px) {
  .admin-card {
    padding: 2rem;
  }
}

.admin-card h1 {
  max-width: none;
  margin-top: 0.5rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.admin-login {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  max-width: 28rem;
}

.admin-login .btn {
  justify-self: start;
}

.admin-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-table th {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(0, 0, 0, 0.25);
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-page .brand-tag {
  text-decoration: none;
}
