* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  color: #fff;
  background: #0b2f4a
}

.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0d3a66 0%, #0c6e7e 50%, #10b981 100%)
}

.hero--sobre {
  background: linear-gradient(135deg, rgba(13, 58, 102, .85) 0%, rgba(12, 110, 126, .65) 50%, rgba(16, 185, 129, .55) 100%), url('../img/bg-aiepe2.png') center/cover no-repeat
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  transition: background-color .2s ease, backdrop-filter .2s ease, box-shadow .2s ease
}

.topbar .inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.brand img {
  height: 120px;
  padding-top: 30px;
  width: auto;
  display: block;
  transition: height .2s ease, padding .2s ease
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  align-items: center
}

.menu a {
  color: #e8f6ff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .04em
}

.menu a.active {
  position: relative
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 3px;
  background: #e8f6ff;
  border-radius: 2px
}

.menu .sep {
  opacity: .5
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
  padding: 48px 0 96px
}

.kicker {
  font-size: 18px;
  opacity: .85;
  margin: 0 0 12px
}

h1 {
  font-size: 52px;
  line-height: 1.1;
  margin: 0 0 20px;
  text-transform: capitalize;
  max-width: 720px
}

.lead {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.6;
  color: #d9f3ff;
  margin: 0 0 28px
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: radial-gradient(100% 100% at 50% 0, #1b5fa0, #0d3a66);
  padding: 14px 18px;
  border-radius: 28px;
  color: #eaf7ff;
  text-decoration: none
}

.cta svg {
  width: 18px;
  height: 18px;
  fill: #eaf7ff
}

.visual {
  display: flex;
  align-items: center;
  justify-content: center
}

.fish {
  max-width: 420px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 0 12px #fff) drop-shadow(0 10px 28px rgba(0, 0, 0, .25))
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0
}

.wave svg {
  display: block;
  width: 100%;
  height: 140px
}

/* hamburger */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .25);
  align-items: center;
  justify-content: center
}

.hamburger span {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: #e8f6ff
}

.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #e8f6ff
}

.hamburger span::before {
  top: -7px
}

.hamburger span::after {
  top: 7px
}

/* responsive */
@media (max-width:992px) {
  .hero-inner {
    grid-template-columns: 1fr
  }

  .visual {
    order: -1
  }

  h1 {
    font-size: 40px
  }

  .lead {
    font-size: 16px
  }

  .fish {
    max-width: 360px
  }
}

@media (max-width:560px) {
  .brand img {
    height: 80px;
    padding-top: 10px
  }

  h1 {
    font-size: 32px
  }

  .hero-inner {
    padding: 32px 0 64px;
    position: relative
  }

  .hamburger {
    display: flex
  }

  .menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #0d3a66;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: none
  }

  .menu ul {
    flex-direction: column;
    gap: 0
  }

  .menu li {
    border-bottom: 1px solid rgba(255, 255, 255, .08)
  }

  .menu a {
    display: block;
    padding: 14px 24px
  }

  #nav-toggle:checked~nav.menu {
    display: block
  }

  /* peixe ao lado do texto (home) */
  .hero:not(.hero--sobre) .copy {
    padding-right: 150px;
    padding-left: 18px
  }

  .visual {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%)
  }

  .fish {
    max-width: 150px
  }

  /* sobre: texto ocupa largura total com padding confortável */
  .hero--sobre .copy {
    padding-right: 24px;
    padding-left: 18px
  }
}

/* footer */
.site-footer {
  background: #000;
  color: #e5e5e5
}

.site-footer a {
  color: #e5e5e5;
  text-decoration: none
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.2fr;
  gap: 28px;
  align-items: start;
  padding: 40px 24px
}

.footer-brand img {
  height: 72px;
  width: auto;
  display: block
}

.footer-brand p {
  margin: 12px 0 0;
  color: #cfcfcf;
  font-size: 14px;
  max-width: 320px
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff
}

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

.footer-col li {
  margin: 8px 0
}

.footer-col .contact svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
  fill: #10b981
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px
}

.footer-bottom img {
  height: 24px;
  width: auto
}

@media (max-width:768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .footer-brand img {
    height: 64px
  }

  .footer-bottom {
    justify-content: space-between
  }
}

/* donation section */
.donation{background:#ffffff;color:#0b2f4a}
.donation .container{display:grid;grid-template-columns:.95fr 1.05fr;grid-template-areas:'media copy';gap:40px;align-items:center;padding:64px 24px}
.donation-media{grid-area:media;justify-self:start}
.donation-copy{grid-area:copy}
.donation-media img{width:100%;max-width:420px;aspect-ratio:1/1;object-fit:cover;border-radius:28px;box-shadow:0 14px 28px rgba(0,0,0,.12)}
.donation-thumbs{margin-top:14px;display:flex;gap:10px}
.donation-thumbs img{width:64px;height:64px;object-fit:cover;border-radius:10px;opacity:.8;cursor:pointer;border:2px solid transparent}
.donation-thumbs img.active{opacity:1;border-color:#0c6e7e}
.donation .kicker{font-size:16px;color:#0c6e7e;margin:0 0 8px}
.donation h2{margin:0 0 16px;font-size:28px;line-height:1.3}
.donation .lead-strong{font-size:22px;line-height:1.5;font-weight:700;color:#0d3a66;margin:0 0 12px}
.donation .lead{color:#34556d}

@media (max-width:992px){
  .donation .container{grid-template-columns:1fr;grid-template-areas:'copy' 'media'}
}
.winners{background:#ffffff;color:#0b2f4a}
.winners .container{display:grid;grid-template-columns:1.05fr .95fr;grid-template-areas:'copy media';gap:40px;align-items:center;padding:64px 24px}
.winners-media{grid-area:media;justify-self:end}
.winners-copy{grid-area:copy}
.winners-media img{width:100%;max-width:420px;aspect-ratio:1/1;object-fit:cover;border-radius:28px;box-shadow:0 14px 28px rgba(0,0,0,.12)}
.winners-thumbs{margin-top:14px;display:grid;grid-template-columns:repeat(4,64px);gap:10px;justify-content:start;overflow:hidden}
.winners-thumbs img{width:64px;height:64px;object-fit:cover;border-radius:10px;opacity:.8;cursor:pointer;border:2px solid transparent}
.winners-thumbs img.active{opacity:1;border-color:#0c6e7e}
.winners .kicker{font-size:16px;color:#0c6e7e;margin:0 0 8px}
.winners h2{margin:0 0 16px;font-size:28px;line-height:1.3}
.winners .lead{color:#34556d}

@media (max-width:992px){
  .winners .container{grid-template-columns:1fr;grid-template-areas:'copy' 'media'}
}
.topbar.scrolled{
  background: rgba(5,37,59,.85);
  backdrop-filter: saturate(130%) blur(8px);
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
  border-bottom: 1px solid rgba(255,255,255,.08)
}
.topbar.scrolled .inner{height:64px}
.topbar.scrolled .brand img{height:56px;padding-top:0}

@media (max-width:560px){
  .topbar.scrolled .brand img{height:56px;padding-top:0}
  .topbar.scrolled .menu{top:64px}
}
.winners-media{position:relative}
.gallery-nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:none;border-radius:50%;background:rgba(5,37,59,.85);color:#eaf7ff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 14px rgba(0,0,0,.15)}
.gallery-nav.prev{left:10px}
.gallery-nav.next{right:10px}
.gallery-nav:hover{background:rgba(5,37,59,.95)}
