/* ===================== FONTES ===================== */
@font-face {
  font-family: "Leelawadee";
  src: url("assets/fonts/Leelawadee-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Leelawadee";
  src: url("assets/fonts/Leelawadee-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Leelawadee";
  src: url("assets/fonts/Leelawadee-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ===================== TOKENS ===================== */
:root {
  --bg:        #3A3A3A;
  --bg-soft:   #333333;
  --surface:   rgba(255,255,255,.045);
  --surface-h: rgba(255,255,255,.09);
  --line:      rgba(255,255,255,.11);
  --line-h:    rgba(255,255,255,.22);
  --orange:    #C88223;
  --orange-lt: #E0A04A;
  --text:      #FEFEFE;
  --muted:     #DCDCDC;
  --muted-2:   #BFBFBF;
  --col:       520px;
  --radius:    0px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Leelawadee", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* glow de fundo sutil */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(200,130,35,.18), transparent 60%),
    radial-gradient(90% 50% at 50% 120%, rgba(200,130,35,.08), transparent 60%);
  pointer-events: none;
}

.shell {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 18px 56px;
}

/* ===================== CAPA / VÍDEO ===================== */
.hero {
  position: relative;
  margin: 0 -18px;
  height: min(86svh, 660px);
  min-height: 480px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__scrim {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(35,35,35,.34) 0%, rgba(35,35,35,.05) 32%, rgba(60,60,60,.55) 72%, var(--bg) 100%),
    radial-gradient(140% 80% at 50% 100%, rgba(40,40,40,.55), transparent 70%);
}
.hero__content {
  padding: 0 26px 40px;
  text-align: center;
  animation: rise .9s cubic-bezier(.2,.7,.2,1) both;
}
.hero__logo {
  width: clamp(140px, 42vw, 184px);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.45));
}
.hero__tagline {
  margin-top: 14px;
  font-weight: 300;
  letter-spacing: .42em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--orange-lt);
  padding-left: .42em;
}
.hero__bio {
  margin: 16px auto 0;
  max-width: 360px;
  font-weight: 300;
  font-size: 14.5px;
  color: rgba(255,255,255,.86);
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero__cue {
  position: absolute; left: 50%; bottom: 14px;
  transform: translateX(-50%);
  width: 26px; height: 26px;
  color: rgba(255,255,255,.55);
  animation: bob 1.8s ease-in-out infinite;
}
.hero__cue svg { width: 100%; height: 100%; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes bob  { 0%,100% { transform: translateX(-50%) translateY(0);} 50% { transform: translateX(-50%) translateY(7px);} }

/* ===================== LINKS ===================== */
.links {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 14px 4px 2px;
}
.eyebrow:first-child { margin-top: 2px; }

/* Catálogos — destaque */
.feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  color: #FEFEFE;
  background: var(--orange);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s;
}
.feature__icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 0;
  background: rgba(255,255,255,.16);
  color: #FEFEFE;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature__text { flex: 1 1 auto; line-height: 1.25; }
.feature__text strong { display: block; font-size: 16px; font-weight: 700; }
.feature__text small { font-size: 12.5px; font-weight: 400; color: rgba(255,255,255,.80); }
.feature__arrow {
  flex: 0 0 auto; width: 26px; height: 26px;
  display: grid; place-items: center;
  transition: transform .25s;
}
.feature__arrow svg { width: 22px; height: 22px; }
.feature:hover { transform: translateY(-3px); background: var(--orange-lt); }
.feature:hover .feature__arrow { transform: translateX(4px); }
.feature:active { transform: translateY(-1px); }

/* Links padrão */
.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  transition: transform .22s cubic-bezier(.2,.7,.2,1), background .22s, border-color .22s;
}
.link__icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 0;
  background: rgba(200,130,35,.20);
  color: var(--orange-lt);
  transition: background .22s, color .22s;
}
.link__icon svg { width: 21px; height: 21px; }
.link__label {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.link__label em {
  display: block;
  font-style: normal;
  font-weight: 300;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.link__chev {
  flex: 0 0 auto; width: 20px; height: 20px;
  color: var(--muted-2);
  display: grid; place-items: center;
  transition: transform .22s, color .22s;
}
.link__chev svg { width: 18px; height: 18px; }
.link:hover {
  transform: translateY(-2px);
  background: var(--surface-h);
  border-color: var(--line-h);
}
.link:hover .link__icon { background: var(--orange); color: #FEFEFE; }
.link:hover .link__chev { color: var(--text); transform: translateX(3px); }
.link:active { transform: translateY(0); }

.link--map .link__label { font-size: 14px; }

/* ===================== SOCIAIS ===================== */
.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}
.socials a {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 0;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .22s cubic-bezier(.2,.7,.2,1), color .22s, background .22s, border-color .22s;
}
.socials a svg { width: 21px; height: 21px; }
.socials a:hover {
  transform: translateY(-3px);
  color: #FEFEFE;
  background: var(--orange);
  border-color: var(--orange);
}

/* ===================== RODAPÉ ===================== */
.foot {
  text-align: center;
  margin-top: 34px;
  color: var(--muted-2);
}
.foot img { opacity: .85; height: 22px; width: auto; }
.foot p {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot small { display: block; margin-top: 12px; font-size: 11.5px; }

/* ===================== REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================== DESKTOP — split lateral ===================== */
@media (min-width: 880px) {
  .shell {
    max-width: none;
    padding: 0;
    display: grid;
    grid-template-columns: 52% 48%;
    align-items: start;
  }

  /* Painel esquerdo: vídeo fixo preenchendo a tela */
  .hero {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100vh;
    margin: 0;
    justify-content: center;     /* conteúdo centralizado verticalmente */
  }
  .hero__content { padding-bottom: 0; }
  .hero__bio { max-width: 400px; }
  .hero__cue { display: none; }

  /* Painel direito: coluna de links rolável */
  .links {
    margin: 0 auto;
    width: 100%;
    max-width: 540px;
    padding: clamp(56px, 9vh, 96px) clamp(28px, 4vw, 56px) 64px;
  }
}

@media (min-width: 1300px) {
  .shell { grid-template-columns: 56% 44%; }
}

@media (hover: none) {
  .hero__cue { display: none; }
}

/* ===================== ACESSIBILIDADE ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
