/* ============================================================
   Royal Distribuição — replicando look & feel do Wix original
   ============================================================ */
:root {
  --gold: #c9a23e;
  --gold-soft: #d8b65b;
  --gold-deep: #a4831f;
  --black: #1d1d1b;       /* preto Wix (rgb 29,29,27) */
  --black-soft: #2c2c2a;
  --cream: #f6efe1;
  --cream-deep: #eee2c8;
  --white: #ffffff;
  --gray-100: #f4f4f4;
  --gray-200: #c7c7c6;    /* botão header Wix */
  --gray-400: #9a9a9a;
  --gray-600: #5a5a5a;
  --radius: 14px;
  --radius-pill: 100px;
  --container: 1240px;
  --header-h: 80px;
  --font-display: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-nav: "Josefin Sans", "Inter", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--gold);
  color: var(--black);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  z-index: 1000;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ------------------------ Buttons ------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
  cursor: pointer;
  border: 0;
  white-space: nowrap;
  font-family: var(--font-display);
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
}
.btn--gray {
  background: var(--gray-200);
  color: var(--black);
}
.btn--gray:hover {
  background: #b3b3b1;
}
.btn--ghost-dark {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}
.btn--ghost-dark:hover {
  background: var(--black);
  color: var(--white);
}

/* ------------------------ Header ------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  height: var(--header-h);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}
.brand__logo {
  width: 88px;
  height: auto;
  display: block;
}
.brand--footer .brand__logo {
  width: 76px;
}

.primary-nav {
  display: flex;
  gap: 36px;
}
.primary-nav__link {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 400;
  font-family: var(--font-nav);
  letter-spacing: 0.01em;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.primary-nav__link:hover,
.primary-nav__link.is-active {
  color: var(--gold);
}

.site-header__cta {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------ Hero ------------------------ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
/* overlay sutil para garantir contraste do texto preto sobre área clara */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.35) 30%,
    rgba(255, 255, 255, 0) 55%
  );
}
.hero__content {
  position: relative;
  color: var(--black);
  padding: 60px 0;
  max-width: 720px;
}
.hero__title {
  font-size: clamp(2rem, 3.6vw, 3.25rem);  /* ~52px desktop */
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 24px;
  color: var(--black);
}
.hero__subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  margin: 0 0 36px;
  max-width: 520px;
  line-height: 1.5;
  color: var(--black);
}

/* ------------------------ Stats ------------------------ */
.stats {
  background: var(--gold);
  color: var(--white);
  padding: 60px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 18%;
  height: 64%;
  width: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.stat__value {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1;
  font-family: var(--font-display);
}
.stat__label {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  opacity: 0.95;
  font-family: var(--font-display);
}

/* ------------------------ Sections ------------------------ */
.section-title {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
  color: var(--black);
}
.section-title--center {
  text-align: center;
  margin: 0 auto 60px;
  max-width: 760px;
}
.section-title--dark {
  color: var(--white);
}
.section-lead {
  font-size: 1.125rem;
  color: var(--black);
  margin: 0 0 32px;
  max-width: 520px;
  font-weight: 400;
}
.section-eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 16px;
  font-family: var(--font-nav);
}
.section-eyebrow--dark {
  color: var(--gold-soft);
}

/* ------------------------ About ------------------------ */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__grid + .about__grid {
  margin-top: 100px;
}
.about__grid--reverse .about__media {
  order: 2;
}
.about__media img {
  border-radius: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

/* ------------------------ Video ------------------------ */
.video {
  background: var(--black);
  color: var(--white);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201, 162, 62, 0.14), transparent 60%);
  pointer-events: none;
}
.video__content {
  position: relative;
}
.video__title {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 36px;
  color: var(--white);
}
.video__title span {
  color: var(--gold);
}
.video__cta svg {
  margin-right: 2px;
}

/* ------------------------ Marcas ------------------------ */
.brands {
  background: var(--cream);
  padding: 110px 0;
}
.brand-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}
.brand-grid__item {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.3s var(--ease);
}
.brand-grid__item:hover {
  transform: translateY(-4px) scale(1.03);
}
.brand-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------ Clientes ------------------------ */
.clients {
  background: var(--gold);
  padding: 90px 0;
}
.clients__content {
  text-align: center;
}
.clients__title {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 500;
  margin: 0 0 50px;
  font-family: var(--font-nav);
}
.client-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.client-grid__item {
  background: var(--white);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  transition: transform 0.3s var(--ease);
}
.client-grid__item:hover {
  transform: translateY(-4px);
}
.client-grid__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ------------------------ Contato ------------------------ */
.contact {
  background: var(--cream-deep);
  padding: 120px 0;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-card {
  display: block;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}
.contact-card__label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 10px;
  font-family: var(--font-nav);
}
.contact-card__value {
  display: block;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 400;
  color: var(--black);
  margin-bottom: 18px;
  word-break: break-word;
}
.contact-card__action {
  display: inline-block;
  color: var(--gold-deep);
  font-weight: 500;
}

/* ------------------------ Footer ------------------------ */
.footer {
  background: var(--black);
  color: var(--gray-400);
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.9rem;
  margin: 0;
  font-weight: 300;
}
.footer__mail {
  font-size: 0.9rem;
  color: var(--gold-soft);
  font-weight: 400;
}
.footer__mail:hover {
  color: var(--gold);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__grid--reverse .about__media {
    order: 0;
  }
  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .site-header__cta {
    display: none;
  }
  .primary-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    background: var(--black);
    padding: 24px 5vw 40px;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-150%);
    transition: transform 0.35s var(--ease);
  }
  .primary-nav.is-open {
    transform: translateY(0);
  }
  .primary-nav__link {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .stat:not(:last-child)::after {
    display: none;
  }
  .about,
  .video,
  .brands,
  .clients,
  .contact {
    padding: 70px 0;
  }
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .footer__inner {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
