/* =========================================================
   LP Vestibulares Unoeste — estilos exclusivos (default.html)
   Fonte: Antonio
   ========================================================= */

:root {
  --dft-green-dark: #14563a;
  --dft-green-title: #1a5c36;
  --dft-teal: #2f6b5f;
  --dft-teal-hover: #275a50;
  --dft-ink: #1c2b23;
  --dft-mint: #d8f0b9;
  --dft-white: #ffffff;
  --dft-radius-pill: 999px;
  --dft-shadow-card: 0 10px 22px rgba(16, 51, 34, .22);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body.dft-body {
  margin: 0;
  font-family: "Antonio", "Arial Narrow", Arial, sans-serif;
  color: var(--dft-ink);
  background-color: #b9e08a;
  background-image: url("https://cdn.unoeste.br/images/vestibular/default/2027.1/bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.dft-header {
  padding: 22px 26px 0;
}

.dft-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.dft-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  border: 0;
  border-radius: var(--dft-radius-pill);
  background-color: var(--dft-ink);
  color: var(--dft-white);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(16, 40, 26, .22);
  transition: background-color .2s ease, transform .2s ease;
}

.dft-pill:hover,
.dft-pill:focus-visible {
  background-color: #0e1b14;
  color: var(--dft-white);
  transform: translateY(-1px);
}

.dft-pill--home {
  text-transform: uppercase;
}

.dft-pill__icon {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  fill: currentColor;
}

/* ---------------------------------------------------------
   Conteúdo central
   --------------------------------------------------------- */
.dft-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 20px 46px;
  text-align: center;
}

.dft-title {
  margin: 0 0 44px;
  color: var(--dft-green-title);
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1.05;
  text-transform: uppercase;
}

.dft-title__dot {
  display: inline-block;
  margin: 0 .28em;
  vertical-align: .18em;
  font-size: .7em;
  line-height: 1;
}

.dft-menu {
  list-style: none;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 24px;
}

.dft-menu__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 14px 28px;
  border-radius: var(--dft-radius-pill);
  background-color: var(--dft-teal);
  color: var(--dft-white);
  font-size: clamp(1.6rem, 3.1vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--dft-shadow-card);
  transition: background-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.dft-menu__link:hover,
.dft-menu__link:focus-visible {
  background-color: var(--dft-teal-hover);
  color: var(--dft-white);
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(16, 51, 34, .28);
}

.dft-menu__link:active {
  transform: translateY(0);
}

/* ---------------------------------------------------------
   Logo
   --------------------------------------------------------- */
.dft-footer {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  padding: 6px 20px 52px;
}

.dft-footer__logo {
  display: block;
  width: clamp(200px, 24vw, 360px);
  height: auto;
}

/* ---------------------------------------------------------
   Foco acessível
   --------------------------------------------------------- */
a:focus-visible {
  outline: 3px solid var(--dft-green-dark);
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   Animação de entrada
   --------------------------------------------------------- */
.dft-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.dft-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .dft-reveal,
  .dft-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dft-menu__link,
  .dft-pill {
    transition: none;
  }
}

/* ---------------------------------------------------------
   Responsivo
   --------------------------------------------------------- */
@media (max-width: 991.98px) {
  .dft-title { margin-bottom: 34px; }
  .dft-menu { gap: 18px; max-width: 720px; }
  .dft-menu__link { min-height: 74px; }
}

@media (max-width: 575.98px) {
  body.dft-body {
    background-attachment: scroll;
  }

  .dft-header { padding: 16px 14px 0; }

  .dft-header__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .dft-pill {
    justify-content: center;
    padding: 11px 18px;
    font-size: 1rem;
  }

  .dft-main { padding: 30px 16px 34px; }

  .dft-menu { gap: 14px; }

  .dft-menu__link {
    min-height: 64px;
    padding: 12px 18px;
    font-size: 1.35rem;
  }

  .dft-footer { padding-bottom: 34px; }
}
