/* DEON SPECIAL PROJECTS */

@font-face {
  font-family: "Archivo Narrow";
  src: url("assets/fonts/archivo-narrow-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("assets/fonts/archivo-narrow-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

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

:root {
  --white: #ffffff;
  --black: #000000;
  --narrow: "Archivo Narrow", "Arial Narrow", sans-serif;
}

html, body { height: 100%; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--black);
  color: var(--white);
  font-family: var(--narrow);
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fundo: foto + véu escuro para leitura */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 35%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.75) 100%),
    url("assets/bg.jpg") center / cover no-repeat;
  animation: reveal 1.6s ease-out both;
}

@keyframes reveal {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}

/* Logo */
.top {
  padding-top: clamp(28px, 5vh, 56px);
  animation: fade 1s .3s ease-out both;
}

.logo img {
  display: block;
  width: clamp(96px, 9vw, 132px);
  height: auto;
}

/* Tagline */
.hero {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px clamp(40px, 13vh, 140px);
  text-align: center;
}

.tagline {
  font-family: var(--narrow);
  font-weight: 700;
  font-size: clamp(18px, 1.9vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-shadow: 0 2px 24px rgba(0,0,0,.6);
  animation: fade 1.2s .6s ease-out both;
}

.tagline .gap { display: inline-block; width: .6em; }
.tagline .nowrap { white-space: nowrap; }

.tagline u {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Rodapé */
.bottom {
  padding-bottom: clamp(24px, 4vh, 40px);
  text-align: center;
  font-family: var(--narrow);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: -0.01em;
  animation: fade 1s .9s ease-out both;
}

.links { margin-bottom: 8px; }

.links a {
  color: var(--white);
  text-decoration: none;
  transition: opacity .25s;
}

.links a:hover { opacity: .6; }

.sep { margin: 0 8px; opacity: .5; }

.copy { opacity: .7; }

@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Mobile */
@media (max-width: 720px), (orientation: portrait) {
  .bg {
    background:
      linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.3) 35%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.8) 100%),
      url("assets/bg-mobile.jpg") center 45% / cover no-repeat;
  }
  .hero { padding-bottom: 12vh; }
  .tagline { font-size: 20px; }
  .tagline .gap { display: block; height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

/* Desktop: tagline à esquerda, na altura da plaqueta */
@media (min-width: 721px) and (orientation: landscape) {
  .hero {
    position: absolute;
    top: 50%;
    left: clamp(40px, 7vw, 120px);
    transform: translateY(-50%);
    padding: 0;
    text-align: left;
    justify-content: flex-start;
  }
  .tagline { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; }
  .tagline .gap { display: block; height: 0; }
  .bottom { margin-top: auto; }
  .bg {
    background:
      linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.55) 22%, rgba(0,0,0,0) 42%),
      linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 9%, rgba(0,0,0,0) 20%),
      url("assets/bg.jpg") center / cover no-repeat;
  }
}
