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

:root {
  --color-text: #ffffff;
  --color-footer: #1a1a1a;
  --overlay: rgba(0, 0, 0, 0.78);
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  font-family: var(--font-sans);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: #111;
}

.page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("../fundo.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  filter: grayscale(100%);
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--overlay);
  pointer-events: none;
  z-index: 1;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
  position: relative;
  z-index: 2;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 42rem;
}

.logo {
  display: block;
  margin-bottom: 2rem;
}

.logo img {
  display: block;
  width: clamp(9rem, 15vw, 9.25rem);
  height: auto;
  filter: invert(1);
}

.rule {
  width: min(18rem, 42vw);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  margin: 0;
}

.title {
  margin: 1.75rem 0;
  line-height: 1;
}

.title__main {
  display: block;
  font-size: clamp(2.75rem, 10vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.title__sub {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.1rem, 3.5vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.62em;
  text-indent: 0.62em;
  text-transform: uppercase;
}

.helmet {
  margin: 1.75rem 0 1.5rem;
  color: var(--color-text);
}

.helmet svg {
  width: clamp(2.5rem, 8vw, 3.25rem);
  height: auto;
}

.message {
  font-size: clamp(0.8rem, 2.2vw, 0.95rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  opacity: 0.95;
  padding-top: 6vh;
}

.footer {
  position: relative;
  z-index: 2;
  background: var(--color-footer);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2.5rem;
}

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  flex: 1;
  min-width: 0;
}

.footer__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}

a.footer__item:hover {
  opacity: 0.75;
}

.footer__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.footer__divider {
  width: 1px;
  align-self: stretch;
  min-height: 3.5rem;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.footer__cta {
  flex-shrink: 0;
  text-align: left;
  max-width: 16rem;
}

.footer__cta-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.footer__cta-text {
  font-size: 0.62rem;
  font-weight: 300;
  line-height: 1.5;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .page::after {
    background-attachment: scroll;
  }

  .footer__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }

  .footer__contact {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }

  .footer__item {
    justify-content: center;
    max-width: 20rem;
  }

  .footer__divider {
    width: min(12rem, 60%);
    height: 1px;
    min-height: 0;
    margin: 0 auto;
  }

  .footer__cta {
    max-width: none;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .title__sub {
    letter-spacing: 0.45em;
    text-indent: 0.45em;
  }

  .hero {
    padding-top: 2.5rem;
  }
}
