/* Skip link — visível só no foco de teclado */
.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 8px 14px;
  background: #111;
  color: #fff;
  font-size: 0.85rem;
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: #050505f2;
  border-bottom: 1px solid #7b7b7b;
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.brand img {
  width: 228px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 18px;
  border-left: 1px solid #7b7b7b;
  flex-shrink: 0;
}

.header-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  outline: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.header-social a:hover {
  transform: scale(1.06);
  filter: brightness(1.15);
}

.header-social a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .header-social a {
    transition: none;
  }

  .header-social a:hover {
    transform: none;
  }
}

.main-nav a {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #dadbdd;
  position: relative;
}

.main-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: #fff;
  transition: 0.25s;
}

.main-nav a:hover:after,
.main-nav a[aria-current="page"]:after {
  right: 0;
}

.menu-toggle {
  display: none;
  border: 1px solid #555;
  background: #111;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-track {
  position: absolute;
  inset: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero[data-hero-carousel] .hero-media {
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 0;
}

.hero[data-hero-carousel] .hero-media.is-active,
.hero[data-hero-single] .hero-media {
  opacity: 1;
  z-index: 1;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, #030303ee 0%, #050505a8 35%, #00000010 72%),
    linear-gradient(0deg, #050505 0%, transparent 25%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 104px;
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  pointer-events: none;
}

.hero-dot {
  pointer-events: auto;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-dot.is-active,
.hero-dot:hover,
.hero-dot:focus-visible {
  background: #fff;
  border-color: #fff;
  transform: scale(1.12);
  outline: none;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy p {
  max-width: 600px;
  font-size: 1.1rem;
  color: #e0e0e0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-small {
  min-height: 540px;
}

.hero-small:after {
  background:
    linear-gradient(90deg, #030303e6 0%, #0505059c 46%, #0000002b),
    linear-gradient(0deg, #050505 0%, transparent 28%);
}

.hero-title-image {
  display: block;
  width: min(504px, 100%);
  height: auto;
  margin: 14px 0 24px;
}

.home-title-standard {
  width: min(504px, 100%);
  margin: 14px 0 24px;
}

/* Footer */
.site-footer {
  padding: 60px 0 100px;
  border-top: 1px solid #242426;
  background: #030303;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 45px;
}

.footer-logo {
  width: 218px;
  margin-bottom: 20px;
}

.footer-links {
  display: grid;
  gap: 9px;
  color: #b7b9bc;
}

.footer-title {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #fff;
}

.copyright {
  margin-top: 45px;
  padding-top: 22px;
  border-top: 1px solid #202023;
  color: #7f8287;
  font-size: 0.8rem;
  text-align: center;
}

.copyright a {
  color: inherit;
}

/* Presentation dock + toast */
.presentation-dock {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 6px;
  background: #0a0a0be8;
  border: 1px solid #343438;
  border-radius: 999px;
  box-shadow: 0 16px 50px #000;
  backdrop-filter: blur(16px);
}

.presentation-dock a {
  padding: 9px 15px;
  border-radius: 999px;
  color: #bfc1c4;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.presentation-dock a:hover,
.presentation-dock a[aria-current="page"] {
  background: #eee;
  color: #070707;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 90px;
  max-width: 360px;
  padding: 16px 19px;
  border: 1px solid #555;
  border-radius: 12px;
  background: #111;
  color: #fff;
  box-shadow: 0 20px 50px #000;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: 0.25s;
}

.toast.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .header-end {
    gap: 8px;
  }

  .header-social {
    padding-left: 0;
    border-left: 0;
    gap: 4px;
  }

  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 75px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px;
    background: #0a0a0b;
    border: 1px solid #333;
    border-radius: 14px;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 680px;
  }

  .hero:after {
    background:
      linear-gradient(90deg, #030303df, #05050569),
      linear-gradient(0deg, #050505 0%, transparent 35%);
  }

  .hero-media {
    object-position: 63% center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .header-inner {
    height: 78px;
  }

  .brand img {
    width: 152px;
  }

  .header-end {
    gap: 6px;
  }

  .header-social a {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .header-social img {
    width: 26px;
    height: 26px;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    padding-top: 92px;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-title-image,
  .home-title-standard {
    width: 100%;
    margin: 12px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .presentation-dock {
    width: calc(100% - 20px);
    justify-content: flex-start;
    overflow-x: auto;
  }

  .presentation-dock a {
    padding: 8px 9px;
    font-size: 0.62rem;
  }
}
