@font-face {
  font-family: 'Roller Coaster';
  src: url('../fonts/roller-coaster.ttf') format('truetype');
  font-display: swap;
}

:root {
  --dourado: #f0b429;
  --dourado-claro: #f8d78a;
  --creme: #f3e9d2;
  --preto-cortina: #0c0c0e;
  --altura-header: 92px;
  --altura-footer: 88px;
}

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

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--preto-cortina);
  color: var(--creme);
}

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 10;
  height: var(--altura-header);
  background: #101012;
  background-image: url('../img/textura-escura.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.55);
}

.ornamento {
  position: absolute;
  top: 6px;
  width: 130px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}
.ornamento--tl { left: 12px; }
.ornamento--tr { right: 12px; transform: scaleX(-1); }
.ornamento--bl { left: 12px; bottom: 6px; top: auto; transform: scaleY(-1); }
.ornamento--br { right: 12px; bottom: 6px; top: auto; transform: scale(-1,-1); }

.nav {
  display: flex;
  gap: 36px;
}

.nav a {
  font-family: 'Roller Coaster', Georgia, serif;
  font-size: 21px;
  letter-spacing: 0.5px;
  color: var(--creme);
  transition: color 0.25s ease;
  margin-right: 36px;
}

.nav a:last-child {
  margin-right: 0;
}

.nav a:hover { color: var(--dourado); }

.brasao img {
  height: 68px;
  width: auto;
}

/* ---------- Hero / Carrossel ---------- */

.hero {
  position: relative;
  height: calc(100vh - var(--altura-header) - var(--altura-footer));
  min-height: 420px;
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

.hero__slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__vinheta {
  position: absolute;
  left: 0;
  right: 0;
  height: 45%;
  pointer-events: none;
  z-index: 2;
}

.hero__vinheta--top {
  top: 0;
  background: linear-gradient(to bottom, rgba(12,12,14,0.95), rgba(12,12,14,0));
}

.hero__vinheta--bottom {
  bottom: 0;
  background: linear-gradient(to top, rgba(12,12,14,0.97), rgba(12,12,14,0));
}

.hero__content {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  width: 720px;
  max-width: 90%;
}

.hero__logo {
  width: 520px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.6));
}

.hero__texto {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dourado-claro);
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  height: var(--altura-footer);
  background: #101012;
  background-image: url('../img/textura-escura.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.55);
}

.footer__cta {
  font-family: Georgia, serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--creme);
}

.footer__redes {
  position: absolute;
  right: 24px;
  display: flex;
  gap: 14px;
}

.footer__redes a {
  color: var(--creme);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.footer__redes a:hover {
  opacity: 1;
  color: var(--dourado);
}

/* ---------- Responsivo ---------- */

@media (max-width: 820px) {
  :root { --altura-header: 74px; --altura-footer: 74px; }

  .site-header { gap: 14px; }
  .nav { gap: 14px; }
  .nav a { font-size: 15px; margin-right: 14px; }
  .nav a:last-child { margin-right: 0; }
  .brasao img { height: 46px; }
  .ornamento { width: 70px; }

  .hero__texto { font-size: 13px; }
  .footer__cta { font-size: 18px; }
}

@media (max-width: 560px) {
  .nav--left a:nth-child(2),
  .nav--right a:nth-child(2) { display: none; }
  .footer__redes { position: static; margin-top: 4px; }
  .site-footer { flex-direction: column; height: auto; padding: 10px 0; }
}
