/* ==========================================================================
   Base
   ========================================================================== */

:root {
  --bg: #0c0a0b;
  --bg-soft: #141214;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --text: #f4f1ee;
  --muted: rgba(244, 241, 238, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #c7a26a;
  --accent-2: #f1d9b3;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --container: min(1180px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(199, 162, 106, 0.12), transparent 30%),
    linear-gradient(180deg, #0a090a 0%, var(--bg) 100%);
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(12, 10, 11, 0.75);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #1a140d;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 28px rgba(199, 162, 106, 0.2);
  font-size: 1.1rem;
}

.brand__text {
  display: grid;
}

.brand__text strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__link {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.nav__link--accent {
  color: #20160d;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.nav__link--accent:hover,
.nav__link--accent:focus-visible {
  color: #20160d;
  background: linear-gradient(135deg, #d5b27f, #f5e3c8);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.nav-toggle__bars {
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  display: block;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle__bars::before {
  top: -6px;
}
.nav-toggle__bars::after {
  top: 6px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 4.5rem 0 3rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
}

.hero__content h1 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.hero__content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 58ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(199, 162, 106, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(199, 162, 106, 0.16);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.75rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn--primary {
  color: #1c140c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 30px rgba(199, 162, 106, 0.18);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.stat {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero__visual {
  position: relative;
  min-height: 640px;
}

/* ==========================================================================
   Carousel
   ========================================================================== */

.carousel {
  position: relative;
  height: 100%;
  min-height: 640px;
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #080808;
}

.carousel__viewport {
  height: 100%;
  overflow: hidden;
}

.carousel__track {
  height: 100%;
  display: flex;
  transition: transform 0.7s ease;
}

.carousel__slide {
  min-width: 100%;
  position: relative;
  isolation: isolate;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.carousel__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.22) 45%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent 35%);
  pointer-events: none;
}

.carousel__caption {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
}

.carousel__caption strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.carousel__caption span {
  color: rgba(244, 241, 238, 0.8);
  font-size: 0.9rem;
}

.carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  transition: 0.2s ease;
  backdrop-filter: blur(10px);
}

.carousel__button:hover,
.carousel__button:focus-visible {
  background: rgba(0, 0, 0, 0.55);
}

.carousel__button--prev {
  left: 1rem;
}

.carousel__button--next {
  right: 1rem;
}

.carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: 0.2s ease;
}

.carousel__dot[aria-current='true'] {
  width: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: 4rem 0;
}

.section--soft {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__heading {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.7rem;
}

.section__heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section__heading p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.35rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #090909;
  min-height: 260px;
  box-shadow: var(--shadow);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery__item:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}

.about__content p {
  color: var(--muted);
  line-height: 1.85;
  max-width: 65ch;
}

.about__content p + p {
  margin-top: 1rem;
}

.about__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.about__panel {
  display: grid;
  gap: 0.85rem;
}

.info-box {
  padding: 1.2rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.info-box__label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.info-box strong {
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 2rem 0 2.3rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.site-footer p,
.footer__address span,
.footer__address address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.footer__address span {
  display: block;
  color: var(--accent-2);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.footer__top {
  justify-self: end;
  color: var(--accent-2);
}

.footer__top:hover,
.footer__top:focus-visible {
  color: white;
}

/* ==========================================================================
   Responsividade
   ========================================================================== */

@media (max-width: 1080px) {
  .hero__grid,
  .about {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 540px;
  }

  .features,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer__top {
    justify-self: start;
  }
}

@media (max-width: 780px) {
  .header__inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 50%;
    top: calc(100% + 0.75rem);
    width: min(92vw, 380px);
    transform: translateX(-50%);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: 22px;
    background: rgba(12, 10, 11, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav__link {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding-top: 2.3rem;
  }

  .hero__stats,
  .features,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero__visual,
  .carousel {
    min-height: 500px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.1rem, 100%);
  }

  .hero__content h1 {
    max-width: 12ch;
  }

  .carousel__button {
    width: 42px;
    height: 42px;
  }

  .gallery__item {
    min-height: 220px;
  }
}

.brand__logo {
  height: 70px;
  width: auto;
}
