/* Site Iron Fernandes — Young Leader (navy + âmbar) */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --navy: #0b1f3a;
  --navy-deep: #061527;
  --amber: #e8a838;
  --amber-soft: #f5d089;
  --sand: #f3ede3;
  --ink: #1a1a1a;
  --muted: #5c6570;
  --surface: #ffffff;
  --max: 1080px;
  --nav-h: 68px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --ease: 0.35s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
}

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

a {
  color: inherit;
}

a:hover {
  color: var(--navy);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--ease), box-shadow var(--ease);
}

.site-header.is-solid {
  background: rgba(11, 31, 58, 0.96);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.site-header--inner {
  background: var(--navy);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
}

.brand {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--amber-soft);
}

.brand span {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 0.4rem 0.75rem;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav a[aria-current="page"] {
  color: var(--amber);
}

.nav a.nav-cta {
  background: var(--amber);
  color: var(--navy-deep);
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  transition: background var(--ease);
}

.nav a.nav-cta:hover {
  background: var(--amber-soft);
  color: var(--navy-deep);
  text-decoration: none;
}

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-deep);
    padding: 0.5rem 0 1rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 1.25rem;
  }

  .nav a.nav-cta {
    margin: 0.5rem 1.25rem 0;
    text-align: center;
  }
}

/* ——— Buttons ——— */

.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.btn--primary {
  background: var(--amber);
  color: var(--navy-deep);
  border-color: var(--amber);
}

.btn--primary:hover {
  background: var(--amber-soft);
  border-color: var(--amber-soft);
  color: var(--navy-deep);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}

.btn.is-selected {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy-deep);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ——— Hero (home) ——— */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(
      160deg,
      rgba(6, 21, 39, 0.35) 0%,
      rgba(6, 21, 39, 0.55) 40%,
      rgba(6, 21, 39, 0.92) 100%
    ),
    var(--hero-image);
  background-size: cover;
  background-position: center 25%;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
}

.hero__content {
  animation: heroIn 0.55s ease both;
}

.hero__brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--amber-soft);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.08;
  max-width: 12ch;
}

.hero__sub {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-style: italic;
  opacity: 0.92;
  max-width: 34rem;
  line-height: 1.5;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Page hero (inner) ——— */

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: calc(var(--nav-h) + 2.5rem) 0 2.75rem;
  position: relative;
  overflow: hidden;
}

.page-hero--photo {
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(
      160deg,
      rgba(6, 21, 39, 0.45) 0%,
      rgba(6, 21, 39, 0.88) 100%
    ),
    var(--page-hero-image);
  background-size: cover;
  background-position: center top;
  padding-bottom: 3.5rem;
}

.page-hero h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
}

.page-hero p {
  margin: 0;
  opacity: 0.88;
  max-width: 38rem;
  font-size: 1.1rem;
}

/* ——— Sections ——— */

.section {
  padding: 4rem 0;
}

.section--sand {
  background: var(--sand);
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
}

.section__lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 38rem;
  font-size: 1.08rem;
}

.section--navy .section__lead {
  color: rgba(255, 255, 255, 0.78);
}

.grid-2 {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.prose {
  max-width: 40rem;
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.media-frame {
  overflow: hidden;
  background: var(--navy-deep);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  max-height: 420px;
}

.media-frame--wide img {
  aspect-ratio: 16 / 10;
}

.media-frame--square img {
  aspect-ratio: 1;
}

.media-frame--face img {
  aspect-ratio: auto;
  max-height: none;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.media-frame--banner img {
  aspect-ratio: 21 / 9;
  max-height: 280px;
}

/* ——— Photo strip & gallery (tiles uniformes) ——— */

.photo-strip,
.photo-gallery {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .photo-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
  }

  .photo-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
}

@media (min-width: 960px) {
  .photo-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.photo-strip figure,
.photo-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--navy-deep);
  border-radius: 2px;
}

.photo-strip img,
.photo-gallery img {
  width: 100%;
  height: 100%;
  max-height: 160px;
  object-fit: cover;
  aspect-ratio: 1;
  display: block;
  transition: transform 0.4s ease;
}

@media (min-width: 640px) {
  .photo-strip img,
  .photo-gallery img {
    max-height: 180px;
  }
}

@media (min-width: 960px) {
  .photo-gallery img {
    max-height: 200px;
  }
}

.photo-strip figure:hover img,
.photo-gallery figure:hover img {
  transform: scale(1.04);
}

.photo-focus-top img {
  object-position: center top;
}

/* Sem tiles “wide/tall” — ritmo uniforme */
.photo-gallery figure.wide,
.photo-gallery figure.tall {
  grid-column: auto;
}

.photo-gallery figure.wide img,
.photo-gallery figure.tall img {
  aspect-ratio: 1;
}

/* Cap em fotos soltas grandes dentro de stacks */
.stack .media-frame {
  max-width: 100%;
}

.stack .media-frame img {
  max-height: 280px;
  width: 100%;
  object-fit: cover;
}

.stack .media-frame--face img {
  max-height: none;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.section .media-frame--wide img {
  max-height: 360px;
}

.section .media-frame--banner img {
  max-height: 240px;
}

/* ——— Video ——— */

.video-block h3 {
  margin: 0.85rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.video-block p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ——— News list ——— */

.news-item {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.12);
}

.news-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 640px) {
  .news-item {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

.news-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.news-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ——— Timeline ——— */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--amber);
}

.timeline li {
  position: relative;
  padding: 0 0 1.5rem 1.35rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  background: var(--amber);
  border-radius: 50%;
}

.timeline strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

/* ——— Team ——— */

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.team-member {
  width: 140px;
  text-align: center;
}

.team-member img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--navy);
}

.team-member p {
  margin: 0.65rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ——— Vision / Mission ——— */

.split-panel {
  padding: 1.75rem 0;
}

.split-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.split-panel .label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.section--sand .split-panel + .split-panel {
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

@media (min-width: 720px) {
  .vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
  }

  .section--sand .split-panel + .split-panel {
    border-top: 0;
    border-left: 1px solid rgba(26, 26, 26, 0.1);
    padding-left: 3rem;
  }
}

.note-box {
  background: var(--sand);
  border-left: 3px solid var(--amber);
  padding: 1.15rem 1.25rem;
  font-size: 1rem;
  color: var(--muted);
}

.note-box strong {
  color: var(--ink);
}

.lemma {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--navy);
  margin: 0;
  line-height: 1.4;
}

.mpc-logo {
  width: 120px;
  height: auto;
}

/* ——— CTA band ——— */

.cta-band {
  background: var(--navy-deep);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.85;
}

/* ——— Donation ——— */

.amount-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.amount-grid .btn {
  min-width: 5.5rem;
  background: var(--surface);
  border-color: rgba(11, 31, 58, 0.25);
  color: var(--navy);
}

.amount-grid .btn:hover,
.amount-grid .btn.is-selected {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy-deep);
}

.pix-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.pix-qr {
  margin: 0;
  width: min(220px, 100%);
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid rgba(26, 26, 26, 0.1);
  padding: 0.5rem;
}

.pix-qr figcaption {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.35rem;
  text-align: center;
}

.pix-qr img {
  width: 100%;
  height: auto;
  display: block;
}

.pix-fallback {
  margin: 0;
  max-width: 16rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px dashed rgba(26, 26, 26, 0.2);
  color: var(--muted);
  font-size: 0.95rem;
}

.pix-key {
  font-family: ui-monospace, monospace;
  padding: 0.65rem 0.85rem;
  background: var(--sand);
  border: 1px solid rgba(26, 26, 26, 0.1);
  word-break: break-all;
  font-size: 0.95rem;
}

.copy-feedback {
  font-size: 0.9rem;
  color: var(--navy);
  margin: 0.35rem 0 0;
}

/* ——— Footer ——— */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  font-weight: 600;
}

.site-footer p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--amber-soft);
}

.social-icons {
  display: flex;
  gap: 0.65rem;
  margin: 0.85rem 0 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.social-icons a:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy-deep);
}

.social-icons svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.wa-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.28);
  transition: transform var(--ease), background var(--ease);
}

.wa-float:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  color: #fff;
}

.wa-float svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
}

.site-footer__copy {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  opacity: 0.65;
}

/* cache-bust 20260724-3 */

/* cache-bust 20260724-4 */

/* cache-bust 20260724-5 */

/* cache-bust 20260724-6 */

/* cache-bust 20260724-7 */

/* cache-bust 20260724-8 */

/* cache-bust 20260724-9 */

/* cache-bust 20260724-10 */

/* cache-bust 20260724-11 */

/* cache-bust 20260724-15 */
