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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: hsl(220, 30%, 97%);
  color: hsl(230, 80%, 12%);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: hsl(45, 100%, 50%);
  color: hsl(230, 80%, 12%);
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-ocean {
  color: hsl(215, 80%, 60%);
}

.text-gradient-solar {
  background: linear-gradient(135deg, hsl(45, 100%, 50%), hsl(38, 90%, 52%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: hsl(230, 74%, 12%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid hsla(45, 100%, 50%, 0.12);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
  gap: 1rem;
}

.navbar-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  /* A imagem tem fundo preto*/
  filter: brightness(1.1);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: hsla(0, 0%, 100%, 0.7);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: hsl(45, 100%, 50%);
}

.btn-donate-nav {
  display: inline-block;
  background: linear-gradient(135deg, hsl(45, 100%, 50%), hsl(38, 90%, 52%));
  color: hsl(230, 80%, 8%) !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  margin-left: 0.5rem;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.btn-donate-nav:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-login-nav {
  display: inline-block;
  color: hsla(0, 0%, 100%, 0.85);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  border: 1px solid hsla(0, 0%, 100%, 0.25);
  margin-left: 0.25rem;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.btn-login-nav:hover {
  border-color: hsla(0, 0%, 100%, 0.6);
  color: white;
}

/* Hamburger */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger {
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}
.hamburger::before {
  top: -7px;
}
.hamburger::after {
  top: 7px;
}

.menu-toggle.open .hamburger {
  background: transparent;
}
.menu-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.menu-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* para celular*/
.mobile-menu {
  display: none;
  flex-direction: column;
  background: hsl(230, 80%, 8%);
  padding: 1rem 0;
  border-top: 1px solid hsla(45, 100%, 50%, 0.1);
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  color: hsla(0, 0%, 100%, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.05);
  transition: color 0.2s;
}

.mobile-link:hover,
.mobile-link.active {
  color: hsl(45, 100%, 50%);
}

.mobile-actions {
  display: flex;
  gap: 1rem;
  padding: 1rem 2rem 0.5rem;
}

.btn-donate-nav.mobile,
.btn-login-nav.mobile {
  margin: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start; /* conteúdo no topo */
  background-image: url("../assets/img/imgprincipal.jpg");
  background-size: cover;
  background-position: left 32%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    hsla(230, 80%, 4%, 0.8) 0%,
    hsla(230, 60%, 10%, 0.55) 45%,
    hsla(25, 60%, 10%, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  /* empurra o conteúdo para logo */
  padding-top: 130px;
  padding-bottom: 4rem;
  max-width: 740px;
  margin: 0 auto;
}

.hero-subtitle {
  display: inline-block;
  color: hsl(45, 100%, 55%);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: hsla(45, 100%, 50%, 0.13);
  border: 1px solid hsla(45, 100%, 50%, 0.38);
  padding: 0.35rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.4rem;
}

.hero-title {
  color: white;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 24px hsla(0, 0%, 0%, 0.4);
}

.hero-desc {
  color: hsla(0, 0%, 100%, 0.82);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 2.25rem;
  text-shadow: 0 1px 8px hsla(0, 0%, 0%, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, hsl(45, 100%, 50%), hsl(38, 90%, 52%));
  color: hsl(230, 80%, 8%);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 8px 30px -6px hsla(45, 100%, 50%, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -8px hsla(45, 100%, 50%, 0.65);
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  border: 2px solid hsla(0, 0%, 100%, 0.4);
  transition:
    border-color 0.2s,
    background 0.2s;
}

.btn-outline-hero:hover {
  border-color: white;
  background: hsla(0, 0%, 100%, 0.1);
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: hsla(0, 0%, 100%, 0.5);
  z-index: 1;
  transition: color 0.2s;
}

.scroll-down:hover {
  color: hsl(45, 100%, 50%);
}

@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.animate-float {
  animation: float 2.5s ease-in-out infinite;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(45, 100%, 50%);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: hsl(230, 80%, 12%);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title.light {
  color: white;
}

.section-desc {
  color: hsl(220, 15%, 45%);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

.section-features {
  padding: 5.5rem 0;
  background: hsl(220, 30%, 97%);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.feature-card {
  background: white;
  padding: 2rem 1.75rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px -4px hsla(230, 80%, 12%, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px -8px hsla(230, 80%, 12%, 0.16);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, hsl(45, 100%, 50%), hsl(38, 90%, 52%));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: hsl(230, 80%, 8%);
}

.feature-title {
  font-family: "Playfair Display", serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: hsl(230, 80%, 12%);
  margin-bottom: 0.6rem;
}

.feature-desc {
  color: hsl(220, 15%, 45%);
  font-size: 0.875rem;
  line-height: 1.65;
}

.section-impact {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, hsl(230, 70%, 16%), hsl(230, 65%, 22%));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: hsla(0, 0%, 100%, 0.55);
  font-size: 0.85rem;
  font-weight: 500;
}

.impact-link {
  text-align: center;
}

.impact-link a {
  color: hsl(45, 100%, 50%);
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.impact-link a:hover {
  opacity: 0.75;
}

.section-how {
  padding: 5.5rem 0;
  background: hsl(220, 25%, 94%);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-item {
  text-align: center;
  padding: 0 0.75rem;
}

.step-number {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-title {
  font-family: "Playfair Display", serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: hsl(230, 80%, 12%);
  margin-bottom: 0.6rem;
}

.step-desc {
  color: hsl(220, 15%, 45%);
  font-size: 0.875rem;
  line-height: 1.65;
}

.section-cta {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, hsl(45, 100%, 50%), hsl(38, 90%, 52%));
  text-align: center;
}

.cta-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: hsl(230, 80%, 8%);
  margin-bottom: 1rem;
}

.cta-desc {
  color: hsla(230, 80%, 8%, 0.75);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 2.25rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  background: hsl(230, 80%, 12%);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 8px 24px -6px hsla(230, 80%, 10%, 0.4);
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -6px hsla(230, 80%, 10%, 0.55);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  color: hsl(230, 80%, 8%);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: 2px solid hsla(230, 80%, 12%, 0.35);
  transition:
    border-color 0.2s,
    background 0.2s;
}

.btn-cta-outline:hover {
  border-color: hsl(230, 80%, 12%);
  background: hsla(230, 80%, 12%, 0.08);
}

.footer {
  background: hsl(230, 80%, 8%);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
  filter: brightness(1.05);
}

.footer-desc {
  color: hsla(0, 0%, 100%, 0.4);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-heading {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  color: hsla(0, 0%, 100%, 0.45);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: hsl(45, 100%, 50%);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact li {
  color: hsla(0, 0%, 100%, 0.45);
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid hsla(0, 0%, 100%, 0.08);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-bottom p {
  color: hsla(0, 0%, 100%, 0.3);
  font-size: 0.78rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  color: hsla(0, 0%, 100%, 0.3);
  font-size: 0.78rem;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: hsl(45, 100%, 50%);
}

/* Animacoes*/
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fade-up 0.8s ease-out forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.15s;
}
.delay-2 {
  animation-delay: 0.3s;
}
.delay-3 {
  animation-delay: 0.45s;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 8px 30px -6px hsla(45, 100%, 50%, 0.5);
  }
  50% {
    box-shadow: 0 8px 50px -4px hsla(45, 100%, 50%, 0.85);
  }
}

.pulse-glow {
  animation: pulse-glow 2.5s ease-in-out infinite;
}
