:root {
  --primary-1: #5d3e83;
  --primary-2: #1d2c59;
  --secondary-1: #cad1d0;
  --secondary-2: #f0cdb9;
  --text-dark: #1d2530;
  --text-light: #ffffff;
  --max-width: 900px;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  line-height: 1.6;
}

/* SEÇÕES GERAIS */

.section {
  padding: 4.5rem 1.75rem;
}

.section .section-content {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

/* HERO - LOGO */

.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.75rem;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
}

.hero-inner {
  max-width: 320px;
  width: 100%;
}

.logo-main {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1); /* garante logotipo branco */
}

/* SECÇÃO EM CONSTRUÇÃO */

.construction {
  background: var(--secondary-1);
}

.construction .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-2);
  margin-bottom: 0.75rem;
}

.construction h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-2);
  line-height: 1.5;
}

/* SECÇÃO PARCEIROS */

.partners {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  color: var(--text-light);
}

.partners .highlight {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
}

.partners p {
  font-size: 1rem;
}

/* SECÇÃO CONTACTOS */

.contacts {
  background: var(--secondary-2);
}

.contacts h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--primary-2);
}

.contact-block {
  margin-bottom: 1.25rem;
}

.label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-2);
  margin-bottom: 0.25rem;
}

.contact-link {
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary-1);
  word-break: break-word;
}

.contact-link:hover,
.contact-link:focus-visible {
  text-decoration: underline;
}

/* SECÇÃO FINAL COM IMAGEM */

.closing {
  position: relative;
  padding: 0;
  min-height: 45vh;
  background-image: url("../img/night-sky.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.closing-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 4rem 1.75rem;
  background: linear-gradient(
    135deg,
    rgba(29, 44, 89, 0.88),
    rgba(93, 62, 131, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.closing-content {
  max-width: var(--max-width);
  text-align: left;
  color: var(--text-light);
}

.logo-small {
  width: 120px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.closing-text {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
}

/* ANIMAÇÕES / TRANSIÇÕES (reveal on scroll) */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVO */

@media (min-width: 640px) {
  .hero {
    min-height: 70vh;
  }

  .construction h1 {
    font-size: 1.9rem;
  }

  .partners .highlight {
    font-size: 1.25rem;
  }

  .closing-text {
    font-size: 1.35rem;
  }
}

@media (min-width: 960px) {
  .hero-inner {
    max-width: 380px;
  }

  .construction h1 {
    font-size: 2rem;
  }

  .section {
    padding: 5.5rem 2.5rem;
  }

  .closing-overlay {
    padding: 5rem 2.5rem;
  }

  .closing-content {
    text-align: center;
  }

  .closing-text {
    font-size: 1.5rem;
  }
}
